• Resolved DickRaney

    (@dickraney)


    I’m getting a 500 server error when I try go to Approve New Users > Approved Users

    PHP message: PHP Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 20480 bytes) in /var/www/vhosts/mysite.com/wp-includes/class-wp-object-cache.php on line 198

    This is follow up to my earlier ticket https://www.ads-software.com/support/topic/server-error-97/#post-15906800

    To answer your questions from that ticket:

    Users: 12,765
    Server:
    CPU: Intel(R) Xeon(R) CPU E5-2630 v3 @ 2.40GHz (16 core(s))
    RAM: 62.66 GB
    PHP: version 7.4.30 run PHP as FPM application served by nginx

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Support Mirza Hamza

    (@hamza1010)

    Hi @dickraney,

    Thanks for contacting us,

    I hope you are doing well, We have updated the technical team and will get back to you once we get a response from them.

    Meanwhile, you can also approve/deny the users from the user table (for the time being).

    Also, have you tried deleting the transient ‘new_user_approve_user_statuses’, did it not fix the issue?

    Thanks & Regards

    WP Experts Support Team

    Plugin Support Mirza Hamza

    (@hamza1010)

    Hi @dickraney,

    The issue seems to be happening because of a large number of user data being displayed on a single page. We have decided to add pagination over there as a permanent fix for this issue. The fix will be released in one of our future updates.

    A temporary solution for this issue is to increase the WordPress memory limit. Please add this code in your wp-config,php file, it should fix the issue for the time being.

    define( 'WP_MAX_MEMORY_LIMIT', '400M' );

    Thank you

    • This reply was modified 2 years, 6 months ago by Mirza Hamza.
    Thread Starter DickRaney

    (@dickraney)

    That fixed it, but it sounds like this should be a temporary fix. Are you planning to change the plugin so this will not be necessary or something?

    Plugin Support Mirza Hamza

    (@hamza1010)

    Hi @dickraney,

    Yes, we will do the required changes and release them in an update, within next few weeks.

    Thank you

    Thread Starter DickRaney

    (@dickraney)

    Awesome. Thanks!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Server Error’ is closed to new replies.