No, it sounds like you are actually using PHP 5.2.3.
Are you sure it's PHP 5.2.10 (clean)?
Can you provide a backtrace of th exception? This is one of the main
reasons why the minimum version of PHP is 5.2.4. There was an issue in
5.2.3 with how handled nested arrays when using magic methods & $_SESSION.
-ralph
robert mena wrote:
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] <mailto:[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?