Error thrown

Undefined constant "department"