Title: PHP Warnings &#8211; session_start called improperly
Last modified: March 11, 2019

---

# PHP Warnings – session_start called improperly

 *  [bhamrick](https://wordpress.org/support/users/bhamrick/)
 * (@bhamrick)
 * [7 years, 2 months ago](https://wordpress.org/support/topic/php-warnings-session_start-called-improperly/)
 * I’m getting the following PHP warnings in my error log.
 *     ```
       Warning: session_start(): Cannot send session cookie - headers already sent by (output started at /webroot/wp-content/plugins/hide-price-until-login/includes/hide-price-until-login-class.php:540) in /webroot/wp-content/plugins/hide-price-until-login/includes/main.php on line 7
       Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /webroot/wp-content/plugins/hide-price-until-login/includes/hide-price-until-login-class.php:540) in /webroot/wp-content/plugins/hide-price-until-login/includes/main.php on line 7
       ```
   
 * The plugin still appears to work correctly but these should be corrected.

Viewing 1 replies (of 1 total)

 *  Plugin Author [cedcommerce](https://wordpress.org/support/users/cedcommerce/)
 * (@cedcommerce)
 * [7 years, 2 months ago](https://wordpress.org/support/topic/php-warnings-session_start-called-improperly/#post-11317538)
 * Hello,
 * Thank you for reaching us.
 * Thanks for the suggestion. We will surely look into this.
 * And fix it if finds something at our end.
 * _Thanks & Regards,_

Viewing 1 replies (of 1 total)

The topic ‘PHP Warnings – session_start called improperly’ is closed to new replies.

 * ![](https://ps.w.org/hide-price-until-login/assets/icon-256x256.png?rev=2758081)
 * [Hide Price Until Login](https://wordpress.org/plugins/hide-price-until-login/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/hide-price-until-login/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/hide-price-until-login/)
 * [Active Topics](https://wordpress.org/support/plugin/hide-price-until-login/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/hide-price-until-login/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/hide-price-until-login/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [cedcommerce](https://wordpress.org/support/users/cedcommerce/)
 * Last activity: [7 years, 2 months ago](https://wordpress.org/support/topic/php-warnings-session_start-called-improperly/#post-11317538)
 * Status: not resolved