PHP Error upgrading from older version, LV forgets Save as file settings
I was running version 1.3.4 on EE 2.1.3. I upgraded to 2.0.2 (still on EE 2.1.3, alas), I ran the module update and checked the backend. Switching between variable groups one group gave me the following errors:
A PHP Error was encountered
Severity: Notice
Message: Undefined index: files
Filename: low_select_files/vt.low_select_files.php
Line Number: 228
A PHP Error was encountered
Severity: Warning
Message: Invalid argument supplied for foreach()
Filename: low_select_files/vt.low_select_files.php
Line Number: 228
A PHP Error was encountered
Severity: Warning
Message: Cannot modify header information - headers already sent by (output started at /Users/me/Sites/domain/sys/codeigniter/system/core/Exceptions.php:170)
Filename: core/Common.php
Line Number: 409
I check the settings in the Extensions, and have to select the Save as Files radio button option which hadn't been respected during the upgrade. I return to Module > Low Variables and got to the offending group. But I still get the same errors.
Furthermore, the fields that had been previously saved and should in any case be present in the dropdown aren't there.
Clues?
Replies
Low 5 Feb 2012 16:29
Hi Seb,
I'm afraid that, as the docs state, Low Variables 2.0.0+ is compatible with EE 2.2.0 and up. This is because of the new File manager in EE 2.2.0, that LV taps into.
If you have a backup of the DB, you should probably downgrade Low Variables back to your previous version...
Seb Neerman 5 Feb 2012 16:33
Hi Low,
Ok, I'll roll back. Thanks for the quick reply.
Seb
Low 5 Feb 2012 16:35
No probs. Guess it's another incentive to upgrade EE to the newest version. :)
Seb Neerman 5 Feb 2012 19:19
Oh I'm full of those. The hard part is selling it to clients ;)