Issue Bug Closed

#90268TYPO3 sets php error_reporting hardcoded to 22519

Uwe Trotzek 01/31/20, 13:03 updated 06/24/24, 08:20

Description

Currently it is not possible to configure the error_reporting level in the php.ini because TYPO3 overrides this value in the bootstrapping process.

As far as I can see, this happens in the class
typo3/sysext/core/Classes/Core/SystemEnvironmentBuilder.php

in the method initializeBasicErrorReporting()

Because the error_reporting value is hardcoded, I’ll get the following deprecation notice every time I execute the typo3 CLI command via bin/typo3.

PHP Deprecated:  Automatic TCA migration done during bootstrap. Please adapt TCA accordingly, these migrations will be removed. The backend module "Configuration -> TCA" shows the modified values. Please adapt these areas:
The TCA table 'pages_language_overlay' is not used anymore and has been removed automatically in order to avoid negative side-effects. in /app/WWW/typo3/sysext/core/Classes/Utility/ExtensionManagementUtility.php on line 1608

This happens because the ExtensionManagementUtility triggers the E_USER_DEPRECATED warning.

I don’t override or set anything in the ‘pages_language_overlay’ TCA. I thing the message will be triggered because the pages_language_overlay TCA will still be loaded from the Core:

https://github.com/TYPO3/TYPO3.CMS/blob/master/typo3/sysext/frontend/Configuration/TCA/pages_language_overlay.php

Reviews 0

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