• Resolved karinaloid

    (@karinaloid)


    My website is giving the error
    PHP message: PHP Warning: session_start(): Session cannot be started after headers have already been sent in /htdocs/wp-content/plugins/learnpress/inc/class-lp-session-handler.php on line 72”

    Did not have this error before, seems new.

    Can you please help?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support brianvu-tp

    (@briantp)

    Hi karinaloid,

    Thank you for reaching out!

    To help us diagnose the “session_start(): Session cannot be started after headers have already been sent” error you’re encountering, could you please provide us with the following information:

    • LearnPress version: The specific version of LearnPress you’re currently using.
    • Theme: The name of the WordPress theme you have activated on your site.
    • Location of the error: On which page or during what action does this error occur? (e.g., when viewing a course, during checkout, etc.)

    This information will allow us to reproduce the error and provide a more accurate solution.

    Best regards,
    Brianvu-tp

    Thread Starter karinaloid

    (@karinaloid)

    Hi,

    WordPress version 6.7.2

    Learnpress version 4.2.7.8

    Theme: Astra 4.8.12

    Seems to appear very consistently, even on pages not related to courses (e.g. the home page and WordPress admin view).

    Plugin Support brianvu-tp

    (@briantp)

    Hi karinaloid,

    Thank you for providing that information.

    We’ve investigated the “session_start() after headers have already been sent” error you reported and have confirmed the issue. We’ve implemented a fix in this LearnPress beta version

    Please install this beta version and test to see if the error is resolved.

    Let us know if you encounter any further problems.

    Best regards,
    Brianvu-tp

    Thread Starter karinaloid

    (@karinaloid)

    I am no longer getting the error message. Thank you.

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

The topic ‘Session cannot be started’ is closed to new replies.