Title: Update for PHP 7
Last modified: May 25, 2017

---

# Update for PHP 7

 *  Resolved [vaughancavca](https://wordpress.org/support/users/vaughanwalton/)
 * (@vaughanwalton)
 * [9 years ago](https://wordpress.org/support/topic/update-for-php-7/)
 * Hi there,
 * I’m looking to get my website upgraded to PHP 7; I used a plugin to check my 
   website’s compatibility, and it claimed that All In One WP Security had 11 errors
   that would prevent the plugin from working in PHP 7.
 * Would it be possible to have the following errors fixed in a future update?
 *     ```
       FILE: /var/sites/t/totallysocially.org.uk/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: /var/sites/t/totallysocially.org.uk/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: /var/sites/t/totallysocially.org.uk/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: /var/sites/t/totallysocially.org.uk/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: /var/sites/t/totallysocially.org.uk/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: /var/sites/t/totallysocially.org.uk/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: /var/sites/t/totallysocially.org.uk/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: /var/sites/t/totallysocially.org.uk/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: /var/sites/t/totallysocially.org.uk/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 2 replies - 1 through 2 (of 2 total)

 *  Plugin Contributor [mbrsolution](https://wordpress.org/support/users/mbrsolution/)
 * (@mbrsolution)
 * [9 years ago](https://wordpress.org/support/topic/update-for-php-7/#post-9168745)
 * Hi, this issue has already been reported in the forum. The developers are aware
   of it. The plugin does function correctly. These are just warnings when using
   whois.
 * Thank you
 *  Thread Starter [vaughancavca](https://wordpress.org/support/users/vaughanwalton/)
 * (@vaughanwalton)
 * [9 years ago](https://wordpress.org/support/topic/update-for-php-7/#post-9169599)
 * OK, thanks for clarifying that.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Update for PHP 7’ 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/)

## Tags

 * [code](https://wordpress.org/support/topic-tag/code/)
 * [php-7](https://wordpress.org/support/topic-tag/php-7/)
 * [update](https://wordpress.org/support/topic-tag/update/)

 * 2 replies
 * 2 participants
 * Last reply from: [vaughancavca](https://wordpress.org/support/users/vaughanwalton/)
 * Last activity: [9 years ago](https://wordpress.org/support/topic/update-for-php-7/#post-9169599)
 * Status: resolved