wpsnoop: fix PHP Browser Detection plugin conflicts, errors & issues

When the plugin PHP Browser Detection conflicts or throws a PHP error we hope wpsnoop can help you to fix the issue quickly.


Discover which shortcodes wp-options PHP functions database tables and files are created by PHP Browser Detection, plus learn which plugins and/or themes could be in conflict with PHP Browser Detection.


Troubleshooting theme and plugin conflicts is easier when you know what PHP Browser Detection leaves behind after uninstalling it from a WordPress installation, there is a list down below for your convenience.

Expert advice is recommended if you are not technically proficient with PHP, MySQL etc. View support options for PHP Browser Detection

Get professional support for PHP Browser Detection here

When you need professional help with WordPress: get help here


What does PHP Browser Detection version 3.1.8 add to WordPress? Answers Here.

This is an automatically generated report - it is possible for PHP Browser Detection to perform differently in your installation, previous versions before 3.1.8 may have created a different set of shortcodes, used different function names or could have created entirely different database tables to store settings and operate. This is not an exhaustive list but shows how version 3.1.8 of PHP Browser Detection behaves when installed and removed on a clean installation of WordPress.

We have not tested individual shortcodes, features or settings of this plugin but instead have concentrated on the potential for obvious errors and conflicts which can occur, if you need help with the plugin in your local installation you can get WordPress help and support for PHP Browser Detection by clicking here.

Our testing covered the free version of this plugin there may or may not be a paid version or premium version available for purchase that unlocks additional features and could behave in a slightly or very different manner.

Which new files does PHP Browser Detection add to WordPress?

This section will populate with a table showing an icon, size and filepath.

Type & Path Size Conflicts
wp-content/plugins/php-browser-detection/ 489.45kB No known conflicts with other themes or plugins.
wp-content/plugins/php-browser-detection/.gitignore 3.24kB No known conflicts with other themes or plugins.
wp-content/plugins/php-browser-detection/cache/ 357.91kB No known conflicts with other themes or plugins.
wp-content/plugins/php-browser-detection/cache/browscap.ini 225.58kB No known conflicts with other themes or plugins.
wp-content/plugins/php-browser-detection/cache/cache.php 132.33kB No known conflicts with other themes or plugins.
wp-content/plugins/php-browser-detection/cache/index.php No known conflicts with other themes or plugins.
wp-content/plugins/php-browser-detection/inc/ 11.09kB No known conflicts with other themes or plugins.
wp-content/plugins/php-browser-detection/inc/admin.php 1.01kB No known conflicts with other themes or plugins.
wp-content/plugins/php-browser-detection/inc/deprecated.php 3.50kB No known conflicts with other themes or plugins.
wp-content/plugins/php-browser-detection/inc/index.php No known conflicts with other themes or plugins.
wp-content/plugins/php-browser-detection/inc/shortcodes.php 984.00B No known conflicts with other themes or plugins.
wp-content/plugins/php-browser-detection/inc/tests.php 5.62kB No known conflicts with other themes or plugins.
wp-content/plugins/php-browser-detection/lib/ 33.67kB No known conflicts with other themes or plugins.
wp-content/plugins/php-browser-detection/lib/Browscap.php 33.67kB No known conflicts with other themes or plugins.
wp-content/plugins/php-browser-detection/lib/index.php No known conflicts with other themes or plugins.
wp-content/plugins/php-browser-detection/LICENSE 34.30kB No known conflicts with other themes or plugins.
wp-content/plugins/php-browser-detection/license.txt 34.32kB No known conflicts with other themes or plugins.
wp-content/plugins/php-browser-detection/php-browser-detection.php 8.18kB No known conflicts with other themes or plugins.
wp-content/plugins/php-browser-detection/README.md 176.00B No known conflicts with other themes or plugins.
wp-content/plugins/php-browser-detection/readme.txt 6.57kB No known conflicts with other themes or plugins.

Which new shortcodes does PHP Browser Detection add to WordPress?

ShortCode   Known Plugin or Theme conflicts
[browser_info] The browser_info shortcode doesn't have any known conflicts with other themes or plugins.
[is_browser] The is_browser shortcode doesn't have any known conflicts with other themes or plugins.

Note: We have not yet checked to see if these shortcodes work as expected in pages, posts, sidebar widgets, or when set as the page title, in content, in the excert, in menus or anywhere else within a WordPress installation. A shortcode could produce errors due to parameters added when it is used, or if the plugin is updated and the format of the shortcode has changed.

Which new database tables are created by the WordPress plugin PHP Browser Detection?

Which new options are added to the wp-options table by PHP Browser Detection?

What new PHP functions does PHP Browser Detection declare when it is active?

Function   Conflicts Common Errors
get_browser_name 2 conflicts Fatal error: Cannot redeclare get_browser_name()
is_chrome 1 conflict Fatal error: Cannot redeclare is_chrome()
is_desktop 1 conflict Fatal error: Cannot redeclare is_desktop()
is_ie8 1 conflict Fatal error: Cannot redeclare is_ie8()
is_ipad 2 conflicts Fatal error: Cannot redeclare is_ipad()
is_iphone 4 conflicts Fatal error: Cannot redeclare is_iphone()
is_ipod 1 conflict Fatal error: Cannot redeclare is_ipod()
is_mobile 8 conflicts Fatal error: Cannot redeclare is_mobile()
is_opera 1 conflict Fatal error: Cannot redeclare is_opera()
is_safari 1 conflict Fatal error: Cannot redeclare is_safari()
is_tablet 2 conflicts Fatal error: Cannot redeclare is_tablet()
browser_info_shorcode 0 conflicts Fatal error: Cannot redeclare browser_info_shorcode()
browser_supports_cookies 0 conflicts Fatal error: Cannot redeclare browser_supports_cookies()
browser_supports_css 0 conflicts Fatal error: Cannot redeclare browser_supports_css()
browser_supports_javascript 0 conflicts Fatal error: Cannot redeclare browser_supports_javascript()
get_browser_version 0 conflicts Fatal error: Cannot redeclare get_browser_version()
is_browser 0 conflicts Fatal error: Cannot redeclare is_browser()
is_browser_shorcode 0 conflicts Fatal error: Cannot redeclare is_browser_shorcode()
is_firefox 0 conflicts Fatal error: Cannot redeclare is_firefox()
is_ie 0 conflicts Fatal error: Cannot redeclare is_ie()
is_ie10 0 conflicts Fatal error: Cannot redeclare is_ie10()
is_ie6 0 conflicts Fatal error: Cannot redeclare is_ie6()
is_ie7 0 conflicts Fatal error: Cannot redeclare is_ie7()
is_ie9 0 conflicts Fatal error: Cannot redeclare is_ie9()
is_lt_ie10 0 conflicts Fatal error: Cannot redeclare is_lt_ie10()
is_lt_ie11 0 conflicts Fatal error: Cannot redeclare is_lt_ie11()
is_lt_ie6 0 conflicts Fatal error: Cannot redeclare is_lt_ie6()
is_lt_ie7 0 conflicts Fatal error: Cannot redeclare is_lt_ie7()
is_lt_ie8 0 conflicts Fatal error: Cannot redeclare is_lt_ie8()
is_lt_ie9 0 conflicts Fatal error: Cannot redeclare is_lt_ie9()
pbd_is_true 0 conflicts Fatal error: Cannot redeclare pbd_is_true()
php_browser_detection_plugin_links 0 conflicts Fatal error: Cannot redeclare php_browser_detection_plugin_links()
php_browser_info 0 conflicts Fatal error: Cannot redeclare php_browser_info()

Using PHP Browser Detection from the command line with WP-CLI

The following commands are provided for convenience and should only be used if you understand how WP-CLI works. These commands refer to a single WordPress instance and may need to be modified if you are working with a Multisite installation.


How to install PHP Browser Detection from the command line with WP-CLI

Navigate to the root of your WordPress installation and type the following command:

wp plugin install php-browser-detection


How to activate PHP Browser Detection from the command line with WP-CLI

To immediately activate PHP Browser Detection after WP-CLI downloads the latest version you can use the following command:

wp plugin install php-browser-detection --activate


How to reinstall PHP Browser Detection from the command line with WP-CLI

To force a reinstallation of PHP Browser Detection which overwrites the current plugin without asking for confirmation you can use the following command:

wp plugin install php-browser-detection --force


How to update PHP Browser Detection to the latest version from the command line with WP-CLI

wp plugin update php-browser-detection


How to delete PHP Browser Detection from the command line with WP-CLI

wp plugin delete php-browser-detection

Where can you download earlier versions of PHP Browser Detection?

Whenever possible you should use the latest version of plugins and themes, however if you have recently updated and discovered that you need to install an earlier version you may be able to download other versions of PHP Browser Detection from the WordPress repository by visiting this link.

Please note that installing earlier versions of a theme or plugin is not generally a recommended course of action for most users and could re-introduce security, stability or other issues in PHP Browser Detection

About our testing enviroment

Tests were conducted using Apache 2.4.29, PHP 7.2 on Ubuntu 18.04, MySQL 5.7.33 and WordPress 5.9

It is very possible that different versions of PHP such as PHP 8.0, PHP 7.4, or PHP 7.3 could behave differently with PHP Browser Detection. Different versions of WordPress could implement the features of this plugin in slightly different ways as well.