Title: PHP Warning: Undefined array key &#8220;PDDP&#8221;
Last modified: January 12, 2026

---

# PHP Warning: Undefined array key “PDDP”

 *  [davidkoster89](https://wordpress.org/support/users/davidkoster89/)
 * (@davidkoster89)
 * [4 months, 2 weeks ago](https://wordpress.org/support/topic/php-warning-undefined-array-key-pddp/)
 * Just to let you know that after a recent plugin upgrade we get these PHP warnings
   in our log:
 *     ```wp-block-code
       [09-Jan-2026 08:02:02 UTC] PHP Warning:  Undefined array key "PDDP" in /mysite/wp-content/plugins/dhl-for-woocommerce/includes/REST_API/Parcel_DE/Item_Info.php on line 762[09-Jan-2026 08:05:25 UTC] PHP Warning:  Undefined array key "PDDP" in /mysite/wp-content/plugins/dhl-for-woocommerce/includes/REST_API/Parcel_DE/Item_Info.php on line 762[09-Jan-2026 08:07:03 UTC] PHP Warning:  Undefined array key "PDDP" in /mysite/wp-content/plugins/dhl-for-woocommerce/includes/REST_API/Parcel_DE/Item_Info.php on line 762[09-Jan-2026 08:07:43 UTC] PHP Warning:  Undefined array key "PDDP" in /mysite/wp-content/plugins/dhl-for-woocommerce/includes/REST_API/Parcel_DE/Item_Info.php on line 762
       ```
   
 * This kind of “pollutes” our php log and makes monitoring harder.
 * Maybe you can fix the warning in an upcoming release. fwiw, I think the shop 
   does not use PDDP or at least I do not know what PDDP means at all.

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Plugin Author [Saleem Summour](https://wordpress.org/support/users/sal4sup/)
 * (@sal4sup)
 * [4 months, 2 weeks ago](https://wordpress.org/support/topic/php-warning-undefined-array-key-pddp/#post-18783597)
 * Hi David,
   Thanks for reporting this.The warning is triggered when the optional
   PDDP flag is not present in the order data.It does not affect label creation,
   but we’ll add a safe default and include the fix in the next update.
 * Thanks for the heads-up.
 *  Thread Starter [davidkoster89](https://wordpress.org/support/users/davidkoster89/)
 * (@davidkoster89)
 * [6 days, 3 hours ago](https://wordpress.org/support/topic/php-warning-undefined-array-key-pddp/#post-18915480)
 * After upgrading to the current latest plugin version we still have this in our
   logs:
 *     ```wp-block-code
       [21-May-2026 08:12:46 UTC] PHP Warning:  Undefined array key "PDDP" in /srv/data/web/vhosts/www.abc.com/htdocs/wp-content/plugins/dhl-for-woocommerce/includes/REST_API/Parcel_DE/Item_Info.php on line 762
       ```
   
 * So it is still not fixed.

Viewing 2 replies - 1 through 2 (of 2 total)

You must be [logged in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fphp-warning-undefined-array-key-pddp%2F%3Foutput_format%3Dmd&locale=en_US)
to reply to this topic.

 * ![](https://ps.w.org/dhl-for-woocommerce/assets/icon.svg?rev=1777040)
 * [DHL Shipping Germany for WooCommerce](https://wordpress.org/plugins/dhl-for-woocommerce/)
 * [Support Threads](https://wordpress.org/support/plugin/dhl-for-woocommerce/)
 * [Active Topics](https://wordpress.org/support/plugin/dhl-for-woocommerce/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/dhl-for-woocommerce/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/dhl-for-woocommerce/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [davidkoster89](https://wordpress.org/support/users/davidkoster89/)
 * Last activity: [6 days, 3 hours ago](https://wordpress.org/support/topic/php-warning-undefined-array-key-pddp/#post-18915480)
 * Status: not resolved