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.
This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.
WordPress® is a registered trademark of the WordPress Foundation, and WooCommerce® is a registered trademark of WooCommerce, Inc. MainWP is an independent product and is not affiliated, associated, or endorsed by the WordPress Foundation, WooCommerce, Inc., or Automattic Inc., except where noted under the Jetpack® API and Trademark License Agreement. All product names, logos, and brands are property of their respective owners and are used for identification purposes only.