Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
The following watchdog message is recorded when I load the checkout page:
Notice: Undefined property: stdClass::$payment_method in uc_credit_order() (line 307 of ubercart/payment/uc_credit/uc_credit.module).
Comment | File | Size | Author |
---|---|---|---|
#3 | ubercart-n1854596-3.patch | 762 bytes | DamienMcKenna |
#1 | ubercart-n1854596.patch | 763 bytes | DamienMcKenna |
Comments
Comment #1
DamienMcKennaThis patch just checks to see if the value exists before using it.
Comment #2
TR CreditAttribution: TR commentedCan you copy what was done in 7.x-3.x, by using isset() instead of !empty() ?
Comment #3
DamienMcKennaSure thing.
Comment #4
longwaveCommitted.