Edit file /usr/share/phpmyadmin/libraries/plugin_interface.lib.php
:
sudo nano /usr/share/phpmyadmin/libraries/plugin_interface.lib.php
search for :
if ($options != null && *count($options)* > 0) {
replace with :
if ($options != null && *count(**(array)**$options)* > 0) {
then restart apache service :
sudo service apache2 restart
That's because you can now only count() on an array [php >= 7.2], and $options is not explicitly an array, so you sort of have to cast it into.
If you had this issue, you may also be interested in this post :
Warning in ./libraries/sql.lib.php#601