Warning: Trying to access array offset on value of type bool in /srv/vhost/rebrotteatre.cat/home/html/wp-includes/theme.php on line 2354

Fatal error: Uncaught ArgumentCountError: Too few arguments to function WP_Widget::__construct(), 0 passed in /srv/vhost/rebrotteatre.cat/home/html/wp-includes/class-wp-widget-factory.php on line 100 and at least 2 expected in /srv/vhost/rebrotteatre.cat/home/html/wp-includes/class-wp-widget.php:162 Stack trace: #0 /srv/vhost/rebrotteatre.cat/home/html/wp-includes/class-wp-widget-factory.php(100): WP_Widget->__construct() #1 /srv/vhost/rebrotteatre.cat/home/html/wp-includes/widgets.php(115): WP_Widget_Factory->register('om_widget_recen...') #2 /srv/vhost/rebrotteatre.cat/home/html/wp-content/themes/beep/widgets/recent-posts/recent-posts.php(4): register_widget('om_widget_recen...') #3 /srv/vhost/rebrotteatre.cat/home/html/wp-includes/class-wp-hook.php(286): om_widget_recent_posts_init('') #4 /srv/vhost/rebrotteatre.cat/home/html/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(NULL, Array) #5 /srv/vhost/rebrotteatre.cat/home/html/wp-includes/plugin.php(465): WP_Hook->do_action(Array) #6 /srv/vhost/rebrotteatre.cat/home/html/wp-includes/widgets.php(1715): do_action('widgets_init') #7 /srv/vhost/rebrotteatre.cat/home/html/wp-includes/class-wp-hook.php(286): wp_widgets_init('') #8 /srv/vhost/rebrotteatre.cat/home/html/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(NULL, Array) #9 /srv/vhost/rebrotteatre.cat/home/html/wp-includes/plugin.php(465): WP_Hook->do_action(Array) #10 /srv/vhost/rebrotteatre.cat/home/html/wp-settings.php(505): do_action('init') #11 /srv/vhost/rebrotteatre.cat/home/html/wp-config.php(81): require_once('/srv/vhost/rebr...') #12 /srv/vhost/rebrotteatre.cat/home/html/wp-load.php(37): require_once('/srv/vhost/rebr...') #13 /srv/vhost/rebrotteatre.cat/home/html/wp-blog-header.php(13): require_once('/srv/vhost/rebr...') #14 /srv/vhost/rebrotteatre.cat/home/html/index.php(17): require('/srv/vhost/rebr...') #15 {main} thrown in /srv/vhost/rebrotteatre.cat/home/html/wp-includes/class-wp-widget.php on line 162