• Resolved dimal

    (@dimalifragis)


    After this plugin update today, i get:

    08-Aug-2023 20:47:18 UTC] PHP Warning: Cannot modify header information – headers already sent in /home/wp-content/plugins/wpdiscuz/utils/class.WpdiscuzHelper.php on line 162

    WP 6.2.x and PHP 8.1.x

    Thanks

Viewing 12 replies - 1 through 12 (of 12 total)
  • Thread Starter dimal

    (@dimalifragis)

    We found the issue, our Caching plugin. We tried an other one, same issue.

    So your update somehow broke all caching plugins. Back to wpdiscuz previous version i guess.

    Plugin Support gVectors Support

    (@gvectorssupport)

    We’ll check and get back to you ASAP.?

    I have the same error, but I don’t have any cache plugin. This afternoon I will look into it…

    Thread Starter dimal

    (@dimalifragis)

    @eltiorufi Ok, maybe you have some other type of caching, CDN for example?

    No CDN no caching. I’m still testing, but I think is conflict with Polylang plugin.

    In a while, can confirm.

    EDIT: Not Polylang. Still testing…

    • This reply was modified 1 year, 7 months ago by El Tio Rufi.
    • This reply was modified 1 year, 7 months ago by El Tio Rufi.

    I deactivated all plugins, even change the theme to “Twenty Twenty-Three” and I still have the same error:

    [10-Aug-2023 11:26:07 UTC] PHP Warning: Cannot modify header information - headers already sent in /home/mysite/public_html/wp-content/plugins/wpdiscuz/utils/class.WpdiscuzHelper.php on line 162

    WordPress: 6.3
    PHP 8.0.30

    I have my site on my own server with cPanel if you need more information

    Thread Starter dimal

    (@dimalifragis)

    @eltiorufi This IS a caching issue. The line with the error is

    setcookie(self::GLOBAL_NONCE_NAME .'_'. COOKIEHASH, $nonce, time() + 60 * 60 * 10, '/', "", false, true);

    and nonce is usually related to caching.

    WordPress Nonce Cache

    WordPress Nonces system protects URLs and forms from certain types of misuse, malicious or otherwise.

    The meaning of the Nonce is “number used once” and a Nonce has a life time. If it expired, the request which contains a Nonce cannot be completed and the request fails.

    If a page is cached, the Nonce value is cached as well. If the cache is not cleared “twice a day”, the Nonce is expired so we need to add a cache timeout rule as below.

    Same error filling up my error log after the latest update. Caching is currently disable on the site.

    PHP Warning: Cannot modify header information – headers already sent in /home2/stephaz0/public_html/schwartzreport/wp-content/plugins/wpdiscuz/utils/class.WpdiscuzHelper.php on line 162

    Plugin Support gVectors Support

    (@gvectorssupport)

    Thread Starter dimal

    (@dimalifragis)

    We shouldn’t have to make 2 accounts to resolve some issue. If this forum here is not active, say so clearly and PIN it.

    Plugin Support gVectors Support

    (@gvectorssupport)

    We are not asking you to create any accounts, we just ask you to follow the solution provided in the forum post.

    Thread Starter dimal

    (@dimalifragis)

    This update doesn’t seem to produce any warning or whatever.

    Thanks

Viewing 12 replies - 1 through 12 (of 12 total)
  • The topic ‘Issues after update’ is closed to new replies.