• Hi all, I’m experiencing several warnings on a site to which I installed the plugin. Error_log messages:

    • PHP Warning: Cannot modify header information – headers already sent in /public_html/wp-content/plugins/enable-cors/src/Helpers/Headers.php on line 35
    • PHP Warning: Cannot modify header information – headers already sent in /public_html/wp-content/plugins/enable-cors/src/Helpers/Headers.php on line 38

    See also the plugin setting screenshot: https://ibb.co/Svsj7MN
    Website and server info: PHP 8.2, WP 6.3.2.

    Looking forward to hearing from you. Thanks!



Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Dev Kabir

    (@devkabir)

    Hi @alian

    Thank you for reaching out and bringing this to my attention. The warnings you’re experiencing seem to be related to header modification in this plugin’s code.

    Here’s what you can try to resolve this:

    Disable all other plugins and see if the issue persists. If it doesn’t, re-enable them one by one to find the conflicting plugin.

    If you continue to experience issues after trying these steps, please let me know, and I’ll do my best to assist you further.

    Thank you for your patience and cooperation.

    Plugin Author Dev Kabir

    (@devkabir)

    Since we haven’t received a response from you, I’m proceeding to close this thread. Please know that you’re welcome to contribute to this thread at any time by adding your message.

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