akash-coded
1/23/2020 - 6:12 PM

Fix Bug Phpmyadmin [sql.lib.php] + Php7.2 + - Warnings

Fix Bug Phpmyadmin [sql.lib.php] + Php7.2 + - Warnings

Warning in ./libraries/sql.lib.php#601 (phpMyAdmin)

count(): Parameter must be an array or an object that implements Countable

It is because of phpmyadmin’s library try to counting some parameter but got wrong a code. So by looking at line 613, we find:

|| (count($analyzed_sql_results[‘select_expr’] == 1)

that’s missing close bracket ‘)’ before operation with 1. So, change it to

|| (count($analyzed_sql_results[‘select_expr’] == 1

remove last close bracket ‘)’ at this line like this,