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 [Links visible only for registered users]. 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 [Links visible only for registered users]
Stack trace:
#0 ***/wp-content/themes/betheme/functions/admin/class-mfn-dashboard.php(235) [Links visible only for registered users]: include_once()
#1 ***/wp-content/themes/betheme/functions/admin/templates/dashboard.php(130) [Links visible only for registered users]: Mfn_Dashboard->promo()
#2 ***/wp-content/themes/betheme/functions/admin/class-mfn-dashboard.php(289) [Links visible only for registered users]: include_once('/home/skalsa/do...')
#3 ***/wp-includes/class-wp-hook.php(308) [Links visible only for registered users]: Mfn_Dashboard->template()
#4 ***/wp-includes/class-wp-hook.php(332) [Links visible only for registered users]: WP_Hook->apply_filters()
#5 ***/wp-includes/plugin.php(517) [Links visible only for registered users]: 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.