Author Topic: Notice ( 8 ): compact(): Undefined variable...... [SOLVED]  (Read 3575 times)

PVI135

  • Newbie
  • *
  • Posts: 22
    • View Profile
Notice ( 8 ): compact(): Undefined variable...... [SOLVED]
« on: October 15, 2020, 05:39:10 PM »
Hi All,
a lot of us had this error when Virtual Airlines works under PHP 7.3 (maybe also for all 7.x version).

Issue is related and fixed by CAKE library.
We need to upgrade 5 files in the Cake folder.

Here the link to download the official Cake library upgrade:  https://github.com/cakephp/cakephp/pull/12487
Files impacted are:
lib/Cake/Model/Datasource/DboSource.php
lib/Cake/Network/CakeRequest.php
lib/Cake/Network/CakeResponse.php
lib/Cake/Utility/ObjectCollection.php
lib/Cake/View/Helper/FormHelper.php

I hope this will be fine also for you !

Regards,
Attilio
PVI135


MarceloGatinho

  • Newbie
  • *
  • Posts: 33
    • View Profile
Re: Notice ( 8 ): compact(): Undefined variable...... [SOLVED]
« Reply #1 on: December 06, 2022, 04:57:06 PM »
thanks
3 years pass and now i got this error, after i migrate my VA to a local server.