Title: [Plugin: Events Manager] Error upgrading plugin version 5.1.7
Last modified: August 20, 2016

---

# [Plugin: Events Manager] Error upgrading plugin version 5.1.7

 *  [smarru](https://wordpress.org/support/users/smarru/)
 * (@smarru)
 * [14 years ago](https://wordpress.org/support/topic/plugin-events-manager-error-upgrading-plugin-version-517/)
 * Hi,
 * I was upgrading the Events Manager plugin and received following error:
    Notice:
   Use of undefined constant EM_MS_GLOBAL – assumed ‘EM_MS_GLOBAL’ in /wp-content/
   plugins/events-manager-pro/events-manager-pro.php on line 38
 * Notice: Use of undefined constant EM_POST_TYPE_LOCATION – assumed ‘EM_POST_TYPE_LOCATION’
   in /wp-content/themes/bead/functions.php on line 668
 * Can you please check?
 * Thank you,
    Srilatha
 * [http://wordpress.org/extend/plugins/events-manager/](http://wordpress.org/extend/plugins/events-manager/)

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

 *  [agelonwl](https://wordpress.org/support/users/angelonwl/)
 * (@angelonwl)
 * [14 years ago](https://wordpress.org/support/topic/plugin-events-manager-error-upgrading-plugin-version-517/#post-2765132)
 * hi,
 * tried it and doesn’t happen to me, can I know which version are you from?
 *  Thread Starter [smarru](https://wordpress.org/support/users/smarru/)
 * (@smarru)
 * [14 years ago](https://wordpress.org/support/topic/plugin-events-manager-error-upgrading-plugin-version-517/#post-2765156)
 * @agelonwl I am upgrading in debug mode. I am using wordpress 3.3.2 version.
 * Thanks,
    Srilatha
 *  Plugin Author [Marcus (aka @msykes)](https://wordpress.org/support/users/netweblogic/)
 * (@netweblogic)
 * [14 years ago](https://wordpress.org/support/topic/plugin-events-manager-error-upgrading-plugin-version-517/#post-2765212)
 * it looks to me like EM isn’t being loaded, i.e. isn’t activated. those constants
   must work, they’re defined as the plugin files are loaded.
 * the second error is something you added to your functions.php file in your theme.
 *  Thread Starter [smarru](https://wordpress.org/support/users/smarru/)
 * (@smarru)
 * [14 years ago](https://wordpress.org/support/topic/plugin-events-manager-error-upgrading-plugin-version-517/#post-2765213)
 * [@marcus](https://wordpress.org/support/users/marcus/) thanks for the reply. 
   I corrected one error on my functions.php file.
 * I will check the other error in next release and see if I am still seeing the
   error.
 * Thanks,
    Srilatha

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

The topic ‘[Plugin: Events Manager] Error upgrading plugin version 5.1.7’ is closed
to new replies.

 * ![](https://ps.w.org/events-manager/assets/icon-256x256.png?rev=3550347)
 * [Events Manager - Calendar, Bookings, Tickets, and more!](https://wordpress.org/plugins/events-manager/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/events-manager/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/events-manager/)
 * [Active Topics](https://wordpress.org/support/plugin/events-manager/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/events-manager/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/events-manager/reviews/)

 * 4 replies
 * 3 participants
 * Last reply from: [smarru](https://wordpress.org/support/users/smarru/)
 * Last activity: [14 years ago](https://wordpress.org/support/topic/plugin-events-manager-error-upgrading-plugin-version-517/#post-2765213)
 * Status: not resolved