WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Fatal error: Cannot redeclare sticky_class after Upgrade 3.5 (14 posts)

  1. SusieQ trips
    Member
    Posted 1 year ago #

    Hello,

    I just did a upgrade of one of my website (wales.susieqtipsandtrips.com) to WordPress 3.5 and now this website is not running anymore due to a HTTP-500 error.

    In the error log I found this:
    FastCGI: server "/usr/local/php54/bin/php-cgi" stderr: PHP message: PHP Fatal error: Cannot redeclare sticky_class() (previously declared in /sites/susieqtipsandtrips.com/wales/wp-includes/post-template.php:584) in /sites/susieqtipsandtrips.com/wales/wp-includes/deprecated.php on line 3192.

    Does this mean I have to change something in the deprecated.php file, line 3192? And into what exactly? Or do I have to change templates (Mantra into Twenty Eleven) or delete/deactivate some plugins?

    Thanks for you help!

    Please note I'm not a programmer, so please keep it simple!

  2. keesiemeijer
    moderator
    Posted 1 year ago #

    Can you log in?

  3. SusieQ trips
    Member
    Posted 1 year ago #

    No, not via the /wp-admin page.

    Can I change someting little on the deprecated.php file and place it back with my FTP-program? Or should I replace WordPress files:
    http://codex.wordpress.org/Updating_WordPress#Manual_Update

    Or do you have a better and more simple suggestion?

    Thanks for your help!

  4. keesiemeijer
    moderator
    Posted 1 year ago #

    Yes, I would do a manual update, but first try:

    - resetting the plugins folder by using FTP or whatever file management application your host provides. Sometimes, an apparently inactive plugin can still cause problems.

    - switching to the default theme by renaming your current theme's folder in wp-content/themes using FTP or whatever file management application your host provides.

  5. SusieQ trips
    Member
    Posted 1 year ago #

    - When I deactivate the plugins beremaing the file into plugins.hold
    I can't go to the /wp-admin page because the following error appears:

    W3 Total Cache Error: some files appear to be missing or out of place. Please re-install plugin or remove /sites/susieqtipsandtrips.com/wales/wp-content/advanced-cache.php.

    - switching the default theme in FTP, how do I do that? Rename the Mantra-theme name into any name or just the delete it? I uploaded the latest version of Twentyeleven already to the /wales/wp-content/themes file

    It looks like I'm going to have to do a manual update, right?

  6. SusieQ trips
    Member
    Posted 1 year ago #

    Just wondering: should I delete or empty the /wales/wp-content/upgrade/wordpress-3.tmp file when doing a manual udate?

    The file is still loaded with all of the files.

  7. SusieQ trips
    Member
    Posted 1 year ago #

    Well, case closed!! Manually installing the new files helped!

    http://codex.wordpress.org/Updating_WordPress#Manual_Update

    The website is running again, pfff...

  8. keesiemeijer
    moderator
    Posted 1 year ago #

    Rename the Mantra-theme name into any name, this will make WordPress use the (new) default theme Twenty Twelve.

    To disable W3 Total Cache see: http://wordpress.org/support/topic/plugin-w3-total-cache-how-to-uninstall-with-no-admin-panel?replies=57

    It looks like I'm going to have to do a manual update, right?

    Yes it does.

    [edit] Too late. Im glad you got it resolved

  9. SusieQ trips
    Member
    Posted 1 year ago #

    Thanks anyway Keesie!

  10. bluemandp
    Member
    Posted 1 year ago #

    I had to manually re-install wordpress and it seemed to make all of the errors disappear. This sucked a lot because I use infinitewp to run all my site updates, and one click of the button caused a lot of sites to go down. But I'm glad to have them up and running again.

  11. judyguada
    Member
    Posted 1 year ago #

    please help. i'm having the same error:

    Fatal error: Cannot redeclare sticky_class() (previously declared in D:\Hosting\2341669\html\blog\wp-includes\post-template.php:584) in D:\Hosting\2341669\html\blog\wp-includes\deprecated.php on line 3192

    but i still cant access anything when i rename the plugin folder to plugin.hold

    help!! :(

  12. judyguada
    Member
    Posted 1 year ago #

    Well, case closed!! Manually installing the new files helped!

    when you did this, were your blog entries saved? I didn't back up my blog so i'm nervous to do the manual install and loose whatever may be there. Would love any advise here :\

  13. SusieQ trips
    Member
    Posted 1 year ago #

    @judyguada I didn't save anything (which is risky and I'm not going to advise you to do the same), because I didn't have to delete the content folder when doing the manual update. Good luck!

  14. brandingthinking
    Member
    Posted 1 year ago #

    tonite my own site ( move from free) to host, founded in my web :
    http://www.kaosmotorklasik.com as follow

    Fatal error: Cannot redeclare _verifyactivate_widget() (previously declared in /home/kaosmoto/public_html/wp-content/themes/neodymiumos/functions.php:39) in /home/kaosmoto/public_html/wp-content/themes/neodymiumos/includes/functions.php on line 522

    we are only selling t-shit and attending the event, not much knowing about script, php etc....any solution...???.

    would U like send to my mail : ziptshirt@yahoo.com

    thanks all, great from indonesia

Topic Closed

This topic has been closed to new replies.

About this Topic