Whenever I try to generate a model using Gii in the Yii framework, it throws:
php warning : count(): Parameter must be an array or an object that implements Countable
It also mentions following file:
app\protected\vendor\yiisoft\yii\framework\gii\generators\model\ModelCode.php(371)
While questions with same title exists, none of them fixed mine.I'm using yii version 1.1.14 and windows 10