• Hello,

    We are running WP 4.8.1 on PHP7.0 .
    We did a scan of this plugin using PHP Compatibility Checker, and found some possible incompatibilities, shown below.
    We have supplied these to you in case there is a problem.
    If these are a problem, and you know that this plugin is fully compatible with PHP7, then it would be helpful to add this plugin’s name to the PHP compatibility whitelist.

    Name: All In One WP Security

    FILE: /home/WebSiteName/public_html/wp-content/plugins/all-in-one-wp-security-and-firewall/lib/whois/whois.parser.php
    ——————————————————————————————————————
    FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
    ——————————————————————————————————————
    1 | WARNING | File has mixed line endings; this may cause incorrect results
    ——————————————————————————————————————

    FILE: /home/WebSiteName/public_html/wp-content/plugins/all-in-one-wp-security-and-firewall/lib/whois/whois.mobi.php
    —————————————————————————————————————-
    FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
    —————————————————————————————————————-
    1 | WARNING | File has mixed line endings; this may cause incorrect results
    —————————————————————————————————————-

    FILE: /home/WebSiteName/public_html/wp-content/plugins/all-in-one-wp-security-and-firewall/lib/whois/whois.nz.php
    ————————————————————————————————————–
    FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
    ————————————————————————————————————–
    1 | WARNING | File has mixed line endings; this may cause incorrect results
    ————————————————————————————————————–

    FILE: /home/WebSiteName/public_html/wp-content/plugins/all-in-one-wp-security-and-firewall/lib/whois/whois.ip.lib.php
    ——————————————————————————————————————
    FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
    ——————————————————————————————————————
    1 | WARNING | File has mixed line endings; this may cause incorrect results
    ——————————————————————————————————————

    FILE: /home/WebSiteName/public_html/wp-content/plugins/all-in-one-wp-security-and-firewall/lib/whois/whois.de.php
    ————————————————————————————————————–
    FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
    ————————————————————————————————————–
    1 | WARNING | File has mixed line endings; this may cause incorrect results
    ————————————————————————————————————–

    FILE: /home/WebSiteName/public_html/wp-content/plugins/all-in-one-wp-security-and-firewall/lib/whois/whois.servers.php
    ——————————————————————————————————————-
    FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
    ——————————————————————————————————————-
    1 | WARNING | File has mixed line endings; this may cause incorrect results
    ——————————————————————————————————————-

    FILE: /home/WebSiteName/public_html/wp-content/plugins/all-in-one-wp-security-and-firewall/lib/whois/whois.utils.php
    —————————————————————————————————————–
    FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
    —————————————————————————————————————–
    1 | WARNING | File has mixed line endings; this may cause incorrect results
    —————————————————————————————————————–

    FILE: /home/WebSiteName/public_html/wp-content/plugins/all-in-one-wp-security-and-firewall/lib/whois/whois.org.php
    —————————————————————————————————————
    FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
    —————————————————————————————————————
    1 | WARNING | File has mixed line endings; this may cause incorrect results
    —————————————————————————————————————

    FILE: /home/WebSiteName/public_html/wp-content/plugins/all-in-one-wp-security-and-firewall/lib/whois/whois.ip.php
    ————————————————————————————————————–
    FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
    ————————————————————————————————————–
    1 | WARNING | File has mixed line endings; this may cause incorrect results
    ————————————————————————————————————–

    FILE: /home/WebSiteName/public_html/wp-content/plugins/all-in-one-wp-security-and-firewall/lib/whois/whois.nl.php
    ————————————————————————————————————–
    FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
    ————————————————————————————————————–
    1 | WARNING | File has mixed line endings; this may cause incorrect results
    ————————————————————————————————————–

    FILE: /home/WebSiteName/public_html/wp-content/plugins/all-in-one-wp-security-and-firewall/lib/whois/whois.si.php
    ————————————————————————————————————–
    FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
    ————————————————————————————————————–
    1 | WARNING | File has mixed line endings; this may cause incorrect results
    ————————————————————————————————————–

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Contributor mbrsolution

    (@mbrsolution)

    Hi, what plugin version are you currently running?

    Thread Starter MKSnMKS

    (@mksnmks)

    Version 4.2.8
    which seems to be the very latest version that is available for download,
    as at Sunday 27th August.

    If the plugin uses some code to detect which PHP version the WP site is using, then that snippet of code would be handy to send to PHP Compatibility Checker, so they can look for that snippet, within plugins.

    Thanks

    Plugin Contributor mbrsolution

    (@mbrsolution)

    This is what one of the developers had to say about this issue.

    Those warnings are from the whois library which is a 3rd party library and is not part of the official code I wrote for aiowps.

    They are just warnings and they don’t affect the core aiowps functionality.

    Thank you

    Thread Starter MKSnMKS

    (@mksnmks)

    Hi mbrsolution,

    The

    File has mixed line endings

    warnings can be a problem when used on certain types of server, and line ending combinations.
    see Search “File has mixed line endings” and “php”.

    The fix, is to be consistent with the type of line endings, within a file.
    A search and replace for the characters will remove the possibility.

    But in the meantime, the plugin will work for servers which are insensitive to this effect. But for potential users on systems that ‘are’ sensitive, they will probably end up ditching the plugin, or possibly even worse, the plugin ditches them – but who knows.

    Please feed this info back to the “whois library authors”, so they can improve the library.

    Thank you.

    Plugin Contributor mbrsolution

    (@mbrsolution)

    Thank you for providing more information. I will pass on this message to the developers.

    Kind regards

    Plugin Contributor wpsolutions

    (@wpsolutions)

    Hi @mksnmks,
    Ok I will take care of it.

    Thread Starter MKSnMKS

    (@mksnmks)

    Okay.
    When fixed, we can mark this topic as resolved.
    Thank you for your help.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘All-in-One-Security – PHP Compatibility Checker scan for PHP7’ is closed to new replies.