• Resolved ewd910

    (@ewd910)


    Hi, I have a website with 200k+ enrolled users, though only a tiny fraction of those are active on the forums, the way this plugin checks every user for a list of active groups means that there are certain settings pages that I can’t get to load at all, Disable Groups for example. Any page that does manage to load does so very slowly, sometimes I get a 504 timeout even if my action ultimately goes through. Is there anything that can be done about this, or something I should be doing differently? Thanks

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author Robin W

    (@robin-w)

    thanks for letting me know.

    Is it just disable groups, or if not what other settings pages are affected?

    Thread Starter ewd910

    (@ewd910)

    It’s user management and management information as well. I also get an out of memory exception (my memory limit is set at 512MB) when trying to access these pages if they do load at all.

    Plugin Author Robin W

    (@robin-w)

    thanks.

    Are you able to FTP if I gave you some test code?

    Thread Starter ewd910

    (@ewd910)

    Yes I can change whatever code is needed

    Plugin Author Robin W

    (@robin-w)

    Great, can you find

    /wp-content/plugins/bbp-private-groups/includes/disable-groups.php

    and around line 38 you’ll find

    //now go through the users to create a list of groups that are active
    				$users= get_users () ;

    can you amend that to

    //now go through the users to create a list of groups that are active
    				$users = get_users(array('meta_key' => 'private_group','compare' => 'EXISTS')) ;

    and see if that fixes the ‘disable groups’ tab.

    If it does work, I’ll look at the other tabs.

    If it fails or errors, then simply revert it back to the original

    let me know how you get on ??

    Thread Starter ewd910

    (@ewd910)

    That seems to work!

    Plugin Author Robin W

    (@robin-w)

    great – leave that in, as the next version will have that.

    I’ll look at the other tabs ??

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Out of memory errors on settings pages’ is closed to new replies.