wpsnoop Fatal error: Cannot redeclare custom_excerpt_length()

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

Examples of this error include:

PHP Fatal error: Cannot redeclare custom_excerpt_length() (previously declared in wp-content/themes/becorp/functions.php:64)

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

PHP Fatal error: Cannot redeclare custom_excerpt_length() (previously declared in wp-content/themes/de-base/functions.php:95)

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

PHP Fatal error: Cannot redeclare custom_excerpt_length() (previously declared in wp-content/themes/purelyshopping/functions.php:81)

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

PHP Fatal error: Cannot redeclare custom_excerpt_length() (previously declared in wp-content/themes/modernize/functions.php:137)

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

PHP Fatal error: Cannot redeclare custom_excerpt_length() (previously declared in wp-content/themes/seos-blue/functions.php:327)

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

PHP Fatal error: Cannot redeclare custom_excerpt_length() (previously declared in wp-content/themes/seos-business/functions.php:398)

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

PHP Fatal error: Cannot redeclare custom_excerpt_length() (previously declared in wp-content/themes/munding-lite/inc/function/custom.php:3)

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

PHP Fatal error: Cannot redeclare custom_excerpt_length() (previously declared in wp-content/themes/lustrous/functions/theme-functions.php:20)

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

PHP Fatal error: Cannot redeclare custom_excerpt_length() (previously declared in wp-content/themes/themesbydp/functions.php:452)

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

PHP Fatal error: Cannot redeclare custom_excerpt_length() (previously declared in wp-content/plugins/cr3ativ-post-carousel/cr3ativ-recentposts.php:34)

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

PHP Fatal error: Cannot redeclare custom_excerpt_length() (previously declared in wp-content/themes/charis-church/functions.php:662)

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

PHP Fatal error: Cannot redeclare custom_excerpt_length() (previously declared in wp-content/plugins/recent-posts-shortcode-widget/index.php:114)

This file is part of the WordPress plugin Recent Posts Shortcode & Widget and could be interacting with another theme or plugin and causing a fatal error.

PHP Fatal error: Cannot redeclare custom_excerpt_length() (previously declared in wp-content/themes/caos/inc/extras.php:98)

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

PHP Fatal error: Cannot redeclare custom_excerpt_length() (previously declared in wp-content/themes/impressio-lite/functions.php:326)

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

PHP Fatal error: Cannot redeclare custom_excerpt_length() (previously declared in wp-content/themes/elisium/functions.php:83)

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

PHP Fatal error: Cannot redeclare custom_excerpt_length() (previously declared in wp-content/plugins/shoutworks/all_functions.php:529)

This file is part of the WordPress plugin Shoutworks - Get 90%+ Open Rates: Send Notifications Through Amazon Alexa and could be interacting with another theme or plugin and causing a fatal error.

PHP Fatal error: Cannot redeclare custom_excerpt_length() (previously declared in wp-content/themes/the-best/functions.php:136)

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

PHP Fatal error: Cannot redeclare custom_excerpt_length() (previously declared in wp-content/themes/artikler/functions.php:175)

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

PHP Fatal error: Cannot redeclare custom_excerpt_length() (previously declared in wp-content/plugins/advance-widget-pack/plugin.php:94)

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

PHP Fatal error: Cannot redeclare custom_excerpt_length() (previously declared in wp-content/themes/findcools/functions.php:224)

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

PHP Fatal error: Cannot redeclare custom_excerpt_length() (previously declared in wp-content/themes/nisarg/functions.php:204)

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

PHP Fatal error: Cannot redeclare custom_excerpt_length() (previously declared in wp-content/themes/arunachala/functions.php:149)

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

PHP Fatal error: Cannot redeclare custom_excerpt_length() (previously declared in wp-content/themes/thewest/functions.php:131)

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

PHP Fatal error: Cannot redeclare custom_excerpt_length() (previously declared in wp-content/themes/mansar/functions/theme-functions.php:20)

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

PHP Fatal error: Cannot redeclare custom_excerpt_length() (previously declared in wp-content/themes/avedon/functions.php:91)

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

PHP Fatal error: Cannot redeclare custom_excerpt_length() (previously declared in wp-content/themes/krakatau-lite/inc/function/thecontent.php:6)

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

PHP Fatal error: Cannot redeclare custom_excerpt_length() (previously declared in wp-content/themes/corgi-love/functions.php:50)

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

PHP Fatal error: Cannot redeclare custom_excerpt_length() (previously declared in wp-content/themes/my-holiday/inc/customize-kirki.php:1034)

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

PHP Fatal error: Cannot redeclare custom_excerpt_length() (previously declared in wp-content/themes/creator-world/functions.php:8)

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

PHP Fatal error: Cannot redeclare custom_excerpt_length() (previously declared in wp-content/themes/kerinci-lite/inc/function/thecontent.php:6)

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

PHP Fatal error: Cannot redeclare custom_excerpt_length() (previously declared in wp-content/themes/magazine-news/inc/customize/customize-kirki.php:384)

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

PHP Fatal error: Cannot redeclare custom_excerpt_length() (previously declared in wp-content/themes/amethyst/functions.php:143)

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

PHP Fatal error: Cannot redeclare custom_excerpt_length() (previously declared in wp-content/plugins/gravitation-portfolios/gravitation-portfolios.php:87)

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

PHP Fatal error: Cannot redeclare custom_excerpt_length() (previously declared in wp-content/themes/postmag/inc/customize-function.php:9)

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

PHP Fatal error: Cannot redeclare custom_excerpt_length() (previously declared in wp-content/plugins/wp-image-box-overly/jeba-index.php:25)

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

PHP Fatal error: Cannot redeclare custom_excerpt_length() (previously declared in wp-content/themes/compose-wp/functions.php:136)

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

PHP Fatal error: Cannot redeclare custom_excerpt_length() (previously declared in wp-content/themes/sylvia/functions.php:93)

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

PHP Fatal error: Cannot redeclare custom_excerpt_length() (previously declared in wp-content/themes/simtiful/functions.php:286)

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

PHP Fatal error: Cannot redeclare custom_excerpt_length() (previously declared in wp-content/plugins/well-framework/apps/shortcode/shortcode-functions.php:17)

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

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

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