When clicking the button "Make a ... deposit", I get a page with "Error - the website encountered an unexpected error. Please try again later".

While starting to debug the issue right now, I would appreciate any help!

I'm aware that I'm not providing much background right now, so please let me know your questions for further diagnosing the problem.

Thanks & regards,
Jeroen Strompf

Comments

Strompf created an issue. See original summary.

Strompf’s picture

Crash is caused in function commerce_deposit_form_commerce_cart_add_to_cart_form_submit() in calling entity_create('commerce_line_item', array())

darrylri’s picture

Status: Active » Needs review
StatusFileSize
new822 bytes

Here's a patch that fixes the problem. It appears that commerce now removes the product from $form_state to clean up caching.

tyler.frankenstein’s picture

Status: Needs review » Fixed

Thank you @darrylri and @Strompf.

Status: Fixed » Closed (fixed)

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