open this file: '/usr/share/phpmyadmin/libraries/sql.lib.php'
sudo nano /usr/share/phpmyadmin/libraries/sql.lib.php
press ctrl+w to search (count($analyzed_sql_results['select_expr'] == 1)
Find: count($analyzed_sql_results['select_expr'] == 1)
Replace With: (count($analyzed_sql_results['select_expr']) == 1)
Restart the server
sudo service apache2 restart
moreover, If you still facing same issue then do following.
open this file /usr/share/phpmyadmin/libraries/plugin_interface.lib.php
sudo nano /usr/share/phpmyadmin/libraries/plugin_interface.lib.php
Find : if ($options != null && count($options) > 0) {
Ctrl+w : if ($options != null && count($options) > 0) {
replace with following code
if ($options != null && count((array)$options) > 0) {
now save and restart the server
sudo /etc/init.d/apache2 restart