Conversation
supportThe plugin has worked flawlessly since 2022 but recently my client has had problems printing labels from the order page. All the keys seem right and the data ends up with DPD, but label generation seems broken. There was the same problem last week but it started functioning by itself after a while. There has been no significant updates to the site itself. The page I need help with: [ log in to see the link]
Same here – at some point, the “Print DPD labels” options was added back to the plugin so the selection in dropdown appeared again in WooCommerce 8.6.1 orders page but now when you select “Print DPD labels” it ends with a critical error: Error details =============== In file /www/apache/domains/ http://www.tupsunupsu.ee/htdocs/wp-content/plugins/woo-shipping-dpd-baltic/admin/class-dpd-admin.php real 201 appeared an E_ERROR. Error message: Uncaught TypeError: count(): Argument #1 ($value) must be of type Countable|array, null given in /www/apache/domains/ http://www.tupsunupsu.ee/htdocs/wp-content/plugins/woo-shipping-dpd-baltic/admin/class-dpd-admin.php:201 Stack trace: #0 /www/apache/domains/ http://www.tupsunupsu.ee/htdocs/wp-content/plugins/woo-shipping-dpd-baltic/admin/class-dpd-admin.php(993) : Dpd_Admin::http_client(‘createShipment_’, Array) #1 /www/apache/domains/ http://www.tupsunupsu.ee/htdocs/wp-content/plugins/woo-shipping-dpd-baltic/admin/class-dpd-admin.php(604) : Dpd_Admin->order_shipment_creation(Array) #2 /www/apache/domains/ http://www.tupsunupsu.ee/htdocs/wp-content/plugins/woo-shipping-dpd-baltic/admin/class-dpd-admin.php(486) : Dpd_Admin->do_multiple_print_parcel_label(Array) #3 /www/apache/domains/ http://www.tupsunupsu.ee/htdocs/wp-includes/class-wp-hook.php(324) : Dpd_Admin->handle_orders_bulk_actions(‘/wp-admin/edit….’, ‘dpd_print_parce…’, Array) #4 /www/apache/domains/ http://www.tupsunupsu.ee/htdocs/wp-includes/plugin.php(205) : WP_Hook->apply_filters(‘/wp-admin/edit….’, Array) #5 /www/apache/domains/ http://www.tupsunupsu.ee/htdocs/wp-admin/edit.php(222) : apply_filters(‘handle_bulk_act…’, ‘/wp-admin/edit….’, ‘dpd_print_parce…’, Array) #6 {main} thrown
Hey, @bladeke , @hermanmiller 👋 . This issue should be fixed with a new plugin version 1.2.77. Upgrade and let us know how it goes.
Thank you very much guys! I can confirm it’s fixed! 🙂
Same here – at some point, the “Print DPD labels” options was added back to the plugin so the selection in dropdown appeared again in WooCommerce 8.6.1 orders page but now when you select “Print DPD labels” it ends with a critical error: Error details =============== In file /www/apache/domains/ http://www.tupsunupsu.ee/htdocs/wp-content/plugins/woo-shipping-dpd-baltic/admin/class-dpd-admin.php real 201 appeared an E_ERROR. Error message: Uncaught TypeError: count(): Argument #1 ($value) must be of type Countable|array, null given in /www/apache/domains/ http://www.tupsunupsu.ee/htdocs/wp-content/plugins/woo-shipping-dpd-baltic/admin/class-dpd-admin.php:201 Stack trace: #0 /www/apache/domains/ http://www.tupsunupsu.ee/htdocs/wp-content/plugins/woo-shipping-dpd-baltic/admin/class-dpd-admin.php(993) : Dpd_Admin::http_client(‘createShipment_’, Array) #1 /www/apache/domains/ http://www.tupsunupsu.ee/htdocs/wp-content/plugins/woo-shipping-dpd-baltic/admin/class-dpd-admin.php(604) : Dpd_Admin->order_shipment_creation(Array) #2 /www/apache/domains/ http://www.tupsunupsu.ee/htdocs/wp-content/plugins/woo-shipping-dpd-baltic/admin/class-dpd-admin.php(486) : Dpd_Admin->do_multiple_print_parcel_label(Array) #3 /www/apache/domains/ http://www.tupsunupsu.ee/htdocs/wp-includes/class-wp-hook.php(324) : Dpd_Admin->handle_orders_bulk_actions(‘/wp-admin/edit….’, ‘dpd_print_parce…’, Array) #4 /www/apache/domains/ http://www.tupsunupsu.ee/htdocs/wp-includes/plugin.php(205) : WP_Hook->apply_filters(‘/wp-admin/edit….’, Array) #5 /www/apache/domains/ http://www.tupsunupsu.ee/htdocs/wp-admin/edit.php(222) : apply_filters(‘handle_bulk_act…’, ‘/wp-admin/edit….’, ‘dpd_print_parce…’, Array) #6 {main} thrown
Hey, @bladeke , @hermanmiller 👋 . This issue should be fixed with a new plugin version 1.2.77. Upgrade and let us know how it goes.
Thank you very much guys! I can confirm it’s fixed! 🙂