wpsnoop Fatal error: Cannot redeclare register_session()

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

Examples of this error include:

PHP Fatal error: Cannot redeclare register_session() (previously declared in wp-content/plugins/car-loan-application-and-calculator-module/Car_loan_module.php:79)

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

PHP Fatal error: Cannot redeclare register_session() (previously declared in wp-content/plugins/pitchprint/pitchprint.php:766)

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

PHP Fatal error: Cannot redeclare register_session() (previously declared in wp-content/plugins/xianjian/xianjian_consts.php:3)

This file is part of the WordPress plugin 先荐-猜你喜欢 and could be interacting with another theme or plugin and causing a fatal error.

PHP Fatal error: Cannot redeclare register_session() (previously declared in wp-content/plugins/team-chart/teamchart-free.php:119)

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

PHP Fatal error: Cannot redeclare register_session() (previously declared in wp-content/plugins/easy-bmi-calculator/hooks.php:81)

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

PHP Fatal error: Cannot redeclare register_session() (previously declared in wp-content/plugins/skedmaker-online-scheduling/wp-skedmaker.php:75)

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

PHP Fatal error: Cannot redeclare register_session() (previously declared in wp-content/plugins/rackspace-cloud-files-cdn/lib/functions.php:11)

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

PHP Fatal error: Cannot redeclare register_session() (previously declared in wp-content/plugins/socialdraft/includes/functions.php:159)

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

PHP Fatal error: Cannot redeclare register_session() (previously declared in wp-content/plugins/sido-payment-gateway/class-wc-gateway-sido.php:564)

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

PHP Fatal error: Cannot redeclare register_session() (previously declared in wp-content/plugins/wp-rss-by-publishers/wp-rss-by-publisher.php:519)

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

PHP Fatal error: Cannot redeclare register_session() (previously declared in wp-content/plugins/runmybusiness-listings/run-my-business.php:190)

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

PHP Fatal error: Cannot redeclare register_session() (previously declared in wp-content/plugins/formulario-de-inscricao-grupo-prominas/includes/class-piaget-enrolment-form-loader.php:2078)

This file is part of the WordPress plugin Formulário de inscrição - Grupo Prominas and could be interacting with another theme or plugin and causing a fatal error.

PHP Fatal error: Cannot redeclare register_session() (previously declared in wp-content/plugins/podigee/podigee-quick-publish.php:314)

This file is part of the WordPress plugin Podigee Wordpress Quick Publish – now with Gutenberg support! and could be interacting with another theme or plugin and causing a fatal error.

PHP Fatal error: Cannot redeclare register_session() (previously declared in wp-content/plugins/rapid-secure-login/rpsl_main.php:50)

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

PHP Fatal error: Cannot redeclare register_session() (previously declared in wp-content/plugins/e-boekhoudennl-connector/eboekhouden.php:3)

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

PHP Fatal error: Cannot redeclare register_session() (previously declared in wp-content/plugins/grotest/grotest.php:73)

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

PHP Fatal error: Cannot redeclare register_session() (previously declared in wp-content/plugins/digicution-simple-twitter-feed/digicution-twitter.php:227)

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

PHP Fatal error: Cannot redeclare register_session() (previously declared in wp-content/plugins/cookieless-google-analytics/cookieless-google-analytics.php:54)

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

PHP Fatal error: Cannot redeclare register_session() (previously declared in wp-content/plugins/growth-hacking-analytics-by-qunb/Growth_hacking_analytics.php:212)

This file is part of the WordPress plugin Growth Hacking analytics by qunb.com and could be interacting with another theme or plugin and causing a fatal error.

PHP Fatal error: Cannot redeclare register_session() (previously declared in wp-content/plugins/tranzila-payment-gateway-for-woocommerce/woocommerce-tranzila.php:15)

This file is part of the WordPress plugin WooCommerce Tranzila Gateway 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.