Sucuri error plus another extension log error

I’m running Sucuri 4.0.2 and have this error:
Fatal error : Uncaught Error: Call to undefined method MainWP_DB::query() in /home/customer/www/ Stack trace: #0 /home/customer/www/ MainWP_Sucuri::renderSettings() #1 /home/customer/www/ MainWP_Sucuri_Extension_Activator->settings(’’) #2 /home/customer/www/ WP_Hook->apply_filters(’’, Array) #3 /home/customer/www/ WP_Hook->do_action(Array) #4 /home/customer/www/ do_action(‘mainwp_page_Ext…’) #5 {main} thrown in /home/customer/www/ on line 145

Any idea what to do? I looked at the error log but seem to have about 20 repetitions per second of this error: mainwp-extension-available-check is deprecated since version 4.1 with no alternative available.
I don’t see any extension I have installed that resembles “available-check”.

Hi Nancy,

Can you please try to deactivate and delete the current version of the extension and install a fresh copy?

Thank you so much! That fixed it.

1 Like

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.