TYPO3: how to suppress stale warnings?

I tried to change the php.ini file (error_reporting = E_ALL and ~ E_DEPRECATED), but with no result. There is an older TYPO3 project that I would like to study, and all of these warnings are really annoying.

Thanks in advance.

+5
source share
1 answer

I'm not sure if this will work with your version of Typo3, but try setting the following options in typo3conf/localconf.phpor using the installation tool.

$TYPO3_CONF_VARS['SYS']['displayErrors']    = '0'; // or '-1' to see other errors
$TYPO3_CONF_VARS['SYS']['errorHandlerErrors']     = 22519; // E_ALL ^ E_DEPRECATED ^ E_NOTICE (everything except deprecated-msgs and notices)
$TYPO3_CONF_VARS['SYS']['syslogErrorReporting']   = 22519; // E_ALL ^ E_DEPRECATED ^ E_NOTICE (everything except deprecated-msgs and notices)
$TYPO3_CONF_VARS['SYS']['belogErrorReporting']    = 22519; // E_ALL ^ E_DEPRECATED ^ E_NOTICE (everything except deprecated-msgs and notices)
+8
source

All Articles