wpsnoop Fatal error: Cannot redeclare bosa_has_header_media()

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

Examples of this error include:

PHP Fatal error: Cannot redeclare bosa_has_header_media() (previously declared in wp-content/themes/bosa/inc/template-functions.php:834)

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

PHP Fatal error: Cannot redeclare bosa_has_header_media() (previously declared in wp-content/themes/bosa/inc/template-functions.php:834)

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

PHP Fatal error: Cannot redeclare bosa_has_header_media() (previously declared in wp-content/themes/bosa/inc/template-functions.php:834)

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

PHP Fatal error: Cannot redeclare bosa_has_header_media() (previously declared in wp-content/themes/bosa/inc/template-functions.php:834)

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

PHP Fatal error: Cannot redeclare bosa_has_header_media() (previously declared in wp-content/themes/bosa/inc/template-functions.php:834)

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

PHP Fatal error: Cannot redeclare bosa_has_header_media() (previously declared in wp-content/themes/bosa/inc/template-functions.php:834)

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

PHP Fatal error: Cannot redeclare bosa_has_header_media() (previously declared in wp-content/themes/bosa/inc/template-functions.php:834)

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

PHP Fatal error: Cannot redeclare bosa_has_header_media() (previously declared in wp-content/themes/bosa/inc/template-functions.php:834)

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

PHP Fatal error: Cannot redeclare bosa_has_header_media() (previously declared in wp-content/themes/bosa/inc/template-functions.php:834)

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

PHP Fatal error: Cannot redeclare bosa_has_header_media() (previously declared in wp-content/themes/bosa/inc/template-functions.php:834)

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

PHP Fatal error: Cannot redeclare bosa_has_header_media() (previously declared in wp-content/themes/bosa/inc/template-functions.php:834)

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

PHP Fatal error: Cannot redeclare bosa_has_header_media() (previously declared in wp-content/themes/bosa/inc/template-functions.php:834)

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

PHP Fatal error: Cannot redeclare bosa_has_header_media() (previously declared in wp-content/themes/bosa/inc/template-functions.php:834)

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

PHP Fatal error: Cannot redeclare bosa_has_header_media() (previously declared in wp-content/themes/bosa/inc/template-functions.php:834)

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

PHP Fatal error: Cannot redeclare bosa_has_header_media() (previously declared in wp-content/themes/bosa/inc/template-functions.php:834)

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

PHP Fatal error: Cannot redeclare bosa_has_header_media() (previously declared in wp-content/themes/bosa/inc/template-functions.php:834)

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

PHP Fatal error: Cannot redeclare bosa_has_header_media() (previously declared in wp-content/themes/bosa/inc/template-functions.php:834)

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

PHP Fatal error: Cannot redeclare bosa_has_header_media() (previously declared in wp-content/themes/bosa/inc/template-functions.php:834)

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

PHP Fatal error: Cannot redeclare bosa_has_header_media() (previously declared in wp-content/themes/bosa/inc/template-functions.php:834)

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