Looked this specific function up, but didn't see any issues with it.
I've encountered the following error.
Notice: Undefined index: 2 in uc_weightquote_quote() (regel 218 van /var/www/xsbyte.com/v7/sites/all/modules/ubercart/shipping/uc_weightquote/uc_weightquote.module).
Checked my shipping methods for any strange conditions but did not find anything strange.
The conditions I have are a check for shipping method per-country and a maximum weight for a specific shipping method (3 kilos).
This error pops up when adding a item to the cart and by just opening the cart when there are items in the cart with dimentions set in the item node.
Strange enough, this error doesn't happen when I add an item without dimentions (default set to 0).
Comment | File | Size | Author |
---|---|---|---|
#1 | 2180703-weightquote-null.patch | 653 bytes | longwave |
Capture.PNG | 49.26 KB | theemstra |
Comments
Comment #1
longwavePlease test the attached patch.
Comment #2
longwavePatch should have used !isset() instead of isset(), flatrate already has this fix in place, tested and committed.