Title: Fatal error when using automatic update
Last modified: August 20, 2016

---

# Fatal error when using automatic update

 *  Resolved [slappyman](https://wordpress.org/support/users/slappyman/)
 * (@slappyman)
 * [14 years, 10 months ago](https://wordpress.org/support/topic/fatal-error-when-using-automatic-update/)
 * I get this error after auto update to I think version 3.1.4 Fatal error: Allowed
   memory size of 262144 bytes exhausted (tried to allocate 77824 bytes) in /home/
   slappys/public_html/wp-admin/admin-header.php on line 118
    I also get the same
   error but line 78. I can access my site just fine but no joy with dashboard New
   to this any help would be great, thank you

Viewing 15 replies - 1 through 15 (of 18 total)

1 [2](https://wordpress.org/support/topic/fatal-error-when-using-automatic-update/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/fatal-error-when-using-automatic-update/page/2/?output_format=md)

 *  Moderator [Samuel Wood (Otto)](https://wordpress.org/support/users/otto42/)
 * (@otto42)
 * WordPress.org Admin
 * [14 years, 10 months ago](https://wordpress.org/support/topic/fatal-error-when-using-automatic-update/#post-2173401)
 * Wow, that’s a first. Never seen an install with the memory limit set to 256K.
 * Ask your host how to increase the memory limit. We recommend increasing it to
   at least 64M.
 *  [ssinghai](https://wordpress.org/support/users/ssinghai/)
 * (@ssinghai)
 * [14 years, 10 months ago](https://wordpress.org/support/topic/fatal-error-when-using-automatic-update/#post-2173643)
 * I have enough memory but while updating to 3.2, I got the same error. Till today
   everything was fine.
 * Also got below error:
    Fatal error: Allowed memory size of 262144 bytes exhausted(
   tried to allocate 68 bytes) in /home/ssinghai/public_html/wp-content/themes/suffusion/
   functions.php on line 1466
 * Memory size is not problem at my end.
 * Also please tell me this is the forth update which has resultant as crash. Why
   your automatic update never works.
 *  [chuskhor](https://wordpress.org/support/users/chuskhor/)
 * (@chuskhor)
 * [14 years, 10 months ago](https://wordpress.org/support/topic/fatal-error-when-using-automatic-update/#post-2173653)
 * only?
 * my fault I’m in everything, every time I go I notice errors in different site,
   enter it, and I’ve solved one, but the 3 o4 4 more failures I have not been
 * Fatal error: Out of memory (allocated 31981568) (tried to allocate 40 bytes) 
   in /homepages/41/d358764671/htdocs/wordpress/wp-includes/cache.php on line 429
 * and
 * /wp-admin/admin-header.php on line 99
 * and more uff
 *  [chuskhor](https://wordpress.org/support/users/chuskhor/)
 * (@chuskhor)
 * [14 years, 10 months ago](https://wordpress.org/support/topic/fatal-error-when-using-automatic-update/#post-2173661)
 * Fatal error: Out of memory (allocated 31981568) (tried to allocate 77824 bytes)
   in /homepages/41/d358764671/htdocs/wordpress/wp-admin/menu-header.php on line
   99
 * and this muaaaaaaaaaaa
 *  [aboudaqn](https://wordpress.org/support/users/aboudaqn/)
 * (@aboudaqn)
 * [14 years, 10 months ago](https://wordpress.org/support/topic/fatal-error-when-using-automatic-update/#post-2173676)
 * How can one downgrade a version, rather than upgrade?
 * WordPress 3.2 has caused a fatal error with my website’s theme: perhaps if I 
   restore the site with WordPress 3.1, the site will be restored to normal function?
 *  Thread Starter [slappyman](https://wordpress.org/support/users/slappyman/)
 * (@slappyman)
 * [14 years, 10 months ago](https://wordpress.org/support/topic/fatal-error-when-using-automatic-update/#post-2173698)
 * I attempted to go back to 3.1 and it was there but did not work right anymore.
   Found my original problem was with web host not running correct version of PHP,
   they are updating now. So we’ll see what happens.
 *  [cedar818](https://wordpress.org/support/users/cedar818/)
 * (@cedar818)
 * [14 years, 9 months ago](https://wordpress.org/support/topic/fatal-error-when-using-automatic-update/#post-2173761)
 * This issue is caused by unsuccessful update from WordPress 3.1 to 3.2.x. WordPress
   3.1 does not define MAX_MEMORY_LIMIT on “includes/default-constants.php”. which
   is being called on wordpress 3.2’s admin.php
 * error_log message: **PHP Fatal error: Allowed memory size of 262144 bytes exhausted(
   tried to allocate 1853353 bytes) in….**
 * resolution: manually update the file by downloading the latest copy of wordpress
   and replace the includes folder.
 * Notes: Before uploading “include” folder of the new version:
 * 1. Rename your existing “include” folder to something else as a backup (e.g. 
   include_bak)
    2. Create a backup of your database: mysqldump [databasename] -
   u[database_username] -p[db_user_password] > backupfilename.sql
 * After making the necessary backups, login on your admin panel. WordPress will
   now prompt to update your database after this fix so make sure you created a 
   backup before proceeding.
 * You should be able to login on your admin panel after the database update.
 *  [varnerific](https://wordpress.org/support/users/varnerific/)
 * (@varnerific)
 * [14 years, 9 months ago](https://wordpress.org/support/topic/fatal-error-when-using-automatic-update/#post-2173763)
 * THANK YOU cedar818!! I searched this forum for hours and tried all the other “
   fixes” but nothing worked. Your suggestion did the trick. THANK YOU!!!
 *  [cedar818](https://wordpress.org/support/users/cedar818/)
 * (@cedar818)
 * [14 years, 9 months ago](https://wordpress.org/support/topic/fatal-error-when-using-automatic-update/#post-2173764)
 * You’re very welcome varnerific 🙂 Glad I was able to help.
 *  [sneader](https://wordpress.org/support/users/sneader/)
 * (@sneader)
 * [14 years, 8 months ago](https://wordpress.org/support/topic/fatal-error-when-using-automatic-update/#post-2173786)
 * For anyone else with this problem, the person posting the fix wasn’t very clear
   on what folder needs to be re-uploaded. The poster mentions the folder “include”
   a couple of times, which does not exist. It is the /wp-includes folder that needs
   it.
 * I hope this clarification helps others.
 *  [webworks](https://wordpress.org/support/users/webworks/)
 * (@webworks)
 * [14 years ago](https://wordpress.org/support/topic/fatal-error-when-using-automatic-update/#post-2173828)
 * I hope someone can help. This is turning out to be a real train wreck 🙁
 * This was the original error after automatic upgrade attempt:
    Fatal error: Allowed
   memory size of 262144 bytes exhausted (tried to allocate 77824 bytes) in /home/
   xyz/public_html/wp-admin/includes/dashboard.php on line 623
 * ~~~~~~~~~~~~~~~~
 * I replaced the wp-includes directory as suggested, and now the blog home page
   doesn’t appear. (So I can’t login to admin either of course) I get the following
   error:
 * Warning: require(/home/xyz/public_html/wp-includes/classes.php) [function.require]:
   failed to open stream: No such file or directory in /home/xyz/public_html/wp-
   settings.php on line 68
 * Fatal error: require() [function.require]: Failed opening required ‘/home/xyz/
   public_html/wp-includes/classes.php’ (include_path=’.:/usr/lib/php:/usr/local/
   lib/php’) in /home/aptdocto/public_html/wp-settings.php on line 68
 * Any ideas?
 *  [sneader](https://wordpress.org/support/users/sneader/)
 * (@sneader)
 * [14 years ago](https://wordpress.org/support/topic/fatal-error-when-using-automatic-update/#post-2173829)
 * The error is telling you that you have a missing file. /home/xyz/public_html/
   wp-includes/classes.php apparently does not exist. Can you log in, either via
   cPanel’s file manager, or through FTP, and see if that is the case?
 *  [webworks](https://wordpress.org/support/users/webworks/)
 * (@webworks)
 * [14 years ago](https://wordpress.org/support/topic/fatal-error-when-using-automatic-update/#post-2173830)
 * In response to sneader (thank you)….
 * Yes, I checked via FTP and this particular file is missing. There is no “classes.
   php” in the fresh download of the wp-includes directory (and therefore no classes.
   php on the server)
 *  [webworks](https://wordpress.org/support/users/webworks/)
 * (@webworks)
 * [14 years ago](https://wordpress.org/support/topic/fatal-error-when-using-automatic-update/#post-2173831)
 * I tried just replacing this specific file: includes/default-constants.php
 * …so now the home page has returned, but I get this error when trying to login
   to the dashboard. No matter what I do, I can’t seem to get the dashboard back.
 * Fatal error: Call to undefined function is_network_admin() in /home/xyz/public_html/
   wp-admin/admin-header.php on line 24
 *  [cedar818](https://wordpress.org/support/users/cedar818/)
 * (@cedar818)
 * [14 years ago](https://wordpress.org/support/topic/fatal-error-when-using-automatic-update/#post-2173832)
 * did you make a backup of your database and the old wp-include folder before making
   the changes?

Viewing 15 replies - 1 through 15 (of 18 total)

1 [2](https://wordpress.org/support/topic/fatal-error-when-using-automatic-update/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/fatal-error-when-using-automatic-update/page/2/?output_format=md)

The topic ‘Fatal error when using automatic update’ is closed to new replies.

## Tags

 * [fatal error after update](https://wordpress.org/support/topic-tag/fatal-error-after-update/)

 * In: [Installing WordPress](https://wordpress.org/support/forum/installation/)
 * 18 replies
 * 10 participants
 * Last reply from: [webworks](https://wordpress.org/support/users/webworks/)
 * Last activity: [14 years ago](https://wordpress.org/support/topic/fatal-error-when-using-automatic-update/page/2/#post-2173835)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
