Title: Fatal Error with CF7 Multi-Step Forms
Last modified: November 16, 2022

---

# Fatal Error with CF7 Multi-Step Forms

 *  Resolved [sasdts](https://wordpress.org/support/users/sasdts/)
 * (@sasdts)
 * [3 years, 6 months ago](https://wordpress.org/support/topic/fatal-error-with-cf7-multi-step-forms/)
 * Hi,
 * I’m getting a fatal error when using Turnstile with “Contact Form 7 Multi-Step
   Forms”. Validation is triggered before the form is submit, so the Turnstile Plugin
   is generating an error.
 * `PHP Fatal error: Uncaught Error: Call to a member function get_posted_data()
   on null`
 * The solution is pretty simple – in simple-cloudflare-turnstile/inc/contact-form-
   7.php, line 37 before getting the posted data, check if the Submission exists.
 *     ```
       	$post = WPCF7_Submission::get_instance();
       	if ( !empty( $post ) ) {
       		$data = $post->get_posted_data();
       		// the rest of the code...
       ```
   
 * It would be great if you could update the plugin to ensure compatibility with
   CF7 Multi-Step Forms.

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Author [Elliot Sowersby](https://wordpress.org/support/users/elliotvs/)
 * (@elliotvs)
 * [3 years, 6 months ago](https://wordpress.org/support/topic/fatal-error-with-cf7-multi-step-forms/#post-16208810)
 * Hi,
 * Thanks for the info.
 * Please could you update to the latest version (1.14.0) and give it a try now?
 *  Thread Starter [sasdts](https://wordpress.org/support/users/sasdts/)
 * (@sasdts)
 * [3 years, 6 months ago](https://wordpress.org/support/topic/fatal-error-with-cf7-multi-step-forms/#post-16231901)
 * Hi Elliot,
 * Many thanks, I just updated and tested, and it works great.
 *  Plugin Author [Elliot Sowersby](https://wordpress.org/support/users/elliotvs/)
 * (@elliotvs)
 * [3 years, 6 months ago](https://wordpress.org/support/topic/fatal-error-with-cf7-multi-step-forms/#post-16231998)
 * Awesome, thanks!

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Fatal Error with CF7 Multi-Step Forms’ is closed to new replies.

 * ![](https://ps.w.org/simple-cloudflare-turnstile/assets/icon-128x128.gif?rev=
   2937121)
 * [Simple CAPTCHA Alternative with Cloudflare Turnstile](https://wordpress.org/plugins/simple-cloudflare-turnstile/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/simple-cloudflare-turnstile/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/simple-cloudflare-turnstile/)
 * [Active Topics](https://wordpress.org/support/plugin/simple-cloudflare-turnstile/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/simple-cloudflare-turnstile/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/simple-cloudflare-turnstile/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [Elliot Sowersby](https://wordpress.org/support/users/elliotvs/)
 * Last activity: [3 years, 6 months ago](https://wordpress.org/support/topic/fatal-error-with-cf7-multi-step-forms/#post-16231998)
 * Status: resolved