Undefined variable: curr_step /cf7msm.php on line 451
-
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 [email protected]
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]
- The topic ‘Undefined variable: curr_step /cf7msm.php on line 451’ is closed to new replies.