When I use this module multiple warnings are shown:

Notice: Undefined index: path in field_ui_menu() (line 85 of /var/www/sda/modules/field_ui/field_ui.module).
Notice: Undefined index: path in field_validation_ui_menu() (line 28 of /var/www/sda/sites/all/modules/contrib/field_validation/field_validation_ui.module).
Notice: Undefined index: path in field_group_menu() (line 29 of /var/www/sda/sites/all/modules/contrib/field_group/field_group.module).
Notice: Undefined index: path in conditional_fields_menu() (line 156 of /var/www/sda/sites/all/modules/contrib/conditional_fields/conditional_fields.module).
Notice: Undefined index: path in field_ui_admin_menu_map() (line 88 of /var/www/sda/sites/all/modules/contrib/admin_menu/admin_menu.map.inc).

This one is shown almost all the time:

Notice: Undefined index: path in field_ui_admin_menu_map() (line 88 of /var/www/sda/sites/all/modules/contrib/admin_menu/admin_menu.map.inc).

Comments

pawel_r’s picture

Found the problem - module admin_menu needs 'path' to be declared for 'admin' in hook_entity_info, thus one line must be added to 'splash_offer_entity_info' (splash_offer.module line 90):

'bundles' => array(
'splash_offer' => array(
'label' => t('Splash Offer'),
'admin' => array(
'access arguments' => array('administer splash_offer'),
'path' => 'admin/structure/splash_offer'
),
),
)

aklump’s picture

Assigned: Unassigned » aklump
Status: Active » Needs work

Thank you @pawel_r, I will work this in to a future update. I appreciate your working finding the cause.

sonicthoughts’s picture

Wow this is hard to find as it affects other modules. patch would be great if you have.

aklump’s picture

Status: Needs work » Fixed

I've patched and pushed a new release as 7.x-1.0; thank you for help finding this issue.

Status: Fixed » Closed (fixed)

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