Error when editing non-registration products

Created on 1 August 2013, over 11 years ago
Updated 28 February 2025, about 2 months ago

Hi there,

I just wanted to report what I think is a bug. I have a site that sells some products that are available for registration and some that are not. When Commerce Registration Integration module is enabled if I edit a Product Display Content Type of a none registration item (eg admin/structure/types/manage/product_display/display), I get the following error and cannot edit any fields

Warning: htmlspecialchars() expects parameter 1 to be string, array given in /html/includes/bootstrap.inc on line 1559
Notice: Undefined index: label in /html/modules/field_ui/field_ui.admin.inc on line 1121
Notice: Undefined index: label in /html/modules/field_ui/field_ui.admin.inc on line 1125
Notice: Undefined index: label in /html/modules/field_ui/field_ui.admin.inc on line 1134
Notice: Undefined index: label in /html/modules/field_ui/field_ui.admin.inc on line 1153

This can be resolved by temporarily disabling the Commerce Registration module and re-enabling once I've made any necessary changes. It's not ideal, but it does the job.

Thanks for a great module.

πŸ› Bug report
Status

Closed: outdated

Component

Code

Created by

πŸ‡¬πŸ‡§United Kingdom amillionmonkeys

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024