大网数据广告活动
服务器运维问答

Phpmyadmin error in Ubuntu 18.04

· 52CE 我爱测

I recently installed Mariadb with PhpMyAdmin and it seems to be working fine except when I need to browse a database. This is the error I get when browsing a column: “Warning in ./libraries/sql.lib.php#613 count(): Parameter must…

问题原文

原帖链接 · tom keuper · CC BY-SA 4.0

I recently installed Mariadb with PhpMyAdmin and it seems to be working fine except when I need to browse a database.

This is the error I get when browsing a column:

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

Screenshot: http://prntscr.com/omy08s

When I browse a column it does show the content but it gives me the error each time I look inside a column.

Can it be something permission based thats not setup right?

MariaDB Version: 10.4.6 Ubuntu Version: 18.04.02

已采纳解答

原帖链接 · Marco · CC BY-SA 4.0

Ubuntu repositories have an old phpmyadmin, not fully compatible with default PHP release (7.2 in Ubuntu 18.04 distribuiton).

To get rid of this error just install a newer phpmyadmin from https://www.phpmyadmin.net/downloads/

You might want to follow this as a reference: https://devanswers.co/problem-php-7-2-phpmyadmin-warning-in-librariessql-count/

摘自公开归档,保留原文语言,版式经整理,外部媒体与邮箱地址已移除。

资料来源与适用范围

资料来源
Server Fault
适用范围
以原帖系统、软件版本与发布日期为准(2019-08-01)
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY-SA 4.0

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。