Title: PHP 8 Compatibility Warnings/Errors
Last modified: February 15, 2023

---

# PHP 8 Compatibility Warnings/Errors

 *  [gmariani405](https://wordpress.org/support/users/gmariani405/)
 * (@gmariani405)
 * [3 years, 3 months ago](https://wordpress.org/support/topic/php-8-compatibility-warnings-errors/)
 * Ran across these and figured I’d pass these along, maybe they could be addressed.
 *     ```wp-block-code
       /wp-content/plugins/wp-statistics/includes/template-functions.php
       Extension 'mysql_' is deprecated since PHP 5.5 and removed since PHP 7.0; Use mysqli instead : 836
       Extension 'mysql_' is deprecated since PHP 5.5 and removed since PHP 7.0; Use mysqli instead : 834
       Extension 'mysql_' is deprecated since PHP 5.5 and removed since PHP 7.0; Use mysqli instead : 477
       Extension 'mysql_' is deprecated since PHP 5.5 and removed since PHP 7.0; Use mysqli instead : 389
       Extension 'mysql_' is deprecated since PHP 5.5 and removed since PHP 7.0; Use mysqli instead : 246
   
       /wp-content/plugins/wp-statistics/includes/vendor/s1lentium/iptools/tests/IPTest.php
       The behaviour of hexadecimal numeric strings was inconsistent prior to PHP 7 and support has been removed in PHP 7. Found: '0x20010000000000008000000000000000' : 207
       The behaviour of hexadecimal numeric strings was inconsistent prior to PHP 7 and support has been removed in PHP 7. Found: '0x7f000001' : 206
       ```
   

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

 *  [Reza](https://wordpress.org/support/users/reventon94/)
 * (@reventon94)
 * [3 years, 3 months ago](https://wordpress.org/support/topic/php-8-compatibility-warnings-errors/#post-16473148)
 * Hi [@gmariani405](https://wordpress.org/support/users/gmariani405/),
 * Thank you for contacting us.
 * Our developers are aware of these PHP warnings and they believe that these warnings
   should not affect customer websites. Nevertheless, they are currently working
   on resolving these issues.
 * If you have any further questions or concerns, please don’t hesitate to contact
   me.
 * Best Regards.
 *  [Lorrie](https://wordpress.org/support/users/lorrie_w/)
 * (@lorrie_w)
 * [3 years, 1 month ago](https://wordpress.org/support/topic/php-8-compatibility-warnings-errors/#post-16651807)
 * Hi there 
   Many of the features of this plugin are no longer working properly 
   since my upgrade to PHP 8.Any news on when this will be addressed?Many thanks
 *  Plugin Author [Mostafa Soufi](https://wordpress.org/support/users/mostafas1990/)
 * (@mostafas1990)
 * [3 years ago](https://wordpress.org/support/topic/php-8-compatibility-warnings-errors/#post-16756651)
 * Could someone provide a list of errors that are related to WP Statistics on PHP
   v8.0? I’m asking because these errors may occur in certain situations, although
   they haven’t occurred in our environment.
 * Best
 *  Thread Starter [gmariani405](https://wordpress.org/support/users/gmariani405/)
 * (@gmariani405)
 * [3 years ago](https://wordpress.org/support/topic/php-8-compatibility-warnings-errors/#post-16757513)
 * The warnings I posted were detected by my hosts PHP 8.0 compatibility checker.
   So I’m not 100% sure you’ll see the errors the same way in practice. But I did
   provide the warning that were detected, in my original post.
 *  Plugin Author [Mostafa Soufi](https://wordpress.org/support/users/mostafas1990/)
 * (@mostafas1990)
 * [3 years ago](https://wordpress.org/support/topic/php-8-compatibility-warnings-errors/#post-16759655)
 * Thank you!
 * I asked our tech team to have a full test again with PHP v8.0
    -  This reply was modified 3 years ago by [Mostafa Soufi](https://wordpress.org/support/users/mostafas1990/).

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

The topic ‘PHP 8 Compatibility Warnings/Errors’ is closed to new replies.

 * ![](https://ps.w.org/wp-statistics/assets/icon.svg?rev=3081064)
 * [WP Statistics – Simple, privacy-friendly Google Analytics alternative](https://wordpress.org/plugins/wp-statistics/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-statistics/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-statistics/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-statistics/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-statistics/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-statistics/reviews/)

 * 5 replies
 * 4 participants
 * Last reply from: [Mostafa Soufi](https://wordpress.org/support/users/mostafas1990/)
 * Last activity: [3 years ago](https://wordpress.org/support/topic/php-8-compatibility-warnings-errors/#post-16759655)
 * Status: not resolved