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