• We have a problem with the “etiquette” creation for an order, we have this error message showing:

    Can you help us?

    Fatal error: Uncaught Exception: Invalid value () for type, possible values are: basicInsurance, additionalInsurance.
    in?/home/XXXX/wp-content/plugins/bpost-shipping/vendor/antidot-be/bpost-api-library/src/Bpost/Order/Box/Option/Insured.php?on line?67

    Call stack:

    1. Bpost\B\B\O\B\O\Insured::setType()
      wp-content/plugins/bpost-shipping/vendor/antidot-be/bpost-api-library/src/Bpost/Order/Box/Option/Insured.php:130
    2. Bpost\B\B\O\B\O\Insured::__construct()
      wp-content/plugins/bpost-shipping/vendor/antidot-be/bpost-api-library/src/Bpost/Order/Box/Option/Insured.php:179
    3. Bpost\B\B\O\B\O\Insured::createFromXML()
    4. call_user_func()
      wp-content/plugins/bpost-shipping/vendor/antidot-be/bpost-api-library/src/Bpost/Order/Box/National.php:289
    5. Bpost\B\B\O\B\National::getOptionFromOptionData()
      wp-content/plugins/bpost-shipping/vendor/antidot-be/bpost-api-library/src/Bpost/Order/Box/National.php:248
    6. Bpost\B\B\O\B\National::createFromXML()
      wp-content/plugins/bpost-shipping/vendor/antidot-be/bpost-api-library/src/Bpost/Order/Box/AtHome.php:157
    7. Bpost\B\B\O\B\AtHome::createFromXML()
    8. call_user_func()
      wp-content/plugins/bpost-shipping/vendor/antidot-be/bpost-api-library/src/Bpost/Order/Box.php:252
    9. Bpost\B\B\O\Box::createFromXML()
      wp-content/plugins/bpost-shipping/vendor/antidot-be/bpost-api-library/src/Bpost/Order.php:264
    10. Bpost\B\B\Order::createFromXML()
      wp-content/plugins/bpost-shipping/vendor/antidot-be/bpost-api-library/src/Bpost.php:427
    11. Bpost\BpostApiClient\Bpost::fetchOrder()
      wp-content/plugins/bpost-shipping/classes/api/class-wc-bpost-shipping-api-label.php:107
    12. WC_BPost_Shipping\Api\WC_BPost_Shipping_Api_Label::get_barcodes()
      wp-content/plugins/bpost-shipping/classes/api/class-wc-bpost-shipping-api-label.php:128
    13. WC_BPost_Shipping\Api\WC_BPost_Shipping_Api_Label::get_already_printed_labels()
      wp-content/plugins/bpost-shipping/classes/api/class-wc-bpost-shipping-api-label.php:49
    14. WC_BPost_Shipping\Api\WC_BPost_Shipping_Api_Label::get_label()
      wp-content/plugins/bpost-shipping/classes/label/class-wc-bpost-shipping-label-retriever.php:62
    15. WC_BPost_Shipping\Label\WC_BPost_Shipping_Label_Retriever::get_label_as_file()
      wp-content/plugins/bpost-shipping/classes/label/class-wc-bpost-shipping-label-attachment.php:50
    16. WC_BPost_Shipping\Label\WC_BPost_Shipping_Label_Attachment::create_attachment()
      wp-content/plugins/bpost-shipping/classes/label/class-wc-bpost-shipping-label-attachment.php:93
    17. WC_BPost_Shipping\Label\WC_BPost_Shipping_Label_Attachment::get_url()
      wp-content/plugins/bpost-shipping/classes/label/class-wc-bpost-shipping-label-retriever.php:116
    18. WC_BPost_Shipping\Label\WC_BPost_Shipping_Label_Retriever::get_label_attachment_url()
      wp-content/plugins/bpost-shipping/classes/label/class-wc-bpost-shipping-label-retriever.php:93
    19. WC_BPost_Shipping\Label\WC_BPost_Shipping_Label_Retriever::get_labels_contents()
      wp-content/plugins/bpost-shipping/classes/label/class-wc-bpost-shipping-label-controller.php:85
    20. WC_BPost_Shipping\Label\WC_BPost_Shipping_Label_Controller::load_template()
      wp-content/plugins/bpost-shipping/classes/class-wc-bpost-shipping-hooks.php:333
    21. WC_BPost_Shipping_Hooks::bpost_virtual_page_label()
      wp-includes/class-wp-hook.php:324
    22. WP_Hook::apply_filters()
      wp-includes/class-wp-hook.php:348
    23. WP_Hook::do_action()
      wp-includes/plugin.php:517
    24. do_action()
      wp-content/plugins/woocommerce/src/Internal/Utilities/LegacyRestApiStub.php:162
    25. Automattic\W\I\U\LegacyRestApiStub::maybe_process_wc_api_query_var()
      wp-content/plugins/woocommerce/src/Internal/Utilities/LegacyRestApiStub.php:91
    26. Automattic\W\I\U\LegacyRestApiStub::parse_legacy_rest_api_request()
    27. call_user_func_array()
      wp-content/plugins/woocommerce/src/Internal/Traits/AccessiblePrivateMethods.php:178
    28. Automattic\W\I\U\LegacyRestApiStub::__callStatic()
      wp-includes/class-wp-hook.php:324
    29. WP_Hook::apply_filters()
      wp-includes/class-wp-hook.php:348
    30. WP_Hook::do_action()
      wp-includes/plugin.php:565
    31. do_action_ref_array()
      wp-includes/class-wp.php:418
    32. WP::parse_request()
      wp-includes/class-wp.php:813
    33. WP::main()
      wp-includes/functions.php:1336
    34. wp()
      wp-blog-header.php:16
    35. require()
      index.php:17
Viewing 1 replies (of 1 total)
  • Plugin Author bpost_shipping

    (@bpost_shipping)

    Dear,

    Thank you for your message.

    To be able analyse the issue in detail, can you send us your findings by mail to our mailbox :?[email protected]?

    If possible do you shave some screenshots of the error on the website?

    Regards,

    Bpost esolutions team

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.