When I checkout with ubercart, I receive this error:

Strict warning: Only variables should be passed by reference in uc_payment_form_uc_cart_checkout_review_form_alter() (line 144 of *****\sites\all\modules\contrib\ubercart\payment\uc_payment\uc_payment.module).

It can be fixed by changing in uc_payment.module line 144 from

    $form['#suffix'] = drupal_render(drupal_get_form($redirect, $order));

to

    $suffix = drupal_get_form($redirect, $order);
    $form['#suffix'] = drupal_render($suffix);

Comments

Project:Ubercart» UC Recurring Payments and Subscriptions
Version:7.x-3.0-rc3» 7.x-2.x-dev

i luv u so much right now (:

thanks that worked

Thanks it was a great help

Works for me too, thanks. Strange that after almost a year this hasn't been updated... have all the Ubercart devs moved on to Drupal Commerce or what?

Project:UC Recurring Payments and Subscriptions» Ubercart
Version:7.x-2.x-dev» 7.x-3.x-dev

No-ones probably seen this as it was moved from ubercart to uc_recurring, moving back.

Status:Active» Fixed

Committed, thanks for the patch. I don't monitor the uc_recurring queue, which is why this wasn't picked up earlier.

Status:Fixed» Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.