Support » Theme: Hestia » ftp_fget() expects parameter 1 to be resource

  • After I updated my WordPress, I started receiving the following error:
    ftp_fget() expects parameter 1 to be resource

    It happens only when I enable WPForms, but with other themes the error is not raising, so it looks more a problem in theme than in the module.

Viewing 1 replies (of 1 total)
  • I found that adding following line to wp-config.php solves the problem:

    define(‘FS_METHOD’,’direct’);

    After update is done properly, you can delete previous line again. That line indicates to wp admin to try to find files in filesystem instead using FTP.

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.