Problem

  • When selecting the checkbox "Create shipping labels" on the shipment page and then clicking "Submit shipment", the popup is not displayed.
  • In the browser console the following JavaScript error is shown:
Uncaught TypeError: Cannot read property 'childElements' of null
  • In the log files the following PHP error might show up:
PHP Fatal error:  Call to a member function getServices() on null in
/var/www/app/code/community/Dhl/Versenden/Model/Config/Service.php
on line 104



Cause

This problem affects version 1.0.0 of the DHL Versenden (Shipping) module. The relevant file is "app/code/community/Dhl/Versenden/Model/Config/Service.php".


Solution

This problem is fixed in later module version. Please update the module.


If an update is not possible, please unpack the attached hotfix into the Magento base directory.


Please note: If the checkbox "Create shipping labels" is not displayed at all, check this FAQ article.