• Resolved itmonitor

    (@itmonitor)


    Hello,

    I ran a scan to check the plugin compatibility with PHP 7.2. Below you have the results. Hope to have helped.

    Rgs

    IM

    FILE: /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: /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:/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
    ———————————————————————————————————-

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hey, I was about to start a similar thread.

    Can you please see if the plugin is fully compatible and works properly in both PHP 7.1 & 7.2?

    Also, I see that the premium version hasn’t been updated for a long time.
    So, are there any updates/new features coming?

    Thanks!

    Yes, Comet Cache is fully compatible with and tested on PHP 7, 7.1, and 7.2. The reports you’re seeing are false-positives generated by the plugin you’re testing with. Please see https://ww.wp.xz.cn/support/topic/false-positive-comet-cache/

    Comet Cache isn’t alone there either, just check the support forum for that plugin. You’ll see that the PHP Compatibility Tester plugin generates a lot of false positives for other plugins too.

    We’ve fallen behind on updates a bit but we’re working to put out a new release very soon. 🙂 You can follow progress on the GitHub repo: https://github.com/websharks/comet-cache/issues

    I should also note that we have an existing GitHub issue open specifically for updating the deprecated create_function() method for PHP 7.2: https://github.com/websharks/comet-cache/issues/921

    However, the use of that deprecated function does not affect the function of Comet Cache itself, as create_function() is still available in PHP 7.2 and as a result Comet Cache still works fine with PHP 7.2. In any case, we will be updating this so that these warnings are not produced and so that Comet Cache will be compatible with PHP 7.3+

    Thanks for the reply and sorry for the late response.

    Is there an ETA for the new version and will the pro version be updated too?

    Can you share any new upcoming features?

    Thanks!

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Comet Cache deprecated code PHP 7.2’ is closed to new replies.