Plugin updates and new installations fail “-1” in error message
-
I am trying to solve an issue with plugins. All of them suddenly will not update and new installations fail. The only error message given on both updates and installation is -1. For example “Update failed -1” and “Installation failed -1”. I have checked the wp-config file and it was missing the “define(‘WP_TEMP_DIR’, dirname(FILE) . ‘/wp-content/temp/’);” so I added it along with a “temp folder” in wp-content. That did not solve the issue. When plugin updates fail it puts the website into maintenance mode, which then I have to go and delete the maintenance file in file manager to get it out of that mode. If anyone knows what to try, I would appreciate it. Thanks.
- The topic ‘Plugin updates and new installations fail “-1” in error message’ is closed to new replies.