Support » Plugin: WP-Optimize - Cache, Clean, Compress. » Cannot modify header information – headers already sent

  • Resolved backpackingseries

    (@backpackingseries)


    Hi,

    There’s a warning in the PHP log

    [date and timestamp] PHP Warning: Cannot modify header information - headers already sent in /{serverpath}/wp-content/plugins/wp-optimize/cache/class-wpo-cache-rules.php on line 107

    Could you please suggest a possible solution?

    Kind regards,

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Support Harshad

    (@bornforphp)

    @backpackingseries This is a warning that won’t stop functionality of the plugin, you can ignore the warning.

    Cannot modify header information warnings are most commonly caused by extra white space in a PHP file, or by other files sending header information already.

    However we will check the PHP code and see if there’s any extra white space in a PHP file.

    Thanks,
    Harshad

    Any news on this? I’m getting exactly the same error

    any updates on this, im gettting this as well

    Plugin Support bcrodua

    (@bcrodua)

    Hi,

    We’ve recently released an update. Please can you test the latest version and see if that fixes the issue?

    Best Wishes,
    Bryle

    Thread Starter backpackingseries

    (@backpackingseries)

    @bcrodua

    thank you but I neither see updates on the plugin’s changelog (last displayed version is 3.1.4 on 15 Sep 2020) nor any pending updates in the WP dashboard. Is the update rolled out in phases and my sites are yet to get it?

    Plugin Support bcrodua

    (@bcrodua)

    Hi,

    We’ve released a new update 3 days ago.

    Regards,
    Bryle

    Thread Starter backpackingseries

    (@backpackingseries)

    Hi,

    thank you, I upgraded and the error above went away. However, I now see a warning in the PHP log

    [23-Dec-2020 06:08:43 UTC] PHP Warning: in_array() expects parameter 2 to be array, null given in wp-content/plugins/wp-optimize/wp-optimize.php on line 132

    Kind regards,

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