Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed to instantiate component or class "yii\bootstrap\BootstrapAsset". #192

Closed
DesRodman opened this issue Jul 20, 2019 · 12 comments
Closed
Labels

Comments

@DesRodman
Copy link

DesRodman commented Jul 20, 2019

Hello

i'm trying to update project to Bootstrap 4
here is my composer.json
{ "name": "yiisoft/yii2-app-advanced", "description": "Yii 2 Advanced Project Template", "keywords": ["yii2", "framework", "advanced", "project template"], "homepage": "http://www.yiiframework.com/", "type": "project", "license": "BSD-3-Clause", "support": { "issues": "https://github.com/yiisoft/yii2/issues?state=open", "forum": "http://www.yiiframework.com/forum/", "wiki": "http://www.yiiframework.com/wiki/", "irc": "irc://irc.freenode.net/yii", "source": "https://github.com/yiisoft/yii2" }, "minimum-stability": "stable", "require": { "php": ">=7.0", "yiisoft/yii2": "^2.0.16", "yiisoft/yii2-swiftmailer": "2.1.2", "yiisoft/yii2-httpclient": "^2.0.11", "yiisoft/yii2-bootstrap4": "^2.0.5", "yiisoft/yii2-redis": "^2.0.9", "fxp/composer-asset-plugin": "^1.4.5", "skeeks/yii2-assets-auto-compress": "^1.4.2", "codemix/yii2-localeurls": "^1.7.1", "yii2mod/yii2-scheduling": "^1.1.1", "onmotion/yii2-widget-apexcharts": "^1.0", "wfstudioru/yii2-yandex-translate-api": "dev-master", "phpoffice/phpspreadsheet": "^1.6.0", "phpoffice/phpexcel": "^1.8.2", "bajadev/yii2-dynamicform": "^2.2.2", "hguenot/yii2-gsftp": "^1.1", "setasign/fpdf": "^1.8.1", "kartik-v/yii2-widget-select2": "^2.1.3", "kartik-v/yii2-widget-datepicker": "^1.4", "kartik-v/yii2-widget-timepicker": "^1.0", "kartik-v/yii2-grid": "^3.3", "kartik-v/yii2-date-range": "^1.7", "kartik-v/yii2-bootstrap4-dropdown": "^1.0", "kartik-v/yii2-widget-activeform": "^1.5", "kartik-v/yii2-widget-fileinput": "^1.0", "kartik-v/yii2-editable": "^1.7" }, "require-dev": { "yiisoft/yii2-debug": "^2.1.5", "yiisoft/yii2-gii": "^2.1.0", "yiisoft/yii2-faker": "^2.0.4", "phpstan/phpstan": "^0.7", "composer/composer": "^1.8" }, "config": { "process-timeout": 1800, "fxp-asset":{ "installer-paths": { "npm-asset-library": "vendor/npm", "bower-asset-library": "vendor/bower" } } } }

My AppAsset.php
`<?php

namespace cabinet\assets;

use yii\web\AssetBundle;

/**

  • @author Qiang Xue qiang.xue@gmail.com
  • @SInCE 2.0
    */
    class AppAsset extends AssetBundle
    {
    public $jsOptions = ['position' => \yii\web\View::POS_HEAD];
    public $basePath = '@webroot';
    public $baseUrl = '@web';
    public $css = [
    '/plugins/font-awesome/css/font-awesome.min.css',
    'https://code.ionicframework.com/ionicons/2.0.1/css/ionicons.min.css',
    ...
    ];
    public $js = [
    '/plugins/jquery/jquery.min.js',
    'https://code.jquery.com/ui/1.12.1/jquery-ui.min.js',
    'https://cdnjs.cloudflare.com/ajax/libs/raphael/2.1.0/raphael-min.js',
    ...
    '/plugins/js/main.js',
    '/plugins/js/translit.js',
    ];
    public $depends = [
    'yii\web\YiiAsset',
    'yii\bootstrap4\BootstrapPluginAsset',
    ];
    }`

and in params.php
<?php return [ ... 'bsVersion' => '4.x', 'bsDependencyEnabled' => false, ];

I have a code
`


<?php echo GridView::widget([
'dataProvider' => $dataProvider,
'filterModel' => $searchModel,
'id' => 'phone-pjax',
'pjax' => true,
'pjaxSettings' => [
'options' => [
'id' => 'phone-pjax',
],
],
'columns' => [
[
'class' => \kartik\grid\CheckboxColumn::className(),
'name' => 'del',
'contentOptions' => ['style' => 'width: 35px; max-width: 35px;'],
],
['class' => \yii\grid\SerialColumn::className()],
'phone',
[
'class' => \kartik\grid\EditableColumn::className(),
'attribute' => 'phone_name',
'editableOptions' => [
'submitButton' => [
'icon' => '',
'class' => 'btn btn-sm btn-primary',
'label' => Yii::t('app', 'Save')
]
]

                        ],
                        'add_time',
                        [
                            'class' => \yii\grid\ActionColumn::className(),
                            'template' => '{delete}',
                            'buttons' => [
                                'delete' => function($url, $model) {
                                    return Html::a(
                                        Html::tag('i', null, ['class' =>'fa fa-trash']),
                                        ['/groups/black-list-delete', 'userId' => $model->id_user, 'phone' => $model->phone],
                                        [
                                            'class' => ['btn btn-xs btn-danger'],
                                            'title' => Yii::t('app', 'Delete'),
                                            'data' => [
                                                'confirm' => Yii::t('app', 'Delete {phone} from black list?', [
                                                    'phone' => $model->phone
                                                ]),
                                                'toggle' => 'tooltip',
                                                'placement' => 'bottom',
                                            ]
                                        ]
                                    );
                                }
                            ]
                        ]
                    ]
                ]) ?>
                <div class="row">
                    <div class="col-lg-12">
                        <div class="box-header with-border">
                            <?php echo Html::a('&larr; ' . Yii::t('app', 'Back'), ['/groups/index'], ['class' => 'btn btn-link']) ?>
                            <?php echo Html::submitButton(Yii::t('app', 'Delete selected'), [
                                'class' => 'btn btn-danger pull-right',
                                'id' => 'delete-multiple',
                            ]) ?>
                        </div>
                    </div>
                </div>
            </div>`

but in browser i see
`2019-07-17 11:35:00 [127.0.0.1][3][lo1iiqguptkovh3iee2hugb46p][error][yii\base\InvalidConfigException] ReflectionException: Class yii\bootstrap\BootstrapAsset does not exist in /var/www/project/vendor/yiisoft/yii2/di/Container.php:431
Stack trace:
#0 /var/www/project/vendor/yiisoft/yii2/di/Container.php(431): ReflectionClass->__construct('yii\bootstrap\B...')
#1 /var/www/project/vendor/yiisoft/yii2/di/Container.php(365): yii\di\Container->getDependencies('yii\bootstrap\B...')
#2 /var/www/project/vendor/yiisoft/yii2/di/Container.php(156): yii\di\Container->build('yii\bootstrap\B...', Array, Array)
#3 /var/www/project/vendor/yiisoft/yii2/BaseYii.php(349): yii\di\Container->get('yii\bootstrap\B...', Array, Array)
#4 /var/www/project/vendor/yiisoft/yii2/web/AssetManager.php(264): yii\BaseYii::createObject(Array)
#5 /var/www/project/vendor/yiisoft/yii2/web/AssetManager.php(237): yii\web\AssetManager->loadBundle('yii\bootstrap\B...', Array, true)
#6 /var/www/project/vendor/yiisoft/yii2/web/View.php(286): yii\web\AssetManager->getBundle('yii\bootstrap\B...')
#7 /var/www/project/vendor/yiisoft/yii2/web/View.php(291): yii\web\View->registerAssetBundle('yii\bootstrap\B...', NULL)
#8 /var/www/project/vendor/yiisoft/yii2/web/View.php(291): yii\web\View->registerAssetBundle('kartik\popover\...', NULL)
#9 /var/www/project/vendor/yiisoft/yii2/web/AssetBundle.php(125): yii\web\View->registerAssetBundle('kartik\editable...')
#10 /var/www/project/vendor/kartik-v/yii2-editable/src/Editable.php(582): yii\web\AssetBundle::register(Object(yii\web\View))
#11 /var/www/project/vendor/kartik-v/yii2-editable/src/Editable.php(670): kartik\editable\Editable->registerAssets()
#12 /var/www/project/vendor/kartik-v/yii2-editable/src/Editable.php(565): kartik\editable\Editable->initEditable()
#13 /var/www/project/vendor/yiisoft/yii2/base/BaseObject.php(109): kartik\editable\Editable->init()
#14 [internal function]: yii\base\BaseObject->__construct(Array)
#15 /var/www/project/vendor/yiisoft/yii2/di/Container.php(384): ReflectionClass->newInstanceArgs(Array)
#16 /var/www/project/vendor/yiisoft/yii2/di/Container.php(156): yii\di\Container->build('kartik\editable...', Array, Array)
#17 /var/www/project/vendor/yiisoft/yii2/BaseYii.php(349): yii\di\Container->get('kartik\editable...', Array, Array)
#18 /var/www/project/vendor/yiisoft/yii2/base/Widget.php(137): yii\BaseYii::createObject(Array)
#19 /var/www/project/vendor/kartik-v/yii2-grid/src/EditableColumn.php(163): yii\base\Widget::widget(Array)
#20 /var/www/project/vendor/kartik-v/yii2-grid/src/DataColumn.php(242): kartik\grid\EditableColumn->renderDataCellContent(Object(common\models\SearchStop), 3, 0)
#21 /var/www/project/vendor/yiisoft/yii2/grid/GridView.php(525): kartik\grid\DataColumn->renderDataCell(Object(common\models\SearchStop), 3, 0)
#22 /var/www/project/vendor/yiisoft/yii2/grid/GridView.php(494): yii\grid\GridView->renderTableRow(Object(common\models\SearchStop), 3, 0)
#23 /var/www/project/vendor/kartik-v/yii2-grid/src/GridView.php(1279): yii\grid\GridView->renderTableBody()
#24 /var/www/project/vendor/yiisoft/yii2/grid/GridView.php(358): kartik\grid\GridView->renderTableBody()
#25 /var/www/project/vendor/yiisoft/yii2/widgets/BaseListView.php(160): yii\grid\GridView->renderItems()
#26 /var/www/project/vendor/yiisoft/yii2/grid/GridView.php(326): yii\widgets\BaseListView->renderSection('{items}')
#27 /var/www/project/vendor/yiisoft/yii2/widgets/BaseListView.php(135): yii\grid\GridView->renderSection('{items}')
#28 [internal function]: yii\widgets\BaseListView->yii\widgets{closure}(Array)
#29 /var/www/project/vendor/yiisoft/yii2/widgets/BaseListView.php(138): preg_replace_callback('/{\w+}/', Object(Closure), '{summary}\n<div ...')
#30 /var/www/project/vendor/yiisoft/yii2/grid/GridView.php(301): yii\widgets\BaseListView->run()
#31 /var/www/project/vendor/kartik-v/yii2-grid/src/GridView.php(1201): yii\grid\GridView->run()
#32 /var/www/project/vendor/yiisoft/yii2/base/Widget.php(140): kartik\grid\GridView->run()
#33 /var/www/projvelopment/project/frontend/views/groups/black-list.php(123): yii\base\Widget::widget(Array)
#34 /var/www/project/vendor/yiisoft/yii2/base/View.php(348): require('/var/www/proj...')
#35 /var/www/project/vendor/yiisoft/yii2/base/View.php(257): yii\base\View->renderPhpFile('/var/www/proj...', '[<span class="s...')
#36 /var/www/project/vendor/yiisoft/yii2/base/View.php(156): yii\base\View->renderFile('/var/www/proj...', Array, Object(frontend\controllers\GroupsController))
#37 /var/www/project/vendor/yiisoft/yii2/base/Controller.php(384): yii\base\View->render('black-list', Array, Object(frontend\controllers\GroupsController))
#38 /var/www/projvelopment/project/frontend/controllers/GroupsController.php(341): yii\base\Controller->render('black-list', Array)
#39 [internal function]: frontend\controllers\GroupsController->actionBlackList()
#40 /var/www/project/vendor/yiisoft/yii2/base/InlineAction.php(57): call_user_func_array(Array, Array)
#41 /var/www/project/vendor/yiisoft/yii2/base/Controller.php(157): yii\base\InlineAction->runWithParams(Array)
#42 /var/www/project/vendor/yiisoft/yii2/base/Module.php(528): yii\base\Controller->runAction('black-list', Array)
#43 /var/www/project/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction('groups/black-li...', Array)
#44 /var/www/project/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest(Object(yii\web\Request))
#45 /var/www/projvelopment/project/frontend/web/index.php(18): yii\base\Application->run()
#46 {main}

Next yii\base\InvalidConfigException: Failed to instantiate component or class "yii\bootstrap\BootstrapAsset". in /var/www/project/vendor/yiisoft/yii2/di/Container.php:433
Stack trace:
#0 /var/www/project/vendor/yiisoft/yii2/di/Container.php(365): yii\di\Container->getDependencies('yii\bootstrap\B...')
#1 /var/www/project/vendor/yiisoft/yii2/di/Container.php(156): yii\di\Container->build('yii\bootstrap\B...', Array, Array)
#2 /var/www/project/vendor/yiisoft/yii2/BaseYii.php(349): yii\di\Container->get('yii\bootstrap\B...', Array, Array)
#3 /var/www/project/vendor/yiisoft/yii2/web/AssetManager.php(264): yii\BaseYii::createObject(Array)
#4 /var/www/project/vendor/yiisoft/yii2/web/AssetManager.php(237): yii\web\AssetManager->loadBundle('yii\bootstrap\B...', Array, true)
#5 /var/www/project/vendor/yiisoft/yii2/web/View.php(286): yii\web\AssetManager->getBundle('yii\bootstrap\B...')
#6 /var/www/project/vendor/yiisoft/yii2/web/View.php(291): yii\web\View->registerAssetBundle('yii\bootstrap\B...', NULL)
#7 /var/www/project/vendor/yiisoft/yii2/web/View.php(291): yii\web\View->registerAssetBundle('kartik\popover\...', NULL)
#8 /var/www/project/vendor/yiisoft/yii2/web/AssetBundle.php(125): yii\web\View->registerAssetBundle('kartik\editable...')
#9 /var/www/project/vendor/kartik-v/yii2-editable/src/Editable.php(582): yii\web\AssetBundle::register(Object(yii\web\View))
#10 /var/www/project/vendor/kartik-v/yii2-editable/src/Editable.php(670): kartik\editable\Editable->registerAssets()
#11 /var/www/project/vendor/kartik-v/yii2-editable/src/Editable.php(565): kartik\editable\Editable->initEditable()
#12 /var/www/project/vendor/yiisoft/yii2/base/BaseObject.php(109): kartik\editable\Editable->init()
#13 [internal function]: yii\base\BaseObject->__construct(Array)
#14 /var/www/project/vendor/yiisoft/yii2/di/Container.php(384): ReflectionClass->newInstanceArgs(Array)
#15 /var/www/project/vendor/yiisoft/yii2/di/Container.php(156): yii\di\Container->build('kartik\editable...', Array, Array)
#16 /var/www/project/vendor/yiisoft/yii2/BaseYii.php(349): yii\di\Container->get('kartik\editable...', Array, Array)
#17 /var/www/project/vendor/yiisoft/yii2/base/Widget.php(137): yii\BaseYii::createObject(Array)
#18 /var/www/project/vendor/kartik-v/yii2-grid/src/EditableColumn.php(163): yii\base\Widget::widget(Array)
#19 /var/www/project/vendor/kartik-v/yii2-grid/src/DataColumn.php(242): kartik\grid\EditableColumn->renderDataCellContent(Object(common\models\SearchStop), 3, 0)
#20 /var/www/project/vendor/yiisoft/yii2/grid/GridView.php(525): kartik\grid\DataColumn->renderDataCell(Object(common\models\SearchStop), 3, 0)
#21 /var/www/project/vendor/yiisoft/yii2/grid/GridView.php(494): yii\grid\GridView->renderTableRow(Object(common\models\SearchStop), 3, 0)
#22 /var/www/project/vendor/kartik-v/yii2-grid/src/GridView.php(1279): yii\grid\GridView->renderTableBody()
#23 /var/www/project/vendor/yiisoft/yii2/grid/GridView.php(358): kartik\grid\GridView->renderTableBody()
#24 /var/www/project/vendor/yiisoft/yii2/widgets/BaseListView.php(160): yii\grid\GridView->renderItems()
#25 /var/www/project/vendor/yiisoft/yii2/grid/GridView.php(326): yii\widgets\BaseListView->renderSection('{items}')
#26 /var/www/project/vendor/yiisoft/yii2/widgets/BaseListView.php(135): yii\grid\GridView->renderSection('{items}')
#27 [internal function]: yii\widgets\BaseListView->yii\widgets{closure}(Array)
#28 /var/www/project/vendor/yiisoft/yii2/widgets/BaseListView.php(138): preg_replace_callback('/{\w+}/', Object(Closure), '{summary}\n<div ...')
#29 /var/www/project/vendor/yiisoft/yii2/grid/GridView.php(301): yii\widgets\BaseListView->run()
#30 /var/www/project/vendor/kartik-v/yii2-grid/src/GridView.php(1201): yii\grid\GridView->run()
#31 /var/www/project/vendor/yiisoft/yii2/base/Widget.php(140): kartik\grid\GridView->run()
#32 /var/www/projvelopment/project/frontend/views/groups/black-list.php(123): yii\base\Widget::widget(Array)
#33 /var/www/project/vendor/yiisoft/yii2/base/View.php(348): require('/var/www/proj...')
#34 /var/www/project/vendor/yiisoft/yii2/base/View.php(257): yii\base\View->renderPhpFile('/var/www/proj...', '[<span class="s...')
#35 /var/www/project/vendor/yiisoft/yii2/base/View.php(156): yii\base\View->renderFile('/var/www/proj...', Array, Object(frontend\controllers\GroupsController))
#36 /var/www/project/vendor/yiisoft/yii2/base/Controller.php(384): yii\base\View->render('black-list', Array, Object(frontend\controllers\GroupsController))
#37 /var/www/projvelopment/project/frontend/controllers/GroupsController.php(341): yii\base\Controller->render('black-list', Array)
#38 [internal function]: frontend\controllers\GroupsController->actionBlackList()
#39 /var/www/project/vendor/yiisoft/yii2/base/InlineAction.php(57): call_user_func_array(Array, Array)
#40 /var/www/project/vendor/yiisoft/yii2/base/Controller.php(157): yii\base\InlineAction->runWithParams(Array)
#41 /var/www/project/vendor/yiisoft/yii2/base/Module.php(528): yii\base\Controller->runAction('black-list', Array)
#42 /var/www/project/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction('groups/black-li...', Array)
#43 /var/www/project/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest(Object(yii\web\Request))
#44 /var/www/projvelopment/project/frontend/web/index.php(18): yii\base\Application->run()
#45 {main}
2019-07-17 11:34:58 [127.0.0.1][3][lo1iiqguptkovh3iee2hugb46p][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
'_cmsIdentity' => '22a9c1076eb9f524fbaa1e3e1f90d339f8bd7622ad62cae80c33b0a520e59fefa:2:{i:0;s:12:"_cmsIdentity";i:1;s:16:"[3,null,2592000]";}'
'_csrf' => '4b09c37a7b2cfd79a0baa28849455cb44a094ca45218cba5976da9d827e9e5c7a:2:{i:0;s:5:"_csrf";i:1;s:32:"kXKHwE8hWYkAgrlg9jcAFSknvh-X5Pkj";}'
'PHPSESSID' => 'lo1iiqguptkovh3iee2hugb46p'
]

$_SESSION = [
'__flash' => []
'__id' => 3
'__expire' => 1566041699
]

$_SERVER = [
'USER' => 'www-data'
'HOME' => '/var/www'
'HTTP_CACHE_CONTROL' => 'max-age=0'
'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
'HTTP_COOKIE' => '_cmsIdentity=22a9c1076eb9f524fbaa1e3e1f90d339f8bd7622ad62cae80c33b0a520e59fefa%3A2%3A%7Bi%3A0%3Bs%3A12%3A%22_cmsIdentity%22%3Bi%3A1%3Bs%3A16%3A%22%5B3%2Cnull%2C2592000%5D%22%3B%7D; _csrf=4b09c37a7b2cfd79a0baa28849455cb44a094ca45218cba5976da9d827e9e5c7a%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22kXKHwE8hWYkAgrlg9jcAFSknvh-X5Pkj%22%3B%7D; PHPSESSID=lo1iiqguptkovh3iee2hugb46p'
'HTTP_CONNECTION' => 'keep-alive'
'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
'HTTP_ACCEPT_LANGUAGE' => 'en-US,en;q=0.5'
'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,/;q=0.8'
'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:68.0) Gecko/20100101 Firefox/68.0'
'HTTP_HOST' => 'localhost'
'REDIRECT_STATUS' => '200'
'SERVER_NAME' => 'localhost'
'SERVER_PORT' => '80'
'SERVER_ADDR' => '127.0.0.1'
'REMOTE_PORT' => '42196'
'REMOTE_ADDR' => '127.0.0.1'
'SERVER_SOFTWARE' => 'nginx/1.15.9'
'GATEWAY_INTERFACE' => 'CGI/1.1'
'REQUEST_SCHEME' => 'http'
'SERVER_PROTOCOL' => 'HTTP/1.1'
'DOCUMENT_ROOT' => '/var/www/project/frontend/web'
'DOCUMENT_URI' => '/index.php'
'REQUEST_URI' => '/ru/groups/black-list'
'SCRIPT_NAME' => '/index.php'
'CONTENT_LENGTH' => ''
'CONTENT_TYPE' => ''
'REQUEST_METHOD' => 'GET'
'QUERY_STRING' => ''
'SCRIPT_FILENAME' => '/var/www/project/frontend/web/index.php'
'FCGI_ROLE' => 'RESPONDER'
'PHP_SELF' => '/index.php'
'REQUEST_TIME_FLOAT' => 1563363298.7655
'REQUEST_TIME' => 1563363298
]`

Help me please, where i made mistake?
Can you help me to understand and fix this error?!

Thanks

@XNicON
Copy link

XNicON commented Aug 7, 2019

Hi,

add composer.json

    "kartik-v/yii2-editable": "@dev",
    "kartik-v/yii2-popover-x": "@dev",

@DesRodman
Copy link
Author

you mean dev version i need?!
because i have it in composer.json

@stale
Copy link

stale bot commented Oct 6, 2019

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the wontfix label Oct 6, 2019
@stale stale bot closed this as completed Oct 13, 2019
@DesRodman
Copy link
Author

Why did you close this issue?

@favourkiiza
Copy link

I have the same issue..Any fix yet?

@kartik-v
Copy link
Owner

This seems a problem in your view config or view layout where both bootstrap 4 and bootstrap are being referred because of one of the widgets or other asset bundle component in your view. For Krajee widgets - just set bsVersion to 4.x in yii application params if using with BS 4 - but you would need to check for other components you are loading that maybe using wrongly yii\bootstrap instead of yii\bootstrap4 namespace widgets

@DesRodman
Copy link
Author

Sorry, but your "just set bsVersion to 4.x" not working
You don't hear us
we did it and extension bootstra4... problem exists!

@kartik-v
Copy link
Owner

kartik-v commented Mar 29, 2020

Cannot reproduce your issue... Somehow in your environment the config is not recognizing or registering bootstrap 4... It's still loading bootstrap 3.... Please debug by throwing debug or exception statements to find out what is the bsVersion being used in the widgets

@favourkiiza
Copy link

favourkiiza commented Mar 31, 2020 via email

@kartik-v
Copy link
Owner

kartik-v commented Apr 1, 2020

Debug the bsVersion setting... What is it's value being parsed by the widget... It must be 4.x for bootstrap 4 ... If on debug you are detecting 3.x then bootstrap 3 asset will be loaded... You must check and correct this config.

You can cross check the demos for bootstrap 4 at https://demos.krajee.com/editable to compare

@favourkiiza
Copy link

favourkiiza commented Apr 1, 2020 via email

@favourkiiza
Copy link

favourkiiza commented Apr 1, 2020 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants