Extension migrations fail with Setting unknown property: enableCsrfValidation

I am using Yii2 v2.0.12. I’ve tried to do the migration for three different extensions by three different authors; the results are all the same:

Exception 'yii\base\UnknownPropertyException' with message 'Setting unknown property: yii\console\Request::enableCsrfValidation'

in W:\xampp\htdocs\public_html\vendor\yiisoft\yii2\base\Component.php:201

Just for grins, I tried issuing the command


with no parameters at the command line and got the same error message. It looks like nothing will work from the command line.

Any ideas on how to fix this?

Don’t configure web components in common config.