Closed (fixed)
Project:
Ubercart
Version:
6.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
30 Nov 2012 at 04:08 UTC
Updated:
15 Dec 2012 at 09:50 UTC
Jump to comment: Most recent file
Comments
Comment #1
damienmckennaThe global $user variable wasn't loaded before using $user->uid.
Comment #2
damienmckennaAnother error two lines later:
Notice: Undefined index: cart_order in uc_payment_get_details() (line 410 of ubercart/payment/uc_payment/uc_payment.module).Comment #3
damienmckennaA 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).Comment #4
damienmckennaThis patch resolves all three errors.
Comment #5
longwaveCommitted, thanks for the patches.