Traffic 2.13.1

Does Traffic work with WordPress 6.5.2 and PHP 8.1.12? A smoke test was performed on .

Summary

Errors
The plugin could not be activated
1PHP fatal errors
No JavaScript exceptions
No resource errors
Performance

No data available.

Environment
WordPress version6.5.2
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
Plugin Info
Last updated
Active installs 200+
WordPress.org page https://wordpress.org/plugins/traffic/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 1

Plugins ‹ Test site — WordPress

Page screenshot: Plugins ‹ Test site — WordPress
URL /wp-admin/plugins.php?plugin=traffic%2Ftraffic.php
Requested URL /wp-admin/plugins.php?action=activate&plugin=traffic%2Ftraffic.php&plugin_status=all&paged=1&s&_wpnonce=ba8f98d78a
Aspect after-activation
HTTP status 200
Load time 0.265 s
Memory usage 3.38 MiB
JS errors None
Resource errors None

Benchmark

No benchmark data available.

Code Statistics

Note: Third-party libraries and minified JS/CSS files are excluded from these statistics where possible, so the numbers you see here may be lower than those reported by other tools.

JavaScript
PHP
SVG
Language % Lines of code Comment lines Files
JavaScript55.2%22,3393,0009
PHP28.0%11,3328,342138
SVG10.5%4,2511285
CSS5.0%2,0291010
Markdown1.2%48707
JSON0.1%5302
Total 40,491 11,353 451

PHP Code Analysis | More results »

Lines of code 10,947
Total complexity 2,433
Median class complexity 9.0
Median method complexity 2.0
Most complex class Traffic\Plugin\Feature\Analytics
Most complex function Traffic\Plugin\Feature\Analytics::query_kpi()
Classes 95
Methods 573
Functions 11

Additions

No data available.

PHP Error Log 12 lines

[04-May-2024 16:43:19 UTC] PHP Fatal error:  Uncaught Error: Class "DecaLog\EventsLogger" not found in /wp-content/plugins/traffic/includes/libraries/decalog-sdk/Engine.php:197
Stack trace:
#0 /wp-content/plugins/traffic/includes/features/class-schema.php(198): DecaLog\Engine::eventsLogger()
#1 /wp-content/plugins/traffic/includes/plugin/class-activator.php(32): Traffic\Plugin\Feature\Schema->initialize()
#2 /wp-content/plugins/traffic/traffic.php(45): Traffic\Plugin\Activator::activate()
#3 /wp-includes/class-wp-hook.php(324): traffic_activate()
#4 /wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
#5 /wp-includes/plugin.php(517): WP_Hook->do_action()
#6 /wp-admin/includes/plugin.php(705): do_action()
#7 /wp-admin/plugins.php(60): activate_plugin()
#8 {main}
  thrown in /wp-content/plugins/traffic/includes/libraries/decalog-sdk/Engine.php on line 197
See also: All tests for this plugin, How to Hide Traffic Admin Menus