hi 4evrblu,
hope it helps ??
WT,
you need to copy the function checkconnection()
as well.
and also alter your query function to call checkconnection before query:
function query($query) {
// filter the query, if filters are available
// NOTE: some queries are made before the plugins have been loaded, and thus cannot be filtered with this method
$this->checkconnection();
https://www.openadvent.com/blog/?p=30#more-30