Uncaught TypeError: | WordPress.org

[ad_1]

Hey Jeff, the following keeps showing up my errorlogs

[08-Aug-2023 18:43:18 UTC] PHP Fatal error: Uncaught TypeError: call_user_func_array(): Argument #1 ($callback) must be a valid callback, function “disable_wp_rest_api_error_custom” not found or invalid function name in /home/customer/www/vintageheavymetal.com/public_html/wp-includes/class-wp-hook.php:308
Stack trace: 0 /home/customer/MYSITE/public_html/wp-includes/plugin.php(205): WP_Hook->apply_filters(‘REST API restri…’, Array) 1 /home/customer/MYSITE/public_html/wp-content/plugins/disable-wp-rest-api/disable-wp-rest-api.php(54): apply_filters(‘disable_wp_rest…’, ‘REST API restri…’) 2 /home/customer/MYSITE/public_html/wp-includes/class-wp-hook.php(308): disable_wp_rest_api(NULL) 3 /home/customer/MYSITE/public_html/wp-includes/plugin.php(205): WP_Hook->apply_filters(NULL, Array) 4 /home/customer/MYSITE/public_html/wp-includes/rest-api/class-wp-rest-server.php(189): apply_filters(‘rest_authentica…’, NULL) 5 /home/customer/MYSITE/public_html/wp-includes/rest-api/class-wp-rest-server.php(439): WP_REST_Server->check_authentication() 6 /home/customer/MYSITE/public_html/wp-includes/rest-api.php(410): WP_REST_Server->serve_request(‘/wp/v2/users’) 7 /home/customer/MYSITE/public_html/wp-includes/class-wp-hook.php(308): rest_api_loaded(Object(WP)) 8 /home/customer/MYSITE/public_html/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters(”, Array) 9 /home/customer/MYSITE/public_html/wp-includes/plugin.php(565): WP_Hook->do_action(Array) 10 /home/customer/MYSITE/public_html/wp-includes/class-wp.php(399): do_action_ref_array(‘parse_request’, Array) 11 /home/customer/MYSITE/public_html/wp-includes/class-wp.php(780): WP->parse_request(”) 12 /home/customer/MYSITE/public_html/wp-includes/functions.php(1334): WP->main(”) 13 /home/customer/MYSITE/public_html/wp-blog-header.php(16): wp() 14 /home/customer/MYSITE/public_html/index.php(17): require(‘/home/customer/…’) 15 {main}

thrown in /home/customer/MYSITE/public_html/wp-includes/class-wp-hook.php on line 308

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer