[BUG] CIF errors since 20/10/2020 exception 'TIG_PostNL_Exception' with message ''
Closed this issue · 1 comments
To Reproduce
Steps to reproduce the behavior:
- Try to ship orders 20/10/2020 @ 10:55
Expected result
Success or at least an exception message
Actual result
2020-10-20T08:32:30+00:00 ERR (3):
exception 'TIG_PostNL_Exception' with message '' in /app/code/community/TIG/PostNL/Model/Core/Cif/Abstract.php:688
Stack trace:
#0 /app/code/community/TIG/PostNL/Model/Core/Cif/Abstract.php(471): TIG_PostNL_Model_Core_Cif_Abstract->_handleCifException(Object(SoapFault), Object(SoapClient))
#1 /app/code/community/TIG/PostNL/Model/Core/Cif.php(403): TIG_PostNL_Model_Core_Cif_Abstract->call('Barcode', 'GenerateBarcode', Array)
#2 /app/code/community/TIG/PostNL/Model/Core/Shipment.php(3470): TIG_PostNL_Model_Core_Cif->generateBarcode(Object(Mage_Sales_Model_Order_Shipment), 'NL', false)
#3 /app/code/community/TIG/PostNL/Model/Core/Shipment.php(3380): TIG_PostNL_Model_Core_Shipment->_generateBarcode()
#4 /app/code/local/TIG/PostNL/Model/Core/Service/Shipment.php(1000): TIG_PostNL_Model_Core_Shipment->generateBarcodes()
#5 /app/code/local/TIG/PostNL/Model/Core/Service/Shipment.php(536): TIG_PostNL_Model_Core_Service_Shipment->_generateLabels(Object(TIG_PostNL_Model_Core_Shipment), Object(TIG_PostNL_Model_Core_Shipment), false)
#6 /app/code/community/TIG/PostNL/Controller/Adminhtml/Shipment.php(177): TIG_PostNL_Model_Core_Service_Shipment->getLabels(Object(TIG_PostNL_Model_Core_Shipment), false, false)
#7 /app/code/community/TIG/PostNL/controllers/PostnlAdminhtml/ShipmentController.php(290): TIG_PostNL_Controller_Adminhtml_Shipment->_getLabels(Object(TIG_PostNL_Model_Core_Shipment), false, false)
#8 /app/code/core/Mage/Core/Controller/Varien/Action.php(437): TIG_PostNL_PostnlAdminhtml_ShipmentController->printPackingSlipAction()
#9 /app/code/core/Mage/Core/Controller/Varien/Router/Standard.php(262): Mage_Core_Controller_Varien_Action->dispatch('printPackingSli...')
#10 /app/code/core/Mage/Core/Controller/Varien/Front.php(192): Mage_Core_Controller_Varien_Router_Standard->match(Object(Mage_Core_Controller_Request_Http))
#11 /app/code/core/Mage/Core/Model/App.php(381): Mage_Core_Controller_Varien_Front->dispatch()
#12 /app/Mage.php(745): Mage_Core_Model_App->run(Array)
#13 /index.php(101): Mage::run('soh_nl', 'store')
#14 {main}
Also problem is: there is an error, we dont have any packing slips ... but all orders are marked as shipped ... maybe this should be done later in the flow because there are NOT shipped
Workaround
none so far
Screenshots
Error in display but with no more info
** Please complete the following information**
- Magento version: 1.9.x.4
- PHP version: 7.2
- TIG PostNL version: latest
Issue was solved. array.getSize was used in function public function createShipments(array $orderIds, $loadExisting = false, $registerExisting = true)