Call to a member function getItemIdByAlias() on null