Issue Bug Closed

#38645New error_reporting settings cause notice "undefined constant E_DEPRECATED " with PHP 5.2

Ivan Dharma Kartolo 07/04/12, 15:15 updated 10/24/17, 20:20

Description

After #35154 updating to 4.5.17 shows the following PHP Notice:

PHP Notice:  Use of undefined constant E_DEPRECATED - assumed 'E_DEPRECATED' in typo3_src-4.5.17/typo3/init.php on line 69

Problem is, that the site still uses PHP 5.2.

Since TYPO3 4.5.x should be still working with PHP 5.2, I thinks the line

error_reporting(E_ALL & ~(E_STRICT | E_NOTICE | E_DEPRECATED));

should be change to

error_reporting(E_ALL & ~(E_STRICT | E_NOTICE));

in typo3/init.php

Thanks,

Ivan

Reviews 0

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