UserAgent theme switcher 2.6.0

Does UserAgent theme switcher work with WordPress 7.0 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 version7.0
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
Plugin Info
Last updated
Active installs 70+
WordPress.org page https://wordpress.org/plugins/user-agent-theme-switcher/
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=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.

PHP
XML
Language % Lines of code Comment lines Files
PHP66.6%7073427
XML33.4%35501
Total 1,062 342 8

PHP Code Analysis | More results »

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
See also: All tests for this plugin