ama sürekli hata veriyor.
verdiği hata da şu şekilde:
Fatal error: Uncaught ArgumentCountError: Too few arguments to function WP_Widget::__construct(), 0 passed in C:\xampp\htdocs\wp-includes\class-wp-widget-factory.php on line 61 and at least 2 expected in C:\xampp\htdocs\wp-includes\class-wp-widget.php:162 Stack trace: #0 C:\xampp\htdocs\wp-includes\class-wp-widget-factory.php(61): WP_Widget->__construct() #1 C:\xampp\htdocs\wp-includes\widgets.php(115): WP_Widget_Factory->register('flatly_recent_p...') #2 C:\xampp\htdocs\wp-content\themes\flatly\inc\widget-post.php(5): register_widget('flatly_recent_p...') #3 C:\xampp\htdocs\wp-includes\class-wp-hook.php(287): init_flatly_recent_posts('') #4 C:\xampp\htdocs\wp-includes\class-wp-hook.php(311): WP_Hook->apply_filters('', Array) #5 C:\xampp\htdocs\wp-includes\plugin.php(484): WP_Hook->do_action(Array) #6 C:\xampp\htdocs\wp-includes\widgets.php(1795): do_action('widgets_init') #7 C:\xampp\htdocs\wp-includes\class-wp-hook.php(287): wp_widgets_init('') #8 C:\xampp\htdocs\wp-includes\class-wp-hook.php(311): WP_Hook->apply_filters(NULL, Array) #9 C:\xampp\htdocs\wp-includes\plugin.php(484): WP_Hook->do_action(Array) #10 C:\xampp\htdocs\wp-settings.php(557): do_action('init') #11 C:\xampp\htdocs\wp-config.php(79): require_once('C:\\xampp\\htdocs...') #12 C:\xampp\htdocs\wp-load.php(37): require_once('C:\\xampp\\htdocs...') #13 C:\xampp\htdocs\wp-admin\admin.php(34): require_once('C:\\xampp\\htdocs...') #14 C:\xampp\htdocs\wp-admin\themes.php(10): require_once('C:\\xampp\\htdocs...') #15 {main} thrown in C:\xampp\htdocs\wp-includes\class-wp-widget.php on line 162
Web sitenizde kritik bir hata oluştu. Lütfen talimatlar için site yöneticisi e-postası gelen kutunuzu kontrol edin.
localhost'a kuruyorum. sorun ne acaba?