Hey blackice2999,

I got following error when displaying file entities because they don't have a $entity->content['#bundle']

Notice: Undefined property: stdClass::$content in secureshare_fields_entity_view() (line 34 of sites/all/modules/contrib/secureshare/secureshare_fields/secureshare_fields.module).

so I added a little check.

Comments

yannickoo’s picture

Status: Active » Needs review
StatusFileSize
new1.16 KB
Caesar’s picture

I got this error when i try to checkout from hotel booking. The price stays $0.00 and the number of days is always 365days

Notice: Undefined property: stdClass::$price in hotel_booking_uc_cart_display() (line 110 of /home5/ghanadig/public_html/sites/all/modules/uc_hotel/hotel_booking/hotel_booking.ubercart.inc).

blackice2999’s picture

Hi Caesar,

did you tried and reviewed the Patch from #1 ? Please test the patch if it works for you we can mark them reviewed by community and i would them commit.

thanks

yannickoo’s picture

Ehm Caesar, I think you are using the Hotel Booking System for Ubercart, so you are wrong here.

blackice2999’s picture

Status: Needs review » Closed (fixed)