• Hi! I get this message on my website: ArgumentCountError thrown
    Too few arguments to function WP_Widget::__construct(), 0 passed in /customers/f/9/6/voldarideklubb.no/httpd.www/wp-includes/class-wp-widget-factory.php on line 61 and at least 2 expected

    Maybe it happend after wordpress update? I have found the file wp-includes/class-wp-widget-factory.php and in the line 61 it says:

    $this->widgets[ $widget ] = new $widget();

    Should I change something here?

    Best regards Edle Holmin

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

Viewing 1 replies (of 1 total)
  • Dion

    (@diondesigns)

    You’ll need to check your PHP error log. It will hopefully contain more information about the error, such as the name of the plugin that is initializing the widget.

    Once you determine which plugin/widget is the culprit, you can deactivate the widget and contact its author.

Viewing 1 replies (of 1 total)
  • The topic ‘ArgumentCountError thrown’ is closed to new replies.