Conversation
supportMy 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
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!
Hi Tamás, I use it exclusively on the WordPress comment form. If you need to know anything else just ask.
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.
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!
Hi Tamás, I use it exclusively on the WordPress comment form. If you need to know anything else just ask.
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.