wpsnoop Fatal error: Cannot redeclare legacy_comments()

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

Examples of this error include:

PHP Fatal error: Cannot redeclare legacy_comments() (previously declared in wp-content/themes/alibi3col/functions.php:28)

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

PHP Fatal error: Cannot redeclare legacy_comments() (previously declared in wp-content/themes/staypressed/functions.php:22)

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

PHP Fatal error: Cannot redeclare legacy_comments() (previously declared in wp-content/themes/bluesensation/functions.php:16)

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

PHP Fatal error: Cannot redeclare legacy_comments() (previously declared in wp-content/themes/simple-indy/functions.php:291)

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

PHP Fatal error: Cannot redeclare legacy_comments() (previously declared in wp-content/themes/tree-house/functions.php:12)

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

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

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

PHP Fatal error: Cannot redeclare legacy_comments() (previously declared in wp-content/themes/nice-wee-theme/functions.php:12)

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

PHP Fatal error: Cannot redeclare legacy_comments() (previously declared in wp-content/themes/zack-990/functions.php:73)

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

PHP Fatal error: Cannot redeclare legacy_comments() (previously declared in wp-content/themes/plaza/functions.php:22)

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

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

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

PHP Fatal error: Cannot redeclare legacy_comments() (previously declared in wp-content/themes/aurora/functions.php:14)

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

PHP Fatal error: Cannot redeclare legacy_comments() (previously declared in wp-content/themes/renegade-ii/functions.php:8)

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

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

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

PHP Fatal error: Cannot redeclare legacy_comments() (previously declared in wp-content/themes/wood-is-good/functions.php:11)

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

PHP Fatal error: Cannot redeclare legacy_comments() (previously declared in wp-content/themes/modmat/functions/modmat.php:8)

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

PHP Fatal error: Cannot redeclare legacy_comments() (previously declared in wp-content/themes/clean-and-plain/functions.php:11)

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

PHP Fatal error: Cannot redeclare legacy_comments() (previously declared in wp-content/themes/tribune/functions.php:8)

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

PHP Fatal error: Cannot redeclare legacy_comments() (previously declared in wp-content/themes/abov/functions.php:12)

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

PHP Fatal error: Cannot redeclare legacy_comments() (previously declared in wp-content/themes/luxury-press/functions.php:22)

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

PHP Fatal error: Cannot redeclare legacy_comments() (previously declared in wp-content/themes/zdark/functions.php:21)

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

PHP Fatal error: Cannot redeclare legacy_comments() (previously declared in wp-content/themes/oulipo/functions.php:77)

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

PHP Fatal error: Cannot redeclare legacy_comments() (previously declared in wp-content/themes/decoder/functions.php:37)

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

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

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

PHP Fatal error: Cannot redeclare legacy_comments() (previously declared in wp-content/themes/anonymous-elegance/functions.php:11)

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

PHP Fatal error: Cannot redeclare legacy_comments() (previously declared in wp-content/themes/wp-soul/functions.php:11)

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

PHP Fatal error: Cannot redeclare legacy_comments() (previously declared in wp-content/themes/serenity/functions.php:8)

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

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

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

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

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

PHP Fatal error: Cannot redeclare legacy_comments() (previously declared in wp-content/themes/kasrod/functions.php:404)

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

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

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

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

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

PHP Fatal error: Cannot redeclare legacy_comments() (previously declared in wp-content/themes/ocular-professor/functions.php:41)

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

PHP Fatal error: Cannot redeclare legacy_comments() (previously declared in wp-content/themes/black-hat/functions.php:3)

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

PHP Fatal error: Cannot redeclare legacy_comments() (previously declared in wp-content/themes/cleanfrog/functions.php:108)

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

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

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

PHP Fatal error: Cannot redeclare legacy_comments() (previously declared in wp-content/themes/irrigation/functions.php:95)

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

PHP Fatal error: Cannot redeclare legacy_comments() (previously declared in wp-content/themes/this-just-in/functions.php:13)

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

PHP Fatal error: Cannot redeclare legacy_comments() (previously declared in wp-content/themes/shades-of-blue/functions.php:14)

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

PHP Fatal error: Cannot redeclare legacy_comments() (previously declared in wp-content/themes/core/functions.php:13)

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

PHP Fatal error: Cannot redeclare legacy_comments() (previously declared in wp-content/themes/little/functions.php:22)

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

PHP Fatal error: Cannot redeclare legacy_comments() (previously declared in wp-content/themes/padangan/functions.php:270)

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

PHP Fatal error: Cannot redeclare legacy_comments() (previously declared in wp-content/themes/soho-serenity/functions.php:41)

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

PHP Fatal error: Cannot redeclare legacy_comments() (previously declared in wp-content/themes/i-heart-pc/functions.php:5)

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

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

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

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

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

PHP Fatal error: Cannot redeclare legacy_comments() (previously declared in wp-content/themes/quietly-simple/functions.php:19)

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

PHP Fatal error: Cannot redeclare legacy_comments() (previously declared in wp-content/themes/kreativ/functions.php:53)

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

PHP Fatal error: Cannot redeclare legacy_comments() (previously declared in wp-content/themes/rusty-grunge/functions.php:11)

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

PHP Fatal error: Cannot redeclare legacy_comments() (previously declared in wp-content/themes/officefolders/functions.php:25)

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

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

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 legacy_comments() (previously declared in wp-content/themes/simplev/functions.php:524)

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

PHP Fatal error: Cannot redeclare legacy_comments() (previously declared in wp-content/themes/corp/functions.php:31)

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

PHP Fatal error: Cannot redeclare legacy_comments() (previously declared in wp-content/themes/persephone/functions.php:24)

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

PHP Fatal error: Cannot redeclare legacy_comments() (previously declared in wp-content/themes/dylan/functions.php:123)

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

PHP Fatal error: Cannot redeclare legacy_comments() (previously declared in wp-content/themes/goodtheme-lead/functions.php:22)

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

PHP Fatal error: Cannot redeclare legacy_comments() (previously declared in wp-content/themes/twordder/functions.php:124)

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

PHP Fatal error: Cannot redeclare legacy_comments() (previously declared in wp-content/themes/acid-rain/functions.php:14)

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

PHP Fatal error: Cannot redeclare legacy_comments() (previously declared in wp-content/themes/red-light/functions.php:22)

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

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

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

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

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

PHP Fatal error: Cannot redeclare legacy_comments() (previously declared in wp-content/themes/screwdriver/functions.php:27)

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

PHP Fatal error: Cannot redeclare legacy_comments() (previously declared in wp-content/themes/wpelegance2col/functions.php:417)

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

PHP Fatal error: Cannot redeclare legacy_comments() (previously declared in wp-content/themes/silhouette/functions.php:33)

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

PHP Fatal error: Cannot redeclare legacy_comments() (previously declared in wp-content/themes/ambergreen/functions.php:37)

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

PHP Fatal error: Cannot redeclare legacy_comments() (previously declared in wp-content/themes/crimsonsky/functions.php:530)

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

PHP Fatal error: Cannot redeclare legacy_comments() (previously declared in wp-content/themes/rostar/functions.php:21)

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

PHP Fatal error: Cannot redeclare legacy_comments() (previously declared in wp-content/themes/blue-server/functions.php:47)

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

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

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

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

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

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

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 legacy_comments() (previously declared in wp-content/themes/comet/functions.php:223)

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

PHP Fatal error: Cannot redeclare legacy_comments() (previously declared in wp-content/themes/kuulblack/functions.php:22)

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

PHP Fatal error: Cannot redeclare legacy_comments() (previously declared in wp-content/themes/less-is-less/functions.php:14)

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

PHP Fatal error: Cannot redeclare legacy_comments() (previously declared in wp-content/themes/wasteland/functions.php:29)

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

PHP Fatal error: Cannot redeclare legacy_comments() (previously declared in wp-content/themes/orange-flower/functions.php:8)

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

PHP Fatal error: Cannot redeclare legacy_comments() (previously declared in wp-content/themes/stunning-silence/functions.php:304)

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

PHP Fatal error: Cannot redeclare legacy_comments() (previously declared in wp-content/themes/michael-forever/functions.php:22)

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

PHP Fatal error: Cannot redeclare legacy_comments() (previously declared in wp-content/themes/la-school-blue/functions.php:17)

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

PHP Fatal error: Cannot redeclare legacy_comments() (previously declared in wp-content/themes/german-newspaper/functions.php:116)

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

PHP Fatal error: Cannot redeclare legacy_comments() (previously declared in wp-content/themes/exile/functions.php:8)

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

PHP Fatal error: Cannot redeclare legacy_comments() (previously declared in wp-content/themes/get-some/functions.php:13)

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

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

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

PHP Fatal error: Cannot redeclare legacy_comments() (previously declared in wp-content/themes/desk/functions.php:57)

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

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

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 legacy_comments() (previously declared in wp-content/themes/ships-ahoy/functions.php:85)

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

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

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 legacy_comments() (previously declared in wp-content/themes/ayumi/functions.php:86)

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 legacy_comments() (previously declared in wp-content/themes/a-daring-inspiration-theme/functions.php:22)

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

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

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

PHP Fatal error: Cannot redeclare legacy_comments() (previously declared in wp-content/themes/web-minimalist-200901/functions.php:59)

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

PHP Fatal error: Cannot redeclare legacy_comments() (previously declared in wp-content/themes/connections-reloaded/functions.php:158)

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

PHP Fatal error: Cannot redeclare legacy_comments() (previously declared in wp-content/themes/plainscape/functions.php:11)

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

PHP Fatal error: Cannot redeclare legacy_comments() (previously declared in wp-content/themes/bluemod/functions.php:78)

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

PHP Fatal error: Cannot redeclare legacy_comments() (previously declared in wp-content/themes/louisebrooks/functions.php:19)

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

PHP Fatal error: Cannot redeclare legacy_comments() (previously declared in wp-content/themes/state-of-mind/functions.php:6)

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

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

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

PHP Fatal error: Cannot redeclare legacy_comments() (previously declared in wp-content/themes/parchment-draft/functions.php:19)

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

PHP Fatal error: Cannot redeclare legacy_comments() (previously declared in wp-content/themes/dfblog/functions.php:14)

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

PHP Fatal error: Cannot redeclare legacy_comments() (previously declared in wp-content/themes/eos/functions.php:326)

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