Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

exception when no services is enabled (oxid ce 6.5) #11

Closed
tabsl opened this issue Nov 12, 2024 · 1 comment · Fixed by #10
Closed

exception when no services is enabled (oxid ce 6.5) #11

tabsl opened this issue Nov 12, 2024 · 1 comment · Fixed by #10

Comments

@tabsl
Copy link

tabsl commented Nov 12, 2024

exception when no services is enabled

[2024-11-12 08:35:23] OXID Logger.ERROR: Mediaopt\DHL\Api\ParcelShipping\Model\Shipment::setServices(): Argument #1 ($services) must be of type Mediaopt\DHL\Api\ParcelShipping\Model\VAS, null given, called in /var/www/html/vendor/mediaopt/dhl-oxid/src/modules/mo/mo_dhl/Adapter/ParcelShippingRequestBuilder.php on line 84 ["[object] (TypeError(code: 0): Mediaopt\\DHL\\Api\\ParcelShipping\\Model\\Shipment::setServices(): Argument #1 ($services) must be of type Mediaopt\\DHL\\Api\\ParcelShipping\\Model\\VAS, null given, called in /var/www/html/vendor/mediaopt/dhl-oxid/src/modules/mo/mo_dhl/Adapter/ParcelShippingRequestBuilder.php on line 84 at /var/www/html/vendor/mediaopt/dhl-oxid/src/modules/mo/mo_dhl/Api/ParcelShipping/Model/Shipment.php:313)\n[stacktrace]\n#0 /var/www/html/vendor/mediaopt/dhl-oxid/src/modules/mo/mo_dhl/Adapter/ParcelShippingRequestBuilder.php(84): Mediaopt\\DHL\\Api\\ParcelShipping\\Model\\Shipment->setServices(NULL)\n#1 [internal function]: Mediaopt\\DHL\\Adapter\\ParcelShippingRequestBuilder->buildShipment('822399059752007...')\n#2 /var/www/html/vendor/mediaopt/dhl-oxid/src/modules/mo/mo_dhl/Adapter/ParcelShippingRequestBuilder.php(55): array_map(Array, Array)\n#3 /var/www/html/vendor/mediaopt/dhl-oxid/src/modules/mo/mo_dhl/Controller/Admin/OrderDHLController.php(474): Mediaopt\\DHL\\Adapter\\ParcelShippingRequestBuilder->build(Array)\n#4 /var/www/html/vendor/mediaopt/dhl-oxid/src/modules/mo/mo_dhl/Controller/Admin/OrderDHLController.php(85): Mediaopt\\DHL\\Controller\\Admin\\OrderDHLController->buildShipmentOrderRequest()\n#5 /var/www/html/vendor/oxid-esales/oxideshop-ce/source/Core/Controller/BaseController.php(534): Mediaopt\\DHL\\Controller\\Admin\\OrderDHLController->createLabel()\n#6 /var/www/html/vendor/oxid-esales/oxideshop-ce/source/Core/ShopControl.php(347): OxidEsales\\EshopCommunity\\Core\\Controller\\BaseController->executeFunction('createLabel')\n#7 /var/www/html/vendor/oxid-esales/oxideshop-ce/source/Core/ShopControl.php(280): OxidEsales\\EshopCommunity\\Core\\ShopControl->executeAction(Object(Mediaopt\\DHL\\Controller\\Admin\\OrderDHLController), 'createLabel')\n#8 /var/www/html/vendor/oxid-esales/oxideshop-ce/source/Core/ShopControl.php(142): OxidEsales\\EshopCommunity\\Core\\ShopControl->_process('Mediaopt\\\\DHL\\\\Co...', 'createLabel', NULL, NULL)\n#9 /var/www/html/source/modules/aspaypal/aspaypal_shopcontrol.php(44): OxidEsales\\EshopCommunity\\Core\\ShopControl->start('modhlorderdhl', 'createLabel', NULL, NULL)\n#10 /var/www/html/vendor/oxid-esales/oxideshop-ce/source/Core/Oxid.php(27): aspaypal_shopcontrol->start()\n#11 /var/www/html/source/index.php(16): OxidEsales\\EshopCommunity\\Core\\Oxid::run()\n#12 /var/www/html/source/admin/index.php(12): require_once('/var/www/html/s...')\n#13 {main}\n"] []

@mbe1987
Copy link
Contributor

mbe1987 commented Dec 19, 2024

The issue was fixed in version 1.8.1 #10

@mbe1987 mbe1987 closed this as completed Dec 19, 2024
@mbe1987 mbe1987 linked a pull request Dec 19, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants