a critical error out of nowhere
Hello, what should be fixed?
Not exactly sure how this could have happened.
An error of type E_ERROR was caused in line 8 of the file ***/wp-content/themes/betheme/functions/admin/templates/parts/promo.php. Error message: Uncaught Error: Object of class WP_Error could not be converted to string in ***/wp-content/themes/betheme/functions/admin/templates/parts/promo.php:8
Stack trace:
#0 ***/wp-content/themes/betheme/functions/admin/class-mfn-dashboard.php(235): include_once()
#1 ***/wp-content/themes/betheme/functions/admin/templates/dashboard.php(130): Mfn_Dashboard->promo()
#2 ***/wp-content/themes/betheme/functions/admin/class-mfn-dashboard.php(289): include_once('/home/skalsa/do...')
#3 ***/wp-includes/class-wp-hook.php(308): Mfn_Dashboard->template()
#4 ***/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters()
#5 ***/wp-includes/plugin.php(517): WP_Hook->do_action()
Comments
Hello,
Please, turn off all of the plugins, refresh your cache, and check if the problem persists.
Moreover, if you use a child theme, switch to parent, and recheck it.
Thanks
Hey,
sorry, that had to be the first thing to try :)
Everything seems to be working now.