Issue Bug Closed

#43022debug function not found

Franz Holzinger 11/16/12, 14:35 updated 10/02/18, 12:14

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.

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.