All updates end with error “Update failed: -1”

[ad_1]

AB

(@anthonybartoli)

Hello,

The cause of the error is likely in your PHP error log. The location of this file is set in the the php.ini file for the error_log directive. Ask your web host where to find this information if this doesn’t make sense.

In addition – ideally in a development environment – in wp-config.php, add:

define( 'WP_DEBUG', true );

And then re-do the update.

You can do it on your production site as well but don’t leave it like that because the error messages will be visible to the public.

  • This reply was modified 14 minutes ago by AB.

lisa

(@contentiskey)

Are you using Astra theme and Starter Templates Plugin? If yes, try this article: https://wpastra.com/docs/resolve-update-failed-1-issue/

@anthonybartoli Thanks for your comment. Ive tried this but the log did not contain any valuable information 🙁

@contentiskey Ah, dang! Many thanks! It is working! I do not truly believe it!!! :O I am your debtor!

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer