• Resolved itsthluz

    (@itsthluz)


    Hello

    Does anybody know if Comet Cache Version 170220 is compatible with PHP 7.4?
    I did the check with the PHP Compatibility Checker an it returned warnings and errors:

    FILE: /var/www/html/wordpress/wp-content/plugins/comet-cache/plugin.php
    ———————————————————————————————————-
    FOUND 0 ERRORS AND 3 WARNINGS AFFECTING 3 LINES
    ———————————————————————————————————-
    27 | WARNING | Function create_function() is deprecated since PHP 7.2; Use an anonymous function instead
    53 | WARNING | Function create_function() is deprecated since PHP 7.2; Use an anonymous function instead
    77 | WARNING | Function create_function() is deprecated since PHP 7.2; Use an anonymous function instead
    ———————————————————————————————————-

    FILE: /var/www/html/wordpress/wp-content/plugins/comet-cache/src/vendor/websharks/wp-php-rv/src/includes/functions/notices.php
    ——————————————————————————————————————————
    FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
    ——————————————————————————————————————————
    198 | WARNING | Function create_function() is deprecated since PHP 7.2; Use an anonymous function instead
    ——————————————————————————————————————————

    FILE: /var/www/html/wordpress/wp-content/plugins/comet-cache/src/includes/traits/Shared/FsUtils.php
    ———————————————————————————————————-
    FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
    ———————————————————————————————————-
    33 | WARNING | Function create_function() is deprecated since PHP 7.2; Use an anonymous function instead
    ———————————————————————————————————-

    FILE: /var/www/html/wordpress/wp-content/plugins/comet-cache/src/includes/traits/Shared/HookUtils.php
    ———————————————————————————————————————————————————————————————————————————————
    FOUND 4 ERRORS AFFECTING 4 LINES
    ———————————————————————————————————————————————————————————————————————————————
    188 | ERROR | Since PHP 7.0, functions inspecting arguments, like func_get_args(), no longer report the original value as passed to a parameter, but will instead provide the current value. The parameter “$hook” was changed on line 183.
    219 | ERROR | Since PHP 7.0, functions inspecting arguments, like func_get_args(), no longer report the original value as passed to a parameter, but will instead provide the current value. The parameter “$hook” was changed on line 214.
    246 | ERROR | Since PHP 7.0, functions inspecting arguments, like func_get_args(), no longer report the original value as passed to a parameter, but will instead provide the current value. The parameter “$hook” was changed on line 245.
    269 | ERROR | Since PHP 7.0, functions inspecting arguments, like func_get_args(), no longer report the original value as passed to a parameter, but will instead provide the current value. The parameter “$hook” was changed on line 268.
    ———————————————————————————————————————————————-
    Thanks in advance

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi @itsthluz,

    We have our site running on PHP 7.4 with this plugin, and everything works as it should.

    Hope this helps?

    Kind Regards,

    Andy

    Thread Starter itsthluz

    (@itsthluz)

    Hello Andrew1977

    Thank you for your reply.
    That was the information that I am looking for.

    Regards itsthluz

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Comet Cache and PHP 7.4 Compatibility’ is closed to new replies.