• Resolved dimal

    (@dimalifragis)


    Wordpress 5.8.3 and PHP 7.4.x

    [22-Jan-2022 14:37:53 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 /home/wp-admin/includes/class-wp-filesystem-direct.php on line 164

    [22-Jan-2022 14:37:53 UTC] PHP Warning: chmod() expects parameter 2 to be int, string given in /home/wp-admin/includes/class-wp-filesystem-direct.php on line 173

    Those came up during the install/setup, i don’t see them afterwards.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter dimal

    (@dimalifragis)

    There are also DB warnings while deactivating the plugin about cache tables that do not exist.

    Is this plugin compatible with WP 5.8.3 and PHP 7.4.x ?

    Same here (WP5.8.3, PHP8.0):

    2022/01/29 13:39:54 [error] 1071#1071: *1338588 FastCGI sent in stderr: "PHP message: PHP Fatal error:  Uncaught Error: Undefined constant "FS_CHMOD_FILE" in /home/xxx/www/dutchvacc/public/wp-admin/includes/class-wp-filesystem-direct.php:164
    Stack trace:
    #0 /home/xxx/www/dutchvacc/public/wp-admin/includes/class-wp-filesystem-direct.php(86): WP_Filesystem_Direct->chmod()
    #1 /home/xxx/www/dutchvacc/public/wp-content/plugins/fast-velocity-minify/inc/common.php(472): WP_Filesystem_Direct->put_contents()
    #2 /home/xxx/www/dutchvacc/public/wp-content/plugins/fast-velocity-minify/inc/frontend.php(279): fvm_generate_min_url()
    Plugin Author Raul P.

    (@alignak)

    This doesn’t happen on a default WP 5.9 / PHP 8 setup, at least not on my servers, but I just added some changes to try and avoid this. Please update. Thanks

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Warrnings with the plugin’ is closed to new replies.