Another small error, this shows up when the visitor loads the checkout page fir the first time, thus uc_checkout_pane_quotes() is passed $op=='view':

Notice: Undefined property: UcOrder::$quote in uc_checkout_pane_quotes() (line 829 of sites/all/modules/contrib/ubercart/shipping/uc_quote/uc_quote.module).

CommentFileSizeAuthor
#2 ubercart-n1740166.patch857 bytesdamienmckenna

Comments

damienmckenna’s picture

FYI I discovered this by having error_reporting set to E_ALL and adding this to my settings.php file:

$conf['error_level'] = 2;
damienmckenna’s picture

Status: Active » Needs review
StatusFileSize
new857 bytes

This resolves the error by first checking if $order->quote['method'] is available; it also improves the logic in the trinary operator to avoid another NOTICE error.

damienmckenna’s picture

longwave’s picture

Status: Needs review » Fixed

Committed, thanks for the patch.

Status: Fixed » Closed (fixed)

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