[wp-trac] [WordPress Trac] #10419: Object of class __PHP_Incomplete_Class

WordPress Trac wp-trac at lists.automattic.com
Sun Jul 19 09:05:08 UTC 2009


#10419: Object of class __PHP_Incomplete_Class
--------------------------+-------------------------------------------------
 Reporter:  tailspin      |       Owner:                   
     Type:  defect (bug)  |      Status:  new              
 Priority:  normal        |   Milestone:  Future Release   
Component:  Users         |     Version:  2.8.1            
 Severity:  normal        |    Keywords:  reporter-feedback
--------------------------+-------------------------------------------------
Changes (by hakre):

  * keywords:  password change => reporter-feedback
  * milestone:  2.9 => Future Release


Comment:

 The Error Message you get is related to a design flaw in WordPress core
 code, data structure and data flow. Your certain experience might be the
 result of having a plugin once activated and now deactivated that did not
 properly uninstall but it might have other causes as well.

 A hotfix for this case could be to catch the error and silently
 delete/drop the unrestoreable data.

 A propper fix would touch the way userdata is currently handeled in
 wordpress core. Such changes are not so easy to be expected. As already
 stated user_meta/serialization is related to some more tickets already and
 those changes might affect this behaviour and vice versa.

 To gain more information about your error, please check which class is
 likely to be incomplete. The error technically means that an object of a
 certain class-type is deserialized but the definition (class) of that type
 does not exists.

 This can be because you once had a plugin activated that is not activated
 any longer and therefore the class definition does not exist any longer
 (as an Example).

 Please var_dump() your incomplete class variable and look in the output,
 it should have a property that contains the name of the original class.
 This might help to find the concrete cause of your issue.

 Please report that classname or any additional feedback back here.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/10419#comment:2>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list