Archived topic
Error on website
3 replies · Started by Daniel on March 5, 2018
Hi,
i made a duplicate of my live website here: (see url)
and noticed that there are errors on the homepage and also on some of the other pages:
Warning: count(): Parameter must be an array or an object that implements Countable in /www/htdocs/w012be4d/neu.netzspinnerei.at/wp-includes/media.php on line 1206
I deactivated all plugins and reactivated one by one and it seems that the error comes from gp-premium. I also deactivated all the modules on gp-premium and reactivated them - it seems the "blog" module causes the error.
Please help!
Thanks,
Daniel
Hi Daniel,
It's possible your server is running PHP 7.2, which displays this error in GPP.
GPP 1.6 fixes it, and is available for beta testing now: https://docs.generatepress.com/article/beta-testing/
Let me know :)
Hi Tom,
yes, the server was set to php 7.2.
I switched it back to 7.0 and reinstalled the site. It seems to work fine now!
Thanks a lot,
Daniel
No problem!
You can use 7.2, just update to GPP 1.6 :)