Suddenly requiring FTP for plugin updates
-
I’m running WordPress 5.7, self-hosted. All of a sudden whenever I try to update a plugin it asks me for FTP login information. Here’s what I’ve tried to remedy this:
* changed the
wp-contentdirectory permissions to 777
* addeddefine(‘FS_METHOD’, ‘direct’);towp-config.php
* changed thepluginsdirectory permissions and all plugins directories permissions under it to 777Nothing has worked. I’ve added the logging config to get some logs in a
debug.logfile, this what it says after I enter an FTP username and password:[28-Mar-2021 03:11:08 UTC] PHP Warning: ftp_mkdir(): Can't create directory: File exists in /home/canspice/wordpress/wp-admin/includes/class-wp-filesystem-ftpext.php on line 560…and when I did that on one plugin, it sat there and spun for a while. I reloaded the plugins page and it said it’d updated. I tried another plugin and that one came back with an error and now I’m in maintenance mode. 🙁
How do I get things back to the way they were?
The topic ‘Suddenly requiring FTP for plugin updates’ is closed to new replies.