Unable to locate wp-content directory

In version 4.1 I recently encountered an update (version and plugin) error where the installer was unable to locate the wp-content directory to complete the update.

Adding these lines of code to wp-config.php (completing the necessary information to match your credentials) bypassed the issue.

define( 'FTP_USER', 'username' );
define( 'FTP_PASS', 'password' );
define( 'FTP_HOST', 'ftp.example.org:21' );

Sourced here.

Leave a Reply

katherine as a flat graphic icon

About Me

I’m an African / Ojibwe First Nations Web Developer living in Winnipeg, Manitoba.

Visit the Tips and Blog to see what I’m working on.