wpsnoop Fatal error: Cannot redeclare display()

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

Examples of this error include:

PHP Fatal error: Cannot redeclare display() (previously declared in wp-content/plugins/other-ext-wp/extwp.php:32)

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

PHP Fatal error: Cannot redeclare display() (previously declared in wp-content/plugins/wp-anti-spamdali/dali-front.php:201)

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

PHP Fatal error: Cannot redeclare display() (previously declared in wp-content/plugins/zingiri-web-shop/fwktec/functions-core/misc.inc.php:17)

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

PHP Fatal error: Cannot redeclare display() (previously declared in wp-content/themes/blue-design/functions.php:74)

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

PHP Fatal error: Cannot redeclare display() (previously declared in wp-content/plugins/kindle-best-seller-calculator/kindle-rank-calculator.php:25)

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

PHP Fatal error: Cannot redeclare display() (previously declared in wp-content/plugins/wp-gold-charts/wp-gold-charts.php:144)

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

PHP Fatal error: Cannot redeclare display() (previously declared in wp-content/plugins/gallery-only/gallery_only.php:235)

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

PHP Fatal error: Cannot redeclare display() (previously declared in wp-content/plugins/captcha-in-thai/captcha-in-thai.php:201)

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

PHP Fatal error: Cannot redeclare display() (previously declared in wp-content/plugins/captcha-in-thai-2nd/captcha-in-thai.php:200)

This file is part of the WordPress plugin CAPTCHA In Thai 2nd 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.