note 84068 added to function.main
| From: | Anonymous at osu1 dot php dot net | Date: | Thu, 26 Jun 2008 11:32:41 +0000 |
| Subject: | note 84068 added to function.main | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-140831@lists.php.net to get a copy of this message | ||
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.
----
Server IP: 87.124.64.96
Probable Submitter: 195.212.29.171
----
Manual Page -- http://www.php.net/manual/en/function.main.php
Edit -- https://master.php.net/note/edit/84068
Del: integrated -- https://master.php.net/note/delete/84068/integrated
Del: useless -- https://master.php.net/note/delete/84068/useless
Del: bad code -- https://master.php.net/note/delete/84068/bad+code
Del: spam -- https://master.php.net/note/delete/84068/spam
Del: non-english -- https://master.php.net/note/delete/84068/non-english
Del: in docs -- https://master.php.net/note/delete/84068/in+docs
Del: other reasons-- https://master.php.net/note/delete/84068
Reject -- https://master.php.net/note/reject/84068
Search -- https://master.php.net/manage/user-notes.php