• travelerswife4life

    (@travelerswife4life)


    How do I fix this error? What is it? i’ve never come across it before

    Uncaught ArgumentCountError: Too few arguments to function WP_Widget::__construct(), 0 passed in /home/lanes/public_html/wp-includes/class-wp-widget-factory.php on line 62 and at least 2 expected in /home/lanes/public_html/wp-includes/class-wp-widget.php:163 Stack trace: #0 /home/lanes/public_html/wp-includes/class-wp-widget-factory.php(62): WP_Widget->__construct() #1 /home/lanes/public_html/wp-includes/widgets.php(115): WP_Widget_Factory->register() #2 /home/lanes/public_html/wp-content/themes/lanestone/library/widgets.php(252): register_widget() #3 /home/lanes/public_html/wp-includes/class-wp-hook.php(324): artWidgetsInit() #4 /home/lanes/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters() #5 /home/lanes/public_html/wp-includes/plugin.php(517): WP_Hook->do_action() #6 /home/lanes/public_html/wp-includes/widgets.php(1858): do_action() #7 /home/lanes/public_html/wp-includes/class-wp-hook.php(324): wp_widgets_init() #8 /home/lanes/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters() #9 /home/lanes/public_html/wp-includes/plugin.php(517): WP_Hook->do_action() #10 /home/lanes/public_html/wp-settings.php(643): do_action() #11 /home/lanes/public_html/wp-config.php(96): require_once(‘/home/lanes/pub…’) #12 /home/lanes/public_html/wp-load.php(50): require_once(‘/home/lanes/pub…’) #13 /home/lanes/public_html/wp-blog-header.php(13): require_once(‘/home/lanes/pub…’) #14 /home/lanes/public_html/index.php(17): require(‘/home/lanes/pub…’) #15 {main} thrown in?/home/lanes/public_html/wp-includes/class-wp-widget.php?on line?163

Viewing 1 replies (of 1 total)
  • Moderator t-p

    (@t-p)

    To rule out a plugin or theme conflict, please attempt to disable all plugins, and use one of the default (Twenty*) themes. If the problem goes away, enable them one by one to identify the source of your troubles.

Viewing 1 replies (of 1 total)
  • The topic ‘How do I fix this error’ is closed to new replies.