Connect with us

Fixing Fatal error Cannot redeclare url_shorten()

solution

Fixing Fatal error Cannot redeclare url_shorten()

Are you getting “Fatal error: Cannot redeclare url_shorten()” error on your WordPress site? Don’t panic, you are at the right place where you can find an easy solution for your WordPress Error. This Fatal error cannot redeclare WordPress error is one of the common errors in WordPress.

Fixing of Fatal error: Cannot redeclare url_shorten() is an easy task for the regular users of WordPress. But it is difficult for the WordPress Beginners. Here we provide the easy ways to fix this WordPress Fatal Error on your WordPress site. Have a look at the article and resolve Cannot redeclare WordPress Fatal Error in your site.

Resolving Fatal error: Cannot redeclare url_shorten() in WordPress

Generally, WordPress users update their WordPress for getting more features. With those advanced features, your site can look nice and grabs the attention from the people. If you are facing Fatal error: Cannot redeclare url_shorten() error means your WordPress update is failed.

Do you want to resolve this Fatal error cannot redeclare WordPress error? Here is the step by step process for you. Take a look at this and know how to fix WordPress Fatal error: Cannot redeclare url_shorten() easily.

Why Fatal error Cannot redeclare url_shorten() Error arise?

First, you need to know the reason for the occurrence of “Fatal error cannot redeclare WordPress” Error. If the auto update of WordPress or WordPress manual update is failed, then this Fatal Error will arise.

How to Resolve WordPress Fatal error: Cannot redeclare url_shorten()

For resolving this Fatal error: Cannot redeclare url_shorten() error, you have to update WordPress manually. Manual WordPress update is not an easy task. The step by step process for WordPress update manually is provided here. Take a look at it and learn how to update WordPress version manually.

READ  Responsive Restaurant WordPress Themes

Manual WordPress update through cPanel

  • First, download the latest version of WordPress zip file.
  • Next, unzip the downloaded WordPress file.
  • Delete the “wp-content” folder from the extracted file.
  • Next, zip the WordPress file.
  • Login to your cPanel account.
  • Next, open File Manager from the File section.
  • Now, a new page will appear on the screen.
  • Click on the Upload icon.
  • Now, A new window will appear on the screen.
  • Click on the browse button.
  • Now, select the WordPress zipped file.
  • After the upload completed, close the Upload files tab.
  • Now, open the file manager window.
  • Next, click on the Reload button.
  • Search for the uploaded WordPress zip file.
  • Select the uploaded WordPress zip file.
  • Click on the extract icon.
  • A popup window appears on the screen.
  • Next, click on the Extract File(s) button.
  • Now, the extracted folder appears on the Screen.
  • Open the extracted WordPress folder.
  • Click on the select all from the extracted folder.
  • Next, click on the move file icon.
  • A new move window will display on the screen.
  • The current path is available at the bottom of the window.
  • Delete the name of the folder from the displayed path. Now, your files will be moved to the public_html root directory.
  • Click on the Move File(s) Button.
  • Click on the Up One Level button.
  • Now, the new version WordPress files are moved successfully to the root directory.
  • Moving the files to your root directory will automatically replace the existing WordPress version files.
  • Now, the WordPress is upgraded.
  • Next, select the uploaded file of WordPress zip and extracted WordPress file.
  • Next, click on the Delete icon.
  • A new Delete window appears on the screen.
  • Click on Delete File(s) button from that window.
  • After the files deleted, Logout from your cPanel account.
  • Now, you have to Login to your admin area of WordPress.
  • After you Login, the database update required message appears on the Screen.
  • Click on the Update WordPress Database button from that message.
  • Next, click on “Continue” to proceed the WordPress update.
  • Finally, your WordPress upgrade has been successfully completed. Now, your WordPress site can work properly without any fatal error.
READ  Adding Signature or Ads after Content in WordPress Post

Manual WordPress update through FTP

  • First, you have to download the latest version of WordPress zip file.
  • Unzip the downloaded WordPress file.
  • Now, Access your WordPress site through FTP.
  • Next, keep a backup file of your WordPress.
  • Rename the wp-admin and wp-includes directories to wp-admin.back and wp-includes.back.
  • Now, upload new wp-admin and wp-includes folders to your root directory.
  • Next, upload new wp-content files to existing wp-content folder. Be careful when overwriting the files. Don’t delete any other files in the wp-content folder.
  • Upload a new version of the rest of files to your root directory.
  • Delete .maintenance file from WordPress directory.
  • Now, Login to your WordPress admin area.
  • Navigate to this http://domain.com/wordpress/wp-admin/upgrade.php link.
  • When your caching enabled, you have to clear that cache data to see the changes.
  • Finally, your WordPress site can work properly without any Fatal Error.

By following any of the above processes, you can easily update your WordPress version manually to resolve “Fatal error: Cannot redeclare url_shorten()” Error in your site.

Hope we think this article put an end point for your browsing on the internet. Now, you know how to resolve “Fatal error cannot redeclare WordPress” Error. If you face any other WordPress Fatal Error, just visit our site and get a quick solution for your problem. Stay connected with us for getting the best guidance on WordPress.

Continue Reading
You may also like...

We are a WordPress plugin developer company that focuses on useful WordPress plugin creation and empowering people to earn passive incomes from their blogs. We build unique and groundbreaking plugins that will revolutionize your blog!

Click to comment

Leave a Reply

Your email address will not be published. Required fields are marked *

More in solution

    Sign up for our newsletter and get a free affiliate e-book!


    About Me:

    Szabi Kisded

    Hi, my name is Szabi and I'm documenting my journey selling plugins on CodeCanyon. I will show you every step of it: learning to code, plugin ideas, WordPress stuff and more. Read more…

    Mega Plugin Bundle:

    CodeCanyon Portfolio:

    Learn to Code Plugins:

    Latest Promotions:

    Recommended Theme:

    Start Your Own Blog:

    Recommended VPN Service:

    Translate Your Blog:

    AdSense Alternative:

    Best Article Spinner:

    Popular Posts:

    Latest Posts:

    To Top

    Privacy Preference Center

        Necessary

        Advertising

        Analytics

        Other