Fatal error when logging in to dashboard

  • Unknown's avatar

    Hi there,

    I’ve been trying to log in to my WordPress blog (daniboy.com/blog) for the last few days and keep getting this error message:

    ++++++++
    Fatal error: Allowed memory size of 262144 bytes exhausted (tried to allocate 122880 bytes) in /home/danibo5/public_html/blog/wp-admin/includes/dashboard.php on line 550
    ++++++++

    It’s the first time I’ve tried to update the blog in quite a while; do blogs become uneditable after a certain period of inactivity?

    I got in touch with the web hosting company I’m using for my domain to ask if they could help by altering php settings. They checked and wrote back “After extensive review of how your server is setup, even increasing the memory limit to 1024M, the error persists. There appears to be nothing wrong with the server, but rather the coding of your dashboard interface. You may have to contact WordPress for a resolution on this issue.”

    Any chance you could help? I’m not very technical, so any measures I’d have to take would need to be explained as if to someone really, really stupid. At a coding ability level only slightly above that of amoeba.

    Many thanks for anything you can advise.

    Dan O’Connor
    Blog url: http://www.daniboy.com/

  • daniboy.com/blog is a self-hosted WordPress.org blog, which we really can’t help with.

    To clear up any confusion, WordPress.com and WordPress.org are two different entities.

    WordPress.org has complete support and documentation sites for self-hosted/installed versions of WordPress via their Codex and Support Forums.

    If you’re seeing this error either suddenly (no specific task was done to cause the error) or frequently, try deactivating all plugins to rule-out a plugin-specific issue and try switching themes to rule-out a theme-specific issue.

    Otherwise, here are four ways to increase PHP’s memory allocation:

    1. If you’re using WordPress 2.9.2 or lower, try adding define(‘WP_MEMORY_LIMIT’, ‘256M’); to your wp-config.php file. If you’re using WordPress 3.0 or higher, WordPress automatically does this for a variety of tasks, so there’s really no reason to try it in this case.

    2. If you can edit or override the system php.ini file, increase the memory limit. For example, memory_limit = 256M

    3. If you cannot edit or override the system php.ini file, add php_value memory_limit 256M to your .htaccess file.

    4. If neither of these work, it’s time to ask your hosting provider to temporarily increase PHP’s memory allocation on your account. Keep in mind that most decent hosting providers allocate 32 MB to PHP under each account, and most decent hosting providers allow users to temporarily increase the memory allocation. If your hosting provider won’t accommodate you, perhaps it’s time to find a new hosting provider.

    If that doesn’t work, please contact the WordPress.org Support Forums.

  • The topic ‘Fatal error when logging in to dashboard’ is closed to new replies.