This website uses cookies to personalize your experience. By using this website you agree to our cookie policy.

Reply To: Error 502 after Pressing Show More Button

Home Forums Product Support Forums Ajax Search Pro for WordPress Support Error 502 after Pressing Show More Button Reply To: Error 502 after Pressing Show More Button

#19199
Ernest MarcinkoErnest Marcinko
Keymaster

Hi,

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.