wpsnoop Fatal error: Cannot redeclare wp_session_write_close()

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

Examples of this error include:

PHP Fatal error: Cannot redeclare wp_session_write_close() (previously declared in wp-content/plugins/wpgraphicstudio/includes/libraries/wp-session.php:110)

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

PHP Fatal error: Cannot redeclare wp_session_write_close() (previously declared in wp-content/plugins/eduadmin-booking/libraries/wp-session.php:110)

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

PHP Fatal error: Cannot redeclare wp_session_write_close() (previously declared in wp-content/plugins/awesome-support/vendor/ericmann/wp-session-manager/includes/deprecated.php:165)

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

PHP Fatal error: Cannot redeclare wp_session_write_close() (previously declared in wp-content/plugins/causes/includes/session/wp-session.php:110)

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

PHP Fatal error: Cannot redeclare wp_session_write_close() (previously declared in wp-content/plugins/about-rentals/add-on/session/class-wp-session.php:140)

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

PHP Fatal error: Cannot redeclare wp_session_write_close() (previously declared in wp-content/plugins/employee-directory/assets/ext/wp-session/includes/wp-session.php:119)

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

PHP Fatal error: Cannot redeclare wp_session_write_close() (previously declared in wp-content/plugins/wp-easy-contact/assets/ext/wp-session/includes/wp-session.php:119)

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

PHP Fatal error: Cannot redeclare wp_session_write_close() (previously declared in wp-content/plugins/wp-easy-events/assets/ext/wp-session/includes/wp-session.php:119)

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

PHP Fatal error: Cannot redeclare wp_session_write_close() (previously declared in wp-content/plugins/wp-user-avatar/src/lib/wp_session/wp-session.php:113)

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

PHP Fatal error: Cannot redeclare wp_session_write_close() (previously declared in wp-content/plugins/wp-widget-master/includes/includes/wp-session.php:112)

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

PHP Fatal error: Cannot redeclare wp_session_write_close() (previously declared in wp-content/plugins/idea-board/vendor/wp-session-manager/includes/wp-session.php:115)

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

PHP Fatal error: Cannot redeclare wp_session_write_close() (previously declared in wp-content/plugins/ecalypse-rental-starter/includes/wp-session.php:113)

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

PHP Fatal error: Cannot redeclare wp_session_write_close() (previously declared in wp-content/plugins/neutral-cart-co2-offsetting/wp-session-manager/includes/deprecated.php:154)

This file is part of the WordPress plugin Neutral Cart - CO2 Offsetting and could be interacting with another theme or plugin and causing a fatal error.

PHP Fatal error: Cannot redeclare wp_session_write_close() (previously declared in wp-content/plugins/sell-media/inc/libraries/wp-session/wp-session.php:112)

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

PHP Fatal error: Cannot redeclare wp_session_write_close() (previously declared in wp-content/plugins/campus-directory/assets/ext/wp-session/includes/wp-session.php:119)

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

PHP Fatal error: Cannot redeclare wp_session_write_close() (previously declared in wp-content/plugins/youtube-showcase/assets/ext/wp-session/includes/wp-session.php:119)

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

PHP Fatal error: Cannot redeclare wp_session_write_close() (previously declared in wp-content/plugins/pro-vip/inc/libs/wp-session/wp-session-functions.php:112)

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

PHP Fatal error: Cannot redeclare wp_session_write_close() (previously declared in wp-content/plugins/wp-travel/inc/lib/wp-session/wp-session.php:112)

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

PHP Fatal error: Cannot redeclare wp_session_write_close() (previously declared in wp-content/plugins/wp-travel-engine/includes/lib/wp-session/wp-session.php:112)

This file is part of the WordPress plugin WP Travel Engine - Travel and Tour Booking Plugin and could be interacting with another theme or plugin and causing a fatal error.

PHP Fatal error: Cannot redeclare wp_session_write_close() (previously declared in wp-content/plugins/easy-property-listings/lib/includes/libraries/wp-session.php:113)

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

PHP Fatal error: Cannot redeclare wp_session_write_close() (previously declared in wp-content/plugins/request-a-quote/assets/ext/wp-session/includes/wp-session.php:119)

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

PHP Fatal error: Cannot redeclare wp_session_write_close() (previously declared in wp-content/plugins/wp-member-login-by-spiral/libs/wp-session.php:110)

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

PHP Fatal error: Cannot redeclare wp_session_write_close() (previously declared in wp-content/plugins/swift-security-lite/helpers/wp-session-manager/includes/wp-session.php:112)

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

PHP Fatal error: Cannot redeclare wp_session_write_close() (previously declared in wp-content/plugins/delicious-recipes/src/lib/wp-session/wp-session.php:111)

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

PHP Fatal error: Cannot redeclare wp_session_write_close() (previously declared in wp-content/plugins/bemo-a-z-index/includes/wp-session.php:112)

This file is part of the WordPress plugin BEMO A-Z Index and could be interacting with another theme or plugin and causing a fatal error.

PHP Fatal error: Cannot redeclare wp_session_write_close() (previously declared in wp-content/plugins/xrandomizer/includes/session_manager/wp-session.php:115)

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

PHP Fatal error: Cannot redeclare wp_session_write_close() (previously declared in wp-content/plugins/testimonials-widget/includes/libraries/wp-session.php:110)

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

PHP Fatal error: Cannot redeclare wp_session_write_close() (previously declared in wp-content/plugins/planso-forms/libs/wp-session-manager/wp-session.php:121)

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

PHP Fatal error: Cannot redeclare wp_session_write_close() (previously declared in wp-content/plugins/allwebmenus-wordpress-menu-plugin/wp-session-manager-master/wp-session.php:110)

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

PHP Fatal error: Cannot redeclare wp_session_write_close() (previously declared in wp-content/plugins/charitable/includes/libraries/wp-session/wp-session.php:112)

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

PHP Fatal error: Cannot redeclare wp_session_write_close() (previously declared in wp-content/plugins/software-issue-manager/assets/ext/wp-session/includes/wp-session.php:119)

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

PHP Fatal error: Cannot redeclare wp_session_write_close() (previously declared in wp-content/plugins/drug-search/assets/ext/wp-session/wp-session.php:115)

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

PHP Fatal error: Cannot redeclare wp_session_write_close() (previously declared in wp-content/plugins/simplr-registration-form/lib/wp-session-manager/includes/wp-session.php:112)

This file is part of the WordPress plugin Simplr User Registration Form Plus 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.