Home Forums WoodMart support forum Ajax load more Button

Ajax load more Button

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #141078

    newsprince
    Participant

    Hello.

    We use wp fastect cache for caching and optimize. With the latest version of the plugin the ajax load more button on shop and categories archive pages is acting up.

    At random times throws an error (ajax error) in console and doesn’t load the products.

    This occurs randomly and i believe something is happening with the caching plug-in. I rolled back a version and now is working fine.

    I know it is not something wrong with your theme.

    I want to ask in functions.js file on line 4952.
    For this console.log error to occur what problem must happen to output this message, so i can trace what is wrong with the caching plugin.

    I mean what is that thing that would trigger this console.log error to be outputted?

    Thank you.

    #141090

    Eric Watson
    Participant

    Hi,

    Could you please send us a link to your website where we can see this issue?

    Kind Regards

    #141092

    newsprince
    Participant

    It happens at random and can’t reproduce the error. Something is conflicting with wp fastect cache plugin. I just want to know what things can trigger this error to look what is wrong with the plugin.

    #141102

    Eric Watson
    Participant

    AJAX error can cause many factors but the most common is if the answer does not come in JSON format. But without debug, it’s impossible to say for sure.

    Kind Regards
    XTemos Studio

    #141107

    newsprince
    Participant

    Can you tell me how to debug it? To see some more insights about the problem?

    I mean when it will occur what to look? It only shows in console this log of error. ajax error and points to line 4952 in functions.js

    the bad thing is we can’t replicate it on demand. it just occurs randomly.

    Will WP_DEBUG catch it?

    #141113

    Eric Watson
    Participant

    The answer should be in this format http://prntscr.com/oz5720. We can’t say for sure what helps to catch the error, you just need to when it happens to see the response from the server.

    Kind Regards
    XTemos Studio

    #141117

    newsprince
    Participant

    Ok thank you. I will try to test and see what the response is when i hit the load more button and nothing loads. That’s when the error would be triggered.

    #141130

    Eric Watson
    Participant

    If you have any questions please feel free to contact us.

    Best Regards

Viewing 8 posts - 1 through 8 (of 8 total)