• Resolved mrioux

    (@mrioux)


    Ran a compatibility checker and wanted to know if these are false positives.

    FILE: /var/www/html/wp-content/plugins/wordfence/vendor/wordfence/wf-waf/src/lib/utils.php
    ———————————————————————————————————————————————————
    FOUND 7 ERRORS AND 2 WARNINGS AFFECTING 7 LINES
    ———————————————————————————————————————————————————
    293 | ERROR | Extension ‘mcrypt’ is deprecated since PHP 7.1 and removed since PHP 7.2; Use openssl (preferred) or pecl/mcrypt once available instead
    293 | ERROR | Function mcrypt_create_iv() is deprecated since PHP 7.1 and removed since PHP 7.2; Use random_bytes() or OpenSSL instead
    293 | ERROR | The constant “MCRYPT_DEV_URANDOM” is deprecated since PHP 7.1 and removed since PHP 7.2
    347 | WARNING | INI directive ‘magic_quotes_sybase’ is deprecated since PHP 5.3 and removed since PHP 5.4
    404 | WARNING | INI directive ‘mbstring.func_overload’ is deprecated since PHP 7.2
    842 | ERROR | Global variable ‘$HTTP_RAW_POST_DATA’ is deprecated since PHP 5.6 and removed since PHP 7.0; Use php://input instead
    843 | ERROR | Global variable ‘$HTTP_RAW_POST_DATA’ is deprecated since PHP 5.6 and removed since PHP 7.0; Use php://input instead
    861 | ERROR | Global variable ‘$HTTP_RAW_POST_DATA’ is deprecated since PHP 5.6 and removed since PHP 7.0; Use php://input instead
    865 | ERROR | Global variable ‘$HTTP_RAW_POST_DATA’ is deprecated since PHP 5.6 and removed since PHP 7.0; Use php://input instead
    ———————————————————————————————————————————————————

    FILE: /var/www/html/wp-content/plugins/wordfence/lib/wfUtils.php
    ————————————————————————————-
    FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
    ————————————————————————————-
    2211 | WARNING | INI directive ‘mbstring.func_overload’ is deprecated since PHP 7.2
    ————————————————————————————-

    FILE: /var/www/html/wp-content/plugins/wordfence/lib/wfConfig.php
    ————————————————————————————————————
    FOUND 1 ERROR AFFECTING 1 LINE
    ————————————————————————————————————
    675 | ERROR | Extension ‘mysql_’ is deprecated since PHP 5.5 and removed since PHP 7.0; Use mysqli instead
    ————————————————————————————————————

Viewing 1 replies (of 1 total)
  • We already test against that version and are compatible. We have code that’s specifically included for backwards compatibility that runs only on old PHP versions, and the compatibility checker flags it as not compatible with 7.1 or 7.2. because of that.

    Tim

Viewing 1 replies (of 1 total)
  • The topic ‘WordFence support php 7.2?’ is closed to new replies.