FS_CHMOD_FILE conflict
-
Hello! Asking for your help for the following warning I’m getting:
Warning: Use of undefined constant FS_CHMOD_FILE – assumed ‘FS_CHMOD_FILE’ (this will throw an Error in a future version of PHP) in /wp-content/plugins/generateblocks/includes/class-enqueue-css.php on line 201
Which also triggers:
Warning: ftp_fput() expects parameter 1 to be resource, null given in /code/wp-admin/includes/class-wp-filesystem-ftpext.php on line 212
Warning: ftp_chmod() expects parameter 1 to be resource, null given in /code/wp-admin/includes/class-wp-filesystem-ftpext.php on line 288
I’m guessing that this is trying to connect via FTP to something. Currently I’m using Pantheon, and they disable any FTP interaction when in GIT mode, so I was wondering if that can be taken into consideration for following versions, or if there’s any workaround to fix this, since this notice this will throw an Error in a future version of PHP will occur into an error later.
The topic ‘FS_CHMOD_FILE conflict’ is closed to new replies.
