Viewing 12 replies - 1 through 12 (of 12 total)
  • Plugin Author Marcus (aka @msykes)

    (@netweblogic)

    you’d need to turn on WP_DEBUG or check your error logs to see what the fatal error was.

    Thread Starter David Goebel

    (@david-goebel)

    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' />";

    Thread Starter David Goebel

    (@david-goebel)

    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?

    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.

    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

    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

    this is my line 85 that caused the fatal error above:

    $group_ids = BP_Groups_Member::get_group_ids(get_current_user_id());

    @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

    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?

    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)

    (@netweblogic)

    @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.