Well, just as a primer, I have never really been able to get the donation products to work on any version of drupal I have used. I updated the newest version today (I believe 1.2.4.10) and enabled "Donation Product" ("Donate" still says it is incomptable with 6.8). When I created a test donation product I still get the following issue:

"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_16' was given in /home/crooms/public_html/includes/form.inc on line 366."

You can check it out here: http://www.croomsalumni.com/node/16

Comments

frank0051’s picture

Just as a follow up, I see that there is a patch GreenSkin has suggested that can be applied to Ubercart itself, but I guess that patch disappears when the new verisons of Ubercart comes out (since they still haven't addressed the problem in release 2 or 3). The question is should we really be patching Ubercart or is there a way to actually get the Donation product to work independently?

greenskin’s picture

Ubercart should apply the patch as it corrects the misuse and inefficient use of hook_forms. This is an issue that uc_donation should not just work around but be fixed.

greenskin’s picture

Status: Active » Closed (won't fix)

Marking as won't fix since the patch to Ubercart has been assigned and should make it in to a release soon. #341819: Allow contrib modules to utilize uc_product_add_to_cart_form