wpsnoop: fix WP Mobile Detect plugin conflicts, errors & issues

When the plugin WP Mobile Detect 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 WP Mobile Detect, plus learn which plugins and/or themes could be in conflict with WP Mobile Detect.


Troubleshooting theme and plugin conflicts is easier when you know what WP Mobile Detect 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 WP Mobile Detect

Get professional support for WP Mobile Detect here

When you need professional help with WordPress: get help here


What does WP Mobile Detect version 2.0 add to WordPress? Answers Here.

This is an automatically generated report - it is possible for WP Mobile Detect to perform differently in your installation, previous versions before 2.0 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 2.0 of WP Mobile Detect 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 WP Mobile Detect 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 WP Mobile Detect add to WordPress?

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

Type & Path Size Conflicts
wp-content/plugins/wp-mobile-detect/ 91.96kB No known conflicts with other themes or plugins.
wp-content/plugins/wp-mobile-detect/mobile-detect.php 74.01kB No known conflicts with other themes or plugins.
wp-content/plugins/wp-mobile-detect/readme.txt 6.27kB No known conflicts with other themes or plugins.
wp-content/plugins/wp-mobile-detect/wp-mobile-detect.php 11.68kB No known conflicts with other themes or plugins.

Which new shortcodes does WP Mobile Detect add to WordPress?

ShortCode   Known Plugin or Theme conflicts
[android] The android shortcode has potential conflict with at least 1 other plugin or theme.
[device] The device shortcode has potential conflict with at least 1 other plugin or theme.
[phone] The phone shortcode has potential conflicts with at least 5 other plugins or themes.
[tab] The tab shortcode has potential conflicts with at least 40 other plugins or themes.
[blackberry] The blackberry shortcode doesn't have any known conflicts with other themes or plugins.
[chrome] The chrome shortcode doesn't have any known conflicts with other themes or plugins.
[firefox] The firefox shortcode doesn't have any known conflicts with other themes or plugins.
[iPad] The iPad shortcode doesn't have any known conflicts with other themes or plugins.
[iPhone] The iPhone shortcode doesn't have any known conflicts with other themes or plugins.
[ie] The ie shortcode doesn't have any known conflicts with other themes or plugins.
[ios] The ios shortcode doesn't have any known conflicts with other themes or plugins.
[notdevice] The notdevice shortcode doesn't have any known conflicts with other themes or plugins.
[notphone] The notphone shortcode doesn't have any known conflicts with other themes or plugins.
[nottab] The nottab shortcode doesn't have any known conflicts with other themes or plugins.
[opera] The opera shortcode doesn't have any known conflicts with other themes or plugins.
[safari] The safari shortcode doesn't have any known conflicts with other themes or plugins.
[tablet] The tablet shortcode doesn't have any known conflicts with other themes or plugins.
[windowsmobile] The windowsmobile 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 WP Mobile Detect?

Which new options are added to the wp-options table by WP Mobile Detect?

What new PHP functions does WP Mobile Detect declare when it is active?

Function   Conflicts Common Errors
wpmd_android 0 conflicts Fatal error: Cannot redeclare wpmd_android()
wpmd_blackberry 0 conflicts Fatal error: Cannot redeclare wpmd_blackberry()
wpmd_chrome_browser 0 conflicts Fatal error: Cannot redeclare wpmd_chrome_browser()
wpmd_device 0 conflicts Fatal error: Cannot redeclare wpmd_device()
wpmd_firefox_browser 0 conflicts Fatal error: Cannot redeclare wpmd_firefox_browser()
wpmd_ie_browser 0 conflicts Fatal error: Cannot redeclare wpmd_ie_browser()
wpmd_ios 0 conflicts Fatal error: Cannot redeclare wpmd_ios()
wpmd_ipad 0 conflicts Fatal error: Cannot redeclare wpmd_ipad()
wpmd_iphone 0 conflicts Fatal error: Cannot redeclare wpmd_iphone()
wpmd_is_android 0 conflicts Fatal error: Cannot redeclare wpmd_is_android()
wpmd_is_blackberry 0 conflicts Fatal error: Cannot redeclare wpmd_is_blackberry()
wpmd_is_chrome_browser 0 conflicts Fatal error: Cannot redeclare wpmd_is_chrome_browser()
wpmd_is_device 0 conflicts Fatal error: Cannot redeclare wpmd_is_device()
wpmd_is_firefox_browser 0 conflicts Fatal error: Cannot redeclare wpmd_is_firefox_browser()
wpmd_is_ie_browser 0 conflicts Fatal error: Cannot redeclare wpmd_is_ie_browser()
wpmd_is_ios 0 conflicts Fatal error: Cannot redeclare wpmd_is_ios()
wpmd_is_ipad 0 conflicts Fatal error: Cannot redeclare wpmd_is_ipad()
wpmd_is_iphone 0 conflicts Fatal error: Cannot redeclare wpmd_is_iphone()
wpmd_is_notdevice 0 conflicts Fatal error: Cannot redeclare wpmd_is_notdevice()
wpmd_is_notphone 0 conflicts Fatal error: Cannot redeclare wpmd_is_notphone()
wpmd_is_nottab 0 conflicts Fatal error: Cannot redeclare wpmd_is_nottab()
wpmd_is_opera_browser 0 conflicts Fatal error: Cannot redeclare wpmd_is_opera_browser()
wpmd_is_phone 0 conflicts Fatal error: Cannot redeclare wpmd_is_phone()
wpmd_is_safari_browser 0 conflicts Fatal error: Cannot redeclare wpmd_is_safari_browser()
wpmd_is_tablet 0 conflicts Fatal error: Cannot redeclare wpmd_is_tablet()
wpmd_is_windows_mobile 0 conflicts Fatal error: Cannot redeclare wpmd_is_windows_mobile()
wpmd_notdevice 0 conflicts Fatal error: Cannot redeclare wpmd_notdevice()
wpmd_notphone 0 conflicts Fatal error: Cannot redeclare wpmd_notphone()
wpmd_nottab 0 conflicts Fatal error: Cannot redeclare wpmd_nottab()
wpmd_opera_browser 0 conflicts Fatal error: Cannot redeclare wpmd_opera_browser()
wpmd_phone 0 conflicts Fatal error: Cannot redeclare wpmd_phone()
wpmd_safari_browser 0 conflicts Fatal error: Cannot redeclare wpmd_safari_browser()
wpmd_tab 0 conflicts Fatal error: Cannot redeclare wpmd_tab()
wpmd_tablet 0 conflicts Fatal error: Cannot redeclare wpmd_tablet()
wpmd_windows_mobile 0 conflicts Fatal error: Cannot redeclare wpmd_windows_mobile()

Using WP Mobile Detect 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 WP Mobile Detect from the command line with WP-CLI

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

wp plugin install wp-mobile-detect


How to activate WP Mobile Detect from the command line with WP-CLI

To immediately activate WP Mobile Detect after WP-CLI downloads the latest version you can use the following command:

wp plugin install wp-mobile-detect --activate


How to reinstall WP Mobile Detect from the command line with WP-CLI

To force a reinstallation of WP Mobile Detect which overwrites the current plugin without asking for confirmation you can use the following command:

wp plugin install wp-mobile-detect --force


How to update WP Mobile Detect to the latest version from the command line with WP-CLI

wp plugin update wp-mobile-detect


How to delete WP Mobile Detect from the command line with WP-CLI

wp plugin delete wp-mobile-detect

Where can you download earlier versions of WP Mobile Detect?

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 WP Mobile Detect 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 WP Mobile Detect

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 WP Mobile Detect. Different versions of WordPress could implement the features of this plugin in slightly different ways as well.