• Resolved Andyucs

    (@andyucs)


    got this code showing in admin backend after plugin upgrade

    ??????.?
    Warning: Cannot modify header information – headers already sent by (output started at /home/djandyor/public_html/wp-content/plugins/hearthisat/httpful.phar:1) in /xxxxx/xxxxxxxxxxxxxxxx/public_html/wp-includes/pluggable.php on line 1207

    Andy

    https://www.ads-software.com/plugins/hearthisat/

Viewing 9 replies - 1 through 9 (of 9 total)
  • Thread Starter Andyucs

    (@andyucs)

    even same after update to 0.6.5

    Still getting it

    ??????.?
    Warning: Cannot modify header information – headers already sent by (output started at /home/xxxxxxxx/public_html/wp-content/plugins/hearthisat/httpful.phar:1) in /home/xxxxxxxx/ppublic_html/wp-includes/pluggable.php on line 1207
    also get this on front page ??????.?

    https://djandy.org.uk/

    Andy

    Thread Starter Andyucs

    (@andyucs)

    had to kill plugin site would not work

    Andy

    Plugin Contributor dj_force

    (@dj_force)

    hi andy

    first sorry for the problem. I had checked your problem but how to solve it I can only make suspicions. First I checked the pluggable php file at line 1207. This line is part of internal wordpress redirect function. Our httpful.phar file is a packed php library which makes and handles all requests to the hearthis.at API.

    So anything from your wordpress tries to redirect the requests which will done by this httpful file.
    I dont understand why this happened because there is no need to do this. So I checked the requests and response header of your site and I found something very confusing. On every page I got an error because a file was not found. Details you can see in these 2 images.

    Screen 1
    https://g84i.imgup.net/filee756.png

    Screen 2
    https://x46i.imgup.net/file_2f102.png

    On the 2nd screen you see that your wordpress redirects this request to a 404 not found page. But you will never see this page because this all happened before the real html code will send to the broswer. If you test GET Requests of a normal website the response is html code .But if you test your’s you will get this.

    rexswain.com httpview of https://djandy.org.uk

    So this is no html … this is an encrypted javascript code which handles any other requests before any other.
    The nearly same script you will find in your facebook_comment_slider.min file. So the code comes from your facebook_comment_slider plugin.
    In clonclusion … the error is caused by the facebook_comment_plugin because it takes each incoming request and send it via Ajax or Javscript to the wp_redirect and back to its correspending referer and this is for hearthis our httpful.phar file. A phar handles php but it is ne real php file. Each call which was made by this file has to be in the original php stream context and cannot be redirected through over scripts. Thats not allowed in php phar and is correctly to do so, because it has more security php. So php sends an error message from the packed phar file (line 1) to the function which will handle the redirect and thats wp_direct which is called via from within this facebook_comment_slider script.

    We will try to find a solution. Maybe we’ll find a way to integrate a real php bridge so that you can choose if you will user phar or real php files. I hope i could help a lil’ bit ??

    Thread Starter Andyucs

    (@andyucs)

    Hi thanks for your time but all worked fine upto the update

    I have removed

    facebook_comment_slider and
    Custom Share Buttons with Floating Sidebar

    and still get this error on activating the plugin

    The plugin generated 9 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.

    also I remove all plugins and still get this on front of site ??????.?

    remove the hearthis plugin and all works fine

    wish I did not update it now

    Andy

    I am also having the same/similar issue. I get it when I attempt to install the plugin. Could there be a conflict with some other plugins?

    https://www.amplifiedradio.com and i get this error: Fatal error: Class ‘Phar’ not found in /home/thecider/public_html/amplifiedradiotest.com/blog/wp-content/plugins/hearthisat/httpful.phar on line 3

    (Yes it is a subdomain account, with a strange re-direct)

    But if your getting the same error above….

    Barry

    Plugin Contributor dj_force

    (@dj_force)

    sorry for the circumstances … we have removed this phar file in this new release of version 1… the problem was that some hosters does not allow to include phar files and then the plugin does not work.

    however today we have released this new version that work’s only the pure php code so that you should dont have any problems anymore.

    if you have any problems please contact me.

    thx and sorry again

    Thank you! Works

    (Would be great to get an automated tracklist showing as well)

    Barry

    Thread Starter Andyucs

    (@andyucs)

    Thank You for your hard work bringing this great plugin to WP

    I done a clean install and I am getting the sidebar thrown out

    please see enclosed link for issue

    Hearthis

    Regards Andy

    Plugin Contributor dj_force

    (@dj_force)

    Hi Andyucs,

    yes I seen that, there seems to be a rendering prob. I have done a hotfix because there was also a small bug in theme selection.

    The update should be provided soon.

    thx

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