All add-ons currently require PHP 7.4 or greater.
On July 4th 2024 PHP 8.2 will be the new minimum requirement for all add-ons. Expect any add-on released after that date to require 8.2 or greater. Some releases may not immediately take advantage of 8.x specific features in PHP, which means you might, be able to continue using new releases in PHP 7.4, however, if you experience an error the first thing you should do is update to PHP 8.2 then create a support ticket if the error persists.
Please read about the changes to BoldMinded add-on licensing.
Ticket: Expression Engine errors and updating addon
Status | Resolved |
Add-on / Version | Publisher Lite 2.10.8 |
Severity | |
EE Version | 5.2.6 |
Des Plaines Pub Library
Jul 16, 2021We are running publisher lite (v2) on our Expression Engine 5 site.
We had to move to a new host quickly and suddenly we’re getting errors when we save posts like:
Undefined property: stdClass::$column_name user/addons/publisher/Service/ChannelField.php, line 227
I *think* this might be related to the new host only offering mysql 8.
So, we renewed the plugin and downloaded the current v3 plugin. I tried to replace old plugin with new one, but the control panel seemed to have no idea that the new files were in place.
Any ideas?
BoldMinded (Brian)
Sounds like you didn’t run the updates, or maybe you renamed the old publisher folder instead of replacing it and it’s actually loading publisher 2 files still instead of 3?
BoldMinded (Brian)
Yeah, I think it’s loading the old version still. Don’t rename the old version from publisher to publisher_backup or something. Delete the folder entirely, then drop in the new version. EE is still loading files from the old version… changing the folder name doesn’t prevent that.
Des Plaines Pub Library
Got it. I tried completely removing old files and having new files in place and site crashed. Got the following error:
Setting values on ee()-> is no longer supported. Tried to set publisherContainer. ee/EllisLab/ExpressionEngine/Legacy/Facade.php line 48
Any ideas?
BoldMinded (Brian)
publisherContainer doesn’t exist in v3.sounds like it’s still loading the old v2 files.
Des Plaines Pub Library
I haven’t worked with EE in a while (I worked on this site several years ago and was brought back to do some work on it). Do I need to uninstall the v2 addon first, then remove, then replace?
Brodie
BoldMinded (Brian)
No, don’t uninstall anything. Just replace the user/addons/publisher folder, and themes/user/publisher folders with the ones from the zip file, then go to the add-ons page in the control panel and run the updates. Always backup your database before doing any EE or add-on updates.
Des Plaines Pub Library
Got it to work. thanks.