WordPress.org

Ready to get started?Download WordPress

Forums

Recently updated to the latest version of WP.... (11 posts)

  1. mjolnier
    Member
    Posted 2 years ago #

    And now when I try to log into the admin I get the following error:

    Fatal error: Allowed memory size of 262144 bytes exhausted (tried to allocate 77824 bytes) in /home/winds6/www/windsorwoodworking.com/wp/wp-admin/includes/dashboard.php on line 324

    Not sure how to fix this, any help would be appreciated, thank you.

  2. marv51
    Member
    Posted 2 years ago #

    This is because PHP doesn't have enough memory. You can try to set define('WP_MEMORY_LIMIT', '64M');
    in your wp-config.php file.

  3. mjolnier
    Member
    Posted 2 years ago #

    I tried this and also tried 96MB but still same thing. Still give me the same numbers as well. Do I need to reboot the server for this to take effect? Thank you.

  4. marv51
    Member
    Posted 2 years ago #

    No, this should just work the next time you load a page.
    Have you tried disabling some plugins?
    You may be able to overwrite your memory limit in your .htaccess file (php_value memory_limit 96M)

    Maybe this is a limitation of your host? Have you tried contacting your host and ask him what your PHP-Memory limit is and if he could increase it?
    If you manage your server yourself, that value should be set in the php.ini file.

    This guy is having the exact same issue:
    http://wordpress.org/support/topic/fatal-error-allowed-memory-size-of-262144-bytes-exhausted-1?replies=11

  5. Krishna
    Volunteer Moderator
    Posted 2 years ago #

  6. mjolnier
    Member
    Posted 2 years ago #

    No that link didn't work either, sorry. What should that have done?

  7. Krishna
    Volunteer Moderator
    Posted 2 years ago #

    Which version of WordPress are you running? It seems you are running an outdated version and you need to update.

  8. mjolnier
    Member
    Posted 2 years ago #

    It's fairly recent, whatever the latest version of WordPress was when the site was launched in February 2012. The client has control of the site and clicked the "update now" button in the admin and that's when he got the error.

  9. Krishna
    Volunteer Moderator
    Posted 2 years ago #

    Please look at this link: http://sitecheck.sucuri.net/results/windsorwoodworking.com

    The version seems to be quite outdated, otherwise this warning would not have come. What you need to do now is to update WordPress, plugins, etc. No other fix will work for you, I think.

  10. mjolnier
    Member
    Posted 2 years ago #

    so how would i update it without disturbing all the files, it was a custom install?

  11. Krishna
    Volunteer Moderator
    Posted 2 years ago #

    Here are the detailed instructions at this link: http://codex.wordpress.org/Upgrading_WordPress_Extended

    Please study carefully and upgrade. As I said earlier, outdated versions of WP, outdated plugins, themes, other software, etc. can conflict with each other and create results and warnings that can be difficult to interpret or take corrective actions.

    Also note that some security agencies have listed the site in their SPAM warnings list.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.