( ! ) 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.0002360656{main}( )...\index.php:0
20.0002360968require( 'C:\wamp64\www\wp-blog-header.php )...\index.php:17
30.0002361384require_once( 'C:\wamp64\www\wp-load.php )...\wp-blog-header.php:13
40.0003362160require_once( 'C:\wamp64\www\wp-config.php )...\wp-load.php:50
50.0004363824require_once( 'C:\wamp64\www\wp-settings.php )...\wp-config.php:104
60.03642546104do_action( $hook_name = 'init' )...\wp-settings.php:632
70.03642546480WP_Hook->do_action( $args = [0 => ''] )...\plugin.php:517
80.03642546480WP_Hook->apply_filters( $value = '', $args = [0 => ''] )...\class-wp-hook.php:334
90.03902562600wp_widgets_init( '' )...\class-wp-hook.php:310
100.03982595480do_action( $hook_name = 'widgets_init' )...\widgets.php:1858
110.03982595856WP_Hook->do_action( $args = [0 => ''] )...\plugin.php:517
120.03982595856WP_Hook->apply_filters( $value = '', $args = [0 => ''] )...\class-wp-hook.php:334
130.03992595472load_aljamaric_widgets( '' )...\class-wp-hook.php:310
140.03992595472register_widget( $widget = 'Random_Image_Widget' )...\functions.php:217
150.03992595472WP_Widget_Factory->register( $widget = 'Random_Image_Widget' )...\widgets.php:115
160.03992595664WP_Widget->__construct( $id_base = ???, $name = ???, $widget_options = ???, $control_options = ??? )...\class-wp-widget-factory.php:62