Won't add to cart. Undefined index: components

Created on 14 August 2024, about 1 month ago
Updated 19 August 2024, 28 days ago
Notice: Undefined index: components in commerce_webform_get_products_from_webform_submission() (line 283 of C:\wamp64\www\jalt_d7100\sites\all\modules\commerce_webform\commerce_webform.module).
Warning: Invalid argument supplied for foreach() in commerce_webform_get_products_from_webform_submission() (line 285 of C:\wamp64\www\jalt_d7100\sites\all\modules\commerce_webform\commerce_webform.module).
Notice: Undefined index: sid in commerce_webform_order_create() (line 166 of C:\wamp64\www\jalt_d7100\sites\all\modules\commerce_webform\commerce_webform.rules.inc).

Hi, I ran into these problems on a fresh D7 101 build. After submitting a webform with a product it pops up this error code and does not create a shopping cart item.

Can you help?

🐛 Bug report
Status

Active

Version

2.0

Component

Code

Created by

🇨🇦Canada seanenroute

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

Comments & Activities

  • Issue created by @seanenroute
  • What version of Webform Rules module are you running? I was getting the same issue when using Webform Rules 7.x-1.7.

    Downgrading Webform Rules module back to 7.x-1.6 fixed the issue for me.

Production build 0.71.5 2024