Support » Plugin: WP Ajaxify Comments » my site broke on 0.12.0

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author janjonas

    (@janjonas)

    Thanks for your comment.

    As a quick fix, please add the following code in the file “wp-ajaxify-comments.php” after the first line:

    if (!function_exists('getallheaders'))
    {
        function getallheaders()
        {
               $headers = '';
           foreach ($_SERVER as $name => $value)
           {
               if (substr($name, 0, 5) == 'HTTP_')
               {
                   $headers[str_replace(' ', '-', ucwords(strtolower(str_replace('_', ' ', substr($name, 5)))))] = $value;
               }
           }
           return $headers;
        }
    }

    Hope this helps …

    Had the same problem after the update. This code repaired the plugin.
    Thanks

    this code gets my site visible!!

    thanks a lot!

    Yes, our network of sites broke on this update as well. We’ll wait for 0.13.0 update. Glad we’re not the only ones.

    Yes, thanks very much for the quick reaction and temporary solution. Looking forward to next version

    Plugin Author janjonas

    (@janjonas)

    Thank you very much for the feedback.

    Please upgrade to 0.12.1. This should fix the problems.

    Sorry for the inconveniences…

    Plugin Author janjonas

    (@janjonas)

    Seems to be fixed in 0.12.1…

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘my site broke on 0.12.0’ is closed to new replies.