diff --git a/HowtophpMyAdmin.md b/HowtophpMyAdmin.md index f46b9086..afddbdbe 100644 --- a/HowtophpMyAdmin.md +++ b/HowtophpMyAdmin.md @@ -108,4 +108,24 @@ $dbname=''; $dbserver=''; $dbport=''; $dbtype='mysql'; -~~~ \ No newline at end of file +~~~ + +### Erreur de la fonction count() avec php7.3 et Debian 9 + +Si l'on ce type d'erreur : + +Warning in ./libraries/sql.lib.php#613 +count(): Parameter must be an array or an object that implements Countable + +Le patch est a appliquer dans le fichier `/usr/share/phpmyadmin/libraries/sql.lib.php` il faut modifier la ligne 613 + +> +> ~~~ +> || (count($analyzed_sql_results['select_expr'] == 1) +> ~~~ +> +> par ceci : +> +> ~~~ +> || ((count($analyzed_sql_results['select_expr']) == 1) +> ~~~