#39187PHP Fatal error: Class 't3lib_utility_Debug' not found
Description
This happens if an extension does some magic inside ext_autoload.php and calls a deprecated function.
To reproduce, install ext:news from git and rm -rf typo3temp/Cache/*.
tx_news tries to call t3lib_extMgm::getEnabledExtensionList which result in a call to t3lib_div::logDeprecatedFunction() which in turn calls t3lib_utility_Debug::debugTrail().
A simple solution is to require t3lib_utility_Debug during bootstrap as part of the required classes:
--- a/typo3/classes/Bootstrap/BaseSetup.php
+++ b/typo3/classes/Bootstrap/BaseSetup.php
@@ -205,6 +205,7 @@ class Typo3_Bootstrap_BaseSetup {
protected static function requireBaseClasses() {
/** @define "PATH_t3lib" "../../../t3lib/" */
require_once(PATH_t3lib . 'class.t3lib_div.php');
+ require_once(PATH_t3lib . 'utility/class.t3lib_utility_debug.php');
require_once(PATH_t3lib . 'utility/class.t3lib_utility_array.php');
require_once(PATH_t3lib . 'class.t3lib_configuration.php');
I have a patch ready, but would like to have feedback before messing with the bootstrap.
Reviews 0
No change resolves or names this issue in its commit message, and no comment links one.