The following error is recorded in dblog when loading the checkout page.

Notice: Undefined variable: user in uc_payment_get_details() (line 413 of ubercart/payment/uc_payment/uc_payment.module).

Files: 
CommentFileSizeAuthor
#4 ubercart-n1854598-4.patch857 bytesDamienMcKenna
PASSED: [[SimpleTest]]: [MySQL] 2,115 pass(es).
[ View ]
#1 ubercart-n1854598.patch498 bytesDamienMcKenna
PASSED: [[SimpleTest]]: [MySQL] 2,117 pass(es).
[ View ]

Comments

Status:Active» Needs review
StatusFileSize
new498 bytes
PASSED: [[SimpleTest]]: [MySQL] 2,117 pass(es).
[ View ]

The global $user variable wasn't loaded before using $user->uid.

Title:Undefined variable: user in uc_payment_get_detailsUndefined variables in uc_payment_get_details
Status:Needs review» Needs work

Another error two lines later:

Notice: Undefined index: cart_order in uc_payment_get_details() (line 410 of ubercart/payment/uc_payment/uc_payment.module).

A third error, just a few lines further on:

Notice: Trying to get property of non-object in uc_payment_get_details() (line 415 of ubercart/payment/uc_payment/uc_payment.module).

Status:Needs work» Needs review
StatusFileSize
new857 bytes
PASSED: [[SimpleTest]]: [MySQL] 2,115 pass(es).
[ View ]

This patch resolves all three errors.

Status:Needs review» Fixed

Committed, thanks for the patches.

Status:Fixed» Closed (fixed)

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