PHP 7.2 使用 phpMyadmin 報錯 count(): Parameter must be an array or an object that i

count(): Parameter must be an array or an object that implements Countable!!複製代碼

最近安裝完ubuntu 18.04 而後安裝完php 7.2 ,使用phpmyadmin 老是提示php

count(): Parameter must be an array or an object that implements Countable!!複製代碼


解決方法:sql

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

編輯成下面這樣子vim


其實就是加了一對括號就解決了.....bash

相關文章
相關標籤/搜索