Home › Forums › Product Support Forums › Ajax Search Pro for WordPress Support › An error occured. Please contact website administrator when using backspace
This topic contains 4 replies, has 2 voices, and was last updated by mechcalvin21 4 years, 7 months ago.
- AuthorPosts
- February 6, 2020 at 7:02 pm #25713
i add a ajax search as widget on the left, however when i try to search something, a orange banner with: “An error occured. Please contact website administrator” will occur on top, esp. when i press backspace before the result is load.
also is there any way to speed up the search even more? i have limited the search and index to one custom field only, with index table it should give result within a second? yet sometimes it loaded a bit slow
thanks in advance
EDIT: after more testing, only happen when set to live search, if i turn off live search, only search after hit enter this won’t happen
-
This topic was modified 4 years, 7 months ago by
mechcalvin21.
February 7, 2020 at 11:01 am #25722Hi!
Can you please link me to a page where the plugin is present and I can check the issue? I am not sure what might be the cause yet.
The search performance mostly depends on the server performance, but there are things you can do of course to speed it up. This documentation should help you out.
Best,
Ernest Marcinko
If you like my products, don't forget to rate them on codecanyon :)
February 7, 2020 at 11:22 am #25723https://homeplusdemo.mechcalvin.com/properties/ you can see the ajax search on the left (i disabled the plugin and live search before), if you type anything fast and do backspace the error will occur
i will try the suggestion
February 7, 2020 at 2:16 pm #25731Hi,
Thanks! Unfortunately that is not related to this plugin. I think another script is watching the ajax requests, and when hitting the backspace the search aborts the previous request before starting a new one – and that other scripts falsely detects that as an error.
It looks like it’s coming from the theme, from this file, on lines 684-705
Best,
Ernest Marcinko
If you like my products, don't forget to rate them on codecanyon :)
February 7, 2020 at 7:31 pm #25734thanks, i will check that, but for the time being, i have disabled live search to stop this error and it is success on desktop, however when i use mobile, even i disable all live search, mobile behavior Trigger search when typing on mobile keyboard? to No, yet it still do live search result in errors
https://homeplusdemo.mechcalvin.com/properties/ same link and i have put the search on top of the mobile view.
EDIT: it just cache problem, works now
-
This reply was modified 4 years, 7 months ago by
mechcalvin21.
-
This topic was modified 4 years, 7 months ago by
- AuthorPosts
You must be logged in to reply to this topic.