ZF-10189: Missing require_once for Zend_Log in Zend_Cache_Core

Issue Type: Bug Created: 2010-07-20T15:10:28.000+0000 Last Updated: 2010-07-20T21:34:29.000+0000 Status: Resolved Fix version(s): - 1.10.7 (28/Jul/10)

Reporter: Jamie Talbot (majelbstoat) Assignee: Ramon Henrique Ornelas (ramon) Tags: - Zend_Cache

Related issues: Attachments:


In _loggerSanity(), if Zend_Cache_Core is initialised before autoloading has been turned on, a missing require_once statement for Zend_Log causes:

Fatal error: Class 'Zend_Log' not found in /path/to/library/Zend/Cache/Core.php on line 717

(as at revision 21293).

Can be easily worked around by autoloading earlier, requiring Zend_Log yourself or turning off logging, but probably should be fixed nonetheless.


Posted by Ramon Henrique Ornelas (ramon) on 2010-07-20T21:34:27.000+0000

Thank you by report. Fixed in trunk r22651, applied r22652 to 1.10 branch.

Greetings Ramon

Have you found an issue?

See the Overview section for more details.


© 2006-2016 by Zend, a Rogue Wave Company. Made with by awesome contributors.

This website is built using zend-expressive and it runs on PHP 7.