Bug #15521: Can't call member function of an object in an array stored in a session

From: Date: Tue, 12 Feb 2002 14:11:04 +0000
Subject: Bug #15521: Can't call member function of an object in an array stored in a session
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-183@lists.php.net to get a copy of this message
From: luny@sci.fi Operating system: Win NT/2000 PHP version: 4.1.1 PHP Bug Type: Class/Object related Bug description: Can't call member function of an object in an array stored in a session $tObjects = $HTTP_SESSION_VARS['$tObjects']; // Array of objects $tObjects[0]->m_nVariable = 0; // OK $tObjects[0]->MemberFunction(); // Fatal error: Call to a member function on a non-object -- Edit bug report at http://bugs.php.net/?id=15521&edit=1 -- Fixed in CVS: http://bugs.php.net/fix.php?id=15521&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=15521&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=15521&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=15521&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=15521&r=support Expected behavior: http://bugs.php.net/fix.php?id=15521&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=15521&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=15521&r=submittedtwice

« previous php.bugs (#183) next »