Jeg stod over for et problem. Min php-version var 7.2 . Faktisk kommer denne fejl fra et phpmyadmin-bibliotek. Bibliotekets navn er /usr/share/phpmyadmin/libraries/sql.lib.php . I denne fil linje nr. 614 . Så du skal ændre filen
Fra &&($analyzed_sql_results['select_expr'][0] =='*')))
til &&($analyzed_sql_results['select_expr'][0] =='*'))
eller du kan erstatte hele metoden nedenfor:
/**
* 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;
}
Jeg håber, at dette kan hjælpe. Tak.