Skip to main content
Skip table of contents

The search form does not display any results. It keeps reloading the page.

🤔 Problem

When a customer enters check-in and check-out dates, then runs a search, it does not display any result. There is a loop with the page reloading constantly.

🌱 Solution

You have HBook plugin only

This may happen when you use the “redirection_url” parameter in the [hb_booking_form] shortcode to display the results of the search in a different page.

The problem occurs if you set a redirection URL that redirects to itself, which creates the loop.

  1. On the first page (before the redirection/loop occurs): please check the shortcode you have written. Please double-check that the URL you have entered as the value for the “redirection_url” parameter is correct.

  2. On the page where it loops: please check the shortcode on the page. It should not include the “redirection_url” parameter.

You have Lavilla/Adomus theme

This happens when you use the “Hero” booking form and redirect to a different page for the results.

The problem occurs when on the page you redirect to, you have as well indicated that you wish to use a hero booking form with redirection, which is what creates the loop.

  1. On the first page (before the redirection/loops occurs): please double-check which page ID you have entered in the “Booking form” settings. Make sure you do not redirect to the page you are editing!

  2. On the page where it loops: please make sure you do not have a hero booking form. Hero booking forms are for redirection to a different page for the search results. You should not have a redirection in place on the page where you redirect to!

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.