Fatal error: Call to a member function getObjectTypeId() on a non-object in /var/www/www-root/data/www/classes/modules/custom.php on line 40