• I was sent an email a few days ago indicating that WordPress had automatically updated to version 4.3.2.

    Today I logged into my WP site to make some changes and decided to update to version 4.4.1.

    The update did not complete successfully, and now when I try to log in as admin I get the following message:

    “Fatal error: Cannot redeclare url_shorten() (previously declared in /home/josh/public_html/wordpress/wp-includes/formatting.php:4796) in /home/josh/public_html/wordpress/wp-admin/includes/misc.php on line 267”

    Judging by the previous forum posts with this error, the fix might be well beyond my ability. Any suggestions?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Moderator James Huff

    (@macmanx)

    Try downloading WordPress again, access your server via SFTP or FTP, or a file manager in your hosting account’s control panel, and delete then replace your copies of everything on the server except the wp-config.php file and the /wp-content/ directory with fresh copies from the download. This will effectively replace all of your core files without damaging your content and settings.

    Some uploaders tend to be unreliable when overwriting files, so don’t forget to delete the original files before replacing them.

    Thread Starter jgellers

    (@jgellers)

    Thank you for the recommended fix. I will try this and let you know if I experience further issues.

    Moderator James Huff

    (@macmanx)

    You’re welcome!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Fatal error: Cannot redeclare url_shorten()’ is closed to new replies.