error_log – not possible to disable !!!!!!!!

Posted in: Newspaper
Post count: 10

I have a big problem, the system creates a huge error_log file.
I tried to disable the log by doing these two things …. BUT it doesn’t work

php.ini
– – – –
error_reporting = E_ALL & ~E_WARNING & ~E_NOTICE & ~E_DEPRECATED & ~E_STRICT
disable_functions = error_reporting
log_errors = off
display_errors = Off

——
wp-config.php

/**
* Disable Error Log
*/

define(‘WP_DEBUG’, false);
define(‘WP_DEBUG_DISPLAY’, false);
define(‘WP_DEBUG_LOG’, false );
@ini_set(‘log_errors’, ‘Off’);
@ini_set(‘display_errors’, 0);
@ini_set(‘error_reporting’, E_ALL );

BUT it doesn’t work
the system continues to create error_log files
🙁

Post count: 35449

Hi,
This is not something related to our theme, but I hope I can help you!
Please try the steps from those articles:
-> https://www.ecenica.com/support/answer/disable-php-error-logs/
-> https://chemicloud.com/kb/article/how-to-enable-or-disable-php-error-logging-in-cpanel/
I hope this will help you!

Post count: 10

first … thank you for the answer….

BUT….

It doesn’t work !!!!!!!!!!!

I tried also to modify the .htaccess file…. disaster…… the wordpress …. crash 🙁

If someone got a solution …please… send me
the error_log…… make me crazy …

Post count: 35449

Hello,
If those general settings do not work, maybe your host can help you. Normally they should know how to disable the error_log. It is possible to be a general option for entire server.
Thank you!

Viewing 4 posts - 1 through 4 (of 4 total)
The forum ‘Newspaper’ is closed to new topics and replies.