title: phpmyadmin - count(): Parameter must be an array or an object that implements Countable
body: <p>I've uploaded the backup to a table, opening the table I see this:</p>
  
  <pre><code>Warning in ./libraries/sql.lib.php#601
  count(): Parameter must be an array or an object that implements Countable
  
  Backtrace
  
  ./libraries/sql.lib.php#2038: PMA_isRememberSortingOrder(array)
  ./libraries/sql.lib.php#1984: PMA_executeQueryAndGetQueryResponse(
  array,
  boolean true,
  string 'alternativegirls',
  string 'tgp_photo',
  NULL,
  NULL,
  NULL,
  NULL,
  NULL,
  NULL,
  string '',
  string './themes/pmahomme/img/',
  NULL,
  NULL,
  NULL,
  string 'SELECT * FROM `tgp_photo`',
  NULL,
  NULL,
  )
  ./sql.php#216: PMA_executeQueryAndSendQueryResponse(
  array,
  boolean true,
  string 'alternativegirls',
  string 'tgp_photo',
  NULL,
  NULL,
  NULL,
  NULL,
  NULL,
  NULL,
  string '',
  string './themes/pmahomme/img/',
  NULL,
  NULL,
  NULL,
  string 'SELECT * FROM `tgp_photo`',
  NULL,
  NULL,
  )
  ./index.php#53: include(./sql.php)
  </code></pre>
  
  <p>Inside phpMyAdmin...</p>
  
  <p>PHP is 7.2, the server is Ubuntu 16.04, installed yesterday.</p>
  
  <p>Looking for I saw that some have this error in their code, but I did not find anyone who received it in phpMyAdmin...</p>
  
  <p>What should I do? Is that my error? A phpmyadmin error? wait update ? I go back to PHP 7.1?</p>