Support » Plugin: WP Custom Login » Error message on login page

  • Resolved crochetedowl

    (@crochetedowl)


    When I activate this plugin, I get the following error message on my page:

    Warning: session_start(): Cannot send session cache limiter – headers already sent (output started at my_site/wp-login.php:60) in my_theme/header.php on line 1

    When I deactivate this plugin, the error disappears. Do you know how I can keep the plugin and get rid of the error message?

    https://wordpress.org/plugins/wp-custom-login/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Ninos

    (@ninos-ego)

    It’s a problem due your theme. Your theme shouldn’t start a new session in the header.php, because the header.php is just for outputting html-code, not sending the http head. Therefore the theme author needs to move the code from the header.php to the functions.php (loosely speaking).

    Thank you. It works now.

    Plugin Author Ninos

    (@ninos-ego)

    You’re welcome

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Error message on login page’ is closed to new replies.