Hi all,
I'm experiencing a problem that many others also have seen, but all the solutions I've seen posted fail to resolve it for me.
Here's the error I get:
"Fatal error: The script tried to execute a method or access a property of an incomplete object. Please ensure that the class definition column of the object you are trying to operate on was loaded before the session was started in foo.php on line 98"
This does NOT occur the first time I load foo.php - the first time, everything works beautifully with the class I load at the top of the file like so:
<?php
$inc_dir="../../inc";
require_once("$inc_dir/Column.inc");
session_start();
?>
Column.inc contains my class definition.
I have tried the following hopeful solutions, without success:
Set php.ini's session.auto_start to 0. [It was already 0.]
Use require_once() instead of include(). [I've tried require_once(), require(), include() and include_once(). None of these solve the problem.]
Any help would be greatly appreciated, as I'm currently stumped.
Thanks much,
neil9