• karenkisswp

    (@karenkisswpwebsites)


    Hi,

    I’ve seen others mention this too and I can’t see a fix.

    The error in the Error Log file is PHP Warning: Cannot modify header information – headers already sent in ……… public_html/wp-content/plugins/gridlist-view-for-woocommerce/includes/functions.php on line 27

    This line is being repeated so often that the website is coming with service unavailable errors on the front end.
    I’ve read through the other posts that I’ve seen on this topic and I can’t see what my client is meant to do to solve this issue.

    WP 6.2.2
    Woocommerce 8.0.2
    Grid / List View for Woocommerce 1.1.3.9

    Thanks for your help,
    Karen

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author RazyRx

    (@razyrx)

    Hello,

    It can be some other PHP notice that displayed before this issue.
    Plugin trying to set style and product count per page on page load as cookie, but something other was displayed in incorrect wordpress hook, that cause this issue.

    It can be some conflict with other plugin or theme, or some PHP error.

    Regards,
    Oleg

    Thread Starter karenkisswp

    (@karenkisswpwebsites)

    Hi Oleg,

    This is the only PHP warning that we are receiving. We have deactivated the plugin since we don’t know what’s causing it and we’re receiving loads of these warnings every day.

    Regards,
    Karen

    Lisa C

    (@lisathirdsideco)

    My site is experiencing this too, and I believe it may be affecting site connections to apps outside of WordPress.

    On my site, the line 27 referenced in the error message reads:

    setcookie ( 'br_lgv_stat', $cookie_lgv, 0, '/', $domain );
    Thread Starter karenkisswp

    (@karenkisswpwebsites)

    @lisathirdsideco we deactivated the plugin and we haven’t had any more PHP warnings. I didn’t know how to solve it since we weren’t getting any other errors or warnings and it was simpler to deactivate it than deal with the website that was slow and giving service unavailable errors.

    We are also receiving this error:

    [04-Dec-2023 17:40:02 UTC] PHP Warning: Cannot modify header information – headers already sent in …/wp-content/plugins/gridlist-view-for-woocommerce/includes/functions.php on line 27

    PHP Warning: Cannot modify header information – headers already sent in …/wp-content/plugins/gridlist-view-for-woocommerce/includes/functions.php on line 27

    Also getting this error, please resolve this.

    Thread Starter karenkisswp

    (@karenkisswpwebsites)

    We stopped using the plugin. That solved the issue for us.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘PHP Warning: Cannot modify header information – headers already sent’ is closed to new replies.