note 84068 deleted from function.main by danbrown

From: Date: Wed, 17 Jun 2009 18:36:10 +0000
Subject: note 84068 deleted from function.main by danbrown
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-157009@lists.php.net to get a copy of this message
Note Submitter: Anonymous ---- In addition to Maurice's comments: the "The script tried to execute a method or access a property of an incomplete object" message can appear also if you store your objects in session, and rename class during that session. For example, you have class "class_name", and there is a class variable "$class_var = new class_name". If you decide to rename your class, you would have "$class_var = new class_new_name". This re-naming will result in abovementioned error message if you store $class_var in session. Solution: clean-up session variable, then error disappears.

« previous php.notes (#157009) next »