Home › Forums › WoodMart support forum › Ajax load more Button
Ajax load more Button
- This topic has 7 replies, 2 voices, and was last updated 5 years, 3 months ago by Eric Watson.
-
AuthorPosts
-
August 29, 2019 at 11:35 am #141078
newsprinceParticipantHello.
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.
August 29, 2019 at 11:48 am #141090
Eric WatsonParticipantHi,
Could you please send us a link to your website where we can see this issue?
Kind Regards
August 29, 2019 at 11:50 am #141092
newsprinceParticipantIt 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.
August 29, 2019 at 12:20 pm #141102
Eric WatsonParticipantAJAX 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 StudioAugust 29, 2019 at 12:37 pm #141107
newsprinceParticipantCan 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?
August 29, 2019 at 12:47 pm #141113
Eric WatsonParticipantThe 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 StudioAugust 29, 2019 at 12:54 pm #141117
newsprinceParticipantOk 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.
August 29, 2019 at 1:36 pm #141130
Eric WatsonParticipantIf you have any questions please feel free to contact us.
Best Regards
-
AuthorPosts
- You must be logged in to create new topics. Login / Register