Hi. I am using display suite together with ubercart, and on clicking 'add to cart' on a product, I get this error:
Notice: Undefined index: #bundle in ds_extras_entity_view_alter() (line 881 of mysite\sites\all\modules\ds\modules\ds_extras\ds_extras.module).
The product gets added to the cart fine though.
| Comment | File | Size | Author |
|---|---|---|---|
| #7 | 1410440-7.patch | 1.85 KB | swentel |
Comments
Comment #1
swentel commentedThis is probably fixed by #1359106: DS alters entity info without checking if bundles exists, can you check with that patch or the dev version or DS
Comment #2
wiherek commentedNo, that patch (from post #3 from the link you provided) doesn't work for me :(
Comment #3
Anonymous (not verified) commentedJust updated to Ubercart 7.x-3.0-rc4 and getting similar errors on the cart page:
Notice: Undefined index: #bundle in ds_entity_variables() (line 770 of .../sites/all/modules/ds/ds.module).Notice: Undefined index: #bundle in ds_extras_entity_view_alter() (line 872 of .../sites/all/modules/ds/modules/ds_extras/ds_extras.module).Comment #4
epawel commentedI have the same problem
D7.10
Ubercart 7.x-3.0-rc4
Help will be very appreciated...
Comment #5
iwant2fly commentedI am getting the same error. Ubercart version 7.x-3.0-rc4
Comment #6
ericinwisconsin commentedI am getting the same error. Ubercart version 7.x-3.0-rc4. The patch mentioned didn't work.
Subscribing.
Comment #7
swentel commentedOk, usually I wouldn't want to fix this since it's theoretically not my fault, but I'm getting tired of these bug reports (not your fault guys, don't worry), so here's a patch that will make these notices go away once and for all :)
Comment #8
rickmanelius commentedI know it's not your fault @swentel, but you're very awesome for jumping in and fixing this. My client thanks you vicariously through me :)
Comment #9
swentel commentedok, committed and pushed. There's a new 1.5 release in a couple of days.