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
nsitedesignsAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Ray PaseurCommented:
The second part about the header information Warning is caused by the first part.  Some explanation here:
https://www.experts-exchange.com/articles/4423/Warning-Cannot-modify-header-information-headers-already-sent.html

The first part seems to be well-documented on the WordPress site.
https://wordpress.org/support/topic/class-_php_incomplete_class-has-no-unserializer/

The most common solution seems to go something like this: "In the wp-content folder just rename object-cache.php to object-cache.php.BAK or anything else and that’s it."
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
nsitedesignsAuthor Commented:
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!
0
nsitedesignsAuthor Commented:
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
0
Fundamentals of JavaScript

Learn the fundamentals of the popular programming language JavaScript so that you can explore the realm of web development.

Ray PaseurCommented:
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/
0
nsitedesignsAuthor Commented:
Thanks Ray!
1
Ray PaseurCommented:
Glad to help -- I hope this fixes things!
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
PHP

From novice to tech pro — start learning today.