When upgrading from from a dev version to the beta2 version, I get the following error on the top of the donation page:

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::uc_product_add_to_cart_form' was given in /nfs/c03/h01/mnt/domains/*****.com/html/includes/form.inc on line 366.

Any ideas?

Comments

greenskin’s picture

I'll make a beta3 of the current dev release as this issue is fixed there but not in beta 2.

bluecobalt’s picture

Version: 6.x-2.0-beta2 » 6.x-2.0-beta3
Category: support » bug
Priority: Normal » Critical

I'm getting this same error. Upgraded a site from Drupal 5 to 6.14, with Ubercart Donation Products 6.x-2.0-beta3 and the latest Ubercart 6.x-2.x-dev.

The add to cart buttons show up as plain text and not buttons.

NewToDrupal-2’s picture

Hey... I am having the same error... Can anyone help me?????

NewToDrupal-2’s picture

Hey... I am having the same error... Can anyone help me?????

error is
"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_1348' was given in /var/www/...../includes/form.inc on line 372."