wpsnoop Fatal error: Cannot redeclare my_admin_styles()

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

Examples of this error include:

PHP Fatal error: Cannot redeclare my_admin_styles() (previously declared in wp-content/plugins/wp-social-meta/wpsm.php:246)

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

PHP Fatal error: Cannot redeclare my_admin_styles() (previously declared in wp-content/plugins/theme-slider/wp-slider-conf-content.php:86)

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

PHP Fatal error: Cannot redeclare my_admin_styles() (previously declared in wp-content/plugins/native-apps-builder/appsbuilder.php:199)

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

PHP Fatal error: Cannot redeclare my_admin_styles() (previously declared in wp-content/plugins/wp-simple-social/wp-simple-social.php:30)

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

PHP Fatal error: Cannot redeclare my_admin_styles() (previously declared in wp-content/plugins/custom-admin-panel-by-2cloud/2cloud-admin-panel.php:204)

This file is part of the WordPress plugin Custom Admin Panel by 2Cloud and could be interacting with another theme or plugin and causing a fatal error.

PHP Fatal error: Cannot redeclare my_admin_styles() (previously declared in wp-content/plugins/cawaii-admin/cawaii-admin.php:381)

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

PHP Fatal error: Cannot redeclare my_admin_styles() (previously declared in wp-content/plugins/pics-mash/PicsMash.php:101)

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

PHP Fatal error: Cannot redeclare my_admin_styles() (previously declared in wp-content/plugins/donate-goal/donation-goal.php:294)

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

PHP Fatal error: Cannot redeclare my_admin_styles() (previously declared in wp-content/plugins/shane-web-guy-portfolio/app/init.php:103)

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

PHP Fatal error: Cannot redeclare my_admin_styles() (previously declared in wp-content/plugins/dccode-wp-user-avatar/dccode-user-avatar.php:182)

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

PHP Fatal error: Cannot redeclare my_admin_styles() (previously declared in wp-content/plugins/my-company-menu/mycomp_menu.php:197)

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

PHP Fatal error: Cannot redeclare my_admin_styles() (previously declared in wp-content/plugins/mfs-mailbox/mfs-mailbox.php:108)

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

PHP Fatal error: Cannot redeclare my_admin_styles() (previously declared in wp-content/plugins/kento-ads-rotator/index.php:58)

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

PHP Fatal error: Cannot redeclare my_admin_styles() (previously declared in wp-content/plugins/multimedial-images/multimedial_imagenes.php:130)

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

PHP Fatal error: Cannot redeclare my_admin_styles() (previously declared in wp-content/plugins/wp-qda-marked-text/marked-text.php:75)

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

PHP Fatal error: Cannot redeclare my_admin_styles() (previously declared in wp-content/plugins/web-app/web-app.php:112)

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