Title: Undefined variable $curr_step
Last modified: April 5, 2023

---

# Undefined variable $curr_step

 *  [cestis1](https://wordpress.org/support/users/cestis1/)
 * (@cestis1)
 * [3 years, 2 months ago](https://wordpress.org/support/topic/undefined-variable-curr_step/)
 * Sometimes I’m getting this error. 
   CF7 5.7.5.1CF7MSM 4.2WP 6.1.1PHP 8.1PHP message:
   PHP Warning: Undefined variable $curr_step in /wordpress/wp-content/plugins/contact-
   form-7-multi-step-module/cf7msm.php on line 591PHP message: PHP Warning: Undefined
   variable $last_step in /wordpress/wp-content/plugins/contact-form-7-multi-step-
   module/cf7msm.php on line 591

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

 *  Plugin Author [webheadcoder](https://wordpress.org/support/users/webheadllc/)
 * (@webheadllc)
 * [3 years, 2 months ago](https://wordpress.org/support/topic/undefined-variable-curr_step/#post-16631821)
 * Thank you. I’ll take a look and fix it soon.
 *  Thread Starter [cestis1](https://wordpress.org/support/users/cestis1/)
 * (@cestis1)
 * [3 years ago](https://wordpress.org/support/topic/undefined-variable-curr_step/#post-16750730)
 * [@webheadllc](https://wordpress.org/support/users/webheadllc/) error is still
   there after upgrading to latest version:
 * PHP message: PHP Warning: Undefined variable $last_step in /wp-content/plugins/
   contact-form-7-multi-step-module/cf7msm.php on line 592
 *  Plugin Author [webheadcoder](https://wordpress.org/support/users/webheadllc/)
 * (@webheadllc)
 * [3 years ago](https://wordpress.org/support/topic/undefined-variable-curr_step/#post-16775391)
 * [@cestis1](https://wordpress.org/support/users/cestis1/) Are you able to send
   me the form code you’re using to get this warning? It seems this would only be
   triggered by using the old form tag that’s no longer supported.
 *  Thread Starter [cestis1](https://wordpress.org/support/users/cestis1/)
 * (@cestis1)
 * [2 years, 11 months ago](https://wordpress.org/support/topic/undefined-variable-curr_step/#post-16851131)
 * [@webheadllc](https://wordpress.org/support/users/webheadllc/)
 * [contact-form-7 id=”7″ title=”form”]
   [multistep multistep-111 first_step send_email“
   theurl”][multistep multistep-222 last_step send_email “theurl”]
 *  Plugin Author [webheadcoder](https://wordpress.org/support/users/webheadllc/)
 * (@webheadllc)
 * [2 years, 11 months ago](https://wordpress.org/support/topic/undefined-variable-curr_step/#post-16884795)
 * This should be fixed in the latest version. Thanks for your patience

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

The topic ‘Undefined variable $curr_step’ is closed to new replies.

 * ![](https://ps.w.org/contact-form-7-multi-step-module/assets/icon-256x256.png?
   rev=1793363)
 * [Contact Form 7 Multi-Step Forms](https://wordpress.org/plugins/contact-form-7-multi-step-module/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/contact-form-7-multi-step-module/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/contact-form-7-multi-step-module/)
 * [Active Topics](https://wordpress.org/support/plugin/contact-form-7-multi-step-module/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/contact-form-7-multi-step-module/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/contact-form-7-multi-step-module/reviews/)

 * 5 replies
 * 2 participants
 * Last reply from: [webheadcoder](https://wordpress.org/support/users/webheadllc/)
 * Last activity: [2 years, 11 months ago](https://wordpress.org/support/topic/undefined-variable-curr_step/#post-16884795)
 * Status: not resolved