ini_set() in php_errors.php
-
My error logs are filling up with this error message:
PHP Warning: ini_set() has been disabled for security reasons in /home/xxxsamplexxx/public_html/wp-content/plugins/query-monitor/collectors/php_errors.php on line 46
I’m assuming my host / server settings have disabled ini_set()
wondering if I should just edit php_error.php but not sure exactly what to take out
public function __construct() { parent::__construct(); set_error_handler( array( $this, 'error_handler' ) ); register_shutdown_function( array( $this, 'shutdown_handler' ) ); $this->display_errors = ini_get( 'display_errors' ); ini_set( 'display_errors', 0 ); }
thanks in advance for recommendation
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘ini_set() in php_errors.php’ is closed to new replies.