title: Mysql apache2 - phpmyadmin import error (php 7.2)
body: <p>I just installed virtual hosts on Apache2 running PHP 7.2 and PhpMyAdmin and now i'm trying to import database from old server. When i click on import on PhpMyAdmin i'm getting this error.</p>
  
  <p>Could someone help me solve this.</p>
  
  <pre><code> Warning in ./libraries/plugin_interface.lib.php#551 
  count (): Parameter must be an array or an object that implements Countable 
  
  Backtrace
  
  ./libraries/display_export.lib.php#381: PMA_pluginGetOptions ( 
  string 'Export', 
  array, 
  ) 
  ./libraries/display_export.lib.php#883: PMA_getHtmlForExportOptionsFormat (array) 
  ./libraries/display_export.lib.php#1099: PMA_getHtmlForExportOptions ( 
  string 'server', 
  string '', 
  string '',
  string '&lt;div&gt; &lt;a href="#" onclick="setSelectOptions(\'dump\', \' db_select[]\', true); return false;"&gt; Select All &lt;/a&gt; / &lt;a href = "#" onclick = "setSelectOptions (\ 'dump \', \ 'db_select [] \', false); return false;"&gt; Unfair all &lt;/a&gt; &lt;br /&gt; &lt;select name = "db_select []" id = "db_select" size = "10" multiple = "multiple"&gt; &lt;option value = "phpmyadmin" selected = "selected"&gt; phpmyadmin &lt;/ option&gt; &lt;/ select&gt; &lt;/ div&gt; ", 
  integer 0, 
  array 
  integer 0 , 
  ) 
  ./server_export.php#47: PMA_getExportDisplay ( 
  string 'server', 
  string '', 
  string '',
  string '', 
  integer 0, 
  integer 0,
  string '&lt;div&gt; &lt;a href="#" onclick="setSelectOptions(\'dump\', \' db_select[]\', true); return false;"&gt; Select All &lt;/a&gt; / &lt;a href = "#" onclick = "setSelectOptions (\ 'dump \', \ 'db_select [] \', false); return false;"&gt; Unfair all &lt;/a&gt; &lt;br /&gt; &lt;select name = "db_select []" id = "db_select" size = "10" multiple = "multiple"&gt; &lt;option value = "phpmyadmin" selected = "selected"&gt; phpmyadmin &lt;/ option&gt; &lt;/ select&gt; &lt;/ div&gt; ' 
  </code></pre>