Fatal error: Uncaught ArgumentCountError: Too few arguments to function blokuj_rejestracje_przez_api(), 1 passed in /wp-includes/class-wp-hook.php on line 324 and exactly 2 expected in /wp-content/themes/Newspaper-child2/functions.php:57 Stack trace: #0 /wp-includes/class-wp-hook.php(324): blokuj_rejestracje_przez_api(Array) #1 /wp-includes/plugin.php(205): WP_Hook->apply_filters(Array, Array) #2 /wp-includes/rest-api/endpoints/class-wp-rest-users-controller.php(1622): apply_filters('rest_user_colle...', Array) #3 /wp-includes/rest-api/endpoints/class-wp-rest-users-controller.php(64): WP_REST_Users_Controller->get_collection_params() #4 /wp-includes/rest-api.php(288): WP_REST_Users_Controller->register_routes() #5 /wp-includes/class-wp-hook.php(324): create_initial_rest_routes(Object(WP_REST_Server)) #6 /wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(NULL, Array) #7 /wp-includes/plugin.php(517): WP_Hook->do_action(Array) #8 /wp-includes/rest-api.php(589): do_action('rest_api_init', Object(WP_REST_Server)) #9 / in /wp-content/themes/Newspaper-child2/functions.php on line 57