wpsnoop Fatal error: Cannot redeclare admin_scripts()

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

Examples of this error include:

PHP Fatal error: Cannot redeclare admin_scripts() (previously declared in wp-content/plugins/animated-popup/animated-popup.php:53)

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

PHP Fatal error: Cannot redeclare admin_scripts() (previously declared in wp-content/plugins/gdreseller/gdreseller.php:32)

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

PHP Fatal error: Cannot redeclare admin_scripts() (previously declared in wp-content/plugins/responsive-and-swipe-slider/metabox/add_responsive_slider_meta_box.php:296)

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

PHP Fatal error: Cannot redeclare admin_scripts() (previously declared in wp-content/plugins/fancy-latest-post-widget/fancy_latest_post.php:49)

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

PHP Fatal error: Cannot redeclare admin_scripts() (previously declared in wp-content/themes/brood/admin/functions.php:5)

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

PHP Fatal error: Cannot redeclare admin_scripts() (previously declared in wp-content/plugins/restrict-content-pro-campaign-monitor/rcp-campaign-monitor.php:805)

This file is part of the WordPress plugin Restrict Content Pro - Campaign Monitor and could be interacting with another theme or plugin and causing a fatal error.

PHP Fatal error: Cannot redeclare admin_scripts() (previously declared in wp-content/plugins/punchtab/punchtab.php:127)

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

PHP Fatal error: Cannot redeclare admin_scripts() (previously declared in wp-content/plugins/music-backgrounds/themusicase.php:38)

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

PHP Fatal error: Cannot redeclare admin_scripts() (previously declared in wp-content/plugins/episode-vii-countdown-widget/episode7-countdown-widget.php:351)

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

PHP Fatal error: Cannot redeclare admin_scripts() (previously declared in wp-content/plugins/tagnpin-social-loyalty-rewards-incentives/tagnpin.php:109)

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

PHP Fatal error: Cannot redeclare admin_scripts() (previously declared in wp-content/plugins/datalistit/datalistit.php:416)

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

PHP Fatal error: Cannot redeclare admin_scripts() (previously declared in wp-content/plugins/ab-google-map-travel/ab-google-map-travel.php:17)

This file is part of the WordPress plugin AB Google Map Travel (AB-MAP) and could be interacting with another theme or plugin and causing a fatal error.

PHP Fatal error: Cannot redeclare admin_scripts() (previously declared in wp-content/plugins/auto-form-fill/autoFormFill.php:159)

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

PHP Fatal error: Cannot redeclare admin_scripts() (previously declared in wp-content/plugins/compact-admin/compact-admin.php:11)

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