Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I am receiving the following error when working with the booking system module:
"Notice: Undefined variable: price in include() (line 29 of/Applications/MAMP/htdocs/altitude/sites/all/modules/uc_hotel/hotel_booking/hotel_booking_calendar_cell.tpl.php)."
It shows up on most pages of my site, please recommend a course of action, thanks!
Comments
Comment #1
pucc CreditAttribution: pucc commentedI get the same error too..do you fixed it?
Comment #2
pucc CreditAttribution: pucc commentedI state that if I check the "Display prices in availability calendars" button in the hotel booking system settings the error disappear..maybe there's something wrong in the code!
Comment #3
pucc CreditAttribution: pucc commentedSo if you don't want to display this error go to hotel_booking_calendar_cell.tpl.php and comment
if ($price) :
print $price;
endif;
the error disappears and you don't have the price in the calendar's cells..maybe this problem is something like a bug...I don't know..