求助yii报错
错误信息如下
Unknown Property – yii\base\UnknownPropertyException
Setting unknown property: yii\bootstrap\Dropdown::views
1. in F:\phpStudy\WWW\myblog\vendor\yiisoft\yii2\base\Component.php at line 209
200201202203204205206207208209210211212213214215216217218 $behavior->$name = $value;
return;
}
}
if (method_exists($this, 'get' . $name)) {
throw new InvalidCallException('Setting read-only property: ' . get_class($this) . '::' . $name);
}
throw new UnknownPropertyException('Setting unknown property: ' . get_class($this) . '::' . $name);
}
/**
* Checks if a property is set, i.e. defined and not null.
*
* This method will check in the following order and act accordingly:
*
* - a property defined by a setter: return whether the property is set
* - a property of a behavior: return whether the property is set