phpMyAdmin update

hi, I'm using Ubuntu 18.04, after install phpMyAdmin from linode I found the version is v4.6.6, is not fully compatible with PHP 7.2, when I export any table from phpMyAdmin I always encounter a waining: ./libraries/sql.lib.php#613 count(): Parameter must be an array or an object that implements Countable”

The official new version v4.8 has fixed these compatibility issues with PHP 7.2, so is there a plan to upgrade phpMyAdmin?

1 Reply

If you need to update your phpMyAdmin, you can run the following in Ubuntu:

sudo add-apt-repository ppa:phpmyadmin/ppa
sudo apt-get update
sudo apt-get install phpmyadmin

This should give you the latest version. For reference, here is a page on Ask Ubuntu that discusses this:

How to Upgrade phpMyAdmin

I also took a look at the error that you posted, and I wanted to pass along some of the resources I found which may offer a solution to it for you.

This first link is from WordPress where a user encountered the same error and a potential fix is presented:

PHP warning “Parameter must be an array or an object that implements Countable”

This Stack Overflow page also addresses the error, and refers to ./libraries/sql.lib.php:

Parameter must be an array or an object that implements Countable in phpmyadmin

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct