Home › Forums › Product Support Forums › Ajax Search Pro for WordPress Support › Critcal error with empty input field
This topic contains 5 replies, has 2 voices, and was last updated by Ernest Marcinko 1 month, 2 weeks ago.
- AuthorPosts
- February 13, 2023 at 2:24 pm #41340
Hi,
I get a critical error, if someone uses the search without a searching subject.
If the input field is empty, a critical error occurs.Is there something I can do about this?
February 14, 2023 at 12:48 pm #41354Hi,
Can you please add a relevant URL where I can test the issue? Temporary FTP and back-end access would be very helpful too, in case the issue is in relation with the plugin. It will make the debuggin possible. Thank you!
Best,
Ernest Marcinko
If you like my products, don't forget to rate them on codecanyon :)
February 14, 2023 at 3:26 pm #41360You cannot access this content.February 14, 2023 at 3:42 pm #41363Thank you!
I managed to find and correct the issue. Another plugin hook set one query variable (post__in) to a boolean “false” value, which triggered the error. I have added a line of code to the plugin to double check the query variable before use, it will be okay now.
I will make sure to include this change in the next patch, so you don’t have to worry about it anymore.
Best,
Ernest Marcinko
If you like my products, don't forget to rate them on codecanyon :)
February 14, 2023 at 5:15 pm #41371Thank you so much.
Great support!
February 15, 2023 at 10:51 am #41386You cannot access this content. Best,
Ernest Marcinko
If you like my products, don't forget to rate them on codecanyon :)
- AuthorPosts
You must be logged in to reply to this topic.