path pour bug count()
This commit is contained in:
parent
aca14b550c
commit
11cf89e200
|
@ -109,3 +109,23 @@ $dbserver='';
|
||||||
$dbport='';
|
$dbport='';
|
||||||
$dbtype='mysql';
|
$dbtype='mysql';
|
||||||
~~~
|
~~~
|
||||||
|
|
||||||
|
### 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)
|
||||||
|
> ~~~
|
||||||
|
|
Loading…
Reference in a new issue