wpsnoop Fatal error: Cannot redeclare custom_comments()

If you are dealing with a WordPress issue where a PHP Function custom_comments() 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 21 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 21 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_comments() (previously declared in wp-content/themes/rembrandt/functions.php:513)

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

PHP Fatal error: Cannot redeclare custom_comments() (previously declared in wp-content/themes/eyebo/functions.php:100)

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

PHP Fatal error: Cannot redeclare custom_comments() (previously declared in wp-content/themes/illustrative/functions.php:32)

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

PHP Fatal error: Cannot redeclare custom_comments() (previously declared in wp-content/themes/sthblue/functions.php:232)

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

PHP Fatal error: Cannot redeclare custom_comments() (previously declared in wp-content/themes/abcok/functions.php:449)

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

PHP Fatal error: Cannot redeclare custom_comments() (previously declared in wp-content/themes/sketchbook/functions.php:483)

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

PHP Fatal error: Cannot redeclare custom_comments() (previously declared in wp-content/themes/sunshine/functions.php:349)

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

PHP Fatal error: Cannot redeclare custom_comments() (previously declared in wp-content/themes/music-illustrated/functions.php:532)

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

PHP Fatal error: Cannot redeclare custom_comments() (previously declared in wp-content/themes/deep-mix/functions.php:246)

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

PHP Fatal error: Cannot redeclare custom_comments() (previously declared in wp-content/themes/therunningstone/functions.php:121)

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

PHP Fatal error: Cannot redeclare custom_comments() (previously declared in wp-content/plugins/show-all-comments-in-one-page/bt-comments.php:243)

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

PHP Fatal error: Cannot redeclare custom_comments() (previously declared in wp-content/themes/me3/functions.php:396)

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

PHP Fatal error: Cannot redeclare custom_comments() (previously declared in wp-content/themes/noble/functions/comments.php:4)

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

PHP Fatal error: Cannot redeclare custom_comments() (previously declared in wp-content/themes/corner/functions.php:150)

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

PHP Fatal error: Cannot redeclare custom_comments() (previously declared in wp-content/themes/airmail-par-avion/functions.php:95)

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

PHP Fatal error: Cannot redeclare custom_comments() (previously declared in wp-content/themes/screens/functions.php:406)

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

PHP Fatal error: Cannot redeclare custom_comments() (previously declared in wp-content/themes/ice-cap/functions.php:51)

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

PHP Fatal error: Cannot redeclare custom_comments() (previously declared in wp-content/themes/omegax/functions.php:6)

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

PHP Fatal error: Cannot redeclare custom_comments() (previously declared in wp-content/themes/flashy/functions.php:200)

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

PHP Fatal error: Cannot redeclare custom_comments() (previously declared in wp-content/themes/mt-dark/functions.php:363)

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

PHP Fatal error: Cannot redeclare custom_comments() (previously declared in wp-content/themes/mt-white/functions.php:295)

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