wpsnoop Fatal error: Cannot redeclare truncate()

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

Examples of this error include:

PHP Fatal error: Cannot redeclare truncate() (previously declared in wp-content/plugins/feedbackscout/admin/class-fbs-posts-list-table.php:336)

This file is part of the WordPress plugin FeedbackScout - Customer Feedback Management Tool and could be interacting with another theme or plugin and causing a fatal error.

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

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 truncate() (previously declared in wp-content/plugins/featured-post-mu/featured-posts-mu.php:287)

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

PHP Fatal error: Cannot redeclare truncate() (previously declared in wp-content/plugins/etsy360/etsy360-free.php:226)

This file is part of the WordPress plugin Etsy360 FREE - Etsy Shop Plugin and could be interacting with another theme or plugin and causing a fatal error.

PHP Fatal error: Cannot redeclare truncate() (previously declared in wp-content/plugins/runkeeper-fitness-feed/runkeeper-feed-widget.php:277)

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

PHP Fatal error: Cannot redeclare truncate() (previously declared in wp-content/plugins/prodigy-commerce/includes/helpers/helper-global.php:596)

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

PHP Fatal error: Cannot redeclare truncate() (previously declared in wp-content/plugins/brzon/brzon.php:13)

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

PHP Fatal error: Cannot redeclare truncate() (previously declared in wp-content/plugins/shopello/src/helpers.php:270)

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

PHP Fatal error: Cannot redeclare truncate() (previously declared in wp-content/plugins/wp-thumbie/wp-thumbie.php:244)

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

PHP Fatal error: Cannot redeclare truncate() (previously declared in wp-content/plugins/article-lock/article-lock.php:452)

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

PHP Fatal error: Cannot redeclare truncate() (previously declared in wp-content/plugins/wpzon/wpzon.php:14)

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

PHP Fatal error: Cannot redeclare truncate() (previously declared in wp-content/plugins/lh-posse/includes/truncenator.php:15)

This file is part of the WordPress plugin LH Posse 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.