Potýkal jsem se s problémem. Moje verze php byla 7.2 . Ve skutečnosti tato chyba pochází z knihovny phpmyadmin. Název knihovny je /usr/share/phpmyadmin/libraries/sql.lib.php . V tomto souboru řádek č. 614 . Musíte tedy upravit soubor
Od &&($analyzed_sql_results['select_expr'][0] =='*')))
komu &&($analyzed_sql_results['select_expr'][0] =='*'))
nebo můžete nahradit celou metodu níže:
/**
* Function to check whether to remember the sorting order or not
*
* @param array $analyzed_sql_results the analyzed query and other variables set
* after analyzing the query
*
* @return boolean
*/
function PMA_isRememberSortingOrder($analyzed_sql_results)
{
return $GLOBALS['cfg']['RememberSorting']
&& ! ($analyzed_sql_results['is_count']
|| $analyzed_sql_results['is_export']
|| $analyzed_sql_results['is_func']
|| $analyzed_sql_results['is_analyse'])
&& $analyzed_sql_results['select_from']
&& ((empty($analyzed_sql_results['select_expr']))
|| (count($analyzed_sql_results['select_expr']) == 1)
&& ($analyzed_sql_results['select_expr'][0] == '*'))
&& count($analyzed_sql_results['select_tables']) == 1;
}
Doufám, že to pomůže. Děkuji.