Home › Forums › Product Support Forums › Ajax Search Pro for WordPress Support › Error 502 after Pressing Show More Button
This topic contains 9 replies, has 2 voices, and was last updated by Ernest Marcinko 4 years, 8 months ago.
- AuthorPosts
- September 13, 2018 at 9:10 am #19163
Hi, we have a problem with the Show More Button, that will generate An Error 502.
Here is a screenshot from the Error Log at this Time: https://ibb.co/mwXo9e
Thanks
BjoernAttachments:
You must be logged in to view attached files.September 13, 2018 at 1:13 pm #19171Hi Bjoern,
Can you try changing this option to ‘post’ instead: https://i.imgur.com/cuwtCJC.png
It should affect the URL structure and use a POST method instead. If there was an issue with how ngix server resolves them, then this should solve the problem.
Best,
Ernest Marcinko
If you like my products, don't forget to rate them on codecanyon :)
September 13, 2018 at 1:44 pm #19173Hi, now the URL is looking like this: https://heimwerker-helden.de/?s=schleifer but the result is the same 🙁
You can try it by yourself https://heimwerker-helden.de and type “schleifer” for example.
-
This reply was modified 4 years, 8 months ago by
letsbastel.
September 13, 2018 at 1:54 pm #19175Hi,
Then the error is on the server side, possibly a PHP error somewhere, that is not reported. Can you please add temporary FTP and back-end details?
Best,
The only way is to debug the code line-by-line to see if there is a conflict somewhere that may cause the error to pop-up. Thank you!
Ernest Marcinko
If you like my products, don't forget to rate them on codecanyon :)
September 13, 2018 at 2:13 pm #19178You cannot access this content.September 14, 2018 at 11:24 am #19186You cannot access this content. Best,
Ernest Marcinko
If you like my products, don't forget to rate them on codecanyon :)
September 14, 2018 at 12:01 pm #19189You cannot access this content.September 15, 2018 at 10:23 am #19199Hi,
Thank you for clarification. I have found the problem. Because the results override was active, the non-post results are also passed to the theme. However it looks like, that there is an issue displaying them, when the plugin forcibly sets the post type of non-post type results to ‘post’.
Anyways, I have added this custom code to the child theme functions.php to bypass that:
Please keep this code there, and more it to the production as well. That should resolve the issue permanently.
Best,
Ernest Marcinko
If you like my products, don't forget to rate them on codecanyon :)
September 17, 2018 at 9:39 am #19223Hi thank you for your solution. It is working very well 🙂
September 17, 2018 at 9:47 am #19225You cannot access this content. Best,
Ernest Marcinko
If you like my products, don't forget to rate them on codecanyon :)
-
This reply was modified 4 years, 8 months ago by
- AuthorPosts
You must be logged in to reply to this topic.