kartik-v / yii2-dynagrid

Turbo charge the Yii 2 GridView with personalized columns, page size, and themes.
http://demos.krajee.com/dynagrid
Other
74 stars 66 forks source link

Unknown Method – yii\base\UnknownMethodException Calling unknown method: kartik\dynagrid\DynaGrid::isBs4() #217

Closed srsalute closed 5 years ago

srsalute commented 5 years ago

I have dynagrid installed and in module:

'dynagrid'=> [ 'class'=>'\kartik\dynagrid\Module' ]

when i try use:

DynaGrid::widget...

i receive this error: Unknown Method – yii\base\UnknownMethodException Calling unknown method: kartik\dynagrid\DynaGrid::isBs4()

errorDyna

i just follow the documentation: http://demos.krajee.com/dynagrid but dont work, never works

can you help me guys?

kartik-v commented 5 years ago

The issue is because you do not have an updated version of the extension with its updated dependencies. You need to run composer update to ensure you get the updated version of this extension along with all its updated dependencies (in this case you need the updated release of yii2-krajee-base). Manually copying just this extension's files to your project can result in such an error instead of using composer.