( ! ) 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.0006359960{main}( )...\index.php:0
20.0010360272require( 'C:\wamp64\www\wp-blog-header.php )...\index.php:17
30.0011360688require_once( 'C:\wamp64\www\wp-load.php )...\wp-blog-header.php:13
40.0014361464require_once( 'C:\wamp64\www\wp-config.php )...\wp-load.php:50
50.0016363128require_once( 'C:\wamp64\www\wp-settings.php )...\wp-config.php:104
60.05032546632do_action( $hook_name = 'init' )...\wp-settings.php:632
70.05032547008WP_Hook->do_action( $args = [0 => ''] )...\plugin.php:517
80.05032547008WP_Hook->apply_filters( $value = '', $args = [0 => ''] )...\class-wp-hook.php:334
90.05262563128wp_widgets_init( '' )...\class-wp-hook.php:310
100.05342596008do_action( $hook_name = 'widgets_init' )...\widgets.php:1858
110.05342596384WP_Hook->do_action( $args = [0 => ''] )...\plugin.php:517
120.05342596384WP_Hook->apply_filters( $value = '', $args = [0 => ''] )...\class-wp-hook.php:334
130.05352596000load_aljamaric_widgets( '' )...\class-wp-hook.php:310
140.05352596000register_widget( $widget = 'Random_Image_Widget' )...\functions.php:217
150.05352596000WP_Widget_Factory->register( $widget = 'Random_Image_Widget' )...\widgets.php:115
160.05352596192WP_Widget->__construct( $id_base = ???, $name = ???, $widget_options = ???, $control_options = ??? )...\class-wp-widget-factory.php:62