Support » Plugin: Hotel Booking Lite » Fatal error search results

  • Hi, when choosing a date and finding available rooms to book, it shows: Fatal error: Uncaught Error: Call to a member function isDateInSeason() on null in / Stack trace: #0 / MPHB\BookingRules\Reservation\Rule->isForDate(Object(DateTime)) #1 / MPHB\BookingRules\Reservation\RulesHolder->findActualCombinedRule(Object(DateTime)) #2 / MPHB\BookingRules\Reservation\ReservationRules->verify(Object(DateTime), Object(DateTime), 0) #3 / MPHB\BookingRules\RulesChecker->ve in / on line 57

    • This topic was modified 1 month, 1 week ago by oleg13.
Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author MotoPress


    Hi @oleg13,
    First of all, navigate to accommodation > seasons and make sure each season has a start and end dates.
    If it is not helpful to navigate to Bookings > Booking rules and make sure there is no rule without any season applied. If there is such booking rule please select a season or remove this rule at all and save the changes.

    Plugin Support Dimitar


    Hi @oleg13,
    Have you managed to fix the error?

Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.