Error messages are shown in my wordpress dashboard and I can't hide them even I use
error_reporting(0);
@ini_set(‘display_errors’, 0); in wp-config.php.
I place the code as below:
<?php
error_reporting(0);
@ini_set(‘display_errors’, 0);
/**
* The base configurations of the WordPress.
*
* This file has the following configurations: MySQL settings, Table Prefix,
* Secret Keys, WordPress Language, and ABSPATH. You can find more information
* by visiting {@link http://codex.wordpress.org/Editing_wp-config.php Editing
* wp-config.php} Codex page. You can get the MySQL settings from your web host.
*
* This file is used by the wp-config.php creation script during the
* installation. You don't have to use the web site, you can just copy this file
* to "wp-config.php" and fill in the values.
*
* @package WordPress
*/
I wonder if there is a way to hide the php error message. Help.