Plugin updates and new installations fail “-1” in error message

[ad_1]

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.

 

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