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

由 Jefsky 发布于 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

著作权归作者所有。
商业转载请联系作者获得授权,非商业转载请注明出处。
作者:JefskyWong ——程序猿甜品店
链接:https://www.jefsky.com/blog/260
来源:https://www.jefsky.com/