title: using orWhere in laravel gives an error
body: <p>I am unable to use orWhere and I don't know the reason.</p>
  
  <p>My goal is to pull <code>amount_invoice=0 OR total_mileage=0</code>. My query works if I use <code>WHERE</code> clause only. When I add <code>orWhere</code>, then my query fails.</p>
  
  <p>This query works:</p>
  
  <pre><code>$deliveries = $this-&gt;instance-&gt;delivery
          -&gt;where('amount_invoice', 0);
          //-&gt;where('total_mileage', 0);
          //-&gt;where('amount_invoice', 0)-&gt;where('total_mileage',0);                                
          //-&gt;where('amount_invoice', 0)-&gt;orWhere('total_mileage', 0);
  dd($deliveries);
  </code></pre>
  
  <p>This query works:</p>
  
  <pre><code>$deliveries = $this-&gt;instance-&gt;delivery
          //-&gt;where('amount_invoice', 0);
          -&gt;where('total_mileage', 0);
          //-&gt;where('amount_invoice', 0)-&gt;where('total_mileage', 0);
          //-&gt;where('amount_invoice', 0)-&gt;orWhere('total_mileage', 0);
  dd($deliveries);
  </code></pre>
  
  <p>This query works:</p>
  
  <pre><code>$deliveries = $this-&gt;instance-&gt;delivery
          //-&gt;where('amount_invoice', 0);
          //-&gt;where('total_mileage', 0);
          -&gt;where('amount_invoice', 0)-&gt;where('total_mileage', 0);
          //-&gt;where('amount_invoice', 0)-&gt;orWhere('total_mileage', 0);
  dd($deliveries);
  </code></pre>
  
  <p><strong>This query DOES NOT WORK:</strong></p>
  
  <pre><code>$deliveries = $this-&gt;instance-&gt;delivery
          //-&gt;where('amount_invoice', 0);
          //-&gt;where('total_mileage', 0);
          //-&gt;where('amount_invoice', 0)-&gt;where('total_mileage', 0);
          -&gt;where('amount_invoice', 0)-&gt;orWhere('total_mileage', 0);
  dd($deliveries);
  </code></pre>
  
  <p>I don't know what is the problem but using <code>orWhere</code> fails</p>