Title: PHP 7 compatibility check
Last modified: October 17, 2016

---

# PHP 7 compatibility check

 *  Resolved [4ud](https://wordpress.org/support/users/4ud/)
 * (@4ud)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/php-7-compatibility-check-2/)
 * Hi!
 * I’ve tested all my plugins with this PHP linter:
    [https://wordpress.org/plugins/php-compatibility-checker/](https://wordpress.org/plugins/php-compatibility-checker/)
 * Unfortunately I found a problem with your plugin. Would be great if you can fix
   this!
 * All the best and thx for your great plugin,
    4ud
 * FILE: /plugins/all-in-one-wp-security-and-firewall/lib/whois/whois.client.php
   ————————————————————————————————————————————
   FOUND 1 ERROR AFFECTING 1 LINE ———————————————————————————————————————————— 71
   | ERROR | Use of deprecated PHP4 style class constructor is not supported since
   PHP 7 ————————————————————————————————————————————
 * FILE: /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: /plugins/all-in-one-wp-security-and-firewall/lib/whois/whois.idna.php
    ———————————————————————————————————————————-
   FOUND 1 ERROR AFFECTING 1 LINE ———————————————————————————————————————————- 94
   | ERROR | Use of deprecated PHP4 style class constructor is not supported since
   PHP 7 ———————————————————————————————————————————-
 * FILE: /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: /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: /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 | Use of deprecated PHP4 style class constructor is not supported since
   PHP 7 ———————————————————————————————————————————-
 * FILE: /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: /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: /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: /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: /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: /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: /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: /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 ———————————————————————————————————————————–

Viewing 1 replies (of 1 total)

 *  [Česlav Przywara](https://wordpress.org/support/users/chesio/)
 * (@chesio)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/php-7-compatibility-check-2/#post-8316831)
 * Hi, this has been reported before, please see the following [thread](https://wordpress.org/support/topic/php-7-0/).

Viewing 1 replies (of 1 total)

The topic ‘PHP 7 compatibility check’ is closed to new replies.

 * ![](https://ps.w.org/all-in-one-wp-security-and-firewall/assets/icon-256x256.
   png?rev=2798307)
 * [All-In-One Security (AIOS) – Security and Firewall](https://wordpress.org/plugins/all-in-one-wp-security-and-firewall/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/all-in-one-wp-security-and-firewall/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/all-in-one-wp-security-and-firewall/)
 * [Active Topics](https://wordpress.org/support/plugin/all-in-one-wp-security-and-firewall/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/all-in-one-wp-security-and-firewall/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/all-in-one-wp-security-and-firewall/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Česlav Przywara](https://wordpress.org/support/users/chesio/)
 * Last activity: [9 years, 7 months ago](https://wordpress.org/support/topic/php-7-compatibility-check-2/#post-8316831)
 * Status: resolved