phpmyadmin - count(): Parameter must be an array or an object that implements Countable
程序员文章站
2022-03-23 17:58:50
...
最近用了宝塔phpmyadmin老是报错count(): Parameter must be an array or an object that implements Countable网上找了一下解决方案
1找到/www/server/phpmyadmin/phpmyadmin_60cb4fddeb15dcc1/libraries/sql.lib.php
2找到(count($analyzed_sql_results['select_expr'] == 1)
3替换(count($analyzed_sql_results['select_expr']) == 1
再次启动发现错误消失