Title: cookie cannot be set error
Last modified: October 27, 2020

---

# cookie cannot be set error

 *  [bbpressyzh](https://wordpress.org/support/users/bbpressyzh/)
 * (@bbpressyzh)
 * [5 years, 5 months ago](https://wordpress.org/support/topic/cookie-cannot-be-set-error/)
 * cookie cannot be set – headers already sent by on line 0 in xxx/plugins/learnpress/
   inc/lp-core-functions.php
 * How can I fix it?

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

 *  [augustus09](https://wordpress.org/support/users/augustus09/)
 * (@augustus09)
 * [5 years, 5 months ago](https://wordpress.org/support/topic/cookie-cannot-be-set-error/#post-13589256)
 * Hi
 * Can you description more than your issue?
 *  Thread Starter [bbpressyzh](https://wordpress.org/support/users/bbpressyzh/)
 * (@bbpressyzh)
 * [5 years, 5 months ago](https://wordpress.org/support/topic/cookie-cannot-be-set-error/#post-13589287)
 * The error is Internal server error
    And then I checked out the error Log. And
   found cookie cannot be set – headers already sent by on line 0 in xxx/plugins/
   learnpress/inc/lp-core-functions.php

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

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

 * ![](https://ps.w.org/learnpress/assets/icon-256x256.gif?rev=3254420)
 * [LearnPress - WordPress LMS Plugin for Create and Sell Online Courses](https://wordpress.org/plugins/learnpress/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/learnpress/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/learnpress/)
 * [Active Topics](https://wordpress.org/support/plugin/learnpress/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/learnpress/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/learnpress/reviews/)

## Tags

 * [lms](https://wordpress.org/support/topic-tag/lms/)

 * 2 replies
 * 2 participants
 * Last reply from: [bbpressyzh](https://wordpress.org/support/users/bbpressyzh/)
 * Last activity: [5 years, 5 months ago](https://wordpress.org/support/topic/cookie-cannot-be-set-error/#post-13589287)
 * Status: not resolved