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.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | secureshare-check_whether_bundle_exists-1632610-1.patch | 1.16 KB | yannickoo |
Comments
Comment #1
yannickooComment #2
Caesar commentedI 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).
Comment #3
blackice2999 commentedHi 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
Comment #4
yannickooEhm Caesar, I think you are using the Hotel Booking System for Ubercart, so you are wrong here.
Comment #5
blackice2999 commented