Title: PHP Error Undefined variable: id
Last modified: March 26, 2018

---

# PHP Error Undefined variable: id

 *  Resolved [timwillis](https://wordpress.org/support/users/timwillis/)
 * (@timwillis)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/php-error-undefined-variable-id/)
 * Notice: Undefined variable: id in /home/glenmea8/public_html/wp-content/plugins/
   events-made-easy/eme_formfields.php on line 501
 * Please see code, I believe there is an errant $ in front of the id in line 501
 * `$html = "<textarea $class_att $required_att name='$field_name' $id='$field_name'
   field_attributes>$value</textarea>";`
 * Should be
 * `$html = "<textarea $class_att $required_att name='$field_name' id='$field_name'
   field_attributes>$value</textarea>";`
    -  This topic was modified 8 years, 2 months ago by [timwillis](https://wordpress.org/support/users/timwillis/).
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fphp-error-undefined-variable-id%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 1 replies (of 1 total)

 *  Plugin Author [Franky](https://wordpress.org/support/users/liedekef/)
 * (@liedekef)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/php-error-undefined-variable-id/#post-10117426)
 * Totally correct, fixed for the next version. It has been in there for quite some
   time 🙂
    I also fixed it in 2.0.25 for people downloading now or in the future.
   Thanks for this!

Viewing 1 replies (of 1 total)

The topic ‘PHP Error Undefined variable: id’ is closed to new replies.

 * ![](https://ps.w.org/events-made-easy/assets/icon-256x256.png?rev=1856035)
 * [Events Made Easy](https://wordpress.org/plugins/events-made-easy/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/events-made-easy/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/events-made-easy/)
 * [Active Topics](https://wordpress.org/support/plugin/events-made-easy/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/events-made-easy/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/events-made-easy/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Franky](https://wordpress.org/support/users/liedekef/)
 * Last activity: [8 years, 2 months ago](https://wordpress.org/support/topic/php-error-undefined-variable-id/#post-10117426)
 * Status: resolved