ParseError thrown

syntax error, unexpected 'by' (T_STRING), expecting ',' or ')'