( ! ) Fatal error: Uncaught ArgumentCountError: Too few arguments to function WP_Widget::__construct(), 0 passed in C:\wamp64\www\wp-includes\class-wp-widget-factory.php on line 62 and at least 2 expected in C:\wamp64\www\wp-includes\class-wp-widget.php on line 163
( ! ) ArgumentCountError: Too few arguments to function WP_Widget::__construct(), 0 passed in C:\wamp64\www\wp-includes\class-wp-widget-factory.php on line 62 and at least 2 expected in C:\wamp64\www\wp-includes\class-wp-widget.php on line 163
Call Stack
#TimeMemoryFunctionLocation
10.0002357960{main}( )...\index.php:0
20.0002358272require( 'C:\wamp64\www\wp-blog-header.php )...\index.php:17
30.0002358688require_once( 'C:\wamp64\www\wp-load.php )...\wp-blog-header.php:13
40.0003359464require_once( 'C:\wamp64\www\wp-config.php )...\wp-load.php:50
50.0004361128require_once( 'C:\wamp64\www\wp-settings.php )...\wp-config.php:104
60.04252542336do_action( $hook_name = 'init' )...\wp-settings.php:632
70.04252542712WP_Hook->do_action( $args = [0 => ''] )...\plugin.php:517
80.04252542712WP_Hook->apply_filters( $value = '', $args = [0 => ''] )...\class-wp-hook.php:334
90.04482558832wp_widgets_init( '' )...\class-wp-hook.php:310
100.04562591712do_action( $hook_name = 'widgets_init' )...\widgets.php:1858
110.04562592088WP_Hook->do_action( $args = [0 => ''] )...\plugin.php:517
120.04562592088WP_Hook->apply_filters( $value = '', $args = [0 => ''] )...\class-wp-hook.php:334
130.04572591704load_aljamaric_widgets( '' )...\class-wp-hook.php:310
140.04572591704register_widget( $widget = 'Random_Image_Widget' )...\functions.php:217
150.04572591704WP_Widget_Factory->register( $widget = 'Random_Image_Widget' )...\widgets.php:115
160.04572591896WP_Widget->__construct( $id_base = ???, $name = ???, $widget_options = ???, $control_options = ??? )...\class-wp-widget-factory.php:62