You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the list of issues for OpenMage, I didn't find any of these problems so I suspect Plesk as the primary culprit.
I have installed OpenMage v20.0.10 and v19.4.13 with PHP 7.4 and I found two separate problems:
I run into an issue with the unserialization.
The exact error happens in:
Warning: unserialize() expects exactly 1 parameter, 2 given in ../app/code/core/Mage/Core/Model/Cache.php on line 503
Warning: unserialize() expects exactly 1 parameter, 2 given in ../lib/Varien/Db/Adapter/Pdo/Mysql.php on line 1567
Warning: unserialize() expects exactly 1 parameter, 2 given in ../app/code/core/Mage/Core/Model/Cache.php on line 614
As a solution for this case, I use @ operator and the notice will no longer be displayed.
Cron doesn't execute with no error message.
Adding $isShellDisabled = true; in cron.php allow cron to work but it would be best to run cron.sh and isn't running properly.
Everything was running fine in older releases, ex: v19.4.2, v19.4.1...
The text was updated successfully, but these errors were encountered:
For item 1 on unserialize(), see PR #1251, the second parameter was added to improve security. I note that you are running PHP7.4, you need to check again, because the second param was added since PHP7.0.
I reinstalled both versions v20.0.10 and v19.4.13 on a new server with clean installation of Plesk on a Centos 7. One extension was supplementary installed: Aoe_Scheduler for the second problem that was mentioned earlier. Current version of PHP is 7.4.18 (link) but the result is the same with every version (7.0, 7.1...).
With opcache.enable - off (not working as expected) and no custom or additional path to the open_basedir option, there is only one warning active:
ERR (3): Warning: unserialize() expects exactly 1 parameter, 2 given in .../app/code/core/Mage/Core/Model/Cache.php on line 503
The second problem: Cron - doesn't execute with no error message; is present for the last versions of OpenMage (v20.0.10/v19.4.13 vs v19.4.1).
In the list of issues for OpenMage, I didn't find any of these problems so I suspect Plesk as the primary culprit.
I have installed OpenMage v20.0.10 and v19.4.13 with PHP 7.4 and I found two separate problems:
The exact error happens in:
Warning: unserialize() expects exactly 1 parameter, 2 given in ../app/code/core/Mage/Core/Model/Cache.php on line 503
Warning: unserialize() expects exactly 1 parameter, 2 given in ../lib/Varien/Db/Adapter/Pdo/Mysql.php on line 1567
Warning: unserialize() expects exactly 1 parameter, 2 given in ../app/code/core/Mage/Core/Model/Cache.php on line 614
As a solution for this case, I use @ operator and the notice will no longer be displayed.
Adding
$isShellDisabled = true;
in cron.php allow cron to work but it would be best to run cron.sh and isn't running properly.Everything was running fine in older releases, ex: v19.4.2, v19.4.1...
The text was updated successfully, but these errors were encountered: