My Joomla website is using free Gantry 4 default template and Gantry Framework v4.1.31 now.
I want to use PHP 7.0, so I made a test on localhost multi-php environment (php 5.4 / 5.5 / 5.6 / 7.0 ). With error reporting of Joomla Global Configuration set to "Development".
If working under PHP 5.6 and lower, it is fine. But if I switch to PHP 7.0.6 , I got following error message on the top of the frontend page:
Notice: serialize(): "layoutSchemas" is returned from __sleep multiple times in /home/admin/web/gate.com/public_html/libraries/gantry/core/utilities/cache/cache.class.php on line 115
Notice: serialize(): "mainbodySchemas" is returned from __sleep multiple times in /home/admin/web/gate.com/public_html/libraries/gantry/core/utilities/cache/cache.class.php on line 115
Notice: serialize(): "mainbodySchemasCombos" is returned from __sleep multiple times in /home/admin/web/gate.com/public_html/libraries/gantry/core/utilities/cache/cache.class.php on line 115
Notice: serialize(): "pushPullSchemas" is returned from __sleep multiple times in /home/admin/web/gate.com/public_html/libraries/gantry/core/utilities/cache/cache.class.php on line 115
Notice: serialize(): "presets" is returned from __sleep multiple times in /home/admin/web/gate.com/public_html/libraries/gantry/core/utilities/cache/cache.class.php on line 115
I have no idea why these error message rised.
I checked the Gantry.org website, but I already had installed the latest version of Gantry 4 which was supposed to support PHP7.
How to fix this?
Thank you.