Век живи, век учись
The MAMP server uses a different php executable and setting. I suppose you are running yiic migrate command directly (if so this will use the php executable from your PATH settings like /usr/bin which maybe different than the MAMP version and its ini settings). Instead try this command:
$MAMP_PHP/bin/php yiic.php migrate
where $MAMP_PHP is the location of your MAMP PHP install... for example /Applications/MAMP/bin/php/php5.5.3
I would typically add an alias to my .bash_profile for such needs. For example:
alias php_mamp = '/Applications/MAMP/bin/php/php5.5.3/bin/php'
So you can directly run commands using this alias like:
php_mamp yiic.php migrate
$form->field($testForm, 'radioButtonList[]')
делать и с свой валидатор писать, так как у Вас большая вложенность в $model->radioButtonList
вы выведете и посмотрите, что там у Вам if ($this->hasModel()) {
echo Html::activeInput($this->type, $this->model, $this->attribute, $this->options);
} else {
echo Html::input($this->type, $this->name, $this->value, $this->options);
}
где Expression это экземпляр yii\db\Expression
и подсматривайте в debug панель, что в реале за запрос получается, так проще определить ошибку