Executing a query returns error Parameter must be an array or an object that implements Countable
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
phpmyadmin (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
I use mariadb server.
Complete error message
Warning in ./libraries/
count(): Parameter must be an array or an object that implements Countable
Backtrace
./libraries/
./libraries/
array,
boolean true,
string 'abbrevia',
string 'eps_cliente',
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
string '',
string './themes/
NULL,
NULL,
NULL,
string 'SELECT * FROM `eps_cliente`',
NULL,
NULL,
)
./sql.php#221: PMA_executeQuer
array,
boolean true,
string 'abbrevia',
string 'eps_cliente',
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
string '',
string './themes/
NULL,
NULL,
NULL,
string 'SELECT * FROM `eps_cliente`',
NULL,
NULL,
)
ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: phpmyadmin 4:4.6.6-5
ProcVersionSign
Uname: Linux 4.15.0-15-generic x86_64
ApportVersion: 2.20.9-0ubuntu5
Architecture: amd64
CurrentDesktop: XFCE
Date: Thu Apr 19 09:06:19 2018
InstallationDate: Installed on 2018-02-21 (56 days ago)
InstallationMedia: Xubuntu 16.04 LTS "Xenial Xerus" - Release amd64 (20160420.1)
PackageArchitec
SourcePackage: phpmyadmin
UpgradeStatus: Upgraded to bionic on 2018-03-06 (43 days ago)
This is because of an incompatibility with PHP 7.2. If you install the latest phpMyAdmin (e.g. from GitHub), the error is gone.