Warning: Use of undefined constant HTTP_USER_AGENT - assumed 'HTTP_USER_AGENT' (this will throw an Error in a future version of PHP) in /var/www/html/linuxbyimraan.co.za/wp-content/themes/voice-blog/header.php on line 1
Wordpress FTP error – LinuxByImraan

WordPress FTP error

So I ran into an issue trying to install a new theme. Upon selecting install, I a page popped up asking me to enter my FTP credentials. Weird, I cant remember setting any credentials. Anyway, I managed to fix the issue by adding the following line to my “wp-config.php” file:

define(‘FS_METHOD’, ‘direct’);

No token or token has expired.

Leave a Reply

Your email address will not be published. Required fields are marked *