I'm using kartik export menu and it's showing the error below.
PHP Strict Warning – yii\base\ErrorException
kartik\grid\GridView and kartik\base\BootstrapTrait define the same property ($bsVersion) in the composition of kartik\grid\GridView. This might be incompatible, to improve maintainability consider using accessor methods in traits instead. Class was composed
Code:
use kartik\grid\GridView;
use kartik\export\ExportMenu;
<?php
$gridColumns = [
['class' => 'yii\grid\SerialColumn'],
'id',
'bi',
'num_movel',
'nome_cliente',
// 'user_criacao',
'data_criacao',
['class' => 'yii\grid\ActionColumn'],
];
?>
<div class="export-menu">
<?php echo ExportMenu::widget([
'dataProvider' => $dataProvider,
'columns' => $gridColumns
]); ?>
</div>
<div class="c"></div>
<?= GridView::widget([
'dataProvider' => $dataProvider,
'filterModel' => $searchModel,
'columns' => $gridColumns,
]); ?>
What can be the cause of this since i've followed the kartik instructions for using the export menu?