wpsnoop Fatal error: Cannot redeclare add_button()

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

Examples of this error include:

PHP Fatal error: Cannot redeclare add_button() (previously declared in wp-content/plugins/ezbuybutton-buy-book-widget-for-authors/index.php:138)

This file is part of the WordPress plugin EZBuyButton Buy Book Widget for Authors and could be interacting with another theme or plugin and causing a fatal error.

PHP Fatal error: Cannot redeclare add_button() (previously declared in wp-content/plugins/space-invaders/jump.php:16)

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

PHP Fatal error: Cannot redeclare add_button() (previously declared in wp-content/plugins/wp-lorem/wp-lorem.php:155)

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

PHP Fatal error: Cannot redeclare add_button() (previously declared in wp-content/plugins/stream-pandamolesto-shortcode/streamcodes.php:64)

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

PHP Fatal error: Cannot redeclare add_button() (previously declared in wp-content/plugins/iorad-editor/iorad-editor.php:44)

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

PHP Fatal error: Cannot redeclare add_button() (previously declared in wp-content/plugins/perfect-columns/perfect-columns.php:98)

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

PHP Fatal error: Cannot redeclare add_button() (previously declared in wp-content/plugins/wpsnapapp/snapapp.php:114)

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

PHP Fatal error: Cannot redeclare add_button() (previously declared in wp-content/plugins/sequoia-sitelink/sequoia-sitelink.php:43)

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

PHP Fatal error: Cannot redeclare add_button() (previously declared in wp-content/plugins/incredible-font-awesome/fontawesome.php:28)

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

PHP Fatal error: Cannot redeclare add_button() (previously declared in wp-content/plugins/wp-easy-leads/shortcode.php:51)

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

PHP Fatal error: Cannot redeclare add_button() (previously declared in wp-content/plugins/zohocreator/creatorForm.php:38)

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

PHP Fatal error: Cannot redeclare add_button() (previously declared in wp-content/plugins/toggle-box/toggle-box.php:33)

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

PHP Fatal error: Cannot redeclare add_button() (previously declared in wp-content/plugins/insert-adsense/insert-adsense.php:276)

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

PHP Fatal error: Cannot redeclare add_button() (previously declared in wp-content/plugins/slideshowpro-shortcode/slideshowpro_sc.php:329)

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

PHP Fatal error: Cannot redeclare add_button() (previously declared in wp-content/plugins/kkprogressbar/kkpb_prezentacja.php:417)

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

PHP Fatal error: Cannot redeclare add_button() (previously declared in wp-content/plugins/animated-buttons-with-css3/animated-buttons-with-css3.php:31)

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

PHP Fatal error: Cannot redeclare add_button() (previously declared in wp-content/plugins/qr-barcode/qr-barcode.php:22)

This file is part of the WordPress plugin QR Barcode 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.