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 get this error whenever I am looking at a room page.
Notice: Undefined index: display_price in uc_taxes_entity_view_alter() (line 114 of /homepages/11/d1108/htdocs/www_grillsforrent_com/Drupal02/sites/all/modules/ubercart/uc_taxes/uc_taxes.module).
Notice: Undefined index: #value in uc_taxes_entity_view_alter() (line 114 of /homepages/11/d1108/htdocs/www_grillsforrent_com/Drupal02/sites/all/modules/ubercart/uc_taxes/uc_taxes.module).
The following work around was posted in issue #1250840: Tax errors when uc_hotel is installed, but it does not say which file so I have not been able to test it.
//this is for uc_cart errors
$row->sell_price = $row->cost = $row->weight = $row->shippable = $row->weight_units = FALSE;
I do not see this issue directly addressed in the uc_hotel issues list even though it is mentioned in this issue #1209392: Editing Availability Calendar.
Thanks in advance...
Comments
Comment #1
larowlanDuplicate of #1250840: Tax errors when uc_hotel is installed
Comment #2
farhan_rashad CreditAttribution: farhan_rashad commentedNotice: Undefined index: display_price in uc_taxes_entity_view_alter() (line 114 of /home/fastecpr/public_html/sites/all/modules/ubercart/uc_taxes/uc_taxes.module).
Notice: Undefined index: #value in uc_taxes_entity_view_alter() (line 114 of /home/fastecpr/public_html/sites/all/modules/ubercart/uc_taxes/uc_taxes.module).
Comment #3
ashzade CreditAttribution: ashzade commented+1 getting this on a fresh install on a local server.