Title: Fatal error when export
Last modified: January 19, 2021

---

# Fatal error when export

 *  [dylannnnlee](https://wordpress.org/support/users/dylannnnlee/)
 * (@dylannnnlee)
 * [5 years, 5 months ago](https://wordpress.org/support/topic/fatal-error-when-export/)
 * 2021-01-18T09:46:30+00:00 CRITICAL /opt/apps/wordpress/htdocs/wp-content/plugins/
   woo-postnl/includes/admin/class-wcpn-export.php at line 1085 Uncaught TypeError:
   Argument 1 passed to WCPN_Export::getShipmentData() must be of the type array,
   bool given, called in /opt/apps/wordpress/htdocs/wp-content/plugins/woo-postnl/
   includes/admin/class-wcpn-api.php on line 187 and defined in /opt/apps/wordpress/
   htdocs/wp-content/plugins/woo-postnl/includes/admin/class-wcpn-export.php:1085
   
   Stack trace: #0 /opt/apps/wordpress/htdocs/wp-content/plugins/woo-postnl/includes/
   admin/class-wcpn-api.php(187): WCPN_Export->getShipmentData() #1 /opt/apps/wordpress/
   htdocs/wp-content/plugins/woo-postnl/includes/admin/class-wcpn-api.php(171): 
   WCPN_API->updateOrderBarcode() #2 /opt/apps/wordpress/htdocs/wp-content/plugins/
   woo-postnl/includes/admin/class-wcpn-export.php(503): WCPN_API->getShipmentLabels()#
   3 /opt/apps/wordpress/htdocs/wp-content/plugins/woo-postnl/includes/admin/class-
   wcpn-export.php(534): WCPN_Export->downloadOrGetUrlOfLabels() #4 /opt/apps/wordpress/
   htdocs/wp-content/plugins/woo-postnl/includes/admin/clas

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

 *  Plugin Author [PostNL](https://wordpress.org/support/users/postnl/)
 * (@postnl)
 * [5 years, 4 months ago](https://wordpress.org/support/topic/fatal-error-when-export/#post-13953995)
 * [@dylannnnlee](https://wordpress.org/support/users/dylannnnlee/) Based on this
   error alone it is difficult to know the cause. Could you please contact [support@postnl-plugins.nl](https://wordpress.org/support/topic/fatal-error-when-export/support@postnl-plugins.nl?output_format=md)?
   Please send some background information with your mail like the woocommerce en
   plug-in version you are currently using.
 *  [thomasbulten](https://wordpress.org/support/users/thomasbulten/)
 * (@thomasbulten)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/fatal-error-when-export/#post-14228217)
 * I’ve the same problem. Did anyone found a solution for this?
 *  [MyParcel Support](https://wordpress.org/support/users/myparcelsupport/)
 * (@myparcelsupport)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/fatal-error-when-export/#post-14239743)
 * Hi [@thomasbulten](https://wordpress.org/support/users/thomasbulten/),
 * You can possibly fix the issue by only going to **‘WooCommerce’ > ‘PostNL’ > ‘
   Default export settings’** and saving the page. This fixed the issue for multiple
   clients.
 * Kind regards,
 * Tim Blom
    PostNL plugin support

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

The topic ‘Fatal error when export’ is closed to new replies.

 * ![](https://ps.w.org/woo-postnl/assets/icon-256x256.png?rev=1807921)
 * [PostNL for WooCommerce](https://wordpress.org/plugins/woo-postnl/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woo-postnl/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woo-postnl/)
 * [Active Topics](https://wordpress.org/support/plugin/woo-postnl/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woo-postnl/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woo-postnl/reviews/)

 * 3 replies
 * 4 participants
 * Last reply from: [MyParcel Support](https://wordpress.org/support/users/myparcelsupport/)
 * Last activity: [5 years, 2 months ago](https://wordpress.org/support/topic/fatal-error-when-export/#post-14239743)
 * Status: not resolved