• Hello,
    I tried to login to my wordpress site, with my old password and i get the following error:

    Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 5867257 bytes) in /home/content/21/6601321/html/MYSITENAME.com/wp-includes/wp-db.php on line 1033

    why is this happening? what is this? how can i fix?

    it only happens when i type my old passwords or something very similar to them. doesnt happen if i try something else random. i am also able to login with my new correct password

    also do i need to clean up somewhere in my mysql db? it says exhausted…

Viewing 2 replies - 1 through 2 (of 2 total)
  • Put this line in your wp-config.php:

    define("WP_MEMORY_LIMIT", 128);

    And ask your host to increase your max_input_vars in your php.ini file from 1000 (standard) to like 5000 or at least 3000.

    Why would you try to use an old password, anyway?

    Thread Starter ketanco

    (@ketanco)

    what does this do:

    define(“WP_MEMORY_LIMIT”, 128);

    and why do i ask them to increase size?

    and in my database is somewhere full of unnecessary data and do i need to clean up somewhere?

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘error when logging in’ is closed to new replies.