• Resolved philosiblog

    (@philosiblog)


    Well, I got a fatal error. The email blamed Canvas, but the traceback shows Gravatar. I can’t seem to disable the Gravatar plugin on my WordPress host site, bluehost.com, and when I try to toggle the plugin to off (on the plugins page) it says “failed to toggle plugin.” And it appears that I cannot gain access to any part of my website to try to modify things from the WordPress side of things.

    Any idea what’s wrong and how to fix it? Or even how to get in without destroying the whole site? Let me know if there’s additional information that I could provide to help with solving this. It started about 5 or 6 hours ago, based on the emails.

    Emailed Error message below:

    When seeking help with this issue, you may be asked for some of the following information:
    WordPress version 6.4.3
    Active theme: Canvas (version 5.5.3)
    Current plugin:? (version )
    PHP version 8.2.15

    Error Details
    =============
    An error of type E_ERROR was caused in line 207 of the file /home1/philosib/public_html/wp-content/themes/canvas/includes/widgets/widget-woo-adspace.php. Error message: Uncaught Error: Call to undefined function create_function() in /home1/philosib/public_html/wp-content/themes/canvas/includes/widgets/widget-woo-adspace.php:207
    Stack trace:
    #0 /home1/philosib/public_html/wp-includes/template.php(790): require_once()
    #1 /home1/philosib/public_html/wp-includes/template.php(725): load_template(‘/home1/philosib…’, true, Array)
    #2 /home1/philosib/public_html/wp-content/themes/canvas/includes/theme-widgets.php(23): locate_template(‘includes/widget…’, true)
    #3 /home1/philosib/public_html/wp-includes/template.php(790): require_once(‘/home1/philosib…’)
    #4 /home1/philosib/public_html/wp-includes/template.php(725): load_template(‘/home1/philosib…’, true, Array)
    #5 /home1/philosib/public_html/wp-content/themes/canvas/functions.php(53): locate_template(‘includes/theme-…’, true)
    #6 /home1/philosib/public_html/wp-settings.php(611): include(‘/home1/philosib…’)
    #7 /home1/philosib/public_html/wp-config.php(96): require_once(‘/home1/philosib…’)
    #8 /home1/philosib/public_html/wp-load.php(50): require_once(‘/home1/philosib…’)
    #9 /home1/philosib/public_html/wp-login.php(12): require(‘/home1/philosib…’)
    #10 {main}
    ? thrown

    From the website when I try to go there…

    Uncaught ArgumentCountError: Too few arguments to function WP_Widget::__construct(), 0 passed in /home1/philosib/public_html/wp-includes/class-wp-widget-factory.php on line 62 and at least 2 expected in /home1/philosib/public_html/wp-includes/class-wp-widget.php:163 Stack trace: #0 /home1/philosib/public_html/wp-includes/class-wp-widget-factory.php(62): WP_Widget->__construct()

    #1/home1/philosib/public_html/wp-includes/widgets.php(115): WP_Widget_Factory->register(‘Gravatar_Widget’)

    #2 /home1/philosib/public_html/wp-content/plugins/gravatar-widget/gravatar-widget.php(158): register_widget(‘Gravatar_Widget’)

    #3 /home1/philosib/public_html/wp-includes/class-wp-hook.php(324): gravatar_widget_init(”)

    #4 /home1/philosib/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(NULL, Array)

    #5 /home1/philosib/public_html/wp-includes/plugin.php(517): WP_Hook->do_action(Array)

    #6 /home1/philosib/public_html/wp-includes/widgets.php(1858): do_action(‘widgets_init’)

    #7 /home1/philosib/public_html/wp-includes/class-wp-hook.php(324): wp_widgets_init(”)

    #8 /home1/philosib/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(NULL, Array)

    #9 /home1/philosib/public_html/wp-includes/plugin.php(517): WP_Hook->do_action(Array)

    #10 /home1/philosib/public_html/wp-settings.php(643): do_action(‘init’)

    #11 /home1/philosib/public_html/wp-config.php(96): require_once(‘/home1/philosib…’)

    #12 /home1/philosib/public_html/wp-load.php(50): require_once(‘/home1/philosib…’)

    #13 /home1/philosib/public_html/wp-login.php(12): require(‘/home1/philosib…’)

    #14 {main} thrown in?/home1/philosib/public_html/wp-includes/class-wp-widget.php

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

Viewing 3 replies - 1 through 3 (of 3 total)
  • Moderator James Huff

    (@macmanx)

    Gravatar is built-in WordPress functionality, not a plugin, so it shouldn’t be causing any issues on its own.

    This problem may be a plugin or theme conflict. Please attempt to deactivate all plugins and switch to the default Twenty Twenty-Three theme. If the problem goes away, re-activate them one by one to identify the source of the problem.

    If you can install plugins, install Health Check. On the troubleshooting tab, you can click the button to deactivate all plugins and change the theme for you while you’re still logged in without affecting normal visitors to your site.

    Hi and thanks for reaching out! Chances are that the issues you are experiencing are due to an isolated issue with a plugin or your theme, per the error report that you have provided. Also, as a moderator recently mentioned, deactivating all plugins and changing the default theme will help in discovering which plugin is problematic one by one, although it sounds like you may be having issues with that as well. 

    Please feel free to reach out to our support team via phone or chat to dig into this further and we will happily review your account to get you pointed in the right direction.

    Thread Starter philosiblog

    (@philosiblog)

    Thanks for the help. I was able to get in the back-end (host side) and temporarily deactivate the plugins, allowing me to log in on the wordpress side. This allowed me to deactivate Canvas, and switch to 2010, which is working. Not sure how I got canvas stuck in there, as 2010 looks and feels like I expected, so no idea what happened.

    But I’m back online, and all is well.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘new fata; error, Theme Canvas, Gravatar’ is closed to new replies.