Drupal Association members fund grants that make connections all over the world.
On the order complete page, the following errors were reported:
Warning: Missing argument 3 for uc_cart_checkout_review_form() in uc_cart_checkout_review_form() (line 413 of /Volumes/Webserver/sites/demo.com/sites/all/modules/contrib/ubercart/uc_cart/uc_cart.pages.inc). Notice: Undefined variable: order in uc_cart_checkout_review_form() (line 414 of /Volumes/Webserver/sites/demo.com/sites/all/modules/contrib/ubercart/uc_cart/uc_cart.pages.inc). Notice: Trying to get property of non-object in uc_payment_form_uc_cart_checkout_review_form_alter() (line 145 of /Volumes/Webserver/sites/demo.com/sites/all/modules/contrib/ubercart/payment/uc_payment/uc_payment.module).
When I echoed out the $order variable in uc_cart_checkout_review_form(), nothing was being passed over. Changing the following lines passed the order over correctly and resolved the errors for me:
- $form_state['uc_order'] = $order; + $form_state['build_info']['args'] = array($order);
The last issue was resolved by Ben Clark's patch.