PHP Fatal error: sidebar widgets disappearing
-
I’ve noticed some issue with some of the sidebar widgets disappearing from the website. This is what I’ve found in the logs:
[27-May-2022 18:58:06 UTC] PHP Fatal error: Uncaught Error: Object of class AMP_Validation_Callback_Wrapper could not be converted to string in /home/msrt23/public_html/wp-content/plugins/display-widgets/display-widgets.php:214 Stack trace: #0 /home/msrt23/public_html/wp-content/plugins/amp/includes/validation/class-amp-validation-callback-wrapper.php(144): DWPlugin->sidebars_widgets(Array) #1 /home/msrt23/public_html/wp-includes/class-wp-hook.php(307): AMP_Validation_Callback_Wrapper->__invoke(Array) #2 /home/msrt23/public_html/wp-includes/plugin.php(189): WP_Hook->apply_filters(Array, Array) #3 /home/msrt23/public_html/wp-includes/widgets.php(1039): apply_filters('sidebars_widget...', Array) #4 /home/msrt23/public_html/wp-content/plugins/learndash-course-grid/includes/class-skins.php(337): wp_get_sidebars_widgets() #5 /home/msrt23/public_html/wp-content/plugins/amp/includes/validation/class-amp-validation-callback-wrapper.php(144): LearnDash\Course_Grid\Skins->enqueue_skin_assets('') #6 /home/msrt23/public_html/wp-includes/class-wp-ho in /home/msrt23/public_html/wp-content/plugins/display-widgets/display-widgets.php on line 214It looks like there is some compatibility issue with the Display Sidebars plugin, which is causing the WP sidebar widgets to disappear. Is this happening due to AMP auto validation that has failed on the Display Sidebars plugins? Do I need to mark the Display Widgets plugin as Suppressed in the AMP settings to prevent this kind of issue from recurring?
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
The topic ‘PHP Fatal error: sidebar widgets disappearing’ is closed to new replies.