Aditya Raj Gupta
Aditya Raj Gupta

Reputation: 11

Yii 2.0.14 update with Kartik gridview

I updated a project from Yii2 version 2.0.6 to 2.0.14. Everything is working fine, just the Kartik gridview is throwing this error

Setting unknown property: yii\bootstrap\ButtonDropdown::containerOptions

  1. I have already tried composer install again and composer update.
  2. Checked the composer asset plugin for Yii2 as well its on the latest version.
  3. Checked the Yii2 change logs for any compatibility issue, found nothing for this case.
  4. Checked the Yii2 documentation as well as the core files in vendor, the code is exactly as per the documentation.

Upvotes: 0

Views: 2072

Answers (1)

rob006
rob006

Reputation: 22174

yii\bootstrap\ButtonDropdown::$containerOptions property was introduced in version 2.0.1 of yii2-bootstrap extension - make sure that you have it installed:

composer require "yiisoft/yii2-bootstrap:~2.0.1" --update-with-all-dependencies

Upvotes: 0

Related Questions