ID: 12230 Updated by: sebastian Reported By: [EMAIL PROTECTED] Old Status: Open Status: Closed Bug Type: Session related Operating System: HP Unix 10 PHP Version: 4.0.5 New Comment:
This is not a bug. Please have a look at the error message: 'The script tried to execute a method or access a property of an incomplete object. Please ensure that the class definition test of the object you are trying to operate on was loaded _before_ the session was started'. Previous Comments: ------------------------------------------------------------------------ [2001-07-18 09:36:54] [EMAIL PROTECTED] I have the follow Problem: Fatal error: The script tried to execute a method or access a property of an incomplete object. Please ensure that the class definition test of the object you are trying to operate on was loaded _before_ the session was started in /u4_1/www/rf/includes/all_sicherheit.inc on line 3 Very simple: In file 1: class foo { ... } $x=new foo $x->... = 123; session_register("x"); in 2. file: class foo { ... } echo $x->...; When I do a session_register("x") befor I printed $x->... it get the same error. Is there a Workaround? ------------------------------------------------------------------------ Edit this bug report at http://bugs.php.net/?id=12230&edit=1 -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]