note 65471 added to function.main
| From: | Maurice at osu1 dot php dot net | Date: | Mon, 01 May 2006 18:12:17 +0000 |
| Subject: | note 65471 added to function.main | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-110277@lists.php.net to get a copy of this message | ||
Notice: main() [function.main]: The script tried to execute a method or access a property of an
incomplete object. Please ensure that the class definition "<classname>" of the
object you are trying to operate on was loaded _before_ unserialize() gets called or provide a
__autoload() function to load the class definition in <filename> on line <line>
You get this error if you have and object in your $_SESSION array and you call session_start()
before you have loaded your included classes.
----
Server IP: 83.137.20.120
Probable Submitter: 217.122.17.76
----
X-Spam-Status: No, hits=3.1 required=5.0 tests=DATE_MISSING,FROM_NO_LOWER
autolearn=no version=2.64
----
Manual Page -- http://www.php.net/manual/en/function.main.php
Edit -- http://master.php.net/note/edit/65471
Del: integrated -- http://master.php.net/note/delete/65471/integrated
Del: useless -- http://master.php.net/note/delete/65471/useless
Del: bad code -- http://master.php.net/note/delete/65471/bad+code
Del: spam -- http://master.php.net/note/delete/65471/spam
Del: non-english -- http://master.php.net/note/delete/65471/non-english
Del: in docs -- http://master.php.net/note/delete/65471/in+docs
Del: other reasons-- http://master.php.net/note/delete/65471
Reject -- http://master.php.net/note/reject/65471
Search -- http://master.php.net/manage/user-notes.php