• Resolved Alain Aubry

    (@caban13)


    Hi

    I am willing to update to PHP 7.0, but among others your plugin it is not fitted to. I am posting the testing information about yours:

    FILE: /home/XXX/public_html/XXX/wp-content/plugins/all-in-one-wp-security-and-firewall/lib/whois/whois.main.php
    ————————————————————————————
    FOUND 1 ERROR AND 1 WARNING AFFECTING 2 LINES
    ————————————————————————————
    1 | WARNING | File has mixed line endings; this may cause incorrect results
    51 | ERROR | Deprecated PHP4 style constructor are not supported since PHP7
    ————————————————————————————

    FILE: /home/XXX/public_html/XXX/wp-content/plugins/all-in-one-wp-security-and-firewall/lib/whois/whois.idna.php
    ————————————————————————————
    FOUND 1 ERROR AFFECTING 1 LINE
    ————————————————————————————
    94 | ERROR | Deprecated PHP4 style constructor are not supported since PHP7
    ————————————————————————————

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

    Besides those 3 erros you got 12 warnings:

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

    FILE: /home/XXX/public_html/XXX/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/XXX/public_html/XXX/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/XXX/public_html/XXX/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/XXX/public_html/XXX/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/XXX/public_html/XXX/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/XXX/public_html/XXX/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/XXX/public_html/XXX/wp-content/plugins/all-in-one-wp-security-and-firewall/lib/whois/whois.client.php
    ————————————————————————————–
    FOUND 1 ERROR AFFECTING 1 LINE
    ————————————————————————————–
    71 | ERROR | Deprecated PHP4 style constructor are not supported since PHP7
    ————————————————————————————–

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

    An upgrade is expected!
    Thanks

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hi,

    All these issues are reported in code that belongs to phpWhois library that is internally used for whois queries. The library doesn’t seem to be maintained anymore, so an update is not an option. I don’t know if any of the plugin authors is willing to fix these issues. Perhaps finding a replacement would be a better solution.

    Anyway, if you don’t use Whois feature, you should have no problems running the plugin on PHP7.

    Cheers,
    Česlav

    Thread Starter Alain Aubry

    (@caban13)

    I understand.
    “phpWhois version 4.2.2 Jul-09-2011” is kind of old.
    Thanks

    Could you please think about using a different WhoIs-PHP solution supporting PHP V7 ? Using such old implemention of the year 2011 doesn’t make me feel secure in using your plugin.

    /plugins/all-in-one-wp-security-and-firewall/lib/whois/whois.client.php

    FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE

    71 | WARNING | Use of deprecated PHP4 style class constructor is not supported since PHP 7.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘PHP 7.0’ is closed to new replies.