• Resolved haymondoooo

    (@haymondoooo)


    When we update the buddypress to version 11 the backend admin is not accessible. The memory PHP 512 limit is exhausted. We have disabled all plugins apart from this one and buddypress which causes this crash.

    The page I need help with: [log in to see the link]

Viewing 12 replies - 16 through 27 (of 27 total)
  • Thanks @bouncingsprout

    The memory issue happened just after clicking the “Activate plugin” link on admin page. Wp returned an error saying it can’t activate the plugin because of system errors. Below that message PHP Fatal Error was reported:

    Fatal error: Allowed memory size of 671088640 bytes exhausted (tried to allocate 20480 bytes) in […]/wp-includes/meta.php on line 1185

    Fatal error: Allowed memory size of 671088640 bytes exhausted (tried to allocate 20480 bytes) in?[…]/wp-includes/plugin.php?on line?511

    Now I’m testing the plugin functionalities on the front end so if I encounter another problem of this kind I’ll let you know.

    Thread Starter haymondoooo

    (@haymondoooo)

    We have 42,000+

    Should I await the plugin update or shall I replace the beloiw if correct?:
    $users = get_users();
    with
    $users = get_users(array(‘fields’=>array(‘ID’)));

    in this file: /includes/class-bp-toolkit-activator.php:71

    Plugin Author Ben Roberts

    (@bouncingsprout)

    I’m going to try really hard to get a new version out by the end of the weekend, if that helps you decide whether to edit the files or not.

    If it is an easy fix, I may be able to get it out by the end of tomorrow (Friday).

    Thread Starter haymondoooo

    (@haymondoooo)

    Excellent I am away this weekend so it would be great if you can update me once ready ??

    Plugin Author Ben Roberts

    (@bouncingsprout)

    I’ve just released version 3.6 which removes that function. Let me know how that goes.

    Thread Starter haymondoooo

    (@haymondoooo)

    Sadly we still have the same issue. After updating your plugins and then buddypress to v11 we get a fatal error and locked out of admin.
    I can always send you our staging site login privately so you can view the errors yourself if you wish as well as FTP access so you can dig deeper.

    Plugin Author Ben Roberts

    (@bouncingsprout)

    Hey @haymondoooo,

    It’s against forum rules to share any admin credentials for your site or server.

    As the fix was based on a suggestion by @budy74, I want to establish whether it has fixed the issue for their site. In theory, it must have done. I’m hoping they get back to me as soon as they can!

    Ben Roberts

    Thread Starter haymondoooo

    (@haymondoooo)

    Is there any update yet? We still have issues and cannot move forward. We love this plugin but it no longer works with our website and buddypress 11. Do you know of another plugin that has the functions of yours?

    Also please confirm that your plugin is PHP 8 compatible

    Plugin Author Ben Roberts

    (@bouncingsprout)

    Hey @haymondoooo,

    No update from me unfortunately. I’m afraid I can’t replicate your issue on our servers, and have had no other reports. Still waiting to see if @budy74 has had any success since the last update.

    Thank you so much for your kind words about the plugin! If you want to continue to use it, may I suggest asking a web developer for some help to debug your server environment specifically? Obviously, if they can find the cause of the issue, I will do everything I can to create a fix ASAP.

    Ben R

    Sorry guys, I was out of office last week.

    I installed the update and I tried to deactivate and reactivate the plugin without any problem. So I think problem is solved for me.

    I found another point in your code where the get_users() function is called without parameter causing a potential out of memory error in large users database.

    The file is …/admin/class-bp-toolkit-admin.php:874 I don’t know if this could be the @haymondoooo problem.

    Hope this helps :))

    Thread Starter haymondoooo

    (@haymondoooo)

    Would be great to find out if this fixes it ??

    Plugin Author Ben Roberts

    (@bouncingsprout)

    Hey @budy74, that’s great news. That other function actually doesn’t get called, and is there as a debugging function, so that won’t cause the issue to happen again in your case.

    @haymondoooo, as @budy74 is running BuddyPress 11, and has a similar user count, I’m going to close this ticket as we know that the issue isn’t with our plugin. Please let your hosting provider know that a memory issue was successfully fixed and is running well on comparable sites. They will hopefully deep dive into why you are still getting out of memory issues.

    Ben Roberts

Viewing 12 replies - 16 through 27 (of 27 total)
  • The topic ‘Crashes with latest version of BuddyPress?’ is closed to new replies.