ZF-3098: Zend_Memory_MemoryTest causes fatal error in unit test suite
Description
PHP Fatal error: Access to undeclared static property: Zend_Cache::$availableBackends in /var/local/zf/library/Zend/Memory.php on line 61
PHP Fatal error: Access to undeclared static property: Zend_Cache::$availableBackends in /var/local/zf/library/Zend/Memory.php on line 61
Comments
Posted by Alexander Veremyev (alexander) on 2008-04-11T09:13:58.000+0000
Started checking what is the problem
Posted by Darby Felton (darby) on 2008-04-11T09:19:41.000+0000
I suspect a regression in Zend_Cache, but I don't have much to back that assertion yet.
Posted by Darby Felton (darby) on 2008-04-11T10:23:54.000+0000
Yes, it seems that {{Zend_Cache::$availableBackends}} was removed (same also for {{Zend_Cache::$availableFrontends}}) in SVN r9056. These should be restored and marked as {{@deprecated}}. The next major release would be the next opportunity to actually remove these from the class.
Posted by Darby Felton (darby) on 2008-04-11T10:31:29.000+0000
Fixed with SVN r9196.
Posted by Wil Sinclair (wil) on 2008-09-02T10:39:06.000+0000
Updating for the 1.6.0 release.