Closed Cloud-Dark closed 2 years ago
i am using php version 8.0
You need to check your code and environment to remove the conflicting bootstrap loaded. Check class dependencies to code - to ensure that all your views, layouts, widgets etc. use only ONE CONSISTENT bootstrap version.
For example to use and standardize Bootstrap 5.x --- Note that for all Krajee Widgets/Extensions - you can set the bsVersion
property to 5
in config/params.php
.
[
'bsVersion' => 5
]
'assetManager' => [ 'bundles' => [ 'yii\bootstrap\BootstrapAsset' => [ 'js' => ['vendor/js/bootstrap.js'], ], ], ],
Bootstrap crashes, I see there are 2 Bootstraps running on the network console, when I deactivate one of them runs smoothly, when I activate it looks messy and the error only runs on pages that use the kartik library only, other pages run smoothly