How can we help?

If you are looking for support for our PokaTheme, this is the place!

Home Forums PokaTheme support PHP Warning: session_start(): Session cannot be started after headers have alre

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #17462
    Rusu
    Participant

    Hello, do you know how I can fix this warning? if I leave it like that it will fill up my error log space very fast because it shows for every new visitor, it is related to the poka theme geolocation cache. I tried disabling the geolocation cache but it does not solve the issue, I installed also a Cron plugin to remove this cron job but I can’t remove it, it’s not found.

    [05-Jan-2023 13:44:10 UTC] PHP Warning: session_start(): Session cannot be started after headers have already been sent in /home/public_html/wp-content/themes/pokatheme/inc/geolocation/includes/plugin.php on line 100
    [05-Jan-2023 13:44:10 UTC] Cron reschedule event error for hook: action_scheduler_run_queue, Error code: invalid_schedule, Error message: Event schedule does not exist., Data: {“schedule”:”every_minute”,”args”:[“WP Cron”],”interval”:60}

    #17467
    admin
    Keymaster

    Hi Rusu!

    I cannot reproduce the issue you mention…

    Could you please send us an email at support@pokatheme.com so that we can look into it in detail? We may need access to your site to check what’s wrong.

    #17469
    Rusu
    Participant

    Hi, sure, ok, I have 2 sites with the same issue.

    #17475
    Rusu
    Participant

    Hello, we have sent you an email with the credentials, let us know.

    #17486
    admin
    Keymaster

    Thanks Rusu, let’s keep the discussion there.

    #17595
    Laurent
    Participant

    Hi,

    Same Php Warning here, only session_start(): Session cannot be started after headers have already been sent in ***/themes/pokatheme/inc/geolocation/includes/plugin.php on line 100

    On two sites using Crypto Demo.

    I stay in touch.
    ++

    #17599
    admin
    Keymaster

    Hi Laurent,

    The warning in the 1st case was showing up only when a Redirection plugin was active or when Rank Math was active. Do you have any of these plugins active maybe?

    Also does this affect your site functionality at all, or not? If not, you could disable the display of the warnings on the live site until we come up with a solution for this.

    #17600
    Laurent
    Participant

    Hi admin,

    No redirection plugin nor Rank Math, the problem was on my side. The problem was that the server was full…

    Sorry for the inconvenience

    #17605
    admin
    Keymaster

    Thank you for letting us know Laurent!

Viewing 9 posts - 1 through 9 (of 9 total)
  • You must be logged in to reply to this topic.