• Resolved samnockels

    (@samnockels)


    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!

    • This topic was modified 5 years, 1 month ago by samnockels.
    • This topic was modified 5 years, 1 month ago by samnockels.
    • This topic was modified 5 years, 1 month ago by samnockels.
Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author miniOrange

    (@cyberlord92)

    Hi Sam,

    We are looking into the issue.

    Can you tell us how many users you have right now in your WordPress database so that we can reproduce the issue?

    Thread Starter samnockels

    (@samnockels)

    We have 16,464 users in total

    Plugin Author miniOrange

    (@cyberlord92)

    Hi Sam,

    Thanks for the reply.

    We have fixed the issue and updated the plugin. You can now update/download the latest version of the plugin.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘get_users causes memory error’ is closed to new replies.