• Hello all, I’m encountering the same fatal error on several site that I have inherited management of after I try to upgrade from PHP 7.4 to 8.0 – The error always seems to be with the widgets and widget-factory php file in the wp-includes directory. Here is the log:

    PHP Fatal error: Uncaught ArgumentCountError: Too few arguments to function WP_Widget::__construct(), 0 passed in /(site-directory)/wp-includes/class-wp-widget-factory.php on line 61 and at least 2 expected in /(site-directory)/wp-includes/class-wp-widget.php:1

    Anyone have any ideas how to overcome this one?? Thanks in advance…

Viewing 7 replies - 1 through 7 (of 7 total)
Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘PHP 8.0 issue with widget includes?’ is closed to new replies.