Error thrown

Undefined constant "depth"