WordPress.org

Ready to get started?Download WordPress

Forums

2.8 fatal errors in wp-admin and wp-includes (29 posts)

  1. dhurst
    Member
    Posted 5 years ago #

    I successfully rolled back to 2.7.1 after experiencing numerous errors upgrading to 2.8. I'm neither a newbie nor super-experienced, but I'd made backups and I had 2.7.1 on my hard drive still from the last upgrade. This experience got me thinking about what I dislike in WordPress.

    I have another blog in Textpattern, so I have some means of comparison--WordPress updates are so frequent (if I include the plugins that need to update periodically, etc) and can be so potentially devastating to a blog that I wonder why there's an "Automatic Upgrade" button at all--the forum posts are filled with newbies who've not backed up, and who expected the button to work right. It has never worked correctly for me and I've always had to manually upgrade and if there are going to be problems, it sure would be better to go slower and step-by-step than just to push a button and hope.

    Secondly, there's no way of knowing when an upgrade has had all the kinks worked out. I assume that when the upgrade is posted, it is out of beta and good to go. Not so, apparently.

    My problems had to do with the wp-admin and wp-includes folders. After upgrading manually, I still had error after error. At one point the blog loaded, but I couldn't get into the Admin page. I kept getting errors that lines were missing or classes couldn't be found. Perhaps this is a problem with my theme, but I can't tell. 2.7.1 works and I'm back to it for now.

  2. MichaelH
    Member
    Posted 5 years ago #

    You could be a candidate for following these upgrade procedures: Upgrading WordPress

  3. dhurst
    Member
    Posted 5 years ago #

    I follow those procedures each time, but this time I tried the Automatic Upgrade, just to see if it would work. It didn't, so I started over with a manual upgrade. That didn't work either--in fact that's when I got the error messages (the Auto Upgrade didn't even get as far as giving me errors--it froze halfway through).

  4. MichaelH
    Member
    Posted 5 years ago #

    And you deactivated all plugins before doing the manual upgrade?

  5. dhurst
    Member
    Posted 5 years ago #

    Just tried again, following procedures. Yes, deactivated plugins. After manual upgrade, I get this error message:

    Fatal error: Class 'WP_Widget' not found in /usr/www/users/dhurst/englishandmore/blog/wp-includes/default-widgets.php on line 15
    Previous error messages have been different, but they all reference missing classes in either wp-admin or wp-includes and tell me on what line the failure occurred. One previous message had to do with Class 'Translations' not found and I reuploaded the specified php file, but then I got another fatal error message and so on. I'm following the procedures, but something isn't working. I've been with WordPress for several years adn none of my upgrades have been this difficult.

  6. danceofvictory
    Member
    Posted 5 years ago #

    I'm not a techie, so always use the auto-upgrade. This is the error message I got:

    Fatal error: Cannot redeclare pclziputilpathreduction() (previously declared in /home/crashing/public_html/wp-content/plugins/wordpress-automatic-upgrade/lib/pclzip.lib.php:5421) in /home/crashing/public_html/wp-admin/includes/class-pclzip.php on line 5498

    Please advise.

  7. MichaelH
    Member
    Posted 5 years ago #

    danceofvictory - suggesting you deactivate and delete the WordPress Automatic Upgrade Plugin.

  8. MichaelH
    Member
    Posted 5 years ago #

    dhurst - what theme are you using? Tried the WordPress Default theme, at least temporarily?

  9. corgan1003@gmail.com
    Member
    Posted 5 years ago #

    I have the same problem: Class 'Translations' not found

    And I am a techie... so feel free to speak that language. I did take a look at the detailed upgrade instructions and I followed them 100%. I also verified the wp-includes/pomo/translations.php exists. What could be the issue here? For whatever reason it cannot see that class?

  10. hiddenrock
    Member
    Posted 5 years ago #

    Same here... I get the:

    Fatal error: Class 'Translations' not found in wp-includes/l10n.php on line 408

    Tried the automatic upgrade and then did everything manually, I still get the error.

    Is my only option to roll back to 2.7?

  11. corgan1003@gmail.com
    Member
    Posted 5 years ago #

    I rolled back...fairly lame

  12. hiddenrock
    Member
    Posted 5 years ago #

    I did too, I don't see another option...

  13. Cherokee
    Member
    Posted 5 years ago #

    I used the auto upgrade and I get the same error message as danceofvictory. Can't access anything with the web interface. Strange because the auto upgrade to 2.8 worked fine on another blog I maintain.

    Any suggestions besides reverting?

  14. butterfly1
    Member
    Posted 5 years ago #

    Please help...

    Yesterday I clicked on the automatic upgrade to 2.8 but had to discontinue and close the browser after clicking the "Automatic Upgrade" button.

    This morning, when I try to log in, after entering the password, it gives me this error:

    PHP Fatal error: Call to undefined function _cleanup_header_comment() in C:\websites\vistabella\blog\wp-admin\includes\plugin.php on line 89

    PLEASE help. Anyone?

    :(

  15. hiddenrock
    Member
    Posted 5 years ago #

    butterfly1 -

    Have you tried a manual upgrade? It looks like your error is caused by one of your plugins. Here's what I would do:

    - Disable all of your plugins - here's how to do it without access to the admin page

    - Follow the manual upgrade steps here: Upgrading WordPress

    See if that works for you. Good luck!

  16. hiddenrock
    Member
    Posted 5 years ago #

    Strange because the auto upgrade to 2.8 worked fine on another blog I maintain.

    same here... I updated one blog with the Automatic Upgrade and had no problems. With the other one no matter what I do it gives me errors.

  17. butterfly1
    Member
    Posted 5 years ago #

    hiddenrock -

    Thanks for your response.

    I've tried to disable all plugins doing the here's how to do it without access to the admin page approach, but once I get to log in, it is still giving me the same error.

    Do I give it time to update after this process, or it should be fixed instantly?

    Please help.

    Thanks!

  18. hiddenrock
    Member
    Posted 5 years ago #

    butterfly1 -

    Did you do the manual upgrade after you disabled all of the plugins? If you did and it didn't work, my only suggestion would be to roll back to a previous version of WordPress.

    Here's where you can download 2.7.1.

    Follow the manual upgrade and your site will at least be functional.

    Hopefully they'll come out with a fix for all of the 2.8 issues soon, or maybe the next release won't have any problems.

    Let me know how it goes.

  19. Bronwyn Durand
    Member
    Posted 5 years ago #

    Hi

    After a very frustrating 48 hours as a first time installer, using 2.8, I ended up with a fatal error class translations not found. I just about gave up when I located the file in the subdirectory of pomo under WP-includes. When I finally twigged that the file I had uploaded was showing 0 bytes, I deleted the pomo directory & files, redownloaded WordPress 2.8, uploaded the entire new pomo directory, and hey presto suddenly I could move on to complete installation. Don't ask me how I found it, I'm no techie and my brain has been hurting after this install.
    Thought others might find it useful.

  20. ecalos
    Member
    Posted 5 years ago #

    I had a similar problem and I thought I'd put my solution here too, when trying to upgrade automatically, either a plug in or a new version (2.8) of Word Press I kept getting this error:

    Class 'PclZip' not found in [my website path] /wp-admin/includes/file.php on line 486

    I looked at that file.php and on line 486 it references a file called:
    class-pclzip.php

    So I manually downloaded the new (2.8) version of WordPress, unzipped it, found the file class-pclzip.php
    And uploaded that file only manually to the correct drive/folder (using FTP).

    Then went back to Word Press, and hit the automatic upgrade button and it worked!

    Just thought I’d share since I didn’t see this answer anywhere else, yet I saw the question or ones like it several times. but usually the problem were due to plug ins and that was not my issue. Hope this helps someone else as I was ready to pull my hair out!

  21. dhurst
    Member
    Posted 5 years ago #

    dhurst - what theme are you using? Tried the WordPress Default theme, at least temporarily?

    To be perfectly honest, I have too much else to do in my life than troubleshoot a WordPress upgrade. Reading the posts here and elsewhere, it seems like WP delivered a lemon, regardless of themes. So when you've got a better pony to trot out, I'll take a look. Until then, I'll go on with life.

  22. neorackle
    Member
    Posted 5 years ago #

    Deactivate the plugin through phpMyAdmin, actually is not going to spend a lot of time.

    I will try to come out with a pictorial tutorial to help u guys later if some of you want to have clearer view.

    thanks,
    [signature moderated Please read the Forum Rules]

  23. tracyphaup
    Member
    Posted 5 years ago #

    I got the same error and I set the default theme as "default" in MyPHPAdmin, deleted all of the active plugins and ftp'd the main files that were not in the folders.

    Voila!

    User error for me not anything to do with WordPress...

    [signature moderated Please read the Forum Rules]

  24. businessgarden
    Member
    Posted 5 years ago #

    Ok, I had Fatal error: Class 'Translations' not found in wp-includes/l10n.php on line 408

    after reinstallation and control of files I finally found my error: I kept the previous wp-settings.php thinking it was one of my config file to keep.

    Actually, you only have to keep wp-config.php and replace wp-settings.php with the new one...

    I hope it will help some of you with the same issue !

    [signature moderated Please read the Forum Rules]

  25. HansUmstranja
    Member
    Posted 5 years ago #

    I've abandoned trying to upgrade existing WP blogs and am now simply attempting to install a fresh copy of WP 2.8.1. given its own unique database just to see it happen. I can then compare and contrast my fresh install with my upgrade install and hone in on possible errors in 'upgrading'. My thread provides a lot of detail about how these trials are going. People with similar issues would want to read my thread- UpGr to WP 2.8.1.: PHP is sending my browse loc outside my wordpress folder . It provides detailed language and similarities.

    I carefully follow the Codex - Upgrading WordPress and Installing WordPress.

    -Hans

  26. baherrmann
    Member
    Posted 5 years ago #

    I'm also getting the error "Fatal error: Class 'Translations' not found in /hsphere/local/home/usdchname/sdhomeless.org/wp-includes/l10n.php on line 407" both after the upgrade and after I tried to rollback. I need to know what my next steps are. Can anyone help?

  27. crylike
    Member
    Posted 4 years ago #

    hi everyone,

    I had problem with the class translation so I re installed the l10n.php in the wp-includes folder, but then it gave me another error in default-widgets.php. I read some more in this thread and someone re-installed their wp-settings.php which I did but gave me a blank page without errors..

    I didn't know what else to do, so I deleted everything again like I would install wp manually. I deleted wp-admin and wp-includes and replaced it with the new files from wp version 2.8.4 and IT WORKED!

    I hope this help!

  28. gossipcrunch
    Member
    Posted 4 years ago #

    I too faced same problem when I tried to upgrade from 2.6.1 to 2.8.4.

    Let me tell you in simple words as what to do. First download the WP 2.8.4 or whatever version when trying to upgrade. Open your FTP and rename your existing wp-admin and wp-includes folder and wp-settings.php file to something so that you do have the backups then upload the new wp-admin and wp-includes and wp-settings.php fileversion. Then when you will refresh your browser you will get a message that you database needs to be upgraded. You simply have to continue and its done.

    Hope my above method will work for you and others.

    [signature moderated Please read the Forum Rules]

  29. yandics
    Member
    Posted 4 years ago #

    haloo...
    i had problem "Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 15591 bytes) in /home/yandicsb/public_html/wp-includes/functions.php on line 965"
    I didn't know what else to do... please help me!
    thanks

Topic Closed

This topic has been closed to new replies.

About this Topic