Project

General

Profile

Actions

Bug #90268

open

TYPO3 sets php error_reporting hardcoded to 22519

Added by Uwe Trotzek over 4 years ago. Updated over 1 year ago.

Status:
New
Priority:
Should have
Assignee:
-
Category:
System/Bootstrap/Configuration
Target version:
-
Start date:
2020-01-31
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
10
PHP Version:
7.4
Tags:
Complexity:
easy
Is Regression:
Sprint Focus:

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

Actions

Also available in: Atom PDF