wpsnoop Fatal error: Cannot redeclare admin_header_style()

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

Examples of this error include:

PHP Fatal error: Cannot redeclare admin_header_style() (previously declared in wp-content/themes/summ/functions.php:32)

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

PHP Fatal error: Cannot redeclare admin_header_style() (previously declared in wp-content/themes/belle/functions.php:276)

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

PHP Fatal error: Cannot redeclare admin_header_style() (previously declared in wp-content/themes/greenie/functions.php:60)

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

PHP Fatal error: Cannot redeclare admin_header_style() (previously declared in wp-content/themes/nanoplex/functions.php:75)

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

PHP Fatal error: Cannot redeclare admin_header_style() (previously declared in wp-content/themes/jessica-fletcher-redux/functions.php:544)

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

PHP Fatal error: Cannot redeclare admin_header_style() (previously declared in wp-content/themes/unnamed-lite/functions.php:635)

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

PHP Fatal error: Cannot redeclare admin_header_style() (previously declared in wp-content/themes/simpleindo/functions.php:68)

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

PHP Fatal error: Cannot redeclare admin_header_style() (previously declared in wp-content/themes/proclouds/functions.php:89)

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

PHP Fatal error: Cannot redeclare admin_header_style() (previously declared in wp-content/themes/irrigation/functions.php:18)

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

PHP Fatal error: Cannot redeclare admin_header_style() (previously declared in wp-content/themes/rolas-sepuluh/functions.php:72)

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

PHP Fatal error: Cannot redeclare admin_header_style() (previously declared in wp-content/themes/china-red/inc/banner.php:9)

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

PHP Fatal error: Cannot redeclare admin_header_style() (previously declared in wp-content/themes/indore/functions.php:78)

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

PHP Fatal error: Cannot redeclare admin_header_style() (previously declared in wp-content/themes/vina/functions.php:179)

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

PHP Fatal error: Cannot redeclare admin_header_style() (previously declared in wp-content/themes/twordder/functions.php:80)

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

PHP Fatal error: Cannot redeclare admin_header_style() (previously declared in wp-content/themes/black-skyline/functions.php:178)

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

PHP Fatal error: Cannot redeclare admin_header_style() (previously declared in wp-content/themes/redbel/functions.php:181)

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

PHP Fatal error: Cannot redeclare admin_header_style() (previously declared in wp-content/themes/yashfa/functions.php:73)

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

PHP Fatal error: Cannot redeclare admin_header_style() (previously declared in wp-content/themes/redline/library/functions/functions.php:237)

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

PHP Fatal error: Cannot redeclare admin_header_style() (previously declared in wp-content/themes/proslate/functions.php:88)

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

PHP Fatal error: Cannot redeclare admin_header_style() (previously declared in wp-content/themes/js-o4w/inc/banner.php:9)

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

PHP Fatal error: Cannot redeclare admin_header_style() (previously declared in wp-content/themes/prosumer/functions.php:53)

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

PHP Fatal error: Cannot redeclare admin_header_style() (previously declared in wp-content/themes/fazio/libs/add_theme_support.php:56)

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

PHP Fatal error: Cannot redeclare admin_header_style() (previously declared in wp-content/themes/mygrid2/functions.php:54)

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

PHP Fatal error: Cannot redeclare admin_header_style() (previously declared in wp-content/themes/vita/functions.php:73)

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

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

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

PHP Fatal error: Cannot redeclare admin_header_style() (previously declared in wp-content/themes/gray-and-gold/functions.php:174)

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

PHP Fatal error: Cannot redeclare admin_header_style() (previously declared in wp-content/themes/atmosphere-2010/functions.php:57)

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

PHP Fatal error: Cannot redeclare admin_header_style() (previously declared in wp-content/themes/rgb/functions.php:742)

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

PHP Fatal error: Cannot redeclare admin_header_style() (previously declared in wp-content/themes/azure-basic/functions.php:81)

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

PHP Fatal error: Cannot redeclare admin_header_style() (previously declared in wp-content/themes/under-the-influence/functions.php:181)

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