ParseError thrown

syntax error, unexpected variable "$sip_query"