Suppressing Wordpress Database errors

This might only apply to 2.2.2 but hopefully not.

at the very first line of your very first piece of code in your template do this:

$wpdb->hide_errors();

If you want to, you can do it in your header file with:

global $wpdb;

$wpdb->hide_errors();

Oh god, Im so glad it’s finally over…

Sphere: Related Content

No Comments! Be The First!

Leave a Reply

27250 pages viewed, 93 today
8263 visits, 49 today
FireStats icon Powered by FireStats