Hello and thank you for a great module!
I get a WSOD and the following error:
Fatal error: Call to undefined function commerce_coupon_type_access() in /DOCROOT/sites/all/modules/entity/entity.module on line 553
Trying to explain how I got it:
- I have a very simple rule component with only an action: "Save entity" which has a Commerce Product as a parameter
- I have a view of commerce products, with VBO and the rule component above as an active bulk operation
- As soon as I enable the rule component as a bulk operation I get a javascript/ajax error popup, and when saving the view and accessing the view page I get the WSOD
Upon inspecting the code, i see the following in line 58 of commerce_coupon.module:
'access callback' => 'commerce_coupon_type_access',
but I can not see that callback function defined anywhere - is this what causes the issue?
| Comment | File | Size | Author |
|---|---|---|---|
| #8 | commerce_coupon-undefined-commerce_coupon_type_access-1960480-8.patch | 494 bytes | roflcopterDorrie |
Comments
Comment #1
pcambraYou're right, the function was removed by mistake, thanks for reporting
Fixed in the latest -dev (it takes 12h to refresh that one).
Comment #2
kirie commentedThanks - WSOD gone :)
Comment #4
Anonymous (not verified) commentedThanks for this tip. Can we get the latest dev as a stable branch? It kinda sucks that the stable branch breaks the rules pages.
Comment #5
muschpusch commented+ 1 for a new beta since everybody will visit this issue...
Comment #6
joelpittetSame as #4 and #5
Comment #7
tomrogThanks for the information. I've bumped into that (I'm using latest beta - 7.x-1.0-beta7) and I was stunned to see that removed function breaks VBO in Views. What was strange for me is that my Views wasn't connected to Commerce at all :D
Comment #8
roflcopterDorrie commentedFor anyone interested, here is a patch that puts the function back in for 7.x-1.0-beta7
Comment #9
wesleymusgrove commentedHas this been fixed in 7.x-2.0 or does it no longer apply to the 2.x branch?