PHP 5.6 Breaks Zend Cache

Hi There,

My Hoster announced PHP 5.5 EOL taking Place June 2016. Therefore I changed the php Version for my Concrete5 Sites manually to 5.6.

So far, everything worked, no errors on my site.

Now, one week later, I made some content changes to my site, cleared the cache, and suddendly, the frontend of my page was not working anymore. Instead, I get the following php error:

Catchable fatal error: Object of class BlockRecord could not be converted to string in /home/.../concrete/libraries/3rdparty/Zend/Cache/Core.php on line 361

The Code Line mentioned in the error is the following:

$data = serialize($data);

Other people in the forums have had similiar problems:

But their temporary Solution to just comment out that Line cannot be the solution.

Any Idea, why the serialize() Method would not work anymore with php 5.6?

Best Regards

View Replies:
janwidmer replied on at Permalink Reply
Somehow, the last update to the version was not successfully installed (even though, the success message appeared..) and I was still running version Now that I successfully updated to, it also works with php version 5.6
studio4graphics replied on at Permalink Reply
Hi Jan,

How do I manually change the PHP version to 5.6?
In 2 weeks my host will change the PHP version, so I like to test if my website's will not break.

Kind regards,
janwidmer replied on at Permalink Reply
Hi Maarten,

You need to login in your Hosters Admin Tool and there somewhere, you should be able to change it as a setting. Usually, you can find it on the website settings page..

Best Regards