Support » Plugin: Contact Form 7 Multi-Step Forms » Undefined variable: curr_step /cf7msm.php on line 451

  • Resolved bwyrwich

    (@bwyrwich)


    Attempting to use ‘Contact Form 7 Multi-Step Forms’ to have two step forms (First page has a simple email field and submit button), (Second page contains the email field from the first form plus some additional fields). Submitting the first form should pass the data and then redirect with the stored email field value on the second page/form.

    It’s encountering the following: “PHP Notice: Undefined variable: curr_step in /wp-content/plugins/contact-form-7-multi-step-module/cf7msm.php on line 451”.

    First page doesn’t redirect to the second page/form – instead it displays: #wpcf7-f33-p32-o1

    I’ve also followed instructions previously stated – all other plugins are disabled, theme was set to default (Twenty Twenty One), WP version up to date, cache flushed and disabled, checking server specific host settings – core files are intact, mu-plugins in good condition, ajax is allowed, no errors, php and wordpress are up to date, nothing conflicting in nginx conf and nothing problematic in wp-config.php.

    Looking at the demo – seems to encounter this same problem as well (the first page doesn’t redirect and instead shows the same URL issue – displaying #wpcf7-f33-p32-o1) URL displays as: https://cf7msm.webheadcoder.com/cf7-multi-step-forms-pre-filled/#wpcf7-f33-p32-o1

    Testing second step/page – on both my working site and the demo will prefill the field value correctly if manually typing the page URL and adding ?your-email=some@email.com

    Both my working site and the demo don’t redirect and displays the #wpcf7-f33-p32-o1 error

    Is this possibly a bug? Any suggested fixes would be appreciated.

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author webheadcoder

    (@webheadllc)

    Hi,

    Thanks for the detailed explanation and debugging. It looks like the latest version of the core Contact Form 7 plugin overhauled their javascript and broke this plugin. I’ll be taking a look and hopefully issuing an update soon.

    Plugin Author webheadcoder

    (@webheadllc)

    In the meantime, please use version 5.3.2 of Contact Form 7.

    You can download that version here: https://wordpress.org/plugins/contact-form-7/advanced/

    Upload the downloaded zip file to your site and replace version 5.4.

    Plugin Author webheadcoder

    (@webheadllc)

    Hi,

    Version 4.1.2 should be working with the latest version of Contact Form 7.

    Thank you for your patience.

Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.