• Resolved rbowen

    (@rbowen)


    I’m running UAG under php-fpm, and am getting the following warnings in the php-fpm error log:

    [17-Feb-2020 20:02:31 UTC] PHP Warning: ftp_mkdir() expects parameter 1 to be resource, null given in /var/www/vhosts/domain.org/wp-admin/includes/class-wp-filesystem-ftpext.php on line 539
    [17-Feb-2020 20:02:31 UTC] PHP Warning: Use of undefined constant FS_CHMOD_FILE – assumed ‘FS_CHMOD_FILE’ (this will throw an Error in a future version of PHP) in /var/www/vhosts/domain.org/wp-content/plugins/ultimate-addons-for-gutenberg/classes/class-uagb-helper.php on line 1400
    [17-Feb-2020 20:02:31 UTC] PHP Warning: ftp_fput() expects parameter 1 to be resource, null given in /var/www/vhosts/domain.org/wp-admin/includes/class-wp-filesystem-ftpext.php on line 208
    [17-Feb-2020 20:02:31 UTC] PHP Warning: ftp_chmod() expects parameter 1 to be resource, null given in /var/www/vhosts/domain.org/wp-admin/includes/class-wp-filesystem-ftpext.php on line 280

    This is running under PHP 7.2.11 on CentOS 8

    These are warnings, not errors, so it’s not critical, but probably something that y’all want to fix for future versions.

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Support Team Brainstorm Force

    (@brainstormteam)

    Hello @rbowen,

    Thank you so much for reporting this. We are thankful for your patience and readiness to help us fix things that we come across.

    I have asked our concerned developers. They are looking into it. We’ll surely fix this issue in our future updates.

    We really appreciate your patience.

    Regards,
    Sweta

    I also have this issue, but it breaks the plugin for me so it’s not really a non-critical issue. If it’s trying to write files to the server my hosting provider does not allow plugins to do that.

    Plugin Support Team Brainstorm Force

    (@brainstormteam)

    Hello @breichard,

    Could you please open a ticket with us using our Support Portal so that we can have a closer look?

    Regards,
    Sweta

    Plugin Support Team Brainstorm Force

    (@brainstormteam)

    Hello @breichard @rbowen,

    We have fixed this issue in our previous update ie ver 1.14.8.

    I suggest you update the plugin to the latest version and check it out.

    Regards,
    Rajkiran

    Thread Starter rbowen

    (@rbowen)

    Excellent. Thanks, folks, for your attention to detail here.

    I still have the issue…

    Warning: ftp_mkdir() expects parameter 1 to be resource, null given in /srv/bindings/4cc13316c5e94554b04c84f75e3388e0/code/wp-admin/includes/class-wp-filesystem-ftpext.php on line 539 Warning: ftp_fput() expects parameter 1 to be resource, null given in /srv/bindings/4cc13316c5e94554b04c84f75e3388e0/code/wp-admin/includes/class-wp-filesystem-ftpext.php on line 208 Warning: ftp_chmod() expects parameter 1 to be resource, null given in /srv/bindings/4cc13316c5e94554b04c84f75e3388e0/code/wp-admin/includes/class-wp-filesystem-ftpext.php on line 280 Warning: ftp_fput() expects parameter 1 to be resource, null given in /srv/bindings/4cc13316c5e94554b04c84f75e3388e0/code/wp-admin/includes/class-wp-filesystem-ftpext.php on line 208 Warning: ftp_nlist() expects parameter 1 to be resource, null given in /srv/bindings/4cc13316c5e94554b04c84f75e3388e0/code/wp-admin/includes/class-wp-filesystem-ftpext.php on line 402 Warning: ftp_pwd() expects parameter 1 to be resource, null given in /srv/bindings/4cc13316c5e94554b04c84f75e3388e0/code/wp-admin/includes/class-wp-filesystem-ftpext.php on line 226 Warning: ftp_pwd() expects parameter 1 to be resource, null given in /srv/bindings/4cc13316c5e94554b04c84f75e3388e0/code/wp-admin/includes/class-wp-filesystem-ftpext.php on line 226 Warning: ftp_pwd() expects parameter 1 to be resource, null given in /srv/bindings/4cc13316c5e94554b04c84f75e3388e0/code/wp-admin/includes/class-wp-filesystem-ftpext.php on line 226

    Plugin Support Team Brainstorm Force

    (@brainstormteam)

    Hello @breichard,

    Could you please open a ticket with us from here, so that we can have a closer look?

    Looking forward to resolving your issue.

    Regards,
    Rajkiran

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘ftp_mkdir(), ftp_fput(), ftp_chmod() errors’ is closed to new replies.