wpsnoop Fatal error: Cannot redeclare cfjson_encode_string()

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

Examples of this error include:

PHP Fatal error: Cannot redeclare cfjson_encode_string() (previously declared in wp-content/plugins/widgetpack-comment-system/wpcmt.php:868)

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

PHP Fatal error: Cannot redeclare cfjson_encode_string() (previously declared in wp-content/plugins/widgetpack-google-reviews/wpgrev.php:224)

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

PHP Fatal error: Cannot redeclare cfjson_encode_string() (previously declared in wp-content/plugins/widgetpack-review-system/wprev.php:811)

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

PHP Fatal error: Cannot redeclare cfjson_encode_string() (previously declared in wp-content/plugins/wp-social-seo/widget-google-reviews/grw.php:325)

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

PHP Fatal error: Cannot redeclare cfjson_encode_string() (previously declared in wp-content/plugins/pubble-social-qa/pubbleJS.php:125)

This file is part of the WordPress plugin Pubble Social QA plugin - 2.5.1 and could be interacting with another theme or plugin and causing a fatal error.

PHP Fatal error: Cannot redeclare cfjson_encode_string() (previously declared in wp-content/plugins/incrwd/lib/utils.php:17)

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

PHP Fatal error: Cannot redeclare cfjson_encode_string() (previously declared in wp-content/plugins/kommentbox/komentbox.php:398)

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

PHP Fatal error: Cannot redeclare cfjson_encode_string() (previously declared in wp-content/plugins/re-vu-comment-system/re-vu.php:603)

This file is part of the WordPress plugin re-vu Comment System and could be interacting with another theme or plugin and causing a fatal error.

PHP Fatal error: Cannot redeclare cfjson_encode_string() (previously declared in wp-content/plugins/fb-messenger-livechat/fbmsg.php:164)

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

PHP Fatal error: Cannot redeclare cfjson_encode_string() (previously declared in wp-content/plugins/vicomi-comment-system/vicomi-comments.php:284)

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

PHP Fatal error: Cannot redeclare cfjson_encode_string() (previously declared in wp-content/plugins/sendloveto-social-polling-platform-for-bloggers-publishers/sendlove.php:243)

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