Support » Plugin: PostNL for WooCommerce » 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

    (@postnl)

    @dylannnnlee Based on this error alone it is difficult to know the cause. Could you please contact support@postnl-plugins.nl? Please send some background information with your mail like the woocommerce en plug-in version you are currently using.

    thomasbulten

    (@thomasbulten)

    I’ve the same problem. Did anyone found a solution for this?

    MyParcel Support

    (@myparcelsupport)

    Hi @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.