Title: Getting multiple &#039;undefined variable&#039; errors
Last modified: August 31, 2016

---

# Getting multiple 'undefined variable' errors

 *  [4ll4n](https://wordpress.org/support/users/4ll4n/)
 * (@4ll4n)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/getting-multiple-undefined-variable-errors/)
 * Hi,
 * I’m getting a very high number of ‘undefined constant’, ‘undefined index’ and‘
   undefined variable’ errors whenever I try to activate the plugin on a local install.
 * Any ideas? Thanks.
 * A couple of examples (too many to list):
    Notice: Use of undefined constant xoousers_path–
   assumed ‘xoousers_path’ in /srv/www/sitename/htdocs/wp-content/plugins/booking-
   ultra-pro/index.php on line 28
 * Notice: Undefined variable: when in /srv/www/sitename/htdocs/wp-content/plugins/
   booking-ultra-pro/classes/bookingultra.appointment.php on line 1247
 * Notice: Undefined index: cate_id in /srv/www/sitename/htdocs/wp-content/plugins/
   booking-ultra-pro/classes/bookingultra.service.php on line 122
 * [https://wordpress.org/plugins/booking-ultra-pro/](https://wordpress.org/plugins/booking-ultra-pro/)

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

 *  [Plugins Area](https://wordpress.org/support/users/usersultra/)
 * (@usersultra)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/getting-multiple-undefined-variable-errors/#post-6943060)
 * [@4ll4n](https://wordpress.org/support/users/4ll4n/),
 * Thank you for your post.
 * We will have a new version within few hours up.
 * Meanwhile, can you please open wp-config.php file and make sure that WP_DEBUG
   variable is set to false?
 * Let me know if that fixes the issue.
    Cheers
 *  Thread Starter [4ll4n](https://wordpress.org/support/users/4ll4n/)
 * (@4ll4n)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/getting-multiple-undefined-variable-errors/#post-6943071)
 * Hi,
 * Thanks for the quick response.
    It is indeed set to true and of course setting
   it to false hides the errors but it doesn’t fix them 🙂
 *  [Plugins Area](https://wordpress.org/support/users/usersultra/)
 * (@usersultra)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/getting-multiple-undefined-variable-errors/#post-6943072)
 * Thank you for your reply.
 * We will have an improved version within few hours.
 * Thank you for your cooperation and understanding
    Cheers
 *  Thread Starter [4ll4n](https://wordpress.org/support/users/4ll4n/)
 * (@4ll4n)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/getting-multiple-undefined-variable-errors/#post-6943174)
 * Hi,
 * Thanks for the update. Just to let you know that some of the errors have gone,
   but I’m still getting a very high number nonetheless.
    Cheers.
 *  [Plugins Area](https://wordpress.org/support/users/usersultra/)
 * (@usersultra)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/getting-multiple-undefined-variable-errors/#post-6943207)
 * [@4ll4n](https://wordpress.org/support/users/4ll4n/),
 * We’re working on it 😉
 * Cheers

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

The topic ‘Getting multiple 'undefined variable' errors’ is closed to new replies.

 * ![](https://ps.w.org/booking-ultra-pro/assets/icon-256x256.gif?rev=2525956)
 * [Booking Ultra Pro Appointments Booking Calendar Plugin](https://wordpress.org/plugins/booking-ultra-pro/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/booking-ultra-pro/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/booking-ultra-pro/)
 * [Active Topics](https://wordpress.org/support/plugin/booking-ultra-pro/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/booking-ultra-pro/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/booking-ultra-pro/reviews/)

 * 5 replies
 * 2 participants
 * Last reply from: [Plugins Area](https://wordpress.org/support/users/usersultra/)
 * Last activity: [10 years, 4 months ago](https://wordpress.org/support/topic/getting-multiple-undefined-variable-errors/#post-6943207)
 * Status: not resolved