Support » Fixing WordPress » Tried to upgrade to 4.0 — now site is offline

  • I was notified via the Updates section of my WordPress site that 4.0 was available and that I could upgrade to it. “Yay,” I said, and clicked “update”.

    I got a message saying that the update had failed, and when I tried to click elsewhere on the menu, the whole site was offline. Nothing would come up at all. I couldn’t get the site to display, nor my login page. At the suggestion of my hosting side, mddhosting, I edited .htaccess so I could see the error messages. Here’s what I’m getting:

    “Fatal error: Cannot redeclare get_all_category_ids() (previously declared in /home/furrsorg/public_html/wp-includes/category.php:17) in /home/furrsorg/public_html/wp-includes/deprecated.php on line 1330”

    Anyone know what I need to do? I’m at a loss.

Viewing 6 replies - 1 through 6 (of 6 total)
  • Hi jayfurr,

    Sorry to hear about your troubles. Let me assure you that most if not all of us have been in similar shoes. Though sure what’s going on. Hopefully you made a backup of your site before you clicked the “update” button. If not, do be sure to backup next time. Then worst case is simply the drudgery of doing a restore.

    As for this time, see if you can SSH or SFTP into your site and then delete all non-default plugins and themes. Of course do be sure to back them up first. 🙂

    Once WordPress is in as default a state as possible, then see if you can get to the front end of your site.

    Hope this helps,

    Randy

    P.S., I too am able to reproduce your bug using Mac Firefox 32.0.3.

    Steps to reproduce:
    1. Go to http://furrs.org
    –> bug

    Expected to land on homepage.

    Instead, got the following error message:

    “Fatal error: Cannot redeclare get_all_category_ids() (previously declared in /home/furrsorg/public_html/wp-includes/category.php:17) in /home/furrsorg/public_html/wp-includes/deprecated.php on line 1330”

    Reproducible? Always

    Occurs:
    – Mac Firefox 32.0.3
    – Mac Chrome 38.0.2125.101

    Here’s what a programmer friend of mine said about your error message:

    “A function moved from category.php to deprecated.php (became deprecated) and during that particular load cycle it found the function in BOTH places and complained. Might have been an FTP process that didn’t complete.

    “If he continues to receive the error, re-upload WordPress core.”

    “A function moved from category.php to deprecated.php (became deprecated) and during that particular load cycle it found the function in BOTH places and complained. Might have been an FTP process that didn’t complete.

    “If he continues to receive the error, re-upload WordPress core.”

    After some research i find the same result.

    This function has been deprecated. That means it has been replaced by a new function or is no longer supported, and may be removed from future versions. All code that uses this function should be converted to use its replacement if one exists.

    Looks like you need to re-upload wordpress. I would (And have) downloaded the full installer and re-uploaded it to my webhost and my site came back online after the upload finnished. (Always back up 😉

    peronismomilitante

    (@peronismomilitante)

    We’ve recently did the automatic wordpress update and now my website is down!!!

    Fatal error: Cannot redeclare get_all_category_ids() (previously declared in /home/peronism/public_html/wp-includes/category.php:17) in /home/peronism/public_html/wp-includes/deprecated.php on line 1330

    Can you please help me to fix it?

    Regards

    I am getting exactly the same error here also

    Fatal error: Cannot redeclare get_all_category_ids() (previously declared in

    Any ideas?

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Tried to upgrade to 4.0 — now site is offline’ is closed to new replies.