wpsnoop Fatal error: Cannot redeclare load_plugin()

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

Examples of this error include:

PHP Fatal error: Cannot redeclare load_plugin() (previously declared in wp-content/plugins/best-local-seo-tools/localseoportfolio-free.php:7707)

This file is part of the WordPress plugin Best Local SEO Tools, Wordpress SEO Plugin and could be interacting with another theme or plugin and causing a fatal error.

PHP Fatal error: Cannot redeclare load_plugin() (previously declared in wp-content/plugins/yourpay/woocommerce-gateway-yourpay.php:37)

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

PHP Fatal error: Cannot redeclare load_plugin() (previously declared in wp-content/plugins/shopsite-plugin/shopsite.php:53)

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

PHP Fatal error: Cannot redeclare load_plugin() (previously declared in wp-content/plugins/button-maker/buttons.php:122)

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

PHP Fatal error: Cannot redeclare load_plugin() (previously declared in wp-content/plugins/custom-skins-contact-form-7/custom-skins-contact-form-7.php:81)

This file is part of the WordPress plugin Custom Skins Contact Form 7 and could be interacting with another theme or plugin and causing a fatal error.

PHP Fatal error: Cannot redeclare load_plugin() (previously declared in wp-content/plugins/custom-skins-for-contact-form-7/contact-form-7-custom-skins.php:89)

This file is part of the WordPress plugin Contact Form 7 Custom Skins and could be interacting with another theme or plugin and causing a fatal error.

PHP Fatal error: Cannot redeclare load_plugin() (previously declared in wp-content/plugins/fruit-slider/admin/init/define.php:38)

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

PHP Fatal error: Cannot redeclare load_plugin() (previously declared in wp-content/plugins/wp-auto-dealer/wp-car-dealer.php:34)

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

PHP Fatal error: Cannot redeclare load_plugin() (previously declared in wp-content/plugins/any-custom-field/index.php:43)

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

PHP Fatal error: Cannot redeclare load_plugin() (previously declared in wp-content/plugins/white-rabbit-suite/install/install-posts.php:196)

This file is part of the WordPress plugin White Rabbit All in One Suite and could be interacting with another theme or plugin and causing a fatal error.

PHP Fatal error: Cannot redeclare load_plugin() (previously declared in wp-content/plugins/liverecover-woocommerce/woocommerce-liverecover-plugin.php:78)

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