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?
-- 
View this message in context: 
http://www.nabble.com/Cannot-use-object-of-type-Zend_Session_Namespace-as-array-tp25730203p25730203.html
Sent from the Zend Framework mailing list archive at Nabble.com.

Reply via email to