count(): Parameter must be an array or an object that implements Countable
It is because of phpmyadmin’s library try to counting some parameter but got wrong a code. So by looking at line 613, we find:
| class Animal { | |
| } | |
| class Penguin extends Animal { | |
| public function __construct($id) { | |
| $this->getPenguinFromDb($id); | |
| } | |
| public function getPenguinFromDb($id) { | |
| // elegant and robust database code goes here |