Page 1 of 1

Ubuntu18 - phpmyadmin errors

Posted: Mon Oct 22, 2018 4:12 pm
by ofer
I installed vestacp on ubuntu 18.04 (on digitalocean)

when I try to view a database I get errors (on ubuntu 16 everything is ok)

Warning in ./libraries/plugin_interface.lib.php#551
count(): Parameter must be an array or an object that implements Countable

Backtrace

./libraries/display_import.lib.php#371: PMA_pluginGetOptions(
string 'Import',
array,
)
./libraries/display_import.lib.php#456: PMA_getHtmlForImportOptionsFormat(array)
./libraries/display_import.lib.php#691: PMA_getHtmlForImport(
string '5bcdf5f5b2107',
string 'database',
string 'admin_demo',
string '',
integer 2097152,
array,
NULL,
NULL,
string '',
)
./db_import.php#43: PMA_getImportDisplay(
string 'database',
string 'admin_demo',
string '',
integer 2097152,
)

Re: Ubuntu18 - phpmyadmin errors

Posted: Mon Oct 22, 2018 5:48 pm
by chrisf
You have to manually update phpmyadmin. The ubuntu bionic beaver repo has old version which doesn't play well with php 7.2