Quantcast
Channel: Joomla! Forum - community, help and support
Viewing all articles
Browse latest Browse all 1008

General Questions/New to Joomla! 4.x • Re: Gigantic deprecated.php file in /administrator/logs

$
0
0
When I run fpa-en.php the one thing sticking out is this
PHP Error Reporting for Joomla 4
J4.xx and older versions does not work with error reporting set to maximum on PHP v8.2 and above.
Not quite. The recommended version of PHP for Joomla 4.x is 8.2 and for Joomla 5.x it is PHP 8.3. Both versions work all right with the Maximum option of Error Reporting.

Error Reporting: 22527
The FPA shows the php.ini parameter 'error_reporting' as the integer value 22527. In terms of PHP predefined constants, the value 22527 consists of the following statement:

Code:

E_ALL & ~E_DEPRECATED & ~E_STRICT
This means that all PHP errors except Deprecated and Strict are reported. The constant E_DEPRECATED preceded by the bitwise operator ~ means that Deprecated messages are not reported.

Unless you find that the option Log Deprecated API was turned on, as @ceford thinks it might be, something is changing the way PHP errors are reported. A rogue extension may be using the function error_reporting() in its PHP code, which affects every subsequent script.

On the other hand, there is a chance that the contents of the .htaccess file in the main Joomla folder or the administrator folder has something to do with the log file of Deprecated messages. Look for statements 'php_value error_reporting'.

Statistics: Posted by toivo — Tue Aug 20, 2024 10:29 pm



Viewing all articles
Browse latest Browse all 1008

Trending Articles