• Resolved uwi

    (@uwi)


    Hi.

    there seem to be a few PHP7-Compatibility-Problems in this plugin. Any hints for this?

    FILE: …/wp-content/plugins/stopbadbots/stopbadbots.php
    ——————————————————————————————————————————————————-
    FOUND 1 ERROR AFFECTING 1 LINE
    ——————————————————————————————————————————————————-
    153 | ERROR | The behaviour of hexadecimal numeric strings was inconsistent prior to PHP 7 and support has been removed in PHP 7. Found: ‘0x3c62723e’
    ——————————————————————————————————————————————————-

    FILE: …/wp-content/plugins/stopbadbots/includes/list-tables/page.php
    —————————————————————————————————————————————
    FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
    —————————————————————————————————————————————
    1 | WARNING | File has mixed line endings; this may cause incorrect results
    —————————————————————————————————————————————

    FILE: …/wp-content/plugins/stopbadbots/includes/list-tables/class-sbb-list-table.php
    ——————————————————————————————————————————————————-
    FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
    ——————————————————————————————————————————————————-
    1 | WARNING | File has mixed line endings; this may cause incorrect results

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Bill Minozzi

    (@sminozzi)

    Hi,
    Please, let me know what tool did you use to get this report.
    Cheers,
    Bill

    Thread Starter uwi

    (@uwi)

    Hi,

    this one:

    PHP Compatibility Checker
    By WP Engine

    Regards
    uwi

    Plugin Author Bill Minozzi

    (@sminozzi)

    Hi Uwi,

    I will check that and let you know tomorrow.

    Cheers,

    Bill

    Plugin Author Bill Minozzi

    (@sminozzi)

    Hi Uwi,

    Our plugin works fine with PHP 7.2.

    I just uploaded the version 5.40 where, just in case, i fixed the mix (linux and windows) end of line and left only linux end of line.

    The string it is reporting (‘0x3c62723e’) is a false positive. Our firewall uses that string as a pattern, not as a numeric hex string. The pattern is used to check if the string is included in any bad requests.

    Cheers,

    Bill

    • This reply was modified 5 years, 11 months ago by Bill Minozzi.
    Thread Starter uwi

    (@uwi)

    Perfect, thanks for fast reply!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘PHP7-Compatibility-Problems’ is closed to new replies.