I am facing the same problem. Zend 1.10.7 and PHP 5.2.10 (centos with backported patches).
Any ideas? On Sun, Oct 4, 2009 at 1:04 PM, Ralph Schindler <[email protected]>wrote: > What version of Zend Framework and what version of PHP are you running? > > -ralph > > > Jakobud wrote: > >> I'm new to Zend, so I'm not sure if I'm doing anything wrong... Here is my >> test code: >> >> >> <? >> require_once("Zend/Loader.php"); >> >> Zend_Loader::loadClass('Zend_Session'); >> Zend_Loader::loadClass('Zend_Session_Namespace'); >> Zend_Session::start(); >> >> $user = new Zend_Session_Namespace('user'); >> $user->id = 123; >> ?> >> >> >> and my error: >> >> >> Fatal error: Cannot use object of type Zend_Session_Namespace as array in >> /.../ZendFramework/library/Zend/Session/Abstract.php on line 159 >> >> >> I found an old forum post from 2007 that mentions this error. Is this >> seriously still an outstanding bug after all this time? Or am I just doing >> something wrong? >> >
