• I can’t login to my site with this plugin. I delete it and I can login again. I get this error when I try to login: Warning: Cannot modify header information – headers already sent by (output started at plugins/patron-button-and-widgets-by-codebard/index.php:406) in thisdevsjourney.com/wp-login.php on line 387

    Warning: Cannot modify header information – headers already sent by (output started at plugins/patron-button-and-widgets-by-codebard/index.php:406) in thisdevsjourney.com/wp-login.php on line 400

    I don’t know how to fix this yet it is your plugin causing it. Once I go into CPanel and delete it it’s all good.

    (Document roots removed. Just to be sure. It is the internet after all)

    The problem seems to be some whitespace in your PHP.

    https://wordpress.org/plugins/patron-button-and-widgets-by-codebard/

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author CodeBard

    (@codebard)

    It is possible.

    For a temporary fix, if you change index.php line 399 to

    if(trim($output)!=”)

    this problem may go away.

    Lets see if this will work.

    I am having the exact same issue. It started yesterday. Something has changed, but what?

    Plugin Author CodeBard

    (@codebard)

    I am having the exact same issue. It started yesterday. Something has changed, but what?

    There has not been any updates to the plugin since some time. It is possible that some other plugin is producing some output while using a hook which this plugin uses, at a point where there should be no output. And this plugin is capturing it. If you installed any plugins, it may come from one of those.

    I’m going to address this issue in next update and eliminate any such chances. For the time being, you can try the fix mentioned above.

    Plugin Author CodeBard

    (@codebard)

    I just issued 1.0.4 update to address this whitespace-capturing issue.

    Anyone who has such problems (headers already sent problem) may try updating to 1.0.4 to fix it.

    If you cant login, you can download the plugin from wordpress.org, extract and ftp into its place at the plugins folder. Overwrite everything – your settings will be protected in database.

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Content Headers being modified by this plugin’ is closed to new replies.