ftp_mkdir(), ftp_fput(), ftp_chmod() errors
-
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 280This 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.
The topic ‘ftp_mkdir(), ftp_fput(), ftp_chmod() errors’ is closed to new replies.