• Hi, there.

    I got an error message.
    ————————————————————————————–
    An error occurred on line 56 of this file.
    E_ERROR /home/site/wwwroot/wp-content/plugins/wp-members/includes/class-wp-members-pwd-reset.php
    Error message: Allowed memory size of 268435456 bytes exhausted (tried to allocate 20480 bytes)
    ————————————————————————————–

    What is the solution?
    Thank you.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Chad Butler

    (@cbutlerjr)

    That’s not likely an issue with the plugin itself, but rather due to other applications in your install.

    Your error message indicates that you’re running PHP with a memory limit of around 268M and that an allocation from the plugin of 20K wasn’t possible.

    I run WP-Members on the plugin’s support site along with WooCommerce and a number of other plugins and have limited the memory to 128M and it doesn’t overrun.

    However, if you have a lot of plugins and/or a memory-intensive theme, then that may not be the case for you. You may need to increase the memory limit used.

    You can try to let WP do this by setting it in your wp-config.php file:

    define( 'WP_MEMORY_LIMIT', '512M' );

    Some hosts don’t allow this (or limit the memory allocation), so you may have to check with your host on how to increase your PHP memory limit.

    Thread Starter inbodyjp

    (@inbodyjp)

    Hi,@cbutlerjr

    Thank you for your reply.
    I tried changing the php memory settings and there are no errors so far.
    Thank you. Have a good new year.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘I got an error message’ is closed to new replies.