wpsnoop Fatal error: Cannot redeclare add_menu_icons_styles()

If you are dealing with a WordPress issue where a PHP Function add_menu_icons_styles() 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 8 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 8 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_menu_icons_styles() (previously declared in wp-content/plugins/gspots/core/post-type.php:66)

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

PHP Fatal error: Cannot redeclare add_menu_icons_styles() (previously declared in wp-content/plugins/scroll-text-widget/ScrollTextWidget.php:31)

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

PHP Fatal error: Cannot redeclare add_menu_icons_styles() (previously declared in wp-content/plugins/typhoon-slider/init.php:82)

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

PHP Fatal error: Cannot redeclare add_menu_icons_styles() (previously declared in wp-content/plugins/classbyte/functions.php:616)

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

PHP Fatal error: Cannot redeclare add_menu_icons_styles() (previously declared in wp-content/plugins/mimetic-books/mb-api.php:288)

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

PHP Fatal error: Cannot redeclare add_menu_icons_styles() (previously declared in wp-content/plugins/nice-responsive-wp-faq/tmrd_faq.php:99)

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

PHP Fatal error: Cannot redeclare add_menu_icons_styles() (previously declared in wp-content/plugins/lselter-webshowcase/lswc-site-post.php:230)

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

PHP Fatal error: Cannot redeclare add_menu_icons_styles() (previously declared in wp-content/plugins/bemocalendar/bemocalendar.php:55)

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