Title: Undefined variable $field_values
Last modified: May 27, 2022

---

# Undefined variable $field_values

 *  Resolved [Sibbo100](https://wordpress.org/support/users/sibbo100/)
 * (@sibbo100)
 * [4 years ago](https://wordpress.org/support/topic/undefined-variable-field_values/)
 * Hi Support,
    I had previously tested this site on PHP 8.0.11 and it all worked
   fine, I’ve now migrated the site to the live server which is using PHP 8.0.19
   and I’m getting this error, it’s the exact same site so not sure why there is
   now an issue, any ideas? Thank you Sibbo100
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fundefined-variable-field_values%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Thread Starter [Sibbo100](https://wordpress.org/support/users/sibbo100/)
 * (@sibbo100)
 * [4 years ago](https://wordpress.org/support/topic/undefined-variable-field_values/#post-15684714)
 * OK I’ve done a bit of a dirty fix on this by simply declaring 2 variables just
   prior to line 337 in class-gfautoadvancedaddon.php file, variables are:
 * $input_type = ”;
    $field_values = ”;
 * Gets rid of the issue on screen anyway, but not sure if it has inadvertently 
   broken anything else.
 *  Plugin Author [Frog Eat Fly](https://wordpress.org/support/users/zerozendesign/)
 * (@zerozendesign)
 * [3 years, 8 months ago](https://wordpress.org/support/topic/undefined-variable-field_values/#post-16030692)
 * Being marked as resolved

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

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

 * ![](https://ps.w.org/auto-advance-for-gravity-forms/assets/icon-256x256.png?rev
   =2770305)
 * [Multi Page Auto Advance for Gravity Forms](https://wordpress.org/plugins/auto-advance-for-gravity-forms/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/auto-advance-for-gravity-forms/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/auto-advance-for-gravity-forms/)
 * [Active Topics](https://wordpress.org/support/plugin/auto-advance-for-gravity-forms/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/auto-advance-for-gravity-forms/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/auto-advance-for-gravity-forms/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [Frog Eat Fly](https://wordpress.org/support/users/zerozendesign/)
 * Last activity: [3 years, 8 months ago](https://wordpress.org/support/topic/undefined-variable-field_values/#post-16030692)
 * Status: resolved