wpsnoop Fatal error: Cannot redeclare enqueue_plugin_scripts()

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

Examples of this error include:

PHP Fatal error: Cannot redeclare enqueue_plugin_scripts() (previously declared in wp-content/plugins/codeblocks-extended/codeblocks-extended.php:29)

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

PHP Fatal error: Cannot redeclare enqueue_plugin_scripts() (previously declared in wp-content/plugins/obop-premium/obop-premium.php:22)

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

PHP Fatal error: Cannot redeclare enqueue_plugin_scripts() (previously declared in wp-content/plugins/sponsorship-disclaimer/spon-disclaim-shortcode.php:21)

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

PHP Fatal error: Cannot redeclare enqueue_plugin_scripts() (previously declared in wp-content/plugins/cbprotect/cbprotect.php:42)

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

PHP Fatal error: Cannot redeclare enqueue_plugin_scripts() (previously declared in wp-content/plugins/seats2meet-booking-widget/seats2meet-com-widget.php:23)

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

PHP Fatal error: Cannot redeclare enqueue_plugin_scripts() (previously declared in wp-content/plugins/rob-bot-video-slider/bot-video-slider.php:158)

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

PHP Fatal error: Cannot redeclare enqueue_plugin_scripts() (previously declared in wp-content/plugins/when-is-update/rust-update-time.php:58)

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

PHP Fatal error: Cannot redeclare enqueue_plugin_scripts() (previously declared in wp-content/plugins/zero-parallel-form/zero-parallel-form.php:32)

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

PHP Fatal error: Cannot redeclare enqueue_plugin_scripts() (previously declared in wp-content/plugins/soft-heading/soft_heading.php:184)

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

PHP Fatal error: Cannot redeclare enqueue_plugin_scripts() (previously declared in wp-content/plugins/wp-sugarscale/wp-sugarscale.php:74)

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

PHP Fatal error: Cannot redeclare enqueue_plugin_scripts() (previously declared in wp-content/plugins/bazo/wp-bazo.php:413)

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

PHP Fatal error: Cannot redeclare enqueue_plugin_scripts() (previously declared in wp-content/plugins/icase-modulo/admin/class-icase-modulo-wp-admin.php:104)

This file is part of the WordPress plugin iCase - Módulo WordPress 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.