Comment "Loading" graphic never stops  

  RSS

Tony Frye
(@herohabit)
Member Customer
Joined: 3 years ago
Posts: 4
20/03/2017 1:26 am  

When people leave a comment on my page the comment appears to be processing for an extended amount of time. The comments are actually posting just fine but I keep receiving messages from people who think their comments aren't submitting because it never goes beyond the loading screen.


Quote
Tom
 Tom
(@tomson)
Support Team Admin
Joined: 4 years ago
Posts: 2951
21/03/2017 4:59 pm  

Do you use Lazy Load pagination mode?

Please leave your webiste URL to allow us test it. Make sure Guests are allowed to comment.


ReplyQuote
Tony Frye
(@herohabit)
Member Customer
Joined: 3 years ago
Posts: 4
21/03/2017 7:52 pm  

No, Lazy Load is not activated.  www.herohabit.com to see what I'm talking about. So far, the only complaints I have received have been using the Chrome browser but I don't know if that is the same for other browsers.


ReplyQuote
Tom
 Tom
(@tomson)
Support Team Admin
Joined: 4 years ago
Posts: 2951
22/03/2017 7:44 pm  

For some reason the AJAX request doesn't work on your website, it returns 500 Internal Error. Please send admin login details to support[at]gvectors.com email address, we'll try to find some solution.


ReplyQuote
Tom
 Tom
(@tomson)
Support Team Admin
Joined: 4 years ago
Posts: 2951
24/03/2017 10:29 pm  

We found the issue. You have a shop plugin (Jigoshop eCommerce) which includes a new field in comment forms for rating. And this field is not compatible with wpDiscuz comment form.

Options to solve the issue:

1. Ask this plugin support theme to add an option to remove this rating field.

2. Deactivate this plugin

3. Change the conflict maker function. Open jigoshop-ecommerce/src/Jigoshop/Service/ProductService.php file, find this function:

 public function saveReview($id, $approvew) {
        if (!isset($_POST['rating'])) {
            throw new Exception('');
        }
       update_comment_meta($id, 'rating', (int) $_POST['rating']);
}

replace to this:

public function saveReview($id, $approvew) {
    if ($id) {
        $comment = get_comment($id);
        if (isset($comment->comment_post_ID)) {
            $post = get_post($comment->comment_post_ID);
            $jigoshopPostsSupportingComments = array('product', 'shop_email', 'shop_coupon');
            if ($post && isset($post->post_type) && in_array($post->post_type, $jigoshopPostsSupportingComments)) {
                if (!isset($_POST['rating'])) {
                    throw new Exception('');
                }
                update_comment_meta($id, 'rating', (int) $_POST['rating']);
            }
        }
    }
}

ReplyQuote
Tony Frye
(@herohabit)
Member Customer
Joined: 3 years ago
Posts: 4
24/03/2017 11:41 pm  

Thank you so much for looking into that. I'll just delete the plugin since it has been nothing but problems and their support system isn't nearly as good as yours! I wish you guys would create an ecommerce plugin that was synced up with the forums and comments (hint hint) because I love your stuff!


Tom liked
ReplyQuote
Rachel stinson
(@rachel-stinson)
Active Member
Joined: 6 months ago
Posts: 6
30/04/2019 9:09 am  

Using loading spinner could also be the reason as it is perceived to be slower than actual. It looks like the only solution to your content loading problem is 'loading spinner' but it exactly opposite to it. 


ReplyQuote
Share:
Green
Default
Pear
Black Emo
{green}:grinning:
{green}:wink:
{green}:face:
{green}:inlove:
{green}:sweaty:
{green}:surprised:
{green}:lovekiss:
{green}:laugh:
{green}:formalsmile:
{green}:displeased:
{green}:cool:
{green}:resent:
{green}:nerd:
{green}:screaming:
{green}:amazed:
{green}:sad:
{green}:deceitful:
{green}:starryeyes:
{green}:evil:
{green}:shocked:
{green}:tears:
{green}:sulky:
{green}:smile:
{green}:vomited:
{green}:hi:
{green}:afraid:
{green}:crazy:
{green}:rabid:
{green}:fighting:
{green}:nonoise:
{green}:blushed:
{green}:idontknow:
{green}:scared:
{green}:razz:
{green}:kiss:
{green}:eat:
{green}:shutmouth:
{green}:gape:
{green}:suspicious:
{green}:laughingoutloud:
{green}:bruise:
{green}:crying:
{green}:pray:
{green}:serious:
{green}:excitement:
:)
:d
:wink:
:mrgreen:
:neutral:
:twisted:
:arrow:
:shock:
:???:
:cool:
:evil:
:oops:
:razz:
:roll:
:cry:
:eek:
:lol:
:mad:
:sad:
:!:
:?:
:idea:
:hmm:
:beg:
:whew:
:chuckle:
:silly:
:envy:
:shutmouth:
{pear}:happy:
{pear}:smile:
{pear}:laugh:
{pear}:laughingoutloud:
{pear}:crying:
{pear}:exhausted:
{pear}:nerd:
{pear}:surprised:
{pear}:veryhungry:
{pear}:wink:
{blackemo}:laughtertotears:
{blackemo}:gift:
{blackemo}:love:
{blackemo}:inlove:
{blackemo}:shamefaced:
{blackemo}:heart:
{blackemo}:crazy:
{blackemo}:anguished:
{blackemo}:bruise:
{blackemo}:easymoney:
{blackemo}:exhausted:
{blackemo}:vampire:
{blackemo}:shutmouth:
{blackemo}:wink:
{blackemo}:carnival:
{blackemo}:flowers:
{blackemo}:hotdrink:
{blackemo}:party: