[wp-trac] [WordPress Trac] #36731: Warning: Class __PHP_Incomplete_Class has no unserializer in /home/content/[...]/html/wp-content/object-cache.php on line520

WordPress Trac noreply at wordpress.org
Mon May 2 01:01:08 UTC 2016


#36731: Warning: Class __PHP_Incomplete_Class has no unserializer in
/home/content/[...]/html/wp-content/object-cache.php on line520
--------------------------+----------------------
 Reporter:  pro99         |       Owner:
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:
Component:  Cache API     |     Version:  4.5.1
 Severity:  normal        |  Resolution:  invalid
 Keywords:                |     Focuses:
--------------------------+----------------------
Changes (by dd32):

 * status:  new => closed
 * resolution:   => invalid
 * milestone:  Awaiting Review =>


Comment:

 This is caused by a plugin storing an instance of a class into Memcache
 (or the database) either via transients, options, usermeta, postmeta, etc.

 When the value is retrieved from the cache, and the class is no longer
 loaded in WordPress at that time, it'll trigger this PHP warning. The
 class may no longer exist as either the plugin hasn't loaded it, or the
 plugin has been disabled.

 It's not a bug in WordPress as such, but rather in whatever is storing the
 value into Memcache.
 In order to diagnose it, you'd need to see the raw data being retrieved
 from Memcache, look at the classname and dig into what plugin is causing
 it.

 I'm marking this as invalid, as it appears to be a bug in a plugin.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/36731#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list