Fatal error when trying to view the label
-
In the back-office, when trying to view the shipping label of an order I get a fatal error :
AH01071: Got error 'PHP message: PHP Fatal error: Uncaught Bpost\\BpostApiClient\\Exception\\BpostNotImplementedException: Not implemented: No createFromXML found into \\Bpost\\BpostApiClient\\Bpost\\Order\\Box\\Option\\Insured in /home/delvigne/www/wp-content/plugins/bpost-shipping/vendor/antidot-be/bpost-api-library/src/Bpost/Order/Box/International.php:241\nStack trace:\n#0 [internal function]: Bpost\\BpostApiClient\\Bpost\\Order\\Box\\International::createFromXML(Object(SimpleXMLElement))\n#1 /home/delvigne/www/wp-content/plugins/bpost-shipping/vendor/antidot-be/bpost-api-library/src/Bpost/Order/Box.php(272): call_user_func(Array, Object(SimpleXMLElement))\n#2 /home/delvigne/www/wp-content/plugins/bpost-shipping/vendor/antidot-be/bpost-api-library/src/Bpost/Order.php(259): Bpost\\BpostApiClient\\Bpost\\Order\\Box::createFromXML(Object(SimpleXMLElement))\n#3 /home/delvigne/www/wp-content/plugins/bpost-shipping/vendor/antidot-be/bpost-api-library/src/Bpost.php(440): Bpost\\BpostApiClient\\Bpost\\Order::createFromXML(Object(SimpleXMLElement))\n#4 /ho...\n',
Works on all orders except this one.
May be related, the order shipping address is in UK.
Other element is that the state of Bpost delivery is OPEN on page load, but if I try to refresh the sate, I get UNKNOW
- The topic ‘Fatal error when trying to view the label’ is closed to new replies.