PHP Fatal error
-
Hi, it looks like the theme is suffering from stricter error reporting in PHP 8+
PHP Fatal error: Uncaught ArgumentCountError: Too few arguments to function WP_Widget::__construct(), 0 passed in /var/www/xxx/htdocs/wp-includes/class-wp-widget-factory.php on line 62 and at least 2 expected in /var/www/xxx/htdocs/wp-includes/class-wp-widget.php:163 Stack trace: #0 /var/www/xxx/htdocs/wp-includes/class-wp-widget-factory.php(62): WP_Widget->__construct() #1 /var/www/xxx/htdocs/wp-includes/widgets.php(115): WP_Widget_Factory->register() #2 /var/www/xxx/htdocs/wp-content/themes/bldr/functions.php(141): register_widget() #3 /var/www/xxx/htdocs/wp-includes/class-wp-hook.php(324): bldr_widgets_init() #4 /var/www/xxx/htdocs/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters() #5 /var/www/xxx/htdocs/wp-includes/plugin.php(517): WP_Hook->do_action() #6 /var/www/xxx/htdocs/wp-includes/widgets.php(1858): do_action() #7 /var/www/xxx/htdocs/wp-includes/class-wp-hook.php(324): wp_widgets_init() #8 /var/www/xxx/htdocs/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters() #9 /var/www/xxx/htdocs/wp-includes/plugin.php(517): WP_Hook->do_action() #10 /var/www/xxx/htdocs/wp-settings.php(643): do_action() #11 /var/www/xxx/wp-config.php(101): require_once('...') #12 /var/www/xxx/htdocs/wp-load.php(55): require_once('...') #13 /var/www/xxx/htdocs/wp-blog-header.php(13): require_once('...') #14 /var/www/xxx/htdocs/index.php(17): require('...') #15 {main} thrown in /var/www/xxx/htdocs/wp-includes/class-wp-widget.php on line 163
The issue appears to be relatively easy to fix but… Is this theme still supported?
- The topic ‘PHP Fatal error’ is closed to new replies.