• Resolved pvenzara

    (@pvenzara)


    When I try to update in WordPress GUI, all updates end with error “Update failed: -1”. Then it turns the maintenance mode and the website is for 10 minutes unavailable.

    I cannot install or update anything – plugins nor WordPress as itself.

    The only way how to install or update is via FTP which really sucks…

    Thank you for your advice.

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Anonymous User 9588789

    (@anonymized-9588789)

    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 2 years, 11 months ago by Anonymous User 9588789.
    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/

    Thread Starter pvenzara

    (@pvenzara)

    @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!

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘All updates end with error “Update failed: -1”’ is closed to new replies.