You passed the browser detector an unsupported option for parameter 1: ua_type