Title: PHP Warning: session_start()
Last modified: July 27, 2017

---

# PHP Warning: session_start()

 *  [khanhvo](https://wordpress.org/support/users/whoiswho/)
 * (@whoiswho)
 * [8 years, 8 months ago](https://wordpress.org/support/topic/php-warning-session_start-2/)
 * I got a bunch of warnings about this.
 * [27-Jul-2017 07:15:01 UTC] PHP Warning: session_start(): Cannot send session 
   cookie – headers already sent in /home/xxx/wp-content/plugins/wordpress-social-
   login/wp-social-login.php on line 64
    [27-Jul-2017 07:15:01 UTC] PHP Warning:
   session_start(): Cannot send session cache limiter – headers already sent in /
   home/xxx/wp-content/plugins/wordpress-social-login/wp-social-login.php on line
   64
 * I tried to put this code right after the <?php but it still appears.
 * Can you please help?

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

 *  [webfolkster](https://wordpress.org/support/users/webfolkster/)
 * (@webfolkster)
 * [8 years, 7 months ago](https://wordpress.org/support/topic/php-warning-session_start-2/#post-9438713)
 * [@whoiswho](https://wordpress.org/support/users/whoiswho/) Have you got a fix
   for this yet?
 *  Thread Starter [khanhvo](https://wordpress.org/support/users/whoiswho/)
 * (@whoiswho)
 * [8 years, 7 months ago](https://wordpress.org/support/topic/php-warning-session_start-2/#post-9440402)
 * This has gone after transfer to a new server. It could be a PHP7 issue?
 * It would be appreciated to hear some offers to resolve this!
 *  [nik4537](https://wordpress.org/support/users/nik4537/)
 * (@nik4537)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/php-warning-session_start-2/#post-9495203)
 * Any updates on this? I am getting the same issue…
 *  [webfolkster](https://wordpress.org/support/users/webfolkster/)
 * (@webfolkster)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/php-warning-session_start-2/#post-9497413)
 * [@nik4537](https://wordpress.org/support/users/nik4537/)
 * Yes, it isn’t the plugin. The .htaccess has already cached and sent expires headers
   and trying to send it again. There is a very simple and quick fix.
 * 1) Simply logout of the site and do a hard cache clear and reset all cookies 
   etc. in all the browsers you are using. Restart browser and check site – Login
   and the issue should be resolved.
 * 2) If not, completely delete plugin including any remaining database files associated.
   Then repeat step 1.
 * I know this may be unconventional however, this worked for me.
 * Topher

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

The topic ‘PHP Warning: session_start()’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/wordpress-social-login_a1a2bc.svg)
 * [WordPress Social Login](https://wordpress.org/plugins/wordpress-social-login/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wordpress-social-login/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wordpress-social-login/)
 * [Active Topics](https://wordpress.org/support/plugin/wordpress-social-login/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wordpress-social-login/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wordpress-social-login/reviews/)

## Tags

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

 * 4 replies
 * 3 participants
 * Last reply from: [webfolkster](https://wordpress.org/support/users/webfolkster/)
 * Last activity: [8 years, 6 months ago](https://wordpress.org/support/topic/php-warning-session_start-2/#post-9497413)
 * Status: not resolved