Skip to:
Content
Pages
Categories
Search
Top
Bottom

Fatal Error on activating BuddyPress Plugin


  • josephguirguis
    Member

    @josephguirguis

    I’ve installed WP 3.1.1 & then installed BP 1.2.8
    And when I activated BP Plugin
    it appears this error

    “Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 122880 bytes) in /mounted-storage/home44a/sub009/sc30520-NUCW/copticface.com/home/wp-admin/includes/upgrade.php on line 729”

    Please I want to fix this problem rapidly

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

  • Virtuali
    Participant

    @gunju2221

    Try upping the memory limit if possible.

    If you can’t up the memory limit, try to implement some of the improving performance tips listed here – https://codex.buddypress.org/getting-started/improving-performance/


    josephguirguis
    Member

    @josephguirguis

    I am using Servage Hosting & I am a beginner in developing so please tell me how to by easy steps
    Thanks in advance


    aces
    Participant

    @aces

    Try asking your host to increase your wordpress memory limit, or do a search on that subject as there are some ways to do it yourself…

    If neither of those work, and for some shared server hosts such as 1and1 they won’t, then have a look at the suggestions here and here.

    Or find a host that offers more memory – which is difficult as all other shared hosting services, that I’ve found, don’t quote the memory available in their advertising….

    I am having the same problem, but are you sure this isn’t a bug in the plugin? It shouldn’t need 33MB of RAM just to activate the plugin. I got the same error trying to activate Buddypress 1.2.8 on a fresh install of WordPress 3.1.1 on a high-quality host. There are a huge number of warnings that come before the memory error. Here’s the full output with debug on (I cut out another ~50 warnings on call-time pass-by-reference).

    `Warning: Call-time pass-by-reference has been deprecated; If you would like to pass it by reference, modify the declaration of apply_filters(). If you would like to enable call-time pass-by-reference, you can set allow_call_time_pass_reference to true in your INI file in /sites/www.mysite.org/web/content/wp-content/plugins/buddypress/bp-core.php on line 565

    Warning: Call-time pass-by-reference has been deprecated in /sites/www.mysite.org/web/content/wp-content/plugins/buddypress/bp-core/bp-core-classes.php on line 228

    [many more errors on call-time pass-by-reference…]

    Warning: Call-time pass-by-reference has been deprecated; If you would like to pass it by reference, modify the declaration of apply_filters(). If you would like to enable call-time pass-by-reference, you can set allow_call_time_pass_reference to true in your INI file in /sites/www.mysite.org/web/content/wp-content/plugins/buddypress/bp-friends.php on line 433

    Notice: Undefined offset: 0 in /sites/www.mysite.org/web/content/wp-content/plugins/buddypress/bp-core/bp-core-catchuri.php on line 85

    Notice: is_page was called incorrectly. Conditional query tags do not work before the query is run. Before then, they always return false. (This message was added in version 3.1.) in /sites/www.mysite.org/web/content/wp-includes/functions.php on line 3422

    Notice: Undefined offset: 2 in /sites/www.mysite.org/web/content/wp-content/plugins/buddypress/bp-core/bp-core-catchuri.php on line 158

    Notice: Undefined property: stdClass::$loggedin_user in /sites/www.mysite.org/web/content/wp-content/plugins/buddypress/bp-forums.php on line 530

    Notice: Trying to get property of non-object in /sites/www.mysite.org/web/content/wp-content/plugins/buddypress/bp-forums.php on line 530

    Notice: Undefined property: stdClass::$displayed_user in /sites/www.mysite.org/web/content/wp-content/plugins/buddypress/bp-core.php on line 1070

    Notice: Trying to get property of non-object in /sites/www.mysite.org/web/content/wp-content/plugins/buddypress/bp-core.php on line 1070

    Notice: Undefined index: user-avatar-default in /sites/www.mysite.org/web/content/wp-content/plugins/buddypress/bp-core.php on line 160

    Notice: Undefined property: stdClass::$profile in /sites/www.mysite.org/web/content/wp-content/plugins/buddypress/bp-xprofile/bp-xprofile-classes.php on line 816

    Notice: Undefined index: bp-xprofile-base-group-name in /sites/www.mysite.org/web/content/wp-content/plugins/buddypress/bp-xprofile.php on line 101

    Notice: Undefined index: bp-xprofile-fullname-field-name in /sites/www.mysite.org/web/content/wp-content/plugins/buddypress/bp-xprofile.php on line 102
    WordPress database error: [Table ‘z_mysitewp.wp_bp_xprofile_data’ doesn’t exist]
    SELECT value FROM wp_bp_xprofile_data WHERE field_id = 1 AND user_id = 1

    WordPress database error: [Table ‘z_mysitewp.wp_bp_xprofile_fields’ doesn’t exist]
    SELECT * FROM wp_bp_xprofile_fields WHERE id = 1

    WordPress database error: [Table ‘z_mysitewp.wp_bp_xprofile_fields’ doesn’t exist]
    SELECT id FROM wp_bp_xprofile_fields WHERE id = 1

    Notice: Undefined index: bb-config-location in /sites/www.mysite.org/web/content/wp-content/plugins/buddypress/bp-forums.php on line 23

    Notice: Undefined index: bp-xprofile-base-group-name in /sites/www.mysite.org/web/content/wp-content/plugins/buddypress/bp-xprofile.php on line 101

    Notice: Constant BP_XPROFILE_BASE_GROUP_NAME already defined in /sites/www.mysite.org/web/content/wp-content/plugins/buddypress/bp-xprofile.php on line 101

    Notice: Undefined index: bp-xprofile-fullname-field-name in /sites/www.mysite.org/web/content/wp-content/plugins/buddypress/bp-xprofile.php on line 102

    Notice: Constant BP_XPROFILE_FULLNAME_FIELD_NAME already defined in /sites/www.mysite.org/web/content/wp-content/plugins/buddypress/bp-xprofile.php on line 102

    Notice: Undefined index: fileupload_maxk in /sites/www.mysite.org/web/content/wp-content/plugins/buddypress/bp-core/bp-core-avatars.php on line 35
    WordPress database error: [Table ‘z_mysitewp.wp_bp_groups_members’ doesn’t exist]
    SELECT COUNT(DISTINCT m.group_id) FROM wp_bp_groups_members m, wp_bp_groups g WHERE m.group_id = g.id AND m.user_id = 1 AND m.is_confirmed = 1 AND m.is_banned = 0

    Notice: Undefined property: stdClass::$current_group in /sites/www.mysite.org/web/content/wp-content/plugins/buddypress/bp-groups.php on line 223

    Notice: Trying to get property of non-object in /sites/www.mysite.org/web/content/wp-content/plugins/buddypress/bp-groups.php on line 223
    WordPress database error: [Table ‘z_mysitewp.wp_bp_messages_recipients’ doesn’t exist]
    SELECT unread_count FROM wp_bp_messages_recipients WHERE user_id = 1 AND is_deleted = 0 AND sender_only = 0

    Notice: Undefined variable: count_indicator in /sites/www.mysite.org/web/content/wp-content/plugins/buddypress/bp-messages.php on line 115

    Notice: Undefined index: action in /sites/www.mysite.org/web/content/wp-content/plugins/buddypress/bp-core/bp-core-signup.php on line 571

    Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 122880 bytes) in /sites/www.mysite.org/web/content/wp-admin/includes/media.php on line 1963`


    @mercime
    Keymaster

    @mercime

    What BP version are you on? That issue has been fixed https://trac.buddypress.org/ticket/2759 to address deprecated notice if you’re on PHP 5.3+

    == It shouldn’t need 33MB of RAM just to activate the plugin. ==
    It depends on server configurations ultimately. I set up a BP install for a friend on a shared hosting plan with 32MB and it’s running well with a private community of 250+ members. Resolve the deprecated notices issues first and see if you still need to increase memory limit.

    This is 1.2.8, but your link says it was fixed in 1.2.6. Maybe there was a regression? I agree about fixing this first.

    Also I’m running PHP 5.2, not 5.3

    I increased the memory to 64mb and that did solve the problem of running out of memory. There are a vast number of notices that show up in debug mode but I’ll post a new thread about them.

    @hran i have the same problem cant activate bp plugin error is Fatal error: Call to undefined function is_multisite() in /home/vuniteu/public_html/wp-content/plugins/buddypress/bp-core.php on line 287
    and the memory errror comes @ the time of upgrading wp to 3.1.3

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Fatal Error on activating BuddyPress Plugin’ is closed to new replies.
Skip to toolbar