Title: Got undefined variable error
Last modified: April 23, 2025

---

# Got undefined variable error

 *  Resolved [huangcq](https://wordpress.org/support/users/huangcq/)
 * (@huangcq)
 * [1 year ago](https://wordpress.org/support/topic/got-undefined-variable-error/)
 * Got undefined variable $b errors at line 1272 of /includes/calendar/class-calender_generator.
   php file. I added an “isset” to fix the error.
   $evcal_terms = (isset($b) && $
   b==1)? $ett_terms: wp_get_post_terms($event_id,$__tax_slug);
 * Don’t know when it started happening. Please fix.
 * The plugin version is 2.4.

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

 *  Plugin Support [ArtemSupport](https://wordpress.org/support/users/artemsupport/)
 * (@artemsupport)
 * [1 year ago](https://wordpress.org/support/topic/got-undefined-variable-error/#post-18433531)
 * Hello,
 * Thank you for letting us know! [@ashanjay](https://wordpress.org/support/users/ashanjay/)
   will check this ASAP.
 *  Plugin Author [Ashan Perera](https://wordpress.org/support/users/ashanjay/)
 * (@ashanjay)
 * [1 year ago](https://wordpress.org/support/topic/got-undefined-variable-error/#post-18434470)
 * Sorry about this, we are finalizing the next version and that will resolve this.
   Much appreciate your patience!
 *  Plugin Author [Ashan Perera](https://wordpress.org/support/users/ashanjay/)
 * (@ashanjay)
 * [1 year ago](https://wordpress.org/support/topic/got-undefined-variable-error/#post-18440030)
 * Hello just wanted to let you know the new version 2.4.1 is available now and 
   this above mentioned issue is resolved in it 🙂
 *  Thread Starter [huangcq](https://wordpress.org/support/users/huangcq/)
 * (@huangcq)
 * [1 year ago](https://wordpress.org/support/topic/got-undefined-variable-error/#post-18440328)
 * Thanks.
 *  Plugin Support [ArtemSupport](https://wordpress.org/support/users/artemsupport/)
 * (@artemsupport)
 * [1 year ago](https://wordpress.org/support/topic/got-undefined-variable-error/#post-18441163)
 * Perfect! I am going to close the ticket. If you have any further questions or
   concerns please create a new ticket.
   If you have a moment, we would greatly appreciate
   if you could kindly leave us a review at [https://wordpress.org/support/plugin/eventon-lite/reviews/](https://wordpress.org/support/plugin/eventon-lite/reviews/)
   Cheers!

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

The topic ‘Got undefined variable error’ is closed to new replies.

 * ![](https://ps.w.org/eventon-lite/assets/icon-256x256.png?rev=2820760)
 * [EventON - Events Calendar](https://wordpress.org/plugins/eventon-lite/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/eventon-lite/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/eventon-lite/)
 * [Active Topics](https://wordpress.org/support/plugin/eventon-lite/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/eventon-lite/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/eventon-lite/reviews/)

 * 5 replies
 * 3 participants
 * Last reply from: [ArtemSupport](https://wordpress.org/support/users/artemsupport/)
 * Last activity: [1 year ago](https://wordpress.org/support/topic/got-undefined-variable-error/#post-18441163)
 * Status: resolved