Problem

When creating shipping labels via the automated mode (Cronjob), this error occurs:


PHP Fatal error: Call to a member function getStatus() on null in .../app/code/community/Dhl/Versenden/Model/Shipping/Autocreate.php


Cause

This is usually caused by problems with the DHL login credentials.


The dhl_versenden.log will most likely show the message "login failed".


Solution

Check and correct the DHL login credentials. Please note the information in this article.