Closed tchauviere closed 9 years ago
If the shop has multiple language activated, you will have an array instead of a string here: https://github.com/PrestaShop/bpostshm/blob/master/bpostshm.php#L876
And this will cause the following:
The workaround is to do the following:
$country = new Country((int)$id_country, (int)$this->context->employee->id_lang);
This code has been removed and was part of the "create a zone" functionality that has been dropped.
Fixed!
If the shop has multiple language activated, you will have an array instead of a string here: https://github.com/PrestaShop/bpostshm/blob/master/bpostshm.php#L876
And this will cause the following:
The workaround is to do the following: