Fatal error: Uncaught Error: Call to undefined function wp_is_rest_endpoint() in /home/aweappco/public_html/wp-content/plugins/woocommerce/includes/class-wc-rest-authentication.php:77 Stack trace: #0 /home/aweappco/public_html/wp-content/plugins/woocommerce/includes/class-wc-rest-authentication.php(208): WC_REST_Authentication->is_request_to_rest_api() #1 /home/aweappco/public_html/wp-includes/class-wp-hook.php(324): WC_REST_Authentication->authenticate(NULL) #2 /home/aweappco/public_html/wp-includes/plugin.php(205): WP_Hook->apply_filters(NULL, Array) #3 /home/aweappco/public_html/wp-includes/user.php(3628): apply_filters('determine_curre...', false) #4 /home/aweappco/public_html/wp-includes/pluggable.php(70): _wp_get_current_user() #5 /home/aweappco/public_html/wp-includes/l10n.php(98): wp_get_current_user() #6 /home/aweappco/public_html/wp-content/plugins/astra-sites/inc/lib/starter-templates-importer/st-importer-loader.php(119): get_user_locale() #7 /home/aweappco/public_html/wp-includes/class-wp-hook.php(324): STImporter\ST_Importer_Loader->load_textdomain('') #8 /home/aweappco/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(NULL, Array) #9 /home/aweappco/public_html/wp-includes/plugin.php(517): WP_Hook->do_action(Array) #10 /home/aweappco/public_html/wp-settings.php(506): do_action('plugins_loaded') #11 /home/aweappco/public_html/wp-config.php(103): require_once('/home/aweappco/...') #12 /home/aweappco/public_html/wp-load.php(50): require_once('/home/aweappco/...') #13 /home/aweappco/public_html/wp-blog-header.php(13): require_once('/home/aweappco/...') #14 /home/aweappco/public_html/index.php(17): require('/home/aweappco/...') #15 {main} thrown in /home/aweappco/public_html/wp-content/plugins/woocommerce/includes/class-wc-rest-authentication.php on line 77