Avatar of nsitedesigns
nsitedesigns
Flag for United States of America 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/a2pnexwpnas04_data01/40/3310340/html/wp-content/object-cache.php on line 894

Warning: Cannot modify header information - headers already sent by (output started at /home/content/a2pnexwpnas04_data01/40/3310340/html/wp-content/object-cache.php:894) in /home/content/a2pnexwpnas04_data01/40/3310340/html/wp-content/plugins/planso-forms/libs/wp-session-manager/class-wp-session.php on line 124
PHPWordPressWeb DevelopmentResponsive Web

Avatar of undefined
Last Comment
Ray Paseur

8/22/2022 - Mon
ASKER CERTIFIED SOLUTION
Ray Paseur

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question
nsitedesigns

ASKER
Will give it a shot.  I also have godaddy managed wordpress for hosting as do some of the people in the wordpress.org link and have run across caching issues when updating site.  I wonder if they are the problem?  

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!
nsitedesigns

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
Ray Paseur

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/
I started with Experts Exchange in 2004 and it's been a mainstay of my professional computing life since. It helped me launch a career as a programmer / Oracle data analyst
William Peck
nsitedesigns

ASKER
Thanks Ray!
Ray Paseur

Glad to help -- I hope this fixes things!