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: Publisher __serialize must return an array
Status | Resolved |
Add-on / Version | Publisher 3.0... the latest on download |
Severity | |
EE Version | 6.2.3 |
Andreas Maier
Jan 27, 2022Hello. As mentioned earlier there are several issues: the next one besides the one I sent through email is:
TypeError Caught
vsprintf(): Argument #2 ($values) must be of type array, null given
user/addons/publisher/Controllers/AbstractController.php:553
Stack Trace: Please include when reporting this error
#0 user/addons/publisher/Controllers/AbstractController.php(553): vsprintf()
#1 user/addons/publisher/Controllers/Manage/Languages.php(79): BoldMinded\Publisher\Controllers\AbstractController->handleSubmit()
#2 user/addons/publisher/mcp.publisher.php(145): BoldMinded\Publisher\Controllers\Manage\Languages->render()
#3 user/addons/publisher/mcp.publisher.php(96): Publisher_mcp->runController()
#4 [internal function]: Publisher_mcp->manage()
#5 ee/ExpressionEngine/Controller/Addons/Addons.php(1489): call_user_func_array()
#6 ee/ExpressionEngine/Controller/Addons/Addons.php(797): ExpressionEngine\Controller\Addons\Addons->getModuleSettings()
#7 [internal function]: ExpressionEngine\Controller\Addons\Addons->settings()
#8 ee/ExpressionEngine/Core/Core.php(257): call_user_func_array()
#9 ee/ExpressionEngine/Core/Core.php(113): ExpressionEngine\Core\Core->runController()
#10 ee/ExpressionEngine/Boot/boot.php(161): ExpressionEngine\Core\Core->run()
#11 httpdocs/admin.php(144): require_once(’...’)
#11 httpdocs/admin.php(144): require_once(’...’)
I solved the _serialize bug by changing the cache controller to dummy… which is not very elegant… but a temporary solution as entire EE incl. Frontend blocked.
BoldMinded (Brian)
Update EE first. I think this is a bug they introduced in 6.2 and then fixed in 6.2.4.
Andreas Maier
Hi. Was just adding a language, and the message now is the same as before. EE is updated now to 6.2.4, so this kind of remains.
BoldMinded (Brian)
Comment has been marked private.
Andreas Maier
Hi. This worked after the update and your new version.