• My WordPress error log is full of:

    PHP Warning: session_start(): Session cannot be started after headers have already been sent in /home/po8ncuiacion/public_html/wp-content/plugins/eazy-cf-catpcha/includes/Helper/SessionHandler.php on line 24

    Please advice

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Tamás

    (@playwithpixels)

    Hey, thank you for reporting. I’m trying to figure it out, would it be possible to provide a little bit more detail, e.g. how you use the captcha (comment form, cf7, elementor)?

    Thank you!

    Thread Starter peter09z

    (@peter09z)

    Hi Tamás,

    I use it exclusively on the WordPress comment form.

    If you need to know anything else just ask.

    Plugin Author Tamás

    (@playwithpixels)

    First of all, thank you for your patience. I tried and tested some stuff regarding this error and found that it only seems to happen, if there is output / headers sent / error happening in another plugin or theme. This also affects the function of the captcha, without a session no solution can be assigned to the user. Maybe you can check, if any plugin or theme is causing trouble before session_start() is called?

    Nonetheless I added a check if headers are sent before session initialization so session_start() is not called if output happened before.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Headers have already been sent’ is closed to new replies.