Home
UserAgent Theme Switcher
2.6.0 (latest)
Does UserAgent theme switcher work with WordPress 7.0 and PHP 8.1.12? A smoke test was performed on 2026-06-09 16:43:47 UTC .
Summary
Errors
The plugin could not be activated
1 PHP fatal errors
No JavaScript exceptions
No resource errors
Environment
WordPress version 7.0 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=user-agent-theme-switcher%2FUserAgentThemeSwitcher.php
Requested URL
/wp-admin/plugins.php?action=activate&plugin=user-agent-theme-switcher%2FUserAgentThemeSwitcher.php&plugin_status=all&paged=1&s&_wpnonce=0e1ca350f7
Aspect
after-activation
HTTP status
200
Load time
0.895 s
Memory usage
3.88 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
PHP 66.6% 707 342 7 XML 33.4% 355 0 1
Total
1,062
342
8
Lines of code
459
Total complexity
106
Median class complexity
35.0
Median method complexity
1.0
Most complex class
UserAgentThemeSwitcher
Most complex function
UserAgentThemeSwitcher::processAction()
Classes
3
Methods
51
Functions
0
Additions
No data available.
PHP Error Log 13 lines [09-Jun-2026 16:44:12 UTC] PHP Fatal error: Uncaught Error: Call to undefined function split() in /wp-content/plugins/user-agent-theme-switcher/BrowserUA.php:238
Stack trace:
#0 /wp-content/plugins/user-agent-theme-switcher/BrowserUA.php(228): BrowserUA->setTagsString()
#1 /wp-content/plugins/user-agent-theme-switcher/BrowserUA.php(75): BrowserUA->setTags()
#2 /wp-content/plugins/user-agent-theme-switcher/UserAgentThemeSwitcherData.php(288): BrowserUA->__construct()
#3 /wp-content/plugins/user-agent-theme-switcher/UserAgentThemeSwitcherData.php(61): UserAgentThemeSwitcherData->generateBrowsers()
#4 /wp-content/plugins/user-agent-theme-switcher/UserAgentThemeSwitcher.php(144): UserAgentThemeSwitcherData->__construct()
#5 /wp-content/plugins/user-agent-theme-switcher/UserAgentThemeSwitcher.php(362): UserAgentThemeSwitcher->initialize()
#6 /wp-admin/includes/plugin.php(2381): include_once('...')
#7 /wp-admin/includes/plugin.php(673): plugin_sandbox_scrape()
#8 /wp-admin/plugins.php(60): activate_plugin()
#9 {main}
thrown in /wp-content/plugins/user-agent-theme-switcher/BrowserUA.php on line 238