Notifications
Clear all

Comment "Loading" graphic never stops

7 Posts
3 Users
2 Likes
2,199 Views
Tony Frye
(@herohabit)
Member Customer
Joined: 8 years ago
Posts: 4
Topic starter  

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
(@tomson)
Famed Member Admin
Joined: 9 years ago
Posts: 4171
 

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: 8 years ago
Posts: 4
Topic starter  

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
(@tomson)
Famed Member Admin
Joined: 9 years ago
Posts: 4171
 

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
(@tomson)
Famed Member Admin
Joined: 9 years ago
Posts: 4171
 

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: 8 years ago
Posts: 4
Topic starter  

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 reacted
ReplyQuote
(@rachel-stinson)
Active Member
Joined: 5 years ago
Posts: 6
 

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:
Scroll to top