title: fetchAll() returns empty array, looping with fetch() gets all results
body: <p>Anyone have any idea why this would happen</p>
  
  <pre><code>$stmt = $this-&gt;prepare($this-&gt;sql);
  $exec = $stmt-&gt;execute($this-&gt;bindings);
  // The below returns an empty array()
  return $exec-&gt;fetchAll(PDO::FETCH_OBJ);
  // This however will return rows if looped.
  return $exec-&gt;fetch(PDO::FETCH_OBJ);
  </code></pre>
  
  <p>Even weirder is that this is only happening with certain ID ranges within our database, for example if you search for various information about an item with product id 552, the above code works with fetchAll() no problem, but change that to 553 and it fails (empty array). 554 then works again. There is virtually no difference in the data within the DB between the items (it is all just integers and timestamps [geolocation data]).</p>