nsitedesigns
asked on
warning code: class php incomplete message
Occasionally we get this message across the top of the site. And then it goes away. Any idea what causes it and how to remove? The site is a wordpress site using genesis framework. I also attached a screen shot. This happens on phones and desktops.
Warning: Class __PHP_Incomplete_Class has no unserializer in /home/content/a2pnexwpnas0 4_data01/4 0/3310340/ html/wp-co ntent/obje ct-cache.p hp on line 894
Warning: Cannot modify header information - headers already sent by (output started at /home/content/a2pnexwpnas0 4_data01/4 0/3310340/ html/wp-co ntent/obje ct-cache.p hp:894) in /home/content/a2pnexwpnas0 4_data01/4 0/3310340/ html/wp-co ntent/plug ins/planso -forms/lib s/wp-sessi on-manager /class-wp- session.ph p on line 124
Warning: Class __PHP_Incomplete_Class has no unserializer in /home/content/a2pnexwpnas0
Warning: Cannot modify header information - headers already sent by (output started at /home/content/a2pnexwpnas0
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
OK. I got in. Interestingly enough there are 3 object-cache files. Would you recommend I rename or delete the other two (.redis or .apc)?
object-cache.php
object-cache.php.redis
object-cache.php.apc
object-cache.php
object-cache.php.redis
object-cache.php.apc
Redis and APC are cache systems, independent of WP object-cache, but used by WP extensions to provide a cache. My first instinct is to disable all of them via a rename, as described on WordPress.org. But they may be providing a useful service (or trying to) in the form of higher performance. So it might be good to understand how cache works and keep an eye on the site to see if you need to address performance issues after these are disabled. Probably Redis is the more promising approach.
More information on cache, in general:
https://www.experts-exchange.com/articles/18437/Improving-Web-Site-Performance-via-PHP-Cache.html
Information about APC:
https://wordpress.org/support/plugin/apc
Information about Redis (looks better than the APC):
https://wordpress.org/plugins/redis-cache/
More information on cache, in general:
https://www.experts-exchange.com/articles/18437/Improving-Web-Site-Performance-via-PHP-Cache.html
Information about APC:
https://wordpress.org/support/plugin/apc
Information about Redis (looks better than the APC):
https://wordpress.org/plugins/redis-cache/
ASKER
Thanks Ray!
Glad to help -- I hope this fixes things!
ASKER
p.s. Can't try your solution until client calls me. they have 2-step verification in place for host and I cannot login without the 4 digit code that gets texted. What a pain!