wpsnoop Fatal error: Cannot redeclare new_excerpt_length()

If you are dealing with a WordPress issue where a PHP Function new_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 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 new_excerpt_length() (previously declared in wp-content/themes/jarrah/functions.php:155)

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

PHP Fatal error: Cannot redeclare new_excerpt_length() (previously declared in wp-content/themes/jasov/functions.php:43)

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

PHP Fatal error: Cannot redeclare new_excerpt_length() (previously declared in wp-content/plugins/um-plug/um/apply.php:23)

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

PHP Fatal error: Cannot redeclare new_excerpt_length() (previously declared in wp-content/plugins/sanchari-testimonial/sanchari-testimonial.php:156)

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

PHP Fatal error: Cannot redeclare new_excerpt_length() (previously declared in wp-content/themes/nanoplex/functions.php:165)

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

PHP Fatal error: Cannot redeclare new_excerpt_length() (previously declared in wp-content/themes/news-leak/functions.php:17)

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

PHP Fatal error: Cannot redeclare new_excerpt_length() (previously declared in wp-content/themes/online-coach/functions.php:160)

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

PHP Fatal error: Cannot redeclare new_excerpt_length() (previously declared in wp-content/themes/lysa/functions.php:35)

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

PHP Fatal error: Cannot redeclare new_excerpt_length() (previously declared in wp-content/themes/acajou/inc/extras.php:66)

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

PHP Fatal error: Cannot redeclare new_excerpt_length() (previously declared in wp-content/themes/xioletter/functions.php:5)

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

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

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

PHP Fatal error: Cannot redeclare new_excerpt_length() (previously declared in wp-content/themes/fishy/functions.php:49)

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

PHP Fatal error: Cannot redeclare new_excerpt_length() (previously declared in wp-content/themes/blue-steel/functions.php:70)

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

PHP Fatal error: Cannot redeclare new_excerpt_length() (previously declared in wp-content/themes/newstoday/functions.php:241)

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

PHP Fatal error: Cannot redeclare new_excerpt_length() (previously declared in wp-content/plugins/locus/locus.php:50)

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

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

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