wpsnoop Fatal error: Cannot redeclare clean()

If you are dealing with a WordPress issue where a PHP Function clean() 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 clean() (previously declared in wp-content/plugins/update-alt-attribute/incl/update_content.php:94)

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

PHP Fatal error: Cannot redeclare clean() (previously declared in wp-content/plugins/praybox/inc/functions.php:5)

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

PHP Fatal error: Cannot redeclare clean() (previously declared in wp-content/plugins/wp-table-lookup/wp-table-lookup.php:282)

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

PHP Fatal error: Cannot redeclare clean() (previously declared in wp-content/plugins/easy-fattura-elettronica-free/easy-fattura-elettronica.php:1820)

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

PHP Fatal error: Cannot redeclare clean() (previously declared in wp-content/plugins/gallerio/gallerio.php:1435)

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

PHP Fatal error: Cannot redeclare clean() (previously declared in wp-content/plugins/dotmailer-sign-up-widget/functions.php:49)

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

PHP Fatal error: Cannot redeclare clean() (previously declared in wp-content/plugins/unpointzero-filemanager/functions/php_functions.php:259)

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

PHP Fatal error: Cannot redeclare clean() (previously declared in wp-content/plugins/charityemail-sign-up-widget/charityemail-sign-up-widget.php:31)

This file is part of the WordPress plugin CharityeMail Sign Up Widget 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.