On a D6 test site I received this error after adding a Donation Products. I only filled in the required fields (tite, description and default amount). I also tried editing the item and putting non-default values in each field.

warning: call_user_func_array() [function.call-user-func-array]: First argument is expected to be a valid callback, 'uc_product_add_to_cart_form_2' was given in /Applications/MAMP/htdocs/drupal-6.9/includes/form.inc on line 366.

It appears that the result of this error is that I can't add the donation to the cart.

Comments

flickerfly’s picture

Priority: Normal » Critical

On second thought, not being able to donate at all should probably make this a critical bug. Thanks :-)

greenskin’s picture

Status: Active » Closed (duplicate)

Check post #11 at #348048: Not compatible with D6.8 yet?. Post #11 mentions a patch submitted in another issue that needs to be applied to Ubercart, and once done allows donation products to add to cart correctly.

Marking as duplicate.

flickerfly’s picture

Thanks for the redirect. Sorry for the dup.