Wednesday, June 5, 2019

MySQL: phpmyadmin錯誤

修改 /usr/share/phpmyadmin/libraries/plugin_interface.lib.php 第551 行

修改前︰
if ($options != null && count((array)$options) > 0) {
修改後︰
if ($options != null && count($options) > 0) {

Reference:
https://medium.com/@chaloemphonthipkasorn/%E0%B9%81%E0%B8%81%E0%B9%89-bug-phpmyadmin-php7-2-ubuntu-16-04-92b287090b01

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


No comments: