Hello,
I updated MainWP dashboard to the last version and the MainWP Custom Dashboard Extension (version 4.0) crashed the site! I had to disable it. Here is the error message:
Current plugin: MainWP Custom Dashboard Extension (version 4.0)
PHP version 7.3.21
Error Details
An error of type E_ERROR was caused in line 47 of the file /home/xxx/public_html/wp-content/plugins/mainwp-custom-dashboard-extension/class/mainwp-custom-dashboard.class.php(60) : eval()'d code. Error message: Uncaught Error: Call to undefined method MainWP_DB::getSQLWebsitesForCurrentUser() in /home/xxx/public_html/wp-content/plugins/mainwp-custom-dashboard-extension/class/mainwp-custom-dashboard.class.php(60) : eval()‘d code:47
Stack trace: #0 /home/xxx/public_html/wp-includes/class-wp-hook.php(287): quick_form_in_admin_bar2(’\t\t
It is because I had some code in there before the update?
Thanks,
Fred
Hey Fred, apologies for my misleading message. The extension actually stores the code in the wp_options table. Please search for the mainwp_custom_dashboard_php_snippet field.