• Resolved wrip

    (@wrip)


    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 214

    It 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)
  • Plugin Support Milind More

    (@milindmore22)

    Hello @wrip

    Thank you for contacting us, If a plugin is incompatible with AMP we will suggest taking following actions

    1) Contact the Plugin author/support and ask them to make it AMP compatible.

    2) Look for an AMP-compatible alternative to the plugin. you can find AMP-compatible options on our site’s AMP Ecosystem Page.

    3) If the plugin author didn’t respond or you cannot find an alternative for the plugin, please suppress the plugin.

    I hope this is helpful!

    Plugin Support Milind More

    (@milindmore22)

    @wrip
    As we didn’t receive a response I’ll mark this as resolved. Feel free to open a new support topic if you require any further assistance.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘PHP Fatal error: sidebar widgets disappearing’ is closed to new replies.