又出现这个错误了,第二次遇到 更改main.php 'enableStrictParsing' => true, 这里改成false,就可以正常访问了,yii2真是好麻烦啊 转载于:https://www.cnblogs.com/yangbanban/p/4944620.html