I have this set in php.ini:
error_reporting = E_ALL ^ E_WARNING ^ E_NOTICE ^ E_DEPRECATED ^ E_STRICT
Yet I'm still seeing things like this:
Warning: count(): Parameter must be an array or an object that implements Countable in /var/www/html/web/wp-content/plugins/folders/includes/types.php on line 188
I would like to suppress all notices and warnings.
error_reporting(E_ALL & ~E_NOTICE);wp-config.phpsetdefine('WP_DEBUG', false);show hide those warning