get_users causes memory error
-
Hello,
Upon installing your plugin, I experienced an error when using the authorize endpoint. I believe the problem was a timeout/memory allocation error through the use of the
get_users
function call at_mo_check_user_login
(endpoints/registry.php line 224)After replacing this line with:
get_user_by('login', $current_user_cookie['username'])
the plugin begins to work as normal. My guess is that our large database of users is causing a memory error!
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘get_users causes memory error’ is closed to new replies.