Device Detector 3.7.1

Does Device Detector 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 700+
WordPress.org page https://wordpress.org/plugins/device-detector/
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=device-detector%2Fdevice-detector.php
Requested URL /wp-admin/plugins.php?action=activate&plugin=device-detector%2Fdevice-detector.php&plugin_status=all&paged=1&s&_wpnonce=de0cb1d147
Aspect after-activation
HTTP status 200
Load time 0.254 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.

YAML
JavaScript
PHP
Language % Lines of code Comment lines Files
YAML52.0%47,2033,25420
JavaScript22.5%20,4532,3056
PHP18.1%16,3879,880161
SVG4.7%4,2511285
CSS2.1%1,93127
Markdown0.5%44007
JSON0.1%5302
Total 90,718 15,442 488

PHP Code Analysis | More results »

Lines of code 15,852
Total complexity 3,122
Median class complexity 7.0
Median method complexity 2.0
Most complex class PODeviceDetector\Plugin\Feature\Analytics
Most complex function PODeviceDetector\Plugin\Feature\Analytics::query_kpi()
Classes 113
Methods 755
Functions 9

Additions

No data available.

PHP Error Log 14 lines

[04-May-2024 16:52:07 UTC] PHP Fatal error:  Uncaught Error: Undefined constant "DecaLog\DECALOG_VERSION" in /wp-content/plugins/device-detector/includes/libraries/decalog-sdk/EventsLogger.php:12
Stack trace:
#0 /wp-content/plugins/device-detector/includes/libraries/autoload.php(28): include_once()
#1 /wp-content/plugins/device-detector/includes/libraries/decalog-sdk/Engine.php(197): {closure}()
#2 /wp-content/plugins/device-detector/includes/features/class-coremodifier.php(44): DecaLog\Engine::eventsLogger()
#3 /wp-content/plugins/device-detector/includes/plugin/class-core.php(83): PODeviceDetector\Plugin\Feature\CoreModifier::init()
#4 /wp-content/plugins/device-detector/includes/plugin/class-core.php(57): PODeviceDetector\Plugin\Core->define_global_hooks()
#5 /wp-content/plugins/device-detector/device-detector.php(73): PODeviceDetector\Plugin\Core->__construct()
#6 /wp-content/plugins/device-detector/device-detector.php(80): podd_run()
#7 /wp-admin/includes/plugin.php(2389): include_once('...')
#8 /wp-admin/includes/plugin.php(675): plugin_sandbox_scrape()
#9 /wp-admin/plugins.php(60): activate_plugin()
#10 {main}
  thrown in /wp-content/plugins/device-detector/includes/libraries/decalog-sdk/EventsLogger.php on line 12
See also: All tests for this plugin, How to Hide Device Detector Admin Menus