WordPress.org

Ready to get started?Download WordPress

Forums

WP 2.7 Fatal Error Please Help (38 posts)

  1. kyledylanconner
    Member
    Posted 5 years ago #

    I am receiving this message after upgrading to 2.7, "Fatal error: Call to undefined function: wp_remote_request() in /nfs/c03/h02/mnt/52157/domains/example.com/html/wp-includes/update.php on line 58."

    Any help would be great.

    Thanks!

  2. simpledog
    Member
    Posted 5 years ago #

    i got one like this:

    Fatal error: Cannot redeclare uninstall_plugin() (previously declared in /home/simpledo/public_html/blog/wp-admin/includes/plugin.php:509) in /home/simpledo/public_html/blog/wp-content/plugins/pluginstaller/uninstall.php on line 89

  3. alanharris
    Member
    Posted 5 years ago #

    @kyledylanconner: Is this the error you see when visiting the blog url?

    @simpledog: try removing your plugins via ftp, see if your WP works, then upload them again.

  4. andythology
    Member
    Posted 5 years ago #

    I have the same thing at http://www.andychin.com/blog/

    pissed..

  5. alanharris
    Member
    Posted 5 years ago #

    Most errors like this are due to incomplete FTP transfers. Try transferring all files again via a decent ftp program like filezilla, coda, cuteftp, etc...

  6. szalmo
    Member
    Posted 5 years ago #

    i got this using the automatic upgrade from 2.7 rc2 to official 2.7

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

    thx for help if u can.

  7. marketingwizdom
    Member
    Posted 5 years ago #

    I have tried using the automatic upgrade several times, and like others get this message:

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

    How do I get around this?

  8. alanharris
    Member
    Posted 5 years ago #

    Looks like a plugin error. It might pay to try upgrading manually instead of using the automatic upgrade method...

    I think 2.7 rc2 had an auto update plugin? Try disabling that first.

  9. gileslane
    Member
    Posted 5 years ago #

    I'm getting this
    Parse error: syntax error, unexpected T_ENDIF in /home/wwwdiff/diffusion.org.uk/wp-includes/functions.php on line 2375

    all plugins were deactivated before install which was done using Transmit. Have tried stepping back to 2.6 but the error persists.

    Any suggestions?

  10. andythology
    Member
    Posted 5 years ago #

    I am very sure of complete file transfer, and has done that many times.
    I still get this exact error:

    Fatal error: Call to undefined function wp_remote_post() in /home/andychin/domains/andychin.com/public_html/blog/wp-includes/cron.php on line 201
    then,

    Fatal error: Call to undefined function wp_remote_post() in /home/andychin/domains/andychin.com/public_html/blog/wp-includes/update.php on line 201

    all plugins have been disabled.

  11. Samuel B
    moderator
    Posted 5 years ago #

    call to undefined function is nearly always that all files didn't make it - specifically in your case some from the /wp-includes folder
    try uploading that folder again

  12. dgdltd911
    Member
    Posted 5 years ago #

    so am I.

    I think maybe plugins or themes problem.

    The result maybe different, if we deactivate all plugins and use default theme, then upgrade.

    But I decide to use V2.6.5 after upgrade failure.

    Refer:
    http://www.laotudou.com/wordpress-fatal-error-wp_remote_request.html

  13. Samuel Wood (Otto)
    Tech Ninja
    Posted 5 years ago #

    1. Make certain that you uploaded all the files to your website.

    2. Don't use an automatic upgrade plugin. Do it manually. If you have the old automatic upgrade plugin, deactivate and remove it, it is no longer compatible with WordPress 2.7, which has its own automatic upgrade functionality.

  14. andythology
    Member
    Posted 5 years ago #

    i have downloaded again and again, and transferred again and again.

  15. dgdltd911
    Member
    Posted 5 years ago #

    Fatal error: Call to undefined function wp_user_settings() in /ww......er.php on line 14

    After "Don't use an automatic upgrade plugin", a little change.

    There are some other plugins incompatible, I lost my interesting.

  16. thechurning
    Member
    Posted 5 years ago #

    I'm having the same issues.

    Call to undefined function: wp_remote_post() in ...wp-includes/cron.php on line 201

    I've removed all plugin files and I have re-uploaded all wp-includes files - still no luck.

  17. thechurning
    Member
    Posted 5 years ago #

    Disregard.. I had to re-upload the root files (wp-config and the others). Now it's working again.

  18. Samuel Wood (Otto)
    Tech Ninja
    Posted 5 years ago #

    If you're getting a "Call to undefined function" message, then you did not upload all the files. Really. We're not just guessing here. :)

    For example wp_remote_post *is actually defined*. It's in the wp-includes/http.php file.

    So saying you downloaded and uploaded again and it didn't work is not helpful. Clearly, whatever you did wrong the first time you also did wrong the second time. Do it differently, somehow. The fact of the matter is that you're missing files, so until you actually fix that, it's just plain going to stay broken.

    Additional: Yes, when we say "all the files" we really do mean "ALL THE FILES". Including those in the root folder. Just uploading the admin and includes directories is not enough. UPLOAD EVERYTHING. The entirety of WordPress. As in "all the files".

  19. andythology
    Member
    Posted 5 years ago #

    Ok.

    But, perhaps not wp-content.

  20. Samuel Wood (Otto)
    Tech Ninja
    Posted 5 years ago #

    Unless you're using the default or classic theme and have customized it, then yes, wp-content too.

    UPLOAD EVERYTHING. Just don't delete anything that you want to keep, like your added on themes and plugins and such.

    While we don't recommend it around here because so many people screw it up for some reason, you can in fact simply upload the whole of WordPress overwriting your existing installation and it'll work fine. If you can actually make your FTP client overwrite files, that is. A lot of people screw that up for some reason. But I do just that when I upgraded in the past. It works perfectly.

  21. dgdltd911
    Member
    Posted 5 years ago #

    I have solved the issue, thanks Otto42.
    First disable all of plugins, then upload V2.7 codes, after succeed upgrade, enable plugins, some incompitalbe.

    I don't like three column style.

    Anybody want detail steps pls refer
    http://www.laotudou.com/wordpress-interface-27.html

  22. kyledylanconner
    Member
    Posted 5 years ago #

    Hmm..I'm using Transmit and it usually does a great job. I'll try a different FTP client.

  23. kyledylanconner
    Member
    Posted 5 years ago #

    Ya...I've tried several different FTP clients and they show no errors. I don't know what's wrong.

  24. khena25
    Member
    Posted 5 years ago #

    OK guys!

    I got the answer

    Just upload everything, I mean all the files of the new wordpress and you're all set

  25. MONKMASTER
    Member
    Posted 5 years ago #

    THIS IS THE SOLUTION FOR YOUR GUYS!!!!
    To fix the problem, you simply need to deactivate the WordPress Automatic Upgrade plugin.

    THAT`S IT !!!

  26. RandallJHoward
    Member
    Posted 5 years ago #

    Hello, I also have this problem of a "blank" site, even though the admin site/dashboard works. It is also caused by the:
    `Call to undefined function: wp_remote_request()
    in my error_log. However, none of the suggestions works:
    1. I copied everything native on the server from a tar.gz, so no FTP involved
    2. I disabled all my plugins, and even switched back to the (new version of) default theme, but it still doesn't work.
    3. I don't see any "Automatic Upgrade" plugin, so not sure what MONKMASTER is referring to.

    So, sadly, downgrading to WP 2.6.5 from my backup until this issue has been further debugged.

  27. edmond4
    Member
    Posted 5 years ago #

    Randall,

    I might have to downgrade too, as I've spent too much time, should have been flawless. I have no idea why this doesn't work.

  28. halend
    Member
    Posted 5 years ago #

    #@#@#@@@#... the same error here...
    after wanting to enter the dashboard (yx.com/wp-admin):

    Fatal error: Call to undefined function wp_user_settings() in /home/xxxxxxx/public_html/xxxxxx.com/wp-admin/admin-header.php on line 14

    I can't even enter the dashboard, so how can I disable plugins?!
    And I don't have the "WordPress Automatic Upgrade" plugin.

    Upgraded to WP 2.7 almost 40 blogs yesterday via cpanel (crazy me), I have this error on one blog now, and really hope it will be resolved before it "attacks" my other blogs.

    Help appreciated :)

  29. dgdltd911
    Member
    Posted 5 years ago #

    1. disable all plugins, especially auto-upgrade and old ozh menu, maybe others. so the best way is disalbe all.
    2. using default themes (not sure, but to be safe, a simple way)
    3. upload all code files of V2.7, using overwrite, or after moving your old version code files to other directory, something like "/backup-v26x/"
    4. http: //xxxxxx.com/wp-admin/upgrade.php
    to upgrade your V2.6.x to V2.7
    5. OK

    some plugin is abnormal under v2.7, so the best way is just using old database, not codes. remember to backup it first!

  30. ddiet525
    Member
    Posted 5 years ago #

    Hey guys, I found this thread after resolving my issue and thought I would contribute. I had the same issue with syntax errors / functions not being defined due to missing (or corrupted) files after FTPing new files to my server. In the above discussion Otto42 is spot on. I resolved the issue in the following way (do backup first):

    1. Deactivated all plugins by renaming their folders in my wp-content/plugins/ directory. (ie Akismet -> _Akismet)
    2. Deleted all of the wordpress core files from my server with the exception of the wp-content directory. (ie wp-admin, wp-includes, index.php, ect)
    3. Downloaded WP 2.7, unzipped it, deleted the wp-content directory, and then rezipped it.
    4. Uploaded the new zip file to my server and decompressed it server side.
    5. Ran upgrade.php... all was well.
    Hope this helps.

Topic Closed

This topic has been closed to new replies.

About this Topic