Problem etiquette creation
-
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?67Call stack:
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:130Bpost\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:179Bpost\B\B\O\B\O\Insured::createFromXML()
call_user_func()
wp-content/plugins/bpost-shipping/vendor/antidot-be/bpost-api-library/src/Bpost/Order/Box/National.php:289Bpost\B\B\O\B\National::getOptionFromOptionData()
wp-content/plugins/bpost-shipping/vendor/antidot-be/bpost-api-library/src/Bpost/Order/Box/National.php:248Bpost\B\B\O\B\National::createFromXML()
wp-content/plugins/bpost-shipping/vendor/antidot-be/bpost-api-library/src/Bpost/Order/Box/AtHome.php:157Bpost\B\B\O\B\AtHome::createFromXML()
call_user_func()
wp-content/plugins/bpost-shipping/vendor/antidot-be/bpost-api-library/src/Bpost/Order/Box.php:252Bpost\B\B\O\Box::createFromXML()
wp-content/plugins/bpost-shipping/vendor/antidot-be/bpost-api-library/src/Bpost/Order.php:264Bpost\B\B\Order::createFromXML()
wp-content/plugins/bpost-shipping/vendor/antidot-be/bpost-api-library/src/Bpost.php:427Bpost\BpostApiClient\Bpost::fetchOrder()
wp-content/plugins/bpost-shipping/classes/api/class-wc-bpost-shipping-api-label.php:107WC_BPost_Shipping\Api\WC_BPost_Shipping_Api_Label::get_barcodes()
wp-content/plugins/bpost-shipping/classes/api/class-wc-bpost-shipping-api-label.php:128WC_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:49WC_BPost_Shipping\Api\WC_BPost_Shipping_Api_Label::get_label()
wp-content/plugins/bpost-shipping/classes/label/class-wc-bpost-shipping-label-retriever.php:62WC_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:50WC_BPost_Shipping\Label\WC_BPost_Shipping_Label_Attachment::create_attachment()
wp-content/plugins/bpost-shipping/classes/label/class-wc-bpost-shipping-label-attachment.php:93WC_BPost_Shipping\Label\WC_BPost_Shipping_Label_Attachment::get_url()
wp-content/plugins/bpost-shipping/classes/label/class-wc-bpost-shipping-label-retriever.php:116WC_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:93WC_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:85WC_BPost_Shipping\Label\WC_BPost_Shipping_Label_Controller::load_template()
wp-content/plugins/bpost-shipping/classes/class-wc-bpost-shipping-hooks.php:333WC_BPost_Shipping_Hooks::bpost_virtual_page_label()
wp-includes/class-wp-hook.php:324WP_Hook::apply_filters()
wp-includes/class-wp-hook.php:348WP_Hook::do_action()
wp-includes/plugin.php:517do_action()
wp-content/plugins/woocommerce/src/Internal/Utilities/LegacyRestApiStub.php:162Automattic\W\I\U\LegacyRestApiStub::maybe_process_wc_api_query_var()
wp-content/plugins/woocommerce/src/Internal/Utilities/LegacyRestApiStub.php:91Automattic\W\I\U\LegacyRestApiStub::parse_legacy_rest_api_request()
call_user_func_array()
wp-content/plugins/woocommerce/src/Internal/Traits/AccessiblePrivateMethods.php:178Automattic\W\I\U\LegacyRestApiStub::__callStatic()
wp-includes/class-wp-hook.php:324WP_Hook::apply_filters()
wp-includes/class-wp-hook.php:348WP_Hook::do_action()
wp-includes/plugin.php:565do_action_ref_array()
wp-includes/class-wp.php:418WP::parse_request()
wp-includes/class-wp.php:813WP::main()
wp-includes/functions.php:1336wp()
wp-blog-header.php:16require()
index.php:17
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- You must be logged in to reply to this topic.