PDA

View Full Version : Fatal error: Call to a member function hide_errors() on a non-object


Valter
01-18-2010, 03:52 PM
Some users of my products are getting this error in different situations.

Are we 'forced' to remove these:

$db->hide_errors();
===db query===
$db->show_errors();

from vB4 add-ons, or I'm missing something here?

Thanks.

Vaupell
01-18-2010, 04:35 PM
$vbulletin->db->hide_errors();

works..

Valter
01-19-2010, 12:14 PM
Thanks. :-)