Actions
Bug #43022
closeddebug function not found
Status:
Closed
Priority:
Must have
Assignee:
-
Category:
Miscellaneous
Target version:
-
Start date:
2012-11-16
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
6.0
PHP Version:
Tags:
Complexity:
easy
Is Regression:
No
Sprint Focus:
Description
It does not work any more to insert a debug function in the CORE.
file GeneralUtility.php:
static public function requireOnce($requireFile) {
// Needed for require_once
global $T3_SERVICES, $T3_VAR, $TYPO3_CONF_VARS;
debug ($requireFile, 'requireOnce $requireFile');
require_once $requireFile;
}
PHP Fatal error: Call to undefined function TYPO3\\CMS\\Core\\Utility\\debug() in /var/www/mydomain/web/typo3_src-6.0.0rc1/typo3/sysext/core/Classes/Utility/GeneralUtility.php on line 4376
The TYPO3 debug feature is still needed in order to be able to backtrace an error case.
Actions