Home
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 2024-05-04 16:51:48 UTC .
Summary
Errors
The plugin could not be activated
1 PHP fatal errors
No JavaScript exceptions
No resource errors
Environment
WordPress version 6.5.2 PHP version 8.1.12 MySQL version 10.6.10 PHP memory limit 512M
Pages 1 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.
Language
%
Lines of code
Comment lines
Files
YAML 52.0% 47,203 3,254 20 JavaScript 22.5% 20,453 2,305 6 PHP 18.1% 16,387 9,880 161 SVG 4.7% 4,251 1 285 CSS 2.1% 1,931 2 7 Markdown 0.5% 440 0 7 JSON 0.1% 53 0 2
Total
90,718
15,442
488
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