Error: Call to a member function getCode() on null: Class 'CurrencyDisplay' not found