From 48b6bd80cc417c3790d1788a75fdee8ef7f50d1c Mon Sep 17 00:00:00 2001 From: emorino Date: Fri, 3 Jan 2020 10:24:14 +0100 Subject: [PATCH] Ajout information bug fountion count() --- HowtophpMyAdmin.md | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/HowtophpMyAdmin.md b/HowtophpMyAdmin.md index 0d1ec60a..06580dc2 100644 --- a/HowtophpMyAdmin.md +++ b/HowtophpMyAdmin.md @@ -110,12 +110,12 @@ $dbport=''; $dbtype='mysql'; ~~~ -### Erreur de la fonction count() avec php7.3 ou php7.2 sur une Debian 9 +### Erreur de la fonction count() avec php7.3 ou php7.2 sur une Debian 9 / 10 -Si l'on ce type d'erreur : +Si l'on a ce type d'erreur : -Warning in ./libraries/sql.lib.php#613 -count(): Parameter must be an array or an object that implements Countable +**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 @@ -129,3 +129,5 @@ Le patch est a appliquer dans le fichier `/usr/share/phpmyadmin/libraries/sql.li > ~~~ > || ((count($analyzed_sql_results['select_expr']) == 1) > ~~~ + +Le bug est présent sur phpMyAdmin 4.6, c'est corrigé en phpMyAdmin 4.8.