<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <tt>Hi Rodrigo,<br>
      <br>
      Can you identify the actual query (like maybe printing something
      in the script via xlog) that generates this error ? also, are
      there any previous errors just above this one ?<br>
      <br>
      Regards,<br>
    </tt>
    <pre class="moz-signature" cols="72">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a class="moz-txt-link-freetext" href="http://www.opensips-solutions.com">http://www.opensips-solutions.com</a></pre>
    <div class="moz-cite-prefix">On 23.02.2016 22:06, Rodrigo Pimenta
      Carvalho wrote:<br>
    </div>
    <blockquote
cite="mid:BY2PR02MB165547341043A94CA73E2936B5A40@BY2PR02MB1655.namprd02.prod.outlook.com"
      type="cite">
      <meta http-equiv="Content-Type" content="text/html;
        charset=windows-1252">
      <style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
      <div id="divtagdefaultwrapper"
style="font-size:12pt;color:#000000;background-color:#FFFFFF;font-family:Calibri,Arial,Helvetica,sans-serif;">
        <p><br>
        </p>
        <p>Hi.</p>
        <p><br>
        </p>
        <p>Most of my queries in avp_db_query is causing the following
          error:<br>
        </p>
        <p><br>
        </p>
        <p><br>
        </p>
        <p>"ERROR:db_sqlite:db_sqlite_free_result: invalid parameter
          value"</p>
        <p><br>
        </p>
        <p>How to fix it? I'm sure that all SQL queries is correct, as I
          have tested it in an isolated way direct over the database. In
          addiction, all SQL commands with avp_db_query can change the
          data in the database correctly. The unique issue is the
          "ERROR" seen in the log.</p>
        <p><br>
        </p>
        <p>The documentation doesn't comment on it.<br>
        </p>
        <p><br>
        </p>
        <p>Any hint will be very helpful!</p>
        <p><br>
        </p>
        <p>Thanks a lot.<br>
        </p>
        <p><br>
        </p>
        <p><br>
        </p>
        <div id="Signature">
          <div name="divtagdefaultwrapper"
            style="font-family:Calibri,Arial,Helvetica,sans-serif;
            font-size:; margin:0">
            <div class="BodyFragment"><font size="2">
                <div class="PlainText">RODRIGO PIMENTA CARVALHO<br>
                  Inatel Competence Center<br>
                  Software<br>
                  Ph: +55 35 3471 9200 RAMAL 979<br>
                </div>
              </font></div>
          </div>
        </div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>
<a class="moz-txt-link-freetext" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>