Closed (fixed)
Project:
Commerce Shipping
Version:
7.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
23 Jul 2012 at 21:53 UTC
Updated:
28 Nov 2012 at 18:10 UTC
When I add a shipping line item automatically to an order by a rule and then get to the checkout page where I can select a shipping method I get the following notice:
Notice: Undefined index: service_details in commerce_shipping_pane_checkout_form() (Zeile 77 von /.../sites/all/modules/commerce_shipping/includes/commerce_shipping.checkout_pane.inc).
I removed this notice by checking for that field. Patch is included.
| Comment | File | Size | Author |
|---|---|---|---|
| commerce_shipping_prevent_php_notice.patch | 915 bytes | elmotri |
Comments
Comment #1
googletorp commented#1674782: Notice: Undefined index: commerce_shipping in commerce_shipping_pane_checkout_form()
Comment #2
elmotri commentedThis is no duplicate. Still happening in the latest version.
Comment #3
jayemel commentedAgain, this is not a duplicate. This is still happening after applying the patch in #1.
Comment #4
rszrama commentedWas able to duplicate and commit a fix: http://drupalcode.org/project/commerce_shipping.git/commitdiff/f176e4a