PHP Compatibility Index

Is WP Statistics compatible with PHP 8?

Version 14.16.17 · 500,000+ active installs · requires PHP 7.4

Works on PHP 8.0–8.5, with deprecation notices from 8.1

No removed PHP features found in WP Statistics 14.16.17. It uses 11 deprecated feature(s) that only log notices today.

PHP 8.0
✓
PHP 8.1
⚠ 1
PHP 8.2
⚠ 1
PHP 8.3
⚠ 1
PHP 8.4
⚠ 10
PHP 8.5
⚠ 11

✓ no problems · ⚠ deprecation notices only (still works) · ✗ uses something removed in that PHP version

Check your whole site, not just one plugin. The free PHP Upgrade Check plugin scans every plugin and theme you have installed (including premium and custom ones) and explains each problem. It runs on any host.

Deprecated (works today, logs notices)

File:lineWhat
includes/libraries/ExportData.php:247Function strftime() is deprecated since PHP 8.1; Use date() or IntlDateFormatter::format() instead
includes/libraries/Parsedown.php:513Implicitly marking a parameter as nullable is deprecated since PHP 8.4. Update the type to be explicitly nullable instead. Found implicitly nullable parameter: $CurrentBlock.
includes/libraries/Parsedown.php:728Implicitly marking a parameter as nullable is deprecated since PHP 8.4. Update the type to be explicitly nullable instead. Found implicitly nullable parameter: $Block.
includes/libraries/Parsedown.php:808Implicitly marking a parameter as nullable is deprecated since PHP 8.4. Update the type to be explicitly nullable instead. Found implicitly nullable parameter: $Block.
src/Dependencies/GeoIp2/Exception/HttpException.php:23Implicitly marking a parameter as nullable is deprecated since PHP 8.4. Update the type to be explicitly nullable instead. Found implicitly nullable parameter: $previous.
src/Dependencies/GeoIp2/Exception/InvalidRequestException.php:25Implicitly marking a parameter as nullable is deprecated since PHP 8.4. Update the type to be explicitly nullable instead. Found implicitly nullable parameter: $previous.
src/Dependencies/MaxMind/WebService/Http/RequestFactory.php:26Function curl_close() is deprecated since PHP 8.5
src/Dependencies/MaxMind/WebService/HttpException.php:29Implicitly marking a parameter as nullable is deprecated since PHP 8.4. Update the type to be explicitly nullable instead. Found implicitly nullable parameter: $previous.
src/Dependencies/MaxMind/WebService/InvalidRequestException.php:31Implicitly marking a parameter as nullable is deprecated since PHP 8.4. Update the type to be explicitly nullable instead. Found implicitly nullable parameter: $previous.
src/Exception/LogException.php:10Implicitly marking a parameter as nullable is deprecated since PHP 8.4. Update the type to be explicitly nullable instead. Found implicitly nullable parameter: $previous.
src/Exception/SystemErrorException.php:9Implicitly marking a parameter as nullable is deprecated since PHP 8.4. Update the type to be explicitly nullable instead. Found implicitly nullable parameter: $previous.

Removed long ago or protected by a check (code that most likely never runs on PHP 8)

File:lineWhat
includes/template-functions.php:335Extension 'mysql_' is deprecated since PHP 5.5 and removed since PHP 7.0; Use mysqli instead
includes/template-functions.php:340Extension 'mysql_' is deprecated since PHP 5.5 and removed since PHP 7.0; Use mysqli instead
includes/template-functions.php:452Extension 'mysql_' is deprecated since PHP 5.5 and removed since PHP 7.0; Use mysqli instead
includes/template-functions.php:813Extension 'mysql_' is deprecated since PHP 5.5 and removed since PHP 7.0; Use mysqli instead
includes/template-functions.php:857Extension 'mysql_' is deprecated since PHP 5.5 and removed since PHP 7.0; Use mysqli instead

Plugin page on WordPress.org: wp-statistics