wpsnoop Fatal error: Cannot redeclare load_wp_media_files()

If you are dealing with a WordPress issue where a PHP Function load_wp_media_files() 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 19 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 19 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_wp_media_files() (previously declared in wp-content/plugins/ajax-marketing-slider-lite/admin/includes/post_editor.php:1699)

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

PHP Fatal error: Cannot redeclare load_wp_media_files() (previously declared in wp-content/plugins/ss-preloader/ss-preloader.php:46)

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

PHP Fatal error: Cannot redeclare load_wp_media_files() (previously declared in wp-content/plugins/devrix-dark-site/dx-menu-creation/dx-menu-creation.php:65)

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

PHP Fatal error: Cannot redeclare load_wp_media_files() (previously declared in wp-content/plugins/ultimate-facebook-live-chat/ultimate-facebook-live-chat.php:407)

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

PHP Fatal error: Cannot redeclare load_wp_media_files() (previously declared in wp-content/plugins/lordicon-interactive-icons/lord-icon-wp.php:34)

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

PHP Fatal error: Cannot redeclare load_wp_media_files() (previously declared in wp-content/plugins/gedshow/csgen.php:1219)

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

PHP Fatal error: Cannot redeclare load_wp_media_files() (previously declared in wp-content/plugins/birds-author-box/admin/additional_fields.php:15)

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

PHP Fatal error: Cannot redeclare load_wp_media_files() (previously declared in wp-content/plugins/campaigndot/admin/menu/wes_defs.php:26)

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

PHP Fatal error: Cannot redeclare load_wp_media_files() (previously declared in wp-content/plugins/webcourier-email-marketing/webcourier_email_marketing.php:19)

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

PHP Fatal error: Cannot redeclare load_wp_media_files() (previously declared in wp-content/plugins/clickskins/clickskin.php:78)

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

PHP Fatal error: Cannot redeclare load_wp_media_files() (previously declared in wp-content/plugins/instalogin-me/plugin.php:24)

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

PHP Fatal error: Cannot redeclare load_wp_media_files() (previously declared in wp-content/plugins/ultimate-popup-creator/ultimate-popup-creator.php:169)

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

PHP Fatal error: Cannot redeclare load_wp_media_files() (previously declared in wp-content/plugins/team-vcard-generator/includes/class-team-vcard-generator-loader.php:1702)

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

PHP Fatal error: Cannot redeclare load_wp_media_files() (previously declared in wp-content/plugins/flipping-cards/flipping-cards.php:155)

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

PHP Fatal error: Cannot redeclare load_wp_media_files() (previously declared in wp-content/plugins/ad-manager/ad-manager.php:37)

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

PHP Fatal error: Cannot redeclare load_wp_media_files() (previously declared in wp-content/plugins/gallery-image-responsive/Juna_IT_Image_Gallery.php:82)

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

PHP Fatal error: Cannot redeclare load_wp_media_files() (previously declared in wp-content/plugins/wp-customize/wp-customize.php:94)

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

PHP Fatal error: Cannot redeclare load_wp_media_files() (previously declared in wp-content/plugins/wp-christmas-countdown/xmas-countdown.php:167)

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

PHP Fatal error: Cannot redeclare load_wp_media_files() (previously declared in wp-content/plugins/mobile-navigation-menu/includes/admin/admin_menu.php:32)

This file is part of the WordPress plugin Mobile Navigation Menu 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.