hI
soooo close
i am trying to get variations and attributes to work with tangible sub products but...
i create a few variations in categories under EC Live Subproducts: Product Variation and then create a few variations in Subproduct Attributes , but when i create a product and select the subprodcuts from the list and submit, i get the folooowing error ...
* warning: array_filter() [function.array-filter]: The first argument should be an array in D:\Program Files\xampp\htdocs\5store\sites\all\modules\ecommerce\contrib\ec_roles\ec_roles.module on line 126.
* warning: array_filter() [function.array-filter]: The first argument should be an array in D:\Program Files\xampp\htdocs\5store\sites\all\modules\ecommerce\contrib\ec_roles\ec_roles.module on line 130.
* warning: array_intersect_assoc() [function.array-intersect-assoc]: Argument #2 is not an array in D:\Program Files\xampp\htdocs\5store\sites\all\modules\ecommerce\contrib\ec_roles\ec_roles.module on line 137.
* warning: array_intersect_assoc() [function.array-intersect-assoc]: Argument #2 is not an array in D:\Program Files\xampp\htdocs\5store\sites\all\modules\ecommerce\contrib\ec_roles\ec_roles.module on line 138.
* warning: array_intersect_assoc() [function.array-intersect-assoc]: Argument #2 is not an array in D:\Program Files\xampp\htdocs\5store\sites\all\modules\ecommerce\contrib\ec_roles\ec_roles.module on line 139.
* warning: array_intersect_assoc() [function.array-intersect-assoc]: Argument #2 is not an array in D:\Program Files\xampp\htdocs\5store\sites\all\modules\ecommerce\contrib\ec_roles\ec_roles.module on line 140.
i tried unistallign adnreiinstalled ec_roles and tried the dev version as well but same error.
please advise, screen grab attached
| Comment | File | Size | Author |
|---|---|---|---|
| ERRROR.JPG | 104.81 KB | .-_-. |
Comments
Comment #1
brmassa commentedanon,
the error is on ec_role. its a known bug. you cant use it with ec live subproducts. i will try to convince ecommerce dev team to fix it.
regards,
massa
Comment #2
.-_-. commentedthanks for the info
will have to wait for v4 spose
have disbaled roles as i dont need it
cheers
Comment #3
brmassa commentedComment #4
reg commentedAs a quick fix I just put this in ec_roles.module: