• Resolved challet

    (@challet)


    Hello, how can this error be fixed please ?

    Error (E_WARNING): “Error (E_WARNING): “ini_set(): Session ini settings cannot be changed after headers have already been sent“ at `./wp-content/plugins/w3-total-cache/BrowserCache_Plugin.php:65 […]

    It happens when calling the cron executor https://my.site/wp-cron.php.

    The answer body size is 0 byte, so it’s probably not the automatic header process.

    • This topic was modified 9 months ago by challet. Reason: better visual formating
    • This topic was modified 9 months ago by challet. Reason: addition about the answer size
Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello @challet

    Thank you for reaching out and I am happy to help!

    Can you please check the Performance>Browser Cache>Security headers and let me know what is enabled under Send session cookies only to secure connections:
    Also, Please let me know which version of the W3 Total Cache you are currently using and what is the line /w3-total-cache/BrowserCache_Plugin.php:65 in your installation.

    Thanks!

    Thread Starter challet

    (@challet)

    They have been ini_set calls. I suppose the cron script calling it did something before to start sending the answer or even closed the connection while still computing.

    They are WARNINGS level, it doesn’t prevent any process to happen. So I guess it could be left like that.

    Thank you for your answer.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Cron job errors’ is closed to new replies.