WordPress.org

Ready to get started?Download WordPress

Forums

WP-Ajaxify-Comments
[resolved] my site broke on 0.12.0 (8 posts)

  1. john.book
    Member
    Posted 1 year ago #

    I updated new version.
    Then my site cant be seen.
    To be exact, Only background can be seen.
    How come this?
    Only feed back. Cheer :)

    http://wordpress.org/extend/plugins/wp-ajaxify-comments/

  2. janjonas
    Member
    Plugin Author

    Posted 1 year ago #

    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 ...

  3. iThink94
    Member
    Posted 1 year ago #

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

  4. john.book
    Member
    Posted 1 year ago #

    this code gets my site visible!!

    thanks a lot!

  5. thejester12
    Member
    Posted 1 year ago #

    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.

  6. fran330
    Member
    Posted 1 year ago #

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

  7. janjonas
    Member
    Plugin Author

    Posted 1 year ago #

    Thank you very much for the feedback.

    Please upgrade to 0.12.1. This should fix the problems.

    Sorry for the inconveniences...

  8. janjonas
    Member
    Plugin Author

    Posted 1 year ago #

    Seems to be fixed in 0.12.1...

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.