Either way, you're looking for the “WP_DEBUG” portion of the wp-config. php file. Click the “Save Changes” button in the top right. Once the file is saved, this will disable the PHP warnings in WordPress.
If you set display_errors=off then all types of error will of. Show activity on this post. Xampp and other web applications have an error interface to show programmers (and users) execution errors or warnings (notices). In order to modify the way Xampp shows errors you have to go control panel and open php.
Tried this yet?
error_reporting(0);
@ini_set('display_errors', 0);
Does this work?
display_errors = Off
Also, what version of php are you using?
Read up on the configuration settings (e.g., display_errors
, display_startup_errors
, log_errors
) and update your php.ini
or .htaccess
or .user.ini
file, whichever is appropriate.
It works.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With