How can I make wordpress suppress mysql errors?
WordPress has two functions related to SQL queries and their errors as mentioned in What Is The Difference Between suppress_errors() And hide_errors() in $wpdb? From what I’ve read setting WP_DEBUG to false in wp-config.php will set hide_errors() so that mySql errors aren’t show – but if the site can’t connect to the database you’ll still … Read more