• Resolved nkohler

    (@nkohler)


    Has anyone else had the issue where when the plugin is enabled clicking on any post from the BLOG page results in a server 500 error? It goes away immediately when I disable the plugin. I have also tried deleting the plugin and re-installing the plugin with no success.

    My host suggested more PHP memory, I increased this to 128mb and it did not help.

Viewing 15 replies - 1 through 15 (of 22 total)
  • Yep I’ve got exactly the same issue and it is driving me and my visitors insane – it has only started since the last few plugin updates.

    I raised a support case with them and they don’t seem to have a clue, I’m quite pissed off to be honest, especially as I have paid for this plugin…

    • This reply was modified 7 years, 5 months ago by sergeantash.
    Andrea Whitmer

    (@nutsandboltsmedia)

    Our developers are working on this issue and will notify you as soon as they’ve identified a solution. We ask that details be sent via our ticket system as this forum isn’t actively monitored.

    Andrea I’ve just updated you with the log supplied by Dreamhost.

    [Thu Jun 01 14:58:57 2017] [error] [client 67.167.186.84] Premature end of script headers: index.php, referer: https://m.facebook.com
    [Thu Jun 01 14:59:06 2017] [error] [client 68.105.236.47] Premature end of script headers: index.php, referer: https://m.facebook.com
    [Thu Jun 01 14:59:08 2017] [error] [client 68.105.236.47] Premature end of script headers: index.php, referer: https://m.facebook.com
    [Thu Jun 01 14:59:11 2017] [error] [client 68.105.236.47] Premature end of script headers: index.php, referer: https://m.facebook.com
    [Thu Jun 01 14:59:13 2017] [error] [client 68.105.236.47] Premature end of script headers: index.php, referer: https://m.facebook.com

    @nkohler, could you ask your host to check the error logs to see if you’re seeing similar errors? My site is high traffic and this is really causing quite a headache.

    Thread Starter nkohler

    (@nkohler)

    Yes I have the same errors in the logs. I am going to log a support ticket with the PRO version as soon as my client gets me the credentials to do so as I am simply assisting them troubleshooting this issue on their site.

    The nice thing is that at least it is a known issue being investigated. We have moved to use a different plugin for social sharing in the mean time until the issue is fixed.

    • This reply was modified 7 years, 5 months ago by nkohler.
    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    Premature end of script headers: index.php, referer: https://m.facebook.com

    That DreamHost error confirms (for me at least) that this is a PHP memory issue. Obviously bumping PHP memory will alleviate the pressure, but something in the last update is running a little heavier than it used to. That it’s running on EVERY page load is a bit surprising though. What happens if you disable facebook sharing for a test?

    I tried disabling the Facebook share icon temporarily, but the Error 500 issue still arises. I have checked with Dreamhost and they have confirmed that my PHP limit was set to 90mb but that they have increased it to 120mb, so I will see how it goes now.

    But this isn’t really a solution – are you still working on the root cause of the excessive memory utilisation? Ultimately this shouldn’t be a particularly complex plugin?

    Andrea Whitmer

    (@nutsandboltsmedia)

    Our development team has identified the cause of this issue and we will roll out a fix ASAP to resolve it. We appreciate your patience!

    Andrea Whitmer

    (@nutsandboltsmedia)

    @ipstenu I did want to mention that, while the devs know what is happening and will be pushing an update to resolve it, it appears to be specific to Dreamhost customers from the tickets we’ve received so far. I run Social Warfare on 6 of my own sites and my error logs are clear.

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    I’m not too shocked. I bet they’re all on Shared too. Shared hosting has limits, and even a small change to one aspect of one plugin can be the tipping point ?? And the fact that they’re having the problem on every page load implies that it’s just a run-away process that hates our version of PHP.

    Tests to try include:

    * Disabling PARTS of Social Warfare
    * Changing PHP (DreamHost lets you change versions and flavors in panel)
    * Changing themes

    The reason I mention the PHP thing is that there have been plugins that just don’t play well with others on specific PHP flavors. Nothing bad about it, though it’s very annoying ??

    Andrea Whitmer

    (@nutsandboltsmedia)

    Yeah, we’ll just fix it and that should take care of it, but I found it interesting. Would love to know if there is a common PHP version but we will likely just roll with the changes either way. ??

    This issue started once the last major update so if you’re to investigate start with your own changelog…

    No we’re not all on shared hosting, I have a dedicated VPS with plenty of resource.

    In addition, the increase that you suggested to the PHP memory made no difference at all, red herring.

    Andrea Whitmer

    (@nutsandboltsmedia)

    @sergeantash Sorry if this got confusing – Mika works for Dreamhost, while I work for Social Warfare. We (Social Warfare) know what is causing the issue on our end and we will release an update to fix it as soon as we can. However, we’ve noticed this seems to be affecting only Dreamhost customers (is your VPS on Dreamhost?) so Mika made a few suggestions that may be worth testing in the meantime. In any event, this will be resolved ASAP, but for now we are just trying to figure out why the code change we made is affecting Dreamhost sites this way and not anyone else as far as we know.

    Many Dreamhost sites utilise Cloudflare as it is easy to enable, perhaps that could be related?

    Andrea Whitmer

    (@nutsandboltsmedia)

    It’s possible, but we have a HUGE number of users with Cloudflare but not Dreamhost. So far we haven’t received tickets about this issue from anyone who wasn’t using Dreamhost, though that definitely doesn’t mean it doesn’t exist somewhere else.

Viewing 15 replies - 1 through 15 (of 22 total)
  • The topic ‘Server 500 errors when plugin enabled’ is closed to new replies.