PDA

View Full Version : $db->query_read and other no longer works in 5.4.3


Cruisey
09-10-2018, 05:04 PM
In our previous vB 5.4.2 plugin/hook, we could use

$db->query_read("SELECT * FROM node");

Since upgraded to 5.4.3, our plugin no longer works with the code above; our pages show a blank white screen..no error, nothing. Removing the code, above, all pages display correctly or of the plugin is disabled. Any reason?

delicjous
09-11-2018, 07:07 AM
you have to use the vB::getDbAssertor(). You will find a lot of examples in the api files.
And here is a example package -> https://vbulletin.org/forum/showthread.php?t=323006