expected callback in uc_product_add_to_cart_form_2...

flickerfly - January 28, 2009 - 05:06
Project:Ubercart Donation Products
Version:6.x-2.x-dev
Component:Code
Category:bug report
Priority:critical
Assigned:Unassigned
Status:duplicate
Description

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.

#1

flickerfly - January 28, 2009 - 05:11
Priority:normal» critical

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

#2

greenSkin - January 28, 2009 - 21:43
Status:active» 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.

#3

flickerfly - January 29, 2009 - 00:17

Thanks for the redirect. Sorry for the dup.

 
 

Drupal is a registered trademark of Dries Buytaert.