Warning in ./libraries/sql.lib.php#<line number>
count(): Parameter must be an array or an object that implements Countable
Couse of phpmyadmin’s library try to counting some parameter but got wrong a code.
# /usr/share/phpmyadmin/libraries/sql.lib.php
|| (count($analyzed_sql_results[‘select_expr’] == 1)
That’s missing close bracket ‘)’ before operation with 1. So you need to change it to:
|| (count($analyzed_sql_results[‘select_expr’]) == 1
remove last close bracket ‘)’ at this line like this,
Then restart apache and database service
# systemctl restart apache2
# systemctl restart mariadb