Error thrown

Xdebug has detected a possible infinite loop, and aborted your script with a stack depth of '300' frames