Error thrown

Undefined constant "tid"