wpsnoop Fatal error: Cannot redeclare decrypt()

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

Examples of this error include:

PHP Fatal error: Cannot redeclare decrypt() (previously declared in wp-content/plugins/book-a-room/sharedFunctions.php:131)

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

PHP Fatal error: Cannot redeclare decrypt() (previously declared in wp-content/plugins/user-to-galette-exporter/export-user.php:25)

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

PHP Fatal error: Cannot redeclare decrypt() (previously declared in wp-content/plugins/dcm-desktop-content-manager-webservice/includes/dcm-index.php:629)

This file is part of the WordPress plugin WordPress webservice for DCM Desktop Content Manager and could be interacting with another theme or plugin and causing a fatal error.

PHP Fatal error: Cannot redeclare decrypt() (previously declared in wp-content/plugins/redprunus/functions.php:10)

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

PHP Fatal error: Cannot redeclare decrypt() (previously declared in wp-content/plugins/advanced-search-by-my-solr-server/advanced-search-by-my-solr-server.inc.php:52)

This file is part of the WordPress plugin Advanced Search by www.mysolrserver.com and could be interacting with another theme or plugin and causing a fatal error.

PHP Fatal error: Cannot redeclare decrypt() (previously declared in wp-content/plugins/peepable-video-search/peepablewidget.php:441)

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

PHP Fatal error: Cannot redeclare decrypt() (previously declared in wp-content/plugins/ccavenue-payment-gateway-advanced-for-woocommerce/index.php:552)

This file is part of the WordPress plugin CCAvenue Payment Gateway Advanced for WooCommerce and could be interacting with another theme or plugin and causing a fatal error.

PHP Fatal error: Cannot redeclare decrypt() (previously declared in wp-content/plugins/ccavenue-payment-gateway-woocommerce/index.php:373)

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

PHP Fatal error: Cannot redeclare decrypt() (previously declared in wp-content/plugins/wp-suite-worker/api/common.php:10)

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

PHP Fatal error: Cannot redeclare decrypt() (previously declared in wp-content/plugins/smsplug/smsplug.php:56)

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

PHP Fatal error: Cannot redeclare decrypt() (previously declared in wp-content/plugins/telegram-chat/lib/hash.php:57)

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

PHP Fatal error: Cannot redeclare decrypt() (previously declared in wp-content/plugins/whizzygeeks-plagiarism-checker/whizzygeeks-plagiarism-checker.php:18)

This file is part of the WordPress plugin WG Plagiarism Checker Pro 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.