Support » Plugin: WP-Live Chat by 3CX » PHP WARNING: Cannot start session when headers already sent

  • Resolved tzwick

    (@tzwick)


    Hi!

    Just a quick feedback. Everything works fine but the PHP error.log is full with a PHP warning – like every 20 seconds:

    child 19551 said into stderr: “NOTICE: PHP message: PHP Warning: session_start(): Cannot start session when headers already sent in /path/to/host/httpdocs/wp-content/plugins/wp-live-chat-support/functions.php on line 4955”

    OS: Ubuntu Server 18.04.3
    Webserver: Apache 2.4.41 with NGINX (reverse proxy mode)
    PHP: PHP-FPM 7.3.10

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author wordpress3cx

    (@wordpress3cx)

    Thanks for your feedback. We’ll promptly look into this issue.
    Do you have a multisite installation?

    No, it`s a single site installation.

    Plugin Author wp3cx

    (@wp3cx)

    Do you have a sandbox of your site where you can disable all other plugins to see if the problem persists? If not, could you provide a list of the plugins you currently have installed?

    Yes, I do.
    It is caused in combination with the Hummingbird-Plugin ( https://wordpress.org/plugins/hummingbird-performance/ ) when “Page Caching” is active. I haven`t tested other cache-plugins.

    Plugin Author wordpress3cx

    (@wordpress3cx)

    Hello @tzwick, actually several cache plugins interfere with WP Live Chat.
    As you understand, live chat and caching don’t get along very well.

    In your case, it seems that your website is sending some content before our plugin is able to open the session: this is a wrong behavior of some plugin for sure.
    We suggest to exclude from caching /wp-live-chat-support directory on your website and see if this helps.

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