wpsnoop Fatal error: Cannot redeclare addheadercode()

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

Examples of this error include:

PHP Fatal error: Cannot redeclare addheadercode() (previously declared in wp-content/plugins/fix-facebook-like/fix_facebook_like.php:179)

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

PHP Fatal error: Cannot redeclare addheadercode() (previously declared in wp-content/plugins/social-connect-widget/inc/functions.php:3)

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

PHP Fatal error: Cannot redeclare addheadercode() (previously declared in wp-content/plugins/auto-join-groups/bn-auto-join-group.php:22)

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

PHP Fatal error: Cannot redeclare addheadercode() (previously declared in wp-content/plugins/tell-sammy/tell-sammy.php:13)

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

PHP Fatal error: Cannot redeclare addheadercode() (previously declared in wp-content/plugins/cat-by-tags-table/cat-by-tags-table.php:263)

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

PHP Fatal error: Cannot redeclare addheadercode() (previously declared in wp-content/plugins/wp-post-tips/wp_post_tips.php:33)

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

PHP Fatal error: Cannot redeclare addheadercode() (previously declared in wp-content/plugins/css3-google-button/index.php:58)

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

PHP Fatal error: Cannot redeclare addheadercode() (previously declared in wp-content/plugins/about-me/aboutme.php:341)

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

PHP Fatal error: Cannot redeclare addheadercode() (previously declared in wp-content/plugins/plus1-button/plus1-button.php:72)

This file is part of the WordPress plugin Google +1 Easy Button and could be interacting with another theme or plugin and causing a fatal error.

PHP Fatal error: Cannot redeclare addheadercode() (previously declared in wp-content/plugins/wp-css-button/index.php:77)

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

PHP Fatal error: Cannot redeclare addheadercode() (previously declared in wp-content/plugins/yahoo-finance-quotes/yahoo-finance-quotes.php:311)

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

PHP Fatal error: Cannot redeclare addheadercode() (previously declared in wp-content/plugins/ip-logger/index.php:1082)

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

PHP Fatal error: Cannot redeclare addheadercode() (previously declared in wp-content/plugins/ghostbloggers-keyword-density-checker/ghostbloggers_keyword_spider.php:261)

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

PHP Fatal error: Cannot redeclare addheadercode() (previously declared in wp-content/plugins/pwaplusphp/pwaplusphp.php:324)

This file is part of the WordPress plugin PWA+PHP Picasa Web Albums for Wordpress and could be interacting with another theme or plugin and causing a fatal error.

PHP Fatal error: Cannot redeclare addheadercode() (previously declared in wp-content/plugins/stripe-political-donations/initialize.php:29)

This file is part of the WordPress plugin Stripe Political Donations & Payments and could be interacting with another theme or plugin and causing a fatal error.

PHP Fatal error: Cannot redeclare addheadercode() (previously declared in wp-content/plugins/gloder-suppressor/gloder-suppressor.php:29)

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

PHP Fatal error: Cannot redeclare addheadercode() (previously declared in wp-content/plugins/hyperlinkpopup/hyperlinkPopup.php:11)

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

PHP Fatal error: Cannot redeclare addheadercode() (previously declared in wp-content/plugins/social-links/sociallinks.php:342)

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

PHP Fatal error: Cannot redeclare addheadercode() (previously declared in wp-content/plugins/twitter-rss-social-stats/TRRStats.php:12)

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

PHP Fatal error: Cannot redeclare addheadercode() (previously declared in wp-content/plugins/simple-event-schedule/schedule.php:116)

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

PHP Fatal error: Cannot redeclare addheadercode() (previously declared in wp-content/plugins/find-me-on/find-me-on.php:530)

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

PHP Fatal error: Cannot redeclare addheadercode() (previously declared in wp-content/plugins/blog2print/1buch_com_blog2print.php:70)

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

PHP Fatal error: Cannot redeclare addheadercode() (previously declared in wp-content/plugins/auto-tooltip/plugin.php:34)

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

PHP Fatal error: Cannot redeclare addheadercode() (previously declared in wp-content/plugins/show-posts-fade-inout-fix/showpostsfade.php:33)

This file is part of the WordPress plugin Show Category Posts Fade in/out and could be interacting with another theme or plugin and causing a fatal error.

PHP Fatal error: Cannot redeclare addheadercode() (previously declared in wp-content/plugins/wwt-creator/functions/wp_actions.php:4)

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

PHP Fatal error: Cannot redeclare addheadercode() (previously declared in wp-content/plugins/wp-einsatz/wp-einsatz.php:54)

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

PHP Fatal error: Cannot redeclare addheadercode() (previously declared in wp-content/plugins/auto-attachments/auto-attachments.php:162)

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

PHP Fatal error: Cannot redeclare addheadercode() (previously declared in wp-content/plugins/wxsim-forecast/WXSIMforecast.php:244)

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

PHP Fatal error: Cannot redeclare addheadercode() (previously declared in wp-content/plugins/mtg-combo-widget/mtg-combo-widget.php:97)

This file is part of the WordPress plugin M:tG combo widget and could be interacting with another theme or plugin and causing a fatal error.

PHP Fatal error: Cannot redeclare addheadercode() (previously declared in wp-content/plugins/cursul-valutar-bnr/cursul-valutar-bnr.php:13)

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

PHP Fatal error: Cannot redeclare addheadercode() (previously declared in wp-content/plugins/simple-count-down/simplecountdown.php:140)

This file is part of the WordPress plugin Simple Count Down 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.