Ajout information bug fountion count()

This commit is contained in:
emorino 2020-01-03 10:24:14 +01:00
parent a89d74fba1
commit 48b6bd80cc

View file

@ -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.