Use of undefined constant FS_CHMOD_FILE
-
Dear Support,
I have following messages in error log:
robime.it [Wed Nov 03 19:16:42.364303 2021] [php7:warn] [pid 412] [client 172.70.34.214:45424] 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 /data/c/b/cb70c92a-4223-4bdc-bdff-9445dc18a7ad/XXXXX/web/wp-admin/includes/class-wp-filesystem-direct.php on line 164robime.it [Wed Nov 03 19:16:42.364328 2021] [php7:warn] [pid 412] [client 172.70.34.214:45424] PHP Warning: chmod() expects parameter 2 to be int, string given in /data/c/b/cb70c92a-4223-4bdc-bdff-9445dc18a7ad/XXXX/web/wp-admin/includes/class-wp-filesystem-direct.php on line 173
How can I fix this warnings?
The page I need help with: [log in to see the link]
- The topic ‘Use of undefined constant FS_CHMOD_FILE’ is closed to new replies.