• Resolved impactsc

    (@impactsc)


    Hello, I am getting the following error when loading my site:

    Fatal error: Uncaught ArgumentCountError: Too few arguments to function WP_Widget::__construct(), 0 passed in /home2/impactsc/public_html/wp-includes/class-wp-widget-factory.php on line 62 and at least 2 expected in /home2/impactsc/public_html/wp-includes/class-wp-widget.php:163 Stack trace: #0 /home2/impactsc/public_html/wp-includes/class-wp-widget-factory.php(62): WP_Widget->__construct() #1 /home2/impactsc/public_html/wp-includes/widgets.php(123): WP_Widget_Factory->register(‘T2T_Twitter_Wid…’) #2 /home2/impactsc/public_html/wp-content/themes/advocate/functions/theme-widgets.php(75): register_widget(‘T2T_Twitter_Wid…’) #3 /home2/impactsc/public_html/wp-content/themes/advocate/functions.php(57): require_once(‘/home2/impactsc…’) #4 /home2/impactsc/public_html/wp-settings.php(695): include(‘/home2/impactsc…’) #5 /home2/impactsc/public_html/wp-config.php(90): require_once(‘/home2/impactsc…’) #6 /home2/impactsc/public_html/wp-load.php(50): require_once(‘/home2/impactsc…’) #7 /home2/impactsc/public_html/wp-blog-header.php(13): require_once(‘/home2/impactsc…’) #8 /home2/impactsc/public_html/index.php(17): require(‘/home2/impactsc…’) #9 {main} thrown in /home2/impactsc/public_html/wp-includes/class-wp-widget.php on line 163

    Can someone please help me figure out how to resolve this?

    Thanks!

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

Viewing 3 replies - 1 through 3 (of 3 total)
  • OK load maintenance mode, the default WP theme and disable every plugin. What is showing now? What PHP do you have? Did you updated wordpress?

    Moderator threadi

    (@threadi)

    The error is caused by the “Advocate” theme you are using. It appears to be incompatible with the version of WordPress you are using.

    I was only able to find one commercial theme with this name. Therefore, I would recommend contacting their support team: https://flythemes.net/forums/ – questions about commercial products cannot be answered here in the forum.

    Alternatively, you can switch to a different theme. However, this would also mean that you would have to completely redesign the front end of your site.

    Thread Starter impactsc

    (@impactsc)

    hey thanks everyone i found out that a bunch of the plugins were outdated and incompatible with the theme so i was able to disable them and the site is back up thank you!

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

The topic ‘Fatal Error’ is closed to new replies.