• Since updating the DHL plugin on my stage server my php log gets “polluted” with these php notices:

    PHP Notice:  Undefined index: dhl_default_routing in /var/www/html/wp-content/plugins/dhl-for-woocommerce/includes/class-pr-dhl-wc-order-paket.php on line 366, referer: https://fr.test/wp-admin/edit.php?s=myusername&post_status=all&post_type=shop_order&action=-1&m=0&_customer_user&shop_order_subtype&paged=1&action2=-1
    PHP Stack trace:, referer: https://fr.test/wp-admin/edit.php?s=myusername&post_status=all&post_type=shop_order&action=-1&m=0&_customer_user&shop_order_subtype&paged=1&action2=-1
    PHP   1. {main}() /var/www/html/wp-admin/post.php:0, referer: https://fr.test/wp-admin/edit.php?s=myusername&post_status=all&post_type=shop_order&action=-1&m=0&_customer_user&shop_order_subtype&paged=1&action2=-1
    PHP   2. include() /var/www/html/wp-admin/post.php:198, referer: https://fr.test/wp-admin/edit.php?s=myusername&post_status=all&post_type=shop_order&action=-1&m=0&_customer_user&shop_order_subtype&paged=1&action2=-1
    PHP   3. do_meta_boxes() /var/www/html/wp-admin/edit-form-advanced.php:670, referer: https://fr.test/wp-admin/edit.php?s=myusername&post_status=all&post_type=shop_order&action=-1&m=0&_customer_user&shop_order_subtype&paged=1&action2=-1
    PHP   4. PR_DHL_WC_Order_Paket->meta_box() /var/www/html/wp-admin/includes/template.php:1343, referer: https://fr.test/wp-admin/edit.php?s=myusername&post_status=all&post_type=shop_order&action=-1&m=0&_customer_user&shop_order_subtype&paged=1&action2=-1
    PHP   5. PR_DHL_WC_Order_Paket->additional_meta_box_fields() /var/www/html/wp-content/plugins/dhl-for-woocommerce/includes/abstract-pr-dhl-wc-order.php:176, referer: https://fr.test/wp-admin/edit.php?s=myusername&post_status=all&post_type=shop_order&action=-1&m=0&_customer_user&shop_order_subtype&paged=1&action2=-1
    
    

    There are like 5 of this on every load of an woocommerce order page.

    Not a big thing, but please fix this in an upcoming version.

    BTW, thanks for the plugin it is a great time saver when using DHL.

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘PHP Notice: Undefined index: dhl_default_routing’ is closed to new replies.