• I’m seeing a bug that throws a 502 server error when no search results are returned.

    To reproduce: I search for a word that returns no results; and when I hit the “enter” or “return” key after the dropdown shows “no results”, I get a 502 error from the server.

Viewing 1 replies (of 1 total)
  • Plugin Author Damian Góra

    (@damian-gora)

    Hello,

    Maybe there is a conflict with one of your plugins.

    The best approach would be to deactivate plugins one by one and check if the issue still occurs after each deactivation. This will help me determine if it’s not a compatibility issue and which plugin is the cause.

    Also, you can try if you have something interesting in logs:

    1. Add the following constant to your wp-config.php file
    define( 'WP_DEBUG_LOG', true );
    2. Trigger the error
    3. Open the file with logs: wp-content/debug.log
    4. Send logs using this form https://ajaxsearch.pro/contact/
    5. Remove the code you added in point 1.

    Best
    Damian

Viewing 1 replies (of 1 total)
  • The topic ‘Bug: 502 error when no search results are returned’ is closed to new replies.