[Plugin: Invite Anyone] fix for site with 10,000 users
-
hey boone,
first, thanks for the great plugin. the users love it — can’t live without. But now that our site has grown to over 10,000 users, the initial name lookup when showing the list of users to invite causes an out of memory error. I could up the memory, but a simpler solution would be to change line 264 of /invite-anyone/group-invites/group-invites.php to read
$display_name = $member['display_name'];
i could add a toggle on the admin that would be off by default, but when turned on uses this more streamlined, less elegant, approach. The toggle would be called ‘For sites with many thousands of users get simpler list of users’. then in group-invites.php put an if statement based on that toggle.
shall i code this up?
fyi, the error i was getting was:
Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 4864 bytes) in myserver…/wp-includes/kses.php(550) : runtime-created function on line 1
- The topic ‘[Plugin: Invite Anyone] fix for site with 10,000 users’ is closed to new replies.