Warning log for Session Start

Home Forums AdRotate for WordPress General Support Warning log for Session Start

  • #138818

    Philippe Chatry
    Badges:

    Hi Arnan,
    First of all, thank you for your amazing work.
    I use adrotate pro 5.8.15, WordPress Version is 5.8.1, PHP Version: 7.4.3 with Apache/2.4.48 (Ubuntu) and Nginx cache system and W3 Total cache (with the good setup for adrotate). The theme is Avada.

    The result is perfect on the site, my client is very happy with the banner content managment, and every functional items are ok. My request here is this one : my log file show me 1 recurring single line: PHP Warning: session_start(): Cannot start session when headers already sent in /****/adrotate-pro/adrotate-functions.php on line 389
    It’s only a warning I know, but this warning generate a big log file everyday.

    Do you have any idea on how can I debug that?

    Kind regards

    Paul

    #138892

    Arnan de Gans
    Badges:

    Then something is outputting text or code before AdRotate starts its session, which is not allowed.
    AdRotate does its session stuff pretty early on to prevent just this. So probably another plugin is doing something even earlier.

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.

You may be interested in