( ! ) 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.0003360152{main}( )...\index.php:0
20.0004360464require( 'C:\wamp64\www\wp-blog-header.php )...\index.php:17
30.0005360880require_once( 'C:\wamp64\www\wp-load.php )...\wp-blog-header.php:13
40.0007361656require_once( 'C:\wamp64\www\wp-config.php )...\wp-load.php:50
50.0008363320require_once( 'C:\wamp64\www\wp-settings.php )...\wp-config.php:104
60.05352546936do_action( $hook_name = 'init' )...\wp-settings.php:632
70.05352547312WP_Hook->do_action( $args = [0 => ''] )...\plugin.php:517
80.05352547312WP_Hook->apply_filters( $value = '', $args = [0 => ''] )...\class-wp-hook.php:334
90.05592563432wp_widgets_init( '' )...\class-wp-hook.php:310
100.05662596312do_action( $hook_name = 'widgets_init' )...\widgets.php:1858
110.05662596688WP_Hook->do_action( $args = [0 => ''] )...\plugin.php:517
120.05662596688WP_Hook->apply_filters( $value = '', $args = [0 => ''] )...\class-wp-hook.php:334
130.05672596304load_aljamaric_widgets( '' )...\class-wp-hook.php:310
140.05672596304register_widget( $widget = 'Random_Image_Widget' )...\functions.php:217
150.05672596304WP_Widget_Factory->register( $widget = 'Random_Image_Widget' )...\widgets.php:115
160.05672596496WP_Widget->__construct( $id_base = ???, $name = ???, $widget_options = ???, $control_options = ??? )...\class-wp-widget-factory.php:62