Registration checkout page is skipped if a line item's 'data' property is empty

Created on 11 September 2015, over 9 years ago
Updated 28 February 2025, about 2 months ago

I've just updated to the most recent dev version as I was having a problem with uploading files/images - i was receiving the following error:

Notice: Undefined index: #suffix in file_ajax_upload() (line 288 of /modules/file/file.module).

and

EntityMalformedException: Missing bundle property on entity of type registration. in entity_extract_ids() (line 7707 of includes/common.inc).

Figuring it's always best to update if there's an issue I update the module and can now not enter any registration information as it skips the registration pane. I'm now receiving the following errors in the log:

Warning: Invalid argument supplied for foreach() in commerce_registration_commerce_checkout_router() (line 1109 of sites/all/modules/commerce_registration/commerce_registration.module).

When I roll back the second error disappears and the first one comes back. (although if I don't put a field for uploading a file then registration works just fine)

Thanks

πŸ› Bug report
Status

Closed: outdated

Version

2.0

Component

Checkout

Created by

πŸ‡¨πŸ‡³China gc11

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