wpsnoop Fatal error: Cannot redeclare is_mobile()

If you are dealing with a WordPress issue where a PHP Function is_mobile() was already declared it is most likely due to a plugin/theme conflict.

wpsnoop scanned and analyzed over 100,000 WordPress plugins and themes to find and locate potential conflicts including functions that share the same name.

This page has information on the 9 places where that function is declared and used in WordPress plugins and themes.

Note: Our database currently only taps into the free themes and plugins available in the publicly available WordPress plugins and themes, if your site uses paid plugins, themes or custom code there may be additional conflicts.


Our database has uncovered 9 different instances of potential conflicts where different plugins or themes share the function name.

Examples of this error include:

PHP Fatal error: Cannot redeclare is_mobile() (previously declared in wp-content/plugins/sharing-plus/inc/utils.php:261)

This file is part of the WordPress plugin Sharing Plus and could be interacting with another theme or plugin and causing a fatal error.

PHP Fatal error: Cannot redeclare is_mobile() (previously declared in wp-content/plugins/cropnote/cropnote.php:163)

This file is part of the WordPress plugin Cropnote and could be interacting with another theme or plugin and causing a fatal error.

PHP Fatal error: Cannot redeclare is_mobile() (previously declared in wp-content/plugins/wphone/wphone.php:833)

This file is part of the WordPress plugin WPhone and could be interacting with another theme or plugin and causing a fatal error.

PHP Fatal error: Cannot redeclare is_mobile() (previously declared in wp-content/plugins/txtu-is-mobile/kih-is-mobile.php:28)

This file is part of the WordPress plugin is_mobile and could be interacting with another theme or plugin and causing a fatal error.

PHP Fatal error: Cannot redeclare is_mobile() (previously declared in wp-content/plugins/mobble/mobble.php:300)

This file is part of the WordPress plugin mobble and could be interacting with another theme or plugin and causing a fatal error.

PHP Fatal error: Cannot redeclare is_mobile() (previously declared in wp-content/plugins/mobile-client-detection-plugin/mobile_client_detection.php:455)

This file is part of the WordPress plugin Mobile Client Detection Plugin and could be interacting with another theme or plugin and causing a fatal error.

PHP Fatal error: Cannot redeclare is_mobile() (previously declared in wp-content/plugins/php-browser-detection/php-browser-detection.php:232)

This file is part of the WordPress plugin PHP Browser Detection and could be interacting with another theme or plugin and causing a fatal error.

PHP Fatal error: Cannot redeclare is_mobile() (previously declared in wp-content/plugins/float-left-right-advertising/float_left_right_ads.php:27)

This file is part of the WordPress plugin Float Left Right Advertising and could be interacting with another theme or plugin and causing a fatal error.

PHP Fatal error: Cannot redeclare is_mobile() (previously declared in wp-content/plugins/wp-stripe-global-payments/_inc/wpstripeglobal.shortcode.php:18)

This file is part of the WordPress plugin China Payments Plugin and could be interacting with another theme or plugin and causing a fatal error.

The error occurs because two (or more) plugins that you are using are both trying to declare a function with the same name.