wpsnoop Fatal error: Cannot redeclare browser_body_class()

If you are dealing with a WordPress issue where a PHP Function browser_body_class() 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 7 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 7 different instances of potential conflicts where different plugins or themes share the function name.

Examples of this error include:

PHP Fatal error: Cannot redeclare browser_body_class() (previously declared in wp-content/plugins/ttt-devices/ttt-devices.php:72)

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

PHP Fatal error: Cannot redeclare browser_body_class() (previously declared in wp-content/plugins/marctv-art-directed-blogging/marctv_art_directed_blogging.php:40)

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

PHP Fatal error: Cannot redeclare browser_body_class() (previously declared in wp-content/themes/popster/inc/circathemes-helper.php:35)

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

PHP Fatal error: Cannot redeclare browser_body_class() (previously declared in wp-content/themes/generic-framework/functions.php:104)

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

PHP Fatal error: Cannot redeclare browser_body_class() (previously declared in wp-content/themes/precious/lib/filters.php:11)

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

PHP Fatal error: Cannot redeclare browser_body_class() (previously declared in wp-content/themes/easyone/functions.php:38)

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

PHP Fatal error: Cannot redeclare browser_body_class() (previously declared in wp-content/themes/easytheme/functions.php:52)

This file is part of the WordPress theme EasyTheme 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.