Fatal error: Uncaught Error: Call to undefined function wp_is_serving_rest_request() in /home/n40med5/public_html/wp-content/plugins/contact-form-7/includes/submission.php:54
Stack trace:
#0 /home/n40med5/public_html/wp-content/plugins/contact-form-7/includes/controller.php(17): WPCF7_Submission::is_restful()
#1 /home/n40med5/public_html/wp-includes/class-wp-hook.php(306): wpcf7_control_init()
#2 /home/n40med5/public_html/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters(NULL, Array)
#3 /home/n40med5/public_html/wp-includes/plugin.php(565): WP_Hook->do_action(Array)
#4 /home/n40med5/public_html/wp-includes/class-wp.php(399): do_action_ref_array('parse_request', Array)
#5 /home/n40med5/public_html/wp-includes/class-wp.php(780): WP->parse_request('')
#6 /home/n40med5/public_html/wp-includes/functions.php(1332): WP->main('')
#7 /home/n40med5/public_html/wp-blog-header.php(16): wp()
#8 /home/n40med5/public_html/index.php(17): require('/home/n40med5/p...')
#9 {main}
thrown in /home/n40med5/public_html/wp-content/plugins/contact-form-7/includes/submission.php on line 54