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?