wpsnoop Fatal error: Cannot redeclare my_admin_scripts()

If you are dealing with a WordPress issue where a PHP Function my_admin_scripts() 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 25 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 25 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_scripts() (previously declared in wp-content/plugins/wp-social-meta/wpsm.php:241)

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_scripts() (previously declared in wp-content/plugins/theme-slider/wp-slider-conf-content.php:79)

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_scripts() (previously declared in wp-content/plugins/native-apps-builder/appsbuilder.php:192)

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_scripts() (previously declared in wp-content/plugins/informational-popup/info_popup_main.php:418)

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

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

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_scripts() (previously declared in wp-content/plugins/blue-login-style/inc/blue-settings.php:19)

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

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

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_scripts() (previously declared in wp-content/plugins/wooreviews-importer/wooreviews-importer.php:98)

This file is part of the WordPress plugin IRivYou - Import Amazon reviews and Aliexpress reviews to woocommerce and could be interacting with another theme or plugin and causing a fatal error.

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

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_scripts() (previously declared in wp-content/plugins/custom-amp-accelerated-mobile-pages/custom-amp.php:165)

This file is part of the WordPress plugin Custom (AMP) Accelerated Mobile Pages and could be interacting with another theme or plugin and causing a fatal error.

PHP Fatal error: Cannot redeclare my_admin_scripts() (previously declared in wp-content/plugins/ijm-theme-bar/ijm-theme-bar-options.php:134)

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

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

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_scripts() (previously declared in wp-content/plugins/donate-goal/donation-goal.php:287)

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_scripts() (previously declared in wp-content/plugins/shane-web-guy-portfolio/app/init.php:92)

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_scripts() (previously declared in wp-content/plugins/dccode-wp-user-avatar/dccode-user-avatar.php:176)

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_scripts() (previously declared in wp-content/plugins/donation-thermometer/donation_therm.php:167)

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

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

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_scripts() (previously declared in wp-content/plugins/mfs-mailbox/mfs-mailbox.php:101)

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_scripts() (previously declared in wp-content/plugins/jazz-popups/jazz-popups.php:1046)

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

PHP Fatal error: Cannot redeclare my_admin_scripts() (previously declared in wp-content/plugins/html5-jquery-audio-player/index.php:211)

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

PHP Fatal error: Cannot redeclare my_admin_scripts() (previously declared in wp-content/plugins/ddirections/ddirections.php:476)

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

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

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_scripts() (previously declared in wp-content/plugins/wp-post-grid/wp-post-grid.php:44)

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

PHP Fatal error: Cannot redeclare my_admin_scripts() (previously declared in wp-content/plugins/image-gallery-with-slideshow/admin_setting.php:17)

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

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

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.