Support

Home Forums Event Espresso Premium Error in debug log

Error in debug log

Posted: April 25, 2023 at 3:22 pm

Viewing 1 reply thread


jlnewell

April 25, 2023 at 3:22 pm

I have have been troubleshooting a slow site and inthe debug log im seeing constant errors that are this:

PHP Warning: session_start(): Cannot start session when headers already sent in /home/xxxxxxxxx/public_html/site/wp-content/plugins/event-espresso-core-reg/core/services/session/SessionStartHandler.php on line 65

Any idea how to fix this? Im not sure if its slowing the site down, but i want to get it out of the way.


Tony

  • Support Staff

April 26, 2023 at 5:18 am

Hi there,

You will see that error when errors are set to display.

If there is code throwing a warning/notice/error (basically anything output to the page) before a session is started then you’ll get the above from EE, because you can’t start a session after anything has been sent to the browser.

Right before that warning, do you see other entries in the log?

Viewing 1 reply thread

The support post ‘Error in debug log’ is closed to new replies.

Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.

Event Espresso