• Resolved KTS915

    (@kts915)


    I am testing this on PHP7 and, upon activation, I get a warning about headers already sent. I see that most of your PHP files end with a ?> tag. I believe that you can eradicate this issue by removing those tags.

    However, something else is also going on here because I then get the following warning when activating the plugin:

    The plugin generated 191 characters of unexpected output during activation. If you notice “headers already sent” messages, problems with syndication feeds or other issues, try deactivating or removing this plugin.

    https://www.ads-software.com/plugins/post-pay-counter/

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter KTS915

    (@kts915)

    Trying to troubleshoot this further, I find that, when on Post Pay Counter -> System Info I get the following PHP Warning:
    gzinflate(): data error

    FYI, I am using the plugin Query Monitor.

    Plugin Author Stefano

    (@ste_95)

    Hi there,
    thanks for reporting ??

    I see that most of your PHP files end with a ?> tag. I believe that you can eradicate this issue by removing those tags.

    That’s good advice, I’ll implement it in the next release!

    However, something else is also going on here because I then get the following warning when activating the plugin:

    Mmmm that’s very difficult to track down. Maybe there could be more details in your server error_log?

    Trying to troubleshoot this further, I find that, when on Post Pay Counter -> System Info I get the following PHP Warning:
    gzinflate(): data error

    I’m not sure that is related to my plugin because I never use functions of those kind. So the gzinflate issue is probably given by something else ??

    Let me know!
    Have a nice day,
    Stefano

    Thread Starter KTS915

    (@kts915)

    Thanks, Stefano. I have just taken a look at the error_log but, unfortunately, there is nothing there.

    I’ll try to troubleshoot some more; if I find anything, I’ll get back to you.

    Plugin Author Stefano

    (@ste_95)

    I’ll try to troubleshoot some more; if I find anything, I’ll get back to you.

    That’s great, thanks! I wouldn’t worry about it too much, if there are no explicit errors, not even in the error_log, and the plugin works fine, I’d say it’s fine ??

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Headers Already Sent & Unexpected Output on PHP7’ is closed to new replies.