wpsnoop Fatal error: Cannot redeclare pre()

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

Examples of this error include:

PHP Fatal error: Cannot redeclare pre() (previously declared in wp-content/plugins/fastdee/includes/libraries/debuglib.php:810)

This file is part of the WordPress plugin Fastdee<em>!</em> and could be interacting with another theme or plugin and causing a fatal error.

PHP Fatal error: Cannot redeclare pre() (previously declared in wp-content/plugins/alphabetic-pagination/inc/functions.php:48)

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

PHP Fatal error: Cannot redeclare pre() (previously declared in wp-content/plugins/jquery-post-splitter/inc/functions-essentials.php:4)

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

PHP Fatal error: Cannot redeclare pre() (previously declared in wp-content/plugins/google-calendar-woocommerce-bookings-two-way-sync/ninja-google-calendar-woocommerce-bookings-two-way-sync.php:498)

This file is part of the WordPress plugin Google Calendar Woocommerce Bookings Two Way Sync and could be interacting with another theme or plugin and causing a fatal error.

PHP Fatal error: Cannot redeclare pre() (previously declared in wp-content/plugins/wp-secure-content/inc/functions.php:20)

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

PHP Fatal error: Cannot redeclare pre() (previously declared in wp-content/plugins/wp-header-images/inc/functions.php:25)

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

PHP Fatal error: Cannot redeclare pre() (previously declared in wp-content/plugins/wp-responsive-tabs/functions.php:5)

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

PHP Fatal error: Cannot redeclare pre() (previously declared in wp-content/plugins/stock-locations-for-woocommerce/inc/functions.php:4)

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

PHP Fatal error: Cannot redeclare pre() (previously declared in wp-content/plugins/sxss-ticker/sxss-ticker.php:22)

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

PHP Fatal error: Cannot redeclare pre() (previously declared in wp-content/plugins/simple-ajax-pagination/includes/core-functions.php:3)

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

PHP Fatal error: Cannot redeclare pre() (previously declared in wp-content/plugins/feedhi-4wp/feedhi-4wp.php:12)

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

PHP Fatal error: Cannot redeclare pre() (previously declared in wp-content/plugins/wp-sort-order/inc/functions.php:127)

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

PHP Fatal error: Cannot redeclare pre() (previously declared in wp-content/plugins/wp-e-commerce-whish-list/inc/functions.php:75)

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

PHP Fatal error: Cannot redeclare pre() (previously declared in wp-content/plugins/typhoon-slider/init.php:244)

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

PHP Fatal error: Cannot redeclare pre() (previously declared in wp-content/plugins/compositepost/CompositePost.php:95)

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

PHP Fatal error: Cannot redeclare pre() (previously declared in wp-content/plugins/joli-clear-lightbox/helpers.php:23)

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

PHP Fatal error: Cannot redeclare pre() (previously declared in wp-content/plugins/joli-faq-seo/helpers.php:28)

This file is part of the WordPress plugin Joli FAQ SEO - WordPress FAQ Plugin and could be interacting with another theme or plugin and causing a fatal error.

PHP Fatal error: Cannot redeclare pre() (previously declared in wp-content/plugins/joli-table-of-contents/helpers.php:25)

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

PHP Fatal error: Cannot redeclare pre() (previously declared in wp-content/plugins/efrontpro/utils/utils.php:13)

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

PHP Fatal error: Cannot redeclare pre() (previously declared in wp-content/plugins/injection-guard/functions.php:15)

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

PHP Fatal error: Cannot redeclare pre() (previously declared in wp-content/plugins/facebook-publish/lib/class/cAuth/general_function.php:4)

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

PHP Fatal error: Cannot redeclare pre() (previously declared in wp-content/plugins/wpjqp-datepicker/inc/functions.php:8)

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

PHP Fatal error: Cannot redeclare pre() (previously declared in wp-content/plugins/advanced-permalink/advanced-permalink.php:196)

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

PHP Fatal error: Cannot redeclare pre() (previously declared in wp-content/plugins/wp-speedup/inc/functions.php:21)

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

PHP Fatal error: Cannot redeclare pre() (previously declared in wp-content/plugins/woo-coming-soon/inc/functions.php:350)

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

PHP Fatal error: Cannot redeclare pre() (previously declared in wp-content/plugins/wp-easy-sharing/core.php:22)

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

PHP Fatal error: Cannot redeclare pre() (previously declared in wp-content/plugins/wp-docs/index.php:19)

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

PHP Fatal error: Cannot redeclare pre() (previously declared in wp-content/plugins/wp-mechanic/inc/functions.php:34)

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

PHP Fatal error: Cannot redeclare pre() (previously declared in wp-content/plugins/endless-posts-navigation/functions.php:47)

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

PHP Fatal error: Cannot redeclare pre() (previously declared in wp-content/plugins/wp-shopify/inc/functions.php:3)

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

PHP Fatal error: Cannot redeclare pre() (previously declared in wp-content/plugins/gulri-slider/inc/functions.php:50)

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

PHP Fatal error: Cannot redeclare pre() (previously declared in wp-content/plugins/export-import-for-woocommerce/index.php:19)

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

PHP Fatal error: Cannot redeclare pre() (previously declared in wp-content/plugins/square-up-to-woocommerce-inventory-import-ninjas/square-dashboard.php:749)

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

PHP Fatal error: Cannot redeclare pre() (previously declared in wp-content/plugins/wp-datepicker/inc/functions.php:23)

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

PHP Fatal error: Cannot redeclare pre() (previously declared in wp-content/plugins/rss-feed-widget/inc/functions.php:6)

This file is part of the WordPress plugin RSS Feed Widget 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.