• Resolved Ambyomoron

    (@josiah-s-carberry)


    With the upgrade to Yoast 11.2.1 the following warning started to appear:

    PHP message: PHP Warning: Cannot modify header information - headers already sent by (output started at /blahblah/wp-content/plugins/yoast-seo-search-index-purge/src/Yoast_Purge_Attachment_Page_Server.php:46) in /blahblah/wp-content/plugins/wp-content-security-policy/includes/WP_CSP.php on line 548

    Before that upgrade, I never saw the warning, so something changed in Yoast (and not in Content Security Policy plugin) that is causing it.

    I humbly ask that the authors of Yoast take a look and fix any errors that might have been introduced by ver 11.2.1. Note that https://stackoverflow.com/questions/8028957/how-to-fix-headers-already-sent-error-in-php has an extensive discussion of the issue, if that is of any help.

Viewing 1 replies (of 1 total)
  • Hi!

    That sounds like a plugin or theme conflict. Can you try and gather as much information for us as possible? Please perform the following:

    1. Make sure you are using the most recent WordPress Core, v5.2.1. If you are not sure what version you have or how to update, your host provider can help. Also, be sure to update your Yoast to v11.3 and update your non-Yoast plugins.

    2. Make sure the issue doesn’t persist when Yoast SEO is disabled.

    3. If the issue only happens when Yoast is enabled, please Check for conflicts.

    4. Check for JavaScript errors with your console.

    If you find any JavaScript errors related to Yoast SEO or if there is a conflict with a plugin or a theme, you can create a new GitHub issue for our developers. Please report the issue to a third party developer as well.

    If you didn’t find any conflicts or errors, we think the issue is specific to your site. We’d need to investigate further but are unable to do so on these forums. You can purchase Yoast SEO Premium and receive our Premium email support and we can help you further.

Viewing 1 replies (of 1 total)

The topic ‘Cannot modify header information – headers already’ is closed to new replies.