Error: syntax error, unexpected token "<", expecting end of file: Call to undefined function each()