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));


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


nquocbao’s picture

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

i luv u so much right now (:

thanks that worked

helpmelearn’s picture

Thanks it was a great help

apostl3pol’s picture

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?

univate’s picture

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.

longwave’s picture

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.