problem: you’re assigning a class instance to a session variable, operation breaks, and output shows __PHP_Incomplete_Class

reason: the session is unserialized when session_start is called, often before the class is defined

fix: declare, define or reference the class before calling session_start. __autoload will do this.