Title: Cookie cannot be set.
Last modified: July 19, 2018

---

# Cookie cannot be set.

 *  Resolved [DarrenMooney](https://wordpress.org/support/users/darrenmooney/)
 * (@darrenmooney)
 * [7 years, 10 months ago](https://wordpress.org/support/topic/cookie-cannot-be-set-3/)
 * Hey folks,
 * Upon installing “WooCommerce PayPal Checkout Payment Gateway”, I get the following
   error.
 * `Notice: wp_woocommerce_session_4ad6d5a4ed4e1a62eca4152a20b363d6 cookie cannot
   be set - headers already sent by /home/spawnlootrepeat/dev_html/wp-content/themes/
   SpawnLootRepeat/header.php on line 6 in /home/spawnlootrepeat/dev_html/wp-content/
   plugins/woocommerce/includes/wc-core-functions.php on line 835`
 * I’m unsure what is causing this. I’ve been trying to find a solution, with no
   luck as of yet.
 * Can someone help? Thank you.
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fcookie-cannot-be-set-3%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Thread Starter [DarrenMooney](https://wordpress.org/support/users/darrenmooney/)
 * (@darrenmooney)
 * [7 years, 10 months ago](https://wordpress.org/support/topic/cookie-cannot-be-set-3/#post-10522845)
 * Is support not being provided here?
 *  Plugin Support [Riaan K.](https://wordpress.org/support/users/riaanknoetze/)
 * (@riaanknoetze)
 * [7 years, 10 months ago](https://wordpress.org/support/topic/cookie-cannot-be-set-3/#post-10525139)
 * Hi there,
 * Looking at that error in more detail, it mentions the following interesting bit:
 * \`
    themes/SpawnLootRepeat `
 * In my experience, error messages like these are typically caused by a plugin/
   theme conflict: Are you still experiencing the same issue after deactivating 
   all of your plugins (except WooCommerce and PayPal Checkout) and switching to
   the default Twenty Seventeen theme?
 *  Plugin Support [Riaan K.](https://wordpress.org/support/users/riaanknoetze/)
 * (@riaanknoetze)
 * [7 years, 10 months ago](https://wordpress.org/support/topic/cookie-cannot-be-set-3/#post-10525348)
 * Looking into this some more, our developers just reached out to say that they’ll
   be updating the plugin soon and it might address the issue you raised here.
 * For more information on that, have a look at the following resource: [https://github.com/woocommerce/woocommerce-gateway-paypal-express-checkout/pull/455](https://github.com/woocommerce/woocommerce-gateway-paypal-express-checkout/pull/455)
 *  Plugin Contributor [Paul Dechov](https://wordpress.org/support/users/pauldechov/)
 * (@pauldechov)
 * [7 years, 9 months ago](https://wordpress.org/support/topic/cookie-cannot-be-set-3/#post-10615697)
 * Hi DarrenMooney,
 * Just wanted to let you know this issue should be fixed in the latest release.
 * Regards,
 * Paul

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

The topic ‘Cookie cannot be set.’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/woocommerce-gateway-paypal-express-
   checkout_b298d1.svg)
 * [WooCommerce PayPal Checkout Payment Gateway](https://wordpress.org/plugins/woocommerce-gateway-paypal-express-checkout/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woocommerce-gateway-paypal-express-checkout/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woocommerce-gateway-paypal-express-checkout/)
 * [Active Topics](https://wordpress.org/support/plugin/woocommerce-gateway-paypal-express-checkout/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woocommerce-gateway-paypal-express-checkout/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woocommerce-gateway-paypal-express-checkout/reviews/)

 * 4 replies
 * 3 participants
 * Last reply from: [Paul Dechov](https://wordpress.org/support/users/pauldechov/)
 * Last activity: [7 years, 9 months ago](https://wordpress.org/support/topic/cookie-cannot-be-set-3/#post-10615697)
 * Status: resolved