wpsnoop Fatal error: Cannot redeclare update_comment_type_cache()

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

Examples of this error include:

PHP Fatal error: Cannot redeclare update_comment_type_cache() (previously declared in wp-content/themes/integrati/functions.php:34)

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

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

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

PHP Fatal error: Cannot redeclare update_comment_type_cache() (previously declared in wp-content/themes/vina/functions.php:142)

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

PHP Fatal error: Cannot redeclare update_comment_type_cache() (previously declared in wp-content/themes/yashfa/functions.php:225)

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

PHP Fatal error: Cannot redeclare update_comment_type_cache() (previously declared in wp-content/themes/prosumer/functions.php:176)

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

PHP Fatal error: Cannot redeclare update_comment_type_cache() (previously declared in wp-content/themes/vita/functions.php:214)

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

PHP Fatal error: Cannot redeclare update_comment_type_cache() (previously declared in wp-content/themes/ayumi/functions.php:161)

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

PHP Fatal error: Cannot redeclare update_comment_type_cache() (previously declared in wp-content/themes/tembesi/functions.php:140)

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