Hi,

I just installed Commerce Kickstart (without the demo store but with all the options available).

I then installed the Commerce_SP module (for subscription), along with "field permissions" to be able to sell subscription via products.

But after installing and enabling the field permissions module, it gives me these errors:

Notice: Undefined index: label in entity_views_field_definition() (line 191 of /commerce_kickstart/modules/contrib/entity/views/entity.views.inc).
Notice: Undefined index: label in commerce_kickstart_product_ui_field_create_instance() (line 189 of /commerce_kickstart/modules/commerce_kickstart/commerce_kickstart_product_ui/commerce_kickstart_product_ui.module).
Notice: Undefined index: field replacement in commerce_kickstart_product_ui_field_create_instance() (line 189 of /commerce_kickstart/modules/commerce_kickstart/commerce_kickstart_product_ui/commerce_kickstart_product_ui.module).

Thanks for any help!

Comments

cicampemu’s picture

Issue summary: View changes

Notice: Undefined index: label in entity_views_field_definition() (line 191 of /commerce_kickstart/modules/contrib/entity/views/entity.views.inc).
Notice: Undefined index: label in commerce_kickstart_product_ui_field_create_instance() (line 189 of /commerce_kickstart/modules/commerce_kickstart/commerce_kickstart_product_ui/commerce_kickstart_product_ui.module).
/commerce_kickstart/modules/commerce_kickstart/commerce_kickstart_product_ui/commerce_kickstart_product_ui.module).

cicampemu’s picture

Issue summary: View changes

No update.

cicampemu’s picture

Issue summary: View changes

none

jsacksick’s picture

Status: Active » Needs review

If you're able to reproduce the bug, could you cherry-pick this and try ? https://code.drupalcommerce.org/#/c/551/1
I just tried to reproduce the bug with the code modified and I don't get the warnings.

jsacksick’s picture

Status: Needs review » Fixed

Should be fixed.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

Anonymous’s picture

Issue summary: View changes

none