• Resolved lorelore

    (@lorelore)


    Hi,
    I get these warnings with Otter plugin on page template :

    Warning: ftp_pwd() expects parameter 1 to be resource, null given in /mypath/wp-admin/includes/class-wp-filesystem-ftpext.php on line 230

    Warning: ftp_pwd() expects parameter 1 to be resource, null given in /mypath/wp-admin/includes/class-wp-filesystem-ftpext.php on line 230

    Warning: Use of undefined constant FS_CHMOD_FILE – assumed ‘FS_CHMOD_FILE’ (this will throw an Error in a future version of PHP) in /mypath/wp-content/plugins/otter-blocks/packages/codeinwp/gutenberg-blocks/inc/css/class-css-handler.php on line 240

    Warning: ftp_fput() expects parameter 1 to be resource, null given in /mypath/wp-admin/includes/class-wp-filesystem-ftpext.php on line 212

    Warning: ftp_chmod() expects parameter 1 to be resource, null given in /mypath/wp-admin/includes/class-wp-filesystem-ftpext.php on line 288

    I use the Neve theme but the error persists when changing to an other theme.
    They go away when disabling Otter. If I disable all pulgins but leave Otter active the errors persist.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Mat

    (@mateithemeisle)

    Hello @lorelore,

    Thank you for using Otter and for reaching out!

    Can you please share the website URL so we can troubleshoot further? These warnings are related to a constant that is defined but never used by you thus PHP is showing this message. It is nothing to worry about but we would still like to check it.

    Thank you!

    Mat

    (@mateithemeisle)

    Hello @lorelore,

    I have taken the liberty to search these warnings further and found this thread that could be helpful . There is a way described there that could help in getting rid of the warnings but it might not be the best approach.

    Please take a look and see if it fixes your issue!

    Thank you and have an amazing day!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Warning: ftp_chmod’ is closed to new replies.