Error thrown

Call to undefined method WPCF7_Submission::is_restful()