DWQA QuestionsCategory: Mysqlphpmyadmin – count(): Parameter must be an array or an object that implements Countable?
kandy asked 3 years ago

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