title: "Attempt to read a row while there is no result set associated with the statement" on Linux server but no error on Windows computer
body: <p>I am using <code>mysqli</code> to connect to a MySQL database with PHP.</p>
  
  <p>As I am programming on a windows computer with <code>error_reporting(E_ALL)</code> and <code>mysqli_report(MYSQLI_REPORT_ERROR | MYSQLI_REPORT_STRICT);</code></p>
  
  <p>While coding I get neither errors nor warnings. But on the server I get </p>
  
  <blockquote>
    <p><strong>Fatal error:</strong> Uncaught exception 'mysqli_sql_exception' with message<br>
    'Attempt to read a row while there is no result set associated with the statement'</p>
  </blockquote>
  
  <p>I think this is a little bit strange.</p>
  
  <p>The error is thrown, if you call <code>mysqli_stmt::fetch()</code> on a statment that provides no results, e.g. after executing an insert, update or delete query, or if you already called <code>mysqli_stmt::free_result()</code>.</p>
  
  <p>There was a part of my code that was messed up and I fixed it already.</p>
  
  <p>But my question is, why is this error not thrown on my development platform?<br>
  Is there an option in the php.ini or somewhere I have to set? </p>