Title: PHP 7 Compatability
Last modified: December 17, 2016

---

# PHP 7 Compatability

 *  Resolved [venturavan2](https://wordpress.org/support/users/venturavan2/)
 * (@venturavan2)
 * [9 years, 5 months ago](https://wordpress.org/support/topic/php-7-compatability-6/)
 * I get the following errors from the PHP Compatibility Plugin on version 3.5.1
 *     ```
       Name: Google Analytics Counter Tracker
   
       FILE: /home/kernseoc/public_html/OLEDSTODAY.COM/wp-content/plugins/analytics-counter/lib/phpseclib/Crypt/Rijndael.php
       ---------------------------------------------------------------------------------------------------------------------
       FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
       ---------------------------------------------------------------------------------------------------------------------
        451 | WARNING | Use of deprecated PHP4 style class constructor is not supported since PHP 7.
       ---------------------------------------------------------------------------------------------------------------------
   
       FILE: /home/kernseoc/public_html/OLEDSTODAY.COM/wp-content/plugins/analytics-counter/lib/phpseclib/Crypt/Blowfish.php
       ---------------------------------------------------------------------------------------------------------------------
       FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
       ---------------------------------------------------------------------------------------------------------------------
        470 | WARNING | Use of deprecated PHP4 style class constructor is not supported since PHP 7.
       ---------------------------------------------------------------------------------------------------------------------
   
       FILE: /home/kernseoc/public_html/OLEDSTODAY.COM/wp-content/plugins/analytics-counter/lib/phpseclib/Crypt/RC4.php
       ----------------------------------------------------------------------------------------------------------------
       FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
       ----------------------------------------------------------------------------------------------------------------
        172 | WARNING | Use of deprecated PHP4 style class constructor is not supported since PHP 7.
       ----------------------------------------------------------------------------------------------------------------
   
       FILE: /home/kernseoc/public_html/OLEDSTODAY.COM/wp-content/plugins/analytics-counter/lib/phpseclib/Crypt/AES.php
       ----------------------------------------------------------------------------------------------------------------
       FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
       ----------------------------------------------------------------------------------------------------------------
        178 | WARNING | Use of deprecated PHP4 style class constructor is not supported since PHP 7.
       ----------------------------------------------------------------------------------------------------------------
   
       FILE: /home/kernseoc/public_html/OLEDSTODAY.COM/wp-content/plugins/analytics-counter/lib/phpseclib/Crypt/Twofish.php
       --------------------------------------------------------------------------------------------------------------------
       FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
       --------------------------------------------------------------------------------------------------------------------
        568 | WARNING | Use of deprecated PHP4 style class constructor is not supported since PHP 7.
       --------------------------------------------------------------------------------------------------------------------
   
       FILE: /home/kernseoc/public_html/OLEDSTODAY.COM/wp-content/plugins/analytics-counter/lib/phpseclib/Crypt/DES.php
       ----------------------------------------------------------------------------------------------------------------
       FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
       ----------------------------------------------------------------------------------------------------------------
        748 | WARNING | Use of deprecated PHP4 style class constructor is not supported since PHP 7.
       ----------------------------------------------------------------------------------------------------------------
   
       FILE: /home/kernseoc/public_html/OLEDSTODAY.COM/wp-content/plugins/analytics-counter/lib/phpseclib/Crypt/RSA.php
       ----------------------------------------------------------------------------------------------------------------
       FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
       ----------------------------------------------------------------------------------------------------------------
        462 | WARNING | Use of deprecated PHP4 style class constructor is not supported since PHP 7.
       ----------------------------------------------------------------------------------------------------------------
   
       FILE: /home/kernseoc/public_html/OLEDSTODAY.COM/wp-content/plugins/analytics-counter/lib/phpseclib/Crypt/Hash.php
       -----------------------------------------------------------------------------------------------------------------
       FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
       -----------------------------------------------------------------------------------------------------------------
        146 | WARNING | Use of deprecated PHP4 style class constructor is not supported since PHP 7.
       -----------------------------------------------------------------------------------------------------------------
   
       FILE: /home/kernseoc/public_html/OLEDSTODAY.COM/wp-content/plugins/analytics-counter/lib/phpseclib/Crypt/TripleDES.php
       ----------------------------------------------------------------------------------------------------------------------
       FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
       ----------------------------------------------------------------------------------------------------------------------
        104 | WARNING | Use of deprecated PHP4 style class constructor is not supported since PHP 7.
       ----------------------------------------------------------------------------------------------------------------------
   
       FILE: /home/kernseoc/public_html/OLEDSTODAY.COM/wp-content/plugins/analytics-counter/lib/phpseclib/File/ASN1.php
       ----------------------------------------------------------------------------------------------------------------
       FOUND 0 ERRORS AND 2 WARNINGS AFFECTING 2 LINES
       ----------------------------------------------------------------------------------------------------------------
        135 | WARNING | Use of deprecated PHP4 style class constructor is not supported since PHP 7.
        249 | WARNING | Use of deprecated PHP4 style class constructor is not supported since PHP 7.
       ----------------------------------------------------------------------------------------------------------------
   
       FILE: /home/kernseoc/public_html/OLEDSTODAY.COM/wp-content/plugins/analytics-counter/lib/phpseclib/File/X509.php
       ----------------------------------------------------------------------------------------------------------------
       FOUND 4 ERRORS AND 1 WARNING AFFECTING 5 LINES
       ----------------------------------------------------------------------------------------------------------------
         307 | WARNING | Use of deprecated PHP4 style class constructor is not supported since PHP 7.
        4150 | ERROR   | Using a call-time pass-by-reference is deprecated since PHP 5.3 and prohibited since PHP 5.4
        4176 | ERROR   | Using a call-time pass-by-reference is deprecated since PHP 5.3 and prohibited since PHP 5.4
        4243 | ERROR   | Using a call-time pass-by-reference is deprecated since PHP 5.3 and prohibited since PHP 5.4
        4315 | ERROR   | Using a call-time pass-by-reference is deprecated since PHP 5.3 and prohibited since PHP 5.4
       ----------------------------------------------------------------------------------------------------------------
   
       FILE: /home/kernseoc/public_html/OLEDSTODAY.COM/wp-content/plugins/analytics-counter/lib/phpseclib/File/ANSI.php
       ----------------------------------------------------------------------------------------------------------------
       FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
       ----------------------------------------------------------------------------------------------------------------
        215 | WARNING | Use of deprecated PHP4 style class constructor is not supported since PHP 7.
       ----------------------------------------------------------------------------------------------------------------
   
       FILE: /home/kernseoc/public_html/OLEDSTODAY.COM/wp-content/plugins/analytics-counter/lib/phpseclib/Math/BigInteger.php
       ----------------------------------------------------------------------------------------------------------------------
       FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
       ----------------------------------------------------------------------------------------------------------------------
        259 | WARNING | Use of deprecated PHP4 style class constructor is not supported since PHP 7.
       ----------------------------------------------------------------------------------------------------------------------
   
       FILE: /home/kernseoc/public_html/OLEDSTODAY.COM/wp-content/plugins/analytics-counter/lib/phpseclib/Net/SSH2.php
       ---------------------------------------------------------------------------------------------------------------
       FOUND 1 ERROR AND 1 WARNING AFFECTING 2 LINES
       ---------------------------------------------------------------------------------------------------------------
         741 | WARNING | Use of deprecated PHP4 style class constructor is not supported since PHP 7.
        3027 | ERROR   | preg_replace() - /e modifier is deprecated since PHP 5.5 and removed since PHP 7.0
       ---------------------------------------------------------------------------------------------------------------
   
       FILE: /home/kernseoc/public_html/OLEDSTODAY.COM/wp-content/plugins/analytics-counter/lib/phpseclib/Net/SCP.php
       --------------------------------------------------------------------------------------------------------------
       FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
       --------------------------------------------------------------------------------------------------------------
        126 | WARNING | Use of deprecated PHP4 style class constructor is not supported since PHP 7.
       --------------------------------------------------------------------------------------------------------------
   
       FILE: /home/kernseoc/public_html/OLEDSTODAY.COM/wp-content/plugins/analytics-counter/lib/phpseclib/Net/SFTP/Stream.php
       ----------------------------------------------------------------------------------------------------------------------
       FOUND 1 ERROR AND 1 WARNING AFFECTING 2 LINES
       ----------------------------------------------------------------------------------------------------------------------
        135 | WARNING | Use of deprecated PHP4 style class constructor is not supported since PHP 7.
        169 | ERROR   | Global with variable variables is not allowed since PHP 7.0
       ----------------------------------------------------------------------------------------------------------------------
   
       FILE: /home/kernseoc/public_html/OLEDSTODAY.COM/wp-content/plugins/analytics-counter/lib/phpseclib/Net/SFTP.php
       ---------------------------------------------------------------------------------------------------------------
       FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
       ---------------------------------------------------------------------------------------------------------------
        253 | WARNING | Use of deprecated PHP4 style class constructor is not supported since PHP 7.
       ---------------------------------------------------------------------------------------------------------------
   
       FILE: /home/kernseoc/public_html/OLEDSTODAY.COM/wp-content/plugins/analytics-counter/lib/phpseclib/Net/SSH1.php
       ---------------------------------------------------------------------------------------------------------------
       FOUND 1 ERROR AND 1 WARNING AFFECTING 2 LINES
       ---------------------------------------------------------------------------------------------------------------
         449 | WARNING | Use of deprecated PHP4 style class constructor is not supported since PHP 7.
        1367 | ERROR   | preg_replace() - /e modifier is deprecated since PHP 5.5 and removed since PHP 7.0
       ---------------------------------------------------------------------------------------------------------------
       ```
   
    -  This topic was modified 9 years, 5 months ago by [Matthew](https://wordpress.org/support/users/kidsguide/).
    -  This topic was modified 9 years, 5 months ago by [Matthew](https://wordpress.org/support/users/kidsguide/).

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

 *  [helena46](https://wordpress.org/support/users/helena46/)
 * (@helena46)
 * [9 years, 5 months ago](https://wordpress.org/support/topic/php-7-compatability-6/#post-8584215)
 * Hello,
 * we will fix it as soon as possible.
 * Analytics Counter Support Team
 *  Thread Starter [venturavan2](https://wordpress.org/support/users/venturavan2/)
 * (@venturavan2)
 * [9 years, 5 months ago](https://wordpress.org/support/topic/php-7-compatability-6/#post-8585138)
 * Thanks Helena!! Fix the errors first as they are critical and affect functionality.
   Warnings are more about style and clarity of purpose.

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

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

 * ![](https://s.w.org/plugins/geopattern-icon/analytics-counter_f47f1e.svg)
 * [Google Analytics Counter Tracker](https://wordpress.org/plugins/analytics-counter/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/analytics-counter/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/analytics-counter/)
 * [Active Topics](https://wordpress.org/support/plugin/analytics-counter/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/analytics-counter/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/analytics-counter/reviews/)

## Tags

 * [analytics for wordpress](https://wordpress.org/support/topic-tag/analytics-for-wordpress/)
 * [website statistics](https://wordpress.org/support/topic-tag/website-statistics/)
 * [website views](https://wordpress.org/support/topic-tag/website-views/)

 * 2 replies
 * 2 participants
 * Last reply from: [venturavan2](https://wordpress.org/support/users/venturavan2/)
 * Last activity: [9 years, 5 months ago](https://wordpress.org/support/topic/php-7-compatability-6/#post-8585138)
 * Status: resolved