wpsnoop Fatal error: Cannot redeclare excerpt()

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

Examples of this error include:

PHP Fatal error: Cannot redeclare excerpt() (previously declared in wp-content/themes/takeoff/functions.php:124)

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

PHP Fatal error: Cannot redeclare excerpt() (previously declared in wp-content/plugins/post-gallery-and-archive/post-gallery.php:13)

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

PHP Fatal error: Cannot redeclare excerpt() (previously declared in wp-content/plugins/jquery-slider-carsousel/jquery-slider-carousel.php:27)

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

PHP Fatal error: Cannot redeclare excerpt() (previously declared in wp-content/plugins/wp-essentials/functions/excerpt.php:48)

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

PHP Fatal error: Cannot redeclare excerpt() (previously declared in wp-content/plugins/ultimate-custom-posts/ultimate-custom-posts.php:122)

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

PHP Fatal error: Cannot redeclare excerpt() (previously declared in wp-content/plugins/content-and-excerpt-word-limit/excerpt-content-word-limit.php:38)

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

PHP Fatal error: Cannot redeclare excerpt() (previously declared in wp-content/themes/brood/inc/extras.php:29)

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 excerpt() (previously declared in wp-content/plugins/icyclub/icyclub.php:261)

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

PHP Fatal error: Cannot redeclare excerpt() (previously declared in wp-content/plugins/opindo/functions.php:94)

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

PHP Fatal error: Cannot redeclare excerpt() (previously declared in wp-content/themes/rolas-sepuluh/functions.php:23)

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

PHP Fatal error: Cannot redeclare excerpt() (previously declared in wp-content/themes/isis/functions.php:307)

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

PHP Fatal error: Cannot redeclare excerpt() (previously declared in wp-content/themes/stride-lite/inc/extras.php:29)

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

PHP Fatal error: Cannot redeclare excerpt() (previously declared in wp-content/plugins/addon-so-widgets-bundle/addon-so-widgets-bundle.php:167)

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

PHP Fatal error: Cannot redeclare excerpt() (previously declared in wp-content/themes/comley/admin/template-tags.php:13)

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

PHP Fatal error: Cannot redeclare excerpt() (previously declared in wp-content/themes/isis/functions.php:307)

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

PHP Fatal error: Cannot redeclare excerpt() (previously declared in wp-content/themes/amphion-lite/widgets/popular_widget.php:20)

This file is part of the WordPress theme Amphion Lite 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.