WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] 3.2 Updated: "Cannot redeclare wp_timezone_supported()" (6 posts)

  1. fakelvis
    Member
    Posted 3 years ago #

    Hi,

    I've just updated four sites to WordPress 3.2 and one has failed.

    The site stayed in maintenance mode after the update, so I deleted the .maintenance file in the root folder and now get the following error:

    Fatal error: Cannot redeclare wp_timezone_supported() (previously declared in /wp-includes/functions.php:4018) in /wp-includes/deprecated.php on line 2617

    Is anyone able to help?

    (Please note, all four of my sites are on the same server and this is the only one that failed. All sites meet the PHP and MySQL version requirements.)

  2. mattyrob
    Member
    Posted 3 years ago #

    @fakelvis,

    That seems to me like an incomplete upgrade. If you can access the admin menus to a manual reinstall at Dashboard->Updates and then click on the blue Re-Install Now button.

    Otherwise it'll be a case of uploading the files manually via FTP software.

  3. Dion Hulse
    WordPress Dev
    Posted 3 years ago #

    Indeed this sounds like a failed update. MattyRob's suggestion of a manual update is the only way to fix this.

    You can find the instructions on how to update manually here: http://codex.wordpress.org/Updating_WordPress#Manual_Update

  4. fakelvis
    Member
    Posted 3 years ago #

    @MattyRob,

    Thanks for letting me know. I am unable to access anything from /wp-admin/ so will attempt a manual update using the guide here: http://codex.wordpress.org/Updating_WordPress#Manual_Update

    I'll come back and post an update if this worked.

  5. fakelvis
    Member
    Posted 3 years ago #

    @MattyRob & @Dion Hulse,

    It worked perfectly. Thank you very much for your help. It's really appreciated.

  6. aaronhall
    Member
    Posted 3 years ago #

    Although re-uploading a fresh copy of WordPress fixed this problem, it keeps re-occuring. Every few days my sites display an errors like these:

    Fatal error: Cannot redeclare wp_timezone_supported() (previously declared in /home/adh1/public_html/lawstudent.tv/wp-includes/functions.php:3891) in /home/adh1/public_html/lawstudent.tv/wp-includes/deprecated.php on line 2617

    Fatal error: Call to undefined function require_wp_db() in /home/adh1/public_html/electronicdiscovery.info/wp-settings.php on line 75

    I keep re-uploading a fresh copy, the blog works properly for a few days, and then I get these errors again.

    Any suggestions?

Topic Closed

This topic has been closed to new replies.

About this Topic