Error thrown

Undefined constant "yes"