Still a call_user_func_array() error in 1.2.4.10

frank0051 - January 20, 2009 - 17:07
Project:Ubercart Donation Products
Version:6.x-2.x-dev
Component:Code
Category:bug report
Priority:critical
Assigned:Unassigned
Status:won't fix
Description

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

#1

frank0051 - January 20, 2009 - 17:16

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?

#2

greenSkin - January 20, 2009 - 22:12

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.

#3

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

 
 

Drupal is a registered trademark of Dries Buytaert.