Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #907138
    Trankuility
    Participant

    The X-Facebook Comments extensions times out and causes the page to load slower than it should. See the screenshot.

    How do I resolve this?

    #907139
    Trankuility
    Participant
    This reply has been marked as private.
    #907649
    Rue Nel
    Moderator

    Hello There,

    Thanks for writing in!

    X 4.4.2 and Cornerstone 1.2.4 are now available! This release contains several bug fixes and we’re quite excited about the new features, so be sure to check out the changelog. Please do update to the latest version. After doing the updates, always remember to clear all caches when updating so that the code from the latest release is always in use. This will help you to avoid any potential errors.

    Please let us know how it goes.

    #908553
    Trankuility
    Participant

    That wasn’t a clear answer. Are you saying that upgrading to X 4.4.2 will fix my problem?

    #908663
    Rad
    Moderator

    Hi there,

    Sorry for the confusion. It’s due to the connection between your site and facebook, it is slow and using the PHP Curl. Other users don’t have that issue, which is probably due to a different hosting. environment. Curl is part of PHP where WordPress runs.

    Since I can’t help you fixing the Curl delay, all I could help you is remove that code from Facebook Comment Extension.

    Empty the code x_facebook_comments_nunber() under /wp-content/plugins/x-facebook-comments/functions/outsput.php using FTP or file manager. For example,

    function x_facebook_comments_nunber() { 
    //no code here
    }

    But please backup your original copy.

    Hope this helps.

    #909303
    Trankuility
    Participant

    Thank you, but when I remove that piece of code you mentioned…

    1) What exactly will that do?
    2) Will anything else be affected?
    3) Would resolving the curl issue improve speed more than removing the code?

    #909612
    Trankuility
    Participant

    I spoke to the Hosting support and they replied with:

    The way your site connects to Facebook is determined by your sitecode not anything we would have set on the server-side.

    Is there any information regarding how it is supposed to be making this connection instead of using PHP curl?

    #911168
    Darshana
    Moderator

    Hi there,

    Could you please try the above solution. It will basically ignore the curl functionality getting the number of comments. If you want to implement it with a different approach, I strongly suggest you to contact a developer for that.

    Thank you!

  • <script> jQuery(function($){ $("#no-reply-907138 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>