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

发布日期 2024-01-04

处理mysql问题:

Warning in ./libraries/sql.lib.php#613 count(): Parameter must be an array or an object that implements Countable

sudo vim /usr/share/phpmyadmin/libraries/sql.lib.php

将(count($analyzed_sql_results['select_expr'] == 1) 改为

(count($analyzed_sql_results['select_expr']) == 1