Title: [Plugin: Events Manager] Activating plugin causes 500 server error
Last modified: August 20, 2016

---

# [Plugin: Events Manager] Activating plugin causes 500 server error

 *  Resolved [David Goebel](https://wordpress.org/support/users/david-goebel/)
 * (@david-goebel)
 * [14 years, 1 month ago](https://wordpress.org/support/topic/plugin-events-manager-activating-plugin-causes-500-server-error/)
 * As soon as I activate the plugin at tango.prototypetest.org I get a 500 error
   across the site. I then have to delete the plugin via FTP in order to get the
   GUI interface again. Any suggestions on what may be causing this?
 * Here is the site in question…
    [http://tango.prototypetest.org/](http://tango.prototypetest.org/)
 * [http://wordpress.org/extend/plugins/events-manager/](http://wordpress.org/extend/plugins/events-manager/)

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

 *  Plugin Author [Marcus (aka @msykes)](https://wordpress.org/support/users/netweblogic/)
 * (@netweblogic)
 * [14 years, 1 month ago](https://wordpress.org/support/topic/plugin-events-manager-activating-plugin-causes-500-server-error/#post-2644257)
 * you’d need to turn on WP_DEBUG or check your error logs to see what the fatal
   error was.
 *  Thread Starter [David Goebel](https://wordpress.org/support/users/david-goebel/)
 * (@david-goebel)
 * [14 years, 1 month ago](https://wordpress.org/support/topic/plugin-events-manager-activating-plugin-causes-500-server-error/#post-2644286)
 * Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate
   30720 bytes) in /hsphere/local/home/c280643/tango.prototypetest.org/wp-admin/
   includes/media.php on line 622
 * So how do I up the memory size?
 * Line 622 shows this…
    `$html = "<img src='$src' alt='$alt' />";`
 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [14 years, 1 month ago](https://wordpress.org/support/topic/plugin-events-manager-activating-plugin-causes-500-server-error/#post-2644296)
 * Try [increasing the memory available to PHP](http://wordpress.org/support/topic/253495#post-1017842).
 *  Thread Starter [David Goebel](https://wordpress.org/support/users/david-goebel/)
 * (@david-goebel)
 * [14 years, 1 month ago](https://wordpress.org/support/topic/plugin-events-manager-activating-plugin-causes-500-server-error/#post-2644305)
 * I added the following line to wp-config.php
 * `define('WP_MEMORY_LIMIT', '64M');`
 * And now it works just fine! Thanks a ton. 🙂
 * So what is the default out of the box setting for WP anyway?
 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [14 years, 1 month ago](https://wordpress.org/support/topic/plugin-events-manager-activating-plugin-causes-500-server-error/#post-2644315)
 * There isn’t a WordPress default memory setting. It’s defined by your server/hosts
   but, generally, it’s advisable to have at least 64M – otherwise you will keep
   hitting problems.
 *  [martin_basel](https://wordpress.org/support/users/martin_basel/)
 * (@martin_basel)
 * [14 years, 1 month ago](https://wordpress.org/support/topic/plugin-events-manager-activating-plugin-causes-500-server-error/#post-2644363)
 * Hi David
    I have similiar problem, when I activate the plugin: Fatal error: Allowed
   memory size of 33554432 bytes exhausted (tried to allocate 30720 bytes) in /home/
   www/web80/html/wp-content/plugins/events-manager/classes/em-booking.php on line
   346
 * I added
    define(‘WP_MEMORY_LIMIT’, ’64M’); to config.php but nothing happend.
   Do I have to restart / refresh something?! Any other idea? Regards Martin
 *  [alexmoomey](https://wordpress.org/support/users/alexmoomey/)
 * (@alexmoomey)
 * [14 years, 1 month ago](https://wordpress.org/support/topic/plugin-events-manager-activating-plugin-causes-500-server-error/#post-2644370)
 * I am not getting the above error.. but my Admin Gui is down after installation.
   Debug reveals the following.
    Notice: Undefined index: page in /home/www/arkansasburners.
   org/wp-content/themes/DynamiX/lib/adm/index.php on line 1886
 * Notice: Undefined index: page in /home/www/arkansasburners.org/wp-content/themes/
   DynamiX/lib/adm/index.php on line 1886
 * Notice: Undefined index: page in /home/www/arkansasburners.org/wp-content/themes/
   DynamiX/lib/adm/index.php on line 1907
 * Notice: Undefined index: page in /home/www/arkansasburners.org/wp-content/themes/
   DynamiX/lib/adm/index.php on line 1940
 * Notice: Undefined index: page in /home/www/arkansasburners.org/wp-content/themes/
   DynamiX/lib/adm/index.php on line 2009
 * Notice: wp_enqueue_style was called incorrectly. Scripts and styles should not
   be registered or enqueued until the wp_enqueue_scripts, admin_enqueue_scripts,
   or init hooks. Please see Debugging in WordPress for more information. (This 
   message was added in version 3.3.) in /home/www/arkansasburners.org/wp-includes/
   functions.php on line 3587
 * Fatal error: Class ‘BP_Groups_Member’ not found in /home/www/arkansasburners.
   org/wp-content/plugins/events-manager/buddypress/bp-em-groups.php on line 85
 *  [alexmoomey](https://wordpress.org/support/users/alexmoomey/)
 * (@alexmoomey)
 * [14 years, 1 month ago](https://wordpress.org/support/topic/plugin-events-manager-activating-plugin-causes-500-server-error/#post-2644371)
 * this is my line 85 that caused the fatal error above:
 * $group_ids = BP_Groups_Member::get_group_ids(get_current_user_id());
 *  [agelonwl](https://wordpress.org/support/users/angelonwl/)
 * (@angelonwl)
 * [14 years, 1 month ago](https://wordpress.org/support/topic/plugin-events-manager-activating-plugin-causes-500-server-error/#post-2644376)
 * [@alexmoomey](https://wordpress.org/support/users/alexmoomey/)
 * at the moment, the workaround would be changing line 82 in `events-manager/buddypress/
   bp-em-groups.php`
 * From
    `if( is_user_logged_in() ){`
 * to
    `if( is_user_logged_in() && class_exists("BP_Groups_Member") ){`
 * Also, please don’t double post
 *  [alexmoomey](https://wordpress.org/support/users/alexmoomey/)
 * (@alexmoomey)
 * [14 years, 1 month ago](https://wordpress.org/support/topic/plugin-events-manager-activating-plugin-causes-500-server-error/#post-2644377)
 * sorry I didn’t mean to cross-post. I was just responding to other’s posts. You
   replied quickly.. wasn’t expected that or would’ve only replied to one post and
   not made my own.
 * May i also make a suggestion as well? Warn people ahead of time before installation
   to have Buddypress’s group option enable or else it will make their admin GUI
   broken. It’s kinda important dontcha’ think?
 *  [openroadrides](https://wordpress.org/support/users/openroadrides/)
 * (@openroadrides)
 * [13 years, 8 months ago](https://wordpress.org/support/topic/plugin-events-manager-activating-plugin-causes-500-server-error/#post-2644555)
 * I just tried installing this plug in as well and I get the same 500 server error.
   Looking at the php error logs I get the following entries when I try to access
   the WP_Admin site after activating the plugin…
 * [29-Aug-2012 16:42:27] WordPress database error Unknown column ‘event_notes’ 
   in ‘wp_em_events’ for query ALTER TABLE wp_em_events CHANGE event_notes post_content
   longtext NULL DEFAULT NULL made by require_once(‘wp-admin/admin.php’), require_once(‘
   wp-load.php’), require_once(‘wp-config.php’), require_once(‘wp-settings.php’),
   do_action(‘init’), call_user_func_array, em_init, em_install, em_create_events_table
   [
   29-Aug-2012 16:42:27] WordPress database error Unknown column ‘location_description’
   in ‘wp_em_locations’ for query ALTER TABLE wp_em_locations CHANGE location_description
   post_content longtext NULL DEFAULT NULL made by require_once(‘wp-admin/admin.
   php’), require_once(‘wp-load.php’), require_once(‘wp-config.php’), require_once(‘
   wp-settings.php’), do_action(‘init’), call_user_func_array, em_init, em_install,
   em_create_locations_table
 * Any help would be nice. Looking at the plugin demo, etc. I think this is just
   what I am looking for, but if I can’t get it working I am SOL.
 *  Plugin Author [Marcus (aka @msykes)](https://wordpress.org/support/users/netweblogic/)
 * (@netweblogic)
 * [13 years, 8 months ago](https://wordpress.org/support/topic/plugin-events-manager-activating-plugin-causes-500-server-error/#post-2644556)
 * [@openroadrides](https://wordpress.org/support/users/openroadrides/) this warning
   should be a one-off, I’m guessing the plugin would work fine from now onw.
 * If not, i’d recreate this topic as a new one as it’s not related.

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

The topic ‘[Plugin: Events Manager] Activating plugin causes 500 server error’ is
closed to new replies.

 * ![](https://ps.w.org/events-manager/assets/icon-256x256.png?rev=1039078)
 * [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/)

 * 12 replies
 * 7 participants
 * Last reply from: [Marcus (aka @msykes)](https://wordpress.org/support/users/netweblogic/)
 * Last activity: [13 years, 8 months ago](https://wordpress.org/support/topic/plugin-events-manager-activating-plugin-causes-500-server-error/#post-2644556)
 * Status: resolved