Index: typo3/sysext/cms/tslib/index_ts.php =================================================================== --- typo3/sysext/cms/tslib/index_ts.php (Revision 7534) +++ typo3/sysext/cms/tslib/index_ts.php (Arbeitskopie) @@ -515,7 +515,7 @@ // *********** $TYPO3_MISC['microtime_end'] = microtime(true); $TSFE->setParseTime(); -if ($TSFE->isOutputting() && ($TSFE->TYPO3_CONF_VARS['FE']['debug'] || $TSFE->config['config']['debug'])) { +if ($TSFE->isOutputting() && (!empty($TSFE->TYPO3_CONF_VARS['FE']['debug']) || !empty($TSFE->config['config']['debug']))) { echo ' '; } @@ -572,7 +572,7 @@ // ************* // Debugging Output // ************* -if(is_object($error) && @is_callable(array($error,'debugOutput'))) { +if(isset($error) && is_object($error) && @is_callable(array($error,'debugOutput'))) { $error->debugOutput(); } if (TYPO3_DLOG) {