( ! ) 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.0002360216{main}( )...\index.php:0
20.0002360528require( 'C:\wamp64\www\wp-blog-header.php )...\index.php:17
30.0002360944require_once( 'C:\wamp64\www\wp-load.php )...\wp-blog-header.php:13
40.0004361720require_once( 'C:\wamp64\www\wp-config.php )...\wp-load.php:50
50.0004363384require_once( 'C:\wamp64\www\wp-settings.php )...\wp-config.php:104
60.02702545608do_action( $hook_name = 'init' )...\wp-settings.php:632
70.02702545984WP_Hook->do_action( $args = [0 => ''] )...\plugin.php:517
80.02702545984WP_Hook->apply_filters( $value = '', $args = [0 => ''] )...\class-wp-hook.php:334
90.02942562104wp_widgets_init( '' )...\class-wp-hook.php:310
100.03012594984do_action( $hook_name = 'widgets_init' )...\widgets.php:1858
110.03012595360WP_Hook->do_action( $args = [0 => ''] )...\plugin.php:517
120.03012595360WP_Hook->apply_filters( $value = '', $args = [0 => ''] )...\class-wp-hook.php:334
130.03022594976load_aljamaric_widgets( '' )...\class-wp-hook.php:310
140.03022594976register_widget( $widget = 'Random_Image_Widget' )...\functions.php:217
150.03022594976WP_Widget_Factory->register( $widget = 'Random_Image_Widget' )...\widgets.php:115
160.03022595168WP_Widget->__construct( $id_base = ???, $name = ???, $widget_options = ???, $control_options = ??? )...\class-wp-widget-factory.php:62