Title: [Plugin: eShop] Error: Warning: session_destroy()
Last modified: August 19, 2016

---

# [Plugin: eShop] Error: Warning: session_destroy()

 *  [mborin](https://wordpress.org/support/users/mborin/)
 * (@mborin)
 * [18 years, 1 month ago](https://wordpress.org/support/topic/plugin-eshop-error-warning-session_destroy/)
 * I get an error message when I try to empty shopping cart.
 * Warning: session_destroy() [function.session-destroy]: Trying to destroy uninitialized
   session
 * Any idea how to fix this?

Viewing 15 replies - 1 through 15 (of 15 total)

 *  Anonymous User
 * (@anonymized-3085)
 * [18 years, 1 month ago](https://wordpress.org/support/topic/plugin-eshop-error-warning-session_destroy/#post-758670)
 * Which version of eshop, and which version of WordPress do you have?
 * No-one has reported this error before, so tracking it down may take a while.
 *  Thread Starter [mborin](https://wordpress.org/support/users/mborin/)
 * (@mborin)
 * [18 years, 1 month ago](https://wordpress.org/support/topic/plugin-eshop-error-warning-session_destroy/#post-758702)
 * I have eshop 2.5.4
 *  Thread Starter [mborin](https://wordpress.org/support/users/mborin/)
 * (@mborin)
 * [18 years, 1 month ago](https://wordpress.org/support/topic/plugin-eshop-error-warning-session_destroy/#post-758710)
 * Also, when I put something in the shopping cart the shopping cart link does not
   appear in the side bar. When I try to update the cart I also get another error.
 * Warning: Invalid argument supplied for foreach() in /wp-content/plugins/eshop/
   cart.php on line 86
 *  Anonymous User
 * (@anonymized-3085)
 * [18 years, 1 month ago](https://wordpress.org/support/topic/plugin-eshop-error-warning-session_destroy/#post-758711)
 * Hmm, just tested this locally and things still seem to work OK.
 * Open cart.php and comment out, or remove line 14 **session_destroy();**
 * That would be a quick fix, and you may have to remember to do this on each update.
 * That shouldn’t affect anything else, but I would strongly suggest a test via 
   paypals sandbox to ensure that side works without errors.
 *  Anonymous User
 * (@anonymized-3085)
 * [18 years, 1 month ago](https://wordpress.org/support/topic/plugin-eshop-error-warning-session_destroy/#post-758712)
 * Just saw your other message.
 * Can you re-upload all files, in case of any errors, and check again.
 * However it sounds like there is a problem with **session handling** on your server.
   Might be worth asking on their support forums to see if anyone else has similar
   problems.
 *  Thread Starter [mborin](https://wordpress.org/support/users/mborin/)
 * (@mborin)
 * [18 years, 1 month ago](https://wordpress.org/support/topic/plugin-eshop-error-warning-session_destroy/#post-758717)
 * When I first installed this plugin it worked perfect. But after a few times of
   testing it started acting up. So I am sure the files are ok when I first uploaded.
   Currently the shopping cart is not being filled even though I am taken to the
   shopping cart url after clicking on Ad To Cart.
 *  Thread Starter [mborin](https://wordpress.org/support/users/mborin/)
 * (@mborin)
 * [18 years, 1 month ago](https://wordpress.org/support/topic/plugin-eshop-error-warning-session_destroy/#post-758739)
 * Here’s something strange… when I disable the plugin all the links to the shopping
   cart appear in the side bar. When I activate it again it seems to work. I’ll 
   update if any more surprises come up.
 *  Anonymous User
 * (@anonymized-3085)
 * [18 years, 1 month ago](https://wordpress.org/support/topic/plugin-eshop-error-warning-session_destroy/#post-758754)
 * the links get hidden by the plugin.
 * Strange that there was a problem that disappeared – did you perhaps install another
   plugin?
 *  Thread Starter [mborin](https://wordpress.org/support/users/mborin/)
 * (@mborin)
 * [18 years, 1 month ago](https://wordpress.org/support/topic/plugin-eshop-error-warning-session_destroy/#post-758803)
 * Problem happened again. I am upgrading to the latest version. Will let you know
   how it goes.
 *  Thread Starter [mborin](https://wordpress.org/support/users/mborin/)
 * (@mborin)
 * [18 years, 1 month ago](https://wordpress.org/support/topic/plugin-eshop-error-warning-session_destroy/#post-758804)
 * Upgraded but problem is still there. The only other issue now is that my site
   loads slower on each page. When I disable the plugin it’s back to loading fast.
 *  Thread Starter [mborin](https://wordpress.org/support/users/mborin/)
 * (@mborin)
 * [18 years, 1 month ago](https://wordpress.org/support/topic/plugin-eshop-error-warning-session_destroy/#post-758805)
 * I,m getting an error when I go to the downloads page:
 * copy(/home/relogica/public_html/wp/wp-content/uploads/../eshop_downloads/.htpasswd)[
   function.copy]: failed to open stream: No such file or directory in /home/relogica/
   public_html/wp/wp-content/plugins/eshop/cart-functions.php on line 873
 * Warning: copy(/home/relogica/public_html/wp/wp-content/uploads/../eshop_downloads/.
   htaccess) [function.copy]: failed to open stream: No such file or directory in/
   home/relogica/public_html/wp/wp-content/plugins/eshop/cart-functions.php on
 *  Thread Starter [mborin](https://wordpress.org/support/users/mborin/)
 * (@mborin)
 * [18 years, 1 month ago](https://wordpress.org/support/topic/plugin-eshop-error-warning-session_destroy/#post-758806)
 * Inside eShopBase settings I click on the link to eShop Base Products (wp-admin/
   options-general.php?page=eshop_base.php) I get the following error:
 * Cannot load eshop_base.php.
 *  Anonymous User
 * (@anonymized-3085)
 * [18 years, 1 month ago](https://wordpress.org/support/topic/plugin-eshop-error-warning-session_destroy/#post-758807)
 * The last one is a mistake, which I’ve fixed for the next update.
 * the files not copying, looks like a possible problem with the chmod setting of
   your wp-content directory.
 * What other plugins do you have installed?
 *  Thread Starter [mborin](https://wordpress.org/support/users/mborin/)
 * (@mborin)
 * [18 years, 1 month ago](https://wordpress.org/support/topic/plugin-eshop-error-warning-session_destroy/#post-758809)
 * Ok found the problem. Plugin WassUp was causing all this.
 *  Anonymous User
 * (@anonymized-3085)
 * [18 years, 1 month ago](https://wordpress.org/support/topic/plugin-eshop-error-warning-session_destroy/#post-758814)
 * Looks like there may be a clash between the 2 plugins then, if I get chance I’ll
   look into it.

Viewing 15 replies - 1 through 15 (of 15 total)

The topic ‘[Plugin: eShop] Error: Warning: session_destroy()’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 15 replies
 * 2 participants
 * Last reply from: Anonymous User
 * Last activity: [18 years, 1 month ago](https://wordpress.org/support/topic/plugin-eshop-error-warning-session_destroy/#post-758814)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
