• Resolved thevisas

    (@thevisas)


    Hi,

    I am getting this error “There has been a critical error on this website.” when Web stories plugin is enabled.
    Debug log shows the following error:

    [13-Aug-2021 23:17:16 UTC] PHP Fatal error:  Uncaught TypeError: Return value of Google\Web_Stories\Renderer\Single::show_admin_bar() must be of the type bool, null returned in /home/customer/www/thevisasofoz.com/public_html/wp-content/plugins/web-stories/includes/Renderer/Single.php:83
    Stack trace:
    #0 /home/customer/www/thevisasofoz.com/public_html/wp-includes/class-wp-hook.php(303): Google\Web_Stories\Renderer\Single->show_admin_bar(NULL)
    #1 /home/customer/www/thevisasofoz.com/public_html/wp-includes/plugin.php(189): WP_Hook->apply_filters(NULL, Array)
    #2 /home/customer/www/thevisasofoz.com/public_html/wp-includes/admin-bar.php(1245): apply_filters('show_admin_bar', false)
    #3 /home/customer/www/thevisasofoz.com/public_html/wp-includes/admin-bar.php(26): is_admin_bar_showing()
    #4 /home/customer/www/thevisasofoz.com/public_html/wp-includes/class-wp-hook.php(303): _wp_admin_bar_init('')
    #5 /home/customer/www/thevisasofoz.com/public_html/wp-includes/class-wp-hook.php(327): WP_Hook->apply_filters(NULL, Array)
    #6 /home/customer/www/thevisasofoz.com/public_h in /home/customer/www/thevisasofoz.com/public_html/wp-content/plugins/web-stories/includes/Renderer/Single.php on line 83

    The page I need help with: [log in to see the link]

Viewing 6 replies - 1 through 6 (of 6 total)
  • @thevisas Hello, thanks for posting your topic.

    At what stage do you encounter this error? Were you accessing the Stories dashboard, or opening the editor?

    Do you encounter this error if Web Stories is enabled by itself?

    Who is your hosting provider?

    To investigate this further, could you provide your Site Health information? You can share privately if you prefer.

    Plugin Author Pascal Birchler

    (@swissspidy)

    In the meantime, we’ll improve the plugin to prevent this kind of error in the future. Follow this ticket for any progress.

    Thread Starter thevisas

    (@thevisas)

    Hi,
    The hosting provider is Siteground. The error is encountered when viewing any page on the frontend. The error does occur in wp-admin, but I have not tried Stories dashboard. Site health info has been uploaded via provided link above.

    @thevisas Thanks for the information. We’ll be sure to follow up with you here as soon as there is an update.

    @thevisas We’ve recently released a new version of the Web Stories for WordPress plugin which includes the change mentioned above. Could you please update to the latest version 1.10.1 and confirm this issue no longer occurs on your end?

    Thank you!

    Thread Starter thevisas

    (@thevisas)

    Hi,
    Plugin update resolved the issue.
    Thank you.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘WordPress critical error’ is closed to new replies.