Yii Framework Forum: Kartik widget has a bug! - Yii Framework Forum

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Kartik widget has a bug! [solved] Rate Topic: -----

#1 User is offline   tklustig 

  • Standard Member
  • PipPip
  • Yii
  • Group: Members
  • Posts: 210
  • Joined: 20-April 17
  • Location:Hannover

Posted 14 October 2017 - 11:20 AM

Hi guys,
I just have updated my application using
composer update
. Feedback of updating was:
Updating karti-v/yii2-krajee-base(v.1.8.8=>v.1.8.9) 


I noticed following error after having updated my application:
yii\base\UnknownPropertyException: Getting unknown property: kartik\tabs\TabsX::hashVarLoadPosition in E:\xampp\htdocs\yii2_perswitch\vendor\yiisoft\yii2\base\Component.php:147Stack trace:#0 E:\xampp\htdocs\yii2_perswitch\vendor\kartik-v\yii2-krajee-base\WidgetTrait.php(113): yii\base\Component->__get('hashVarLoadPosi...')#1 E:\xampp\htdocs\yii2_perswitch\vendor\kartik-v\yii2-krajee-base\WidgetTrait.php(131): kartik\tabs\TabsX->registerPluginOptions('tabsX')#2 E:\xampp\htdocs\yii2_perswitch\vendor\kartik-v\yii2-krajee-base\WidgetTrait.php(161): kartik\tabs\TabsX->getPluginScript('tabsX', 'jQuery("#w22-co...', NULL, NULL)#3 E:\xampp\htdocs\yii2_perswitch\vendor\kartik-v\yii2-tabs-x\TabsX.php(388): kartik\tabs\TabsX->registerPlugin('tabsX', 'jQuery("#w22-co...')#4 E:\xampp\htdocs\yii2_perswitch\vendor\kartik-v\yii2-tabs-x\TabsX.php(243): kartik\tabs\TabsX->registerAssets()#5 E:\xampp\htdocs\yii2_perswitch\vendor\kartik-v\yii2-tabs-x\TabsX.php(228): kartik\tabs\TabsX->initWidget()#6 E:\xampp\htdocs\yii2_perswitch\vendor\yiisoft\yii2\base\Widget.php(139): kartik\tabs\TabsX->run()#7 E:\xampp\htdocs\yii2_perswitch\frontend\modules\bewerber\views\bewerber\_expand.php(44): yii\base\Widget::widget(Array)#8 E:\xampp\htdocs\yii2_perswitch\vendor\yiisoft\yii2\base\View.php(330): require('E:\\xampp\\htdocs...')#9 E:\xampp\htdocs\yii2_perswitch\vendor\yiisoft\yii2\base\View.php(250): yii\base\View->renderPhpFile('E:\\xampp\\htdocs...', Array)#10 E:\xampp\htdocs\yii2_perswitch\vendor\yiisoft\yii2\base\View.php(152): yii\base\View->renderFile('E:\\xampp\\htdocs...', Array, Object(frontend\modules\bewerber\controllers\BewerberController))#11 E:\xampp\htdocs\yii2_perswitch\vendor\yiisoft\yii2\base\Controller.php(411): yii\base\View->render('_expand', Array, Object(frontend\modules\bewerber\controllers\BewerberController))#12 E:\xampp\htdocs\yii2_perswitch\frontend\modules\bewerber\views\bewerber\index.php(57): yii\base\Controller->renderPartial('_expand', Array)#13 [internal function]: yii\base\View->{closure}(Object(frontend\modules\bewerber\models\Bewerber), 1, 0, Object(kartik\grid\ExpandRowColumn))#14 E:\xampp\htdocs\yii2_perswitch\vendor\kartik-v\yii2-grid\ExpandRowColumn.php(241): call_user_func(Object(Closure), Object(frontend\modules\bewerber\models\Bewerber), 1, 0, Object(kartik\grid\ExpandRowColumn))#15 E:\xampp\htdocs\yii2_perswitch\vendor\kartik-v\yii2-grid\ExpandRowColumn.php(322): kartik\grid\ExpandRowColumn::parseData(Object(Closure), Object(frontend\modules\bewerber\models\Bewerber), 1, 0, Object(kartik\grid\ExpandRowColumn))#16 E:\xampp\htdocs\yii2_perswitch\vendor\yiisoft\yii2\grid\DataColumn.php(233): kartik\grid\ExpandRowColumn->getDataCellValue(Object(frontend\modules\bewerber\models\Bewerber), 1, 0)#17 E:\xampp\htdocs\yii2_perswitch\vendor\kartik-v\yii2-grid\ExpandRowColumn.php(360): yii\grid\DataColumn->renderDataCellContent(Object(frontend\modules\bewerber\models\Bewerber), 1, 0)#18 E:\xampp\htdocs\yii2_perswitch\vendor\yiisoft\yii2\grid\GridView.php(507): kartik\grid\ExpandRowColumn->renderDataCell(Object(frontend\modules\bewerber\models\Bewerber), 1, 0)#19 E:\xampp\htdocs\yii2_perswitch\vendor\yiisoft\yii2\grid\GridView.php(476): yii\grid\GridView->renderTableRow(Object(frontend\modules\bewerber\models\Bewerber), 1, 0)#20 E:\xampp\htdocs\yii2_perswitch\vendor\kartik-v\yii2-grid\GridView.php(1000): yii\grid\GridView->renderTableBody()#21 E:\xampp\htdocs\yii2_perswitch\vendor\yiisoft\yii2\grid\GridView.php(347): kartik\grid\GridView->renderTableBody()#22 E:\xampp\htdocs\yii2_perswitch\vendor\yiisoft\yii2\widgets\BaseListView.php(159): yii\grid\GridView->renderItems()#23 E:\xampp\htdocs\yii2_perswitch\vendor\yiisoft\yii2\grid\GridView.php(316): yii\widgets\BaseListView->renderSection('{items}')#24 E:\xampp\htdocs\yii2_perswitch\vendor\yiisoft\yii2\widgets\BaseListView.php(134): yii\grid\GridView->renderSection('{items}')#25 [internal function]: yii\widgets\BaseListView->yii\widgets\{closure}(Array)#26 E:\xampp\htdocs\yii2_perswitch\vendor\yiisoft\yii2\widgets\BaseListView.php(137): preg_replace_callback('/{\\w+}/', Object(Closure), '



I use Git to mange my source code.
I decided to reinstall my application using a backup. After having installed backup and perform git order
git pull
,
error has been disappeared. So, I know, kartik updating causes error.
  • Any ideas, how to tell kartik this bug?
  • Any corresponding experiences available with this bug?

0

#2 User is offline   jacmoe 

  • Elite Member
  • Yii
  • Group: Moderators
  • Posts: 3,694
  • Joined: 10-October 10
  • Location:Denmark

Posted 14 October 2017 - 11:23 AM

Go to their Github repository and open an issue?
"Less noise - more signal"
0

#3 User is offline   tklustig 

  • Standard Member
  • PipPip
  • Yii
  • Group: Members
  • Posts: 210
  • Joined: 20-April 17
  • Location:Hannover

Posted 14 October 2017 - 11:53 AM

View Postjacmoe, on 14 October 2017 - 11:23 AM, said:

Go to their Github repository and open an issue?


Thx. I just have opened an issue here ...
I thought since now, only members of developpment are able to open an issuePosted Image
0

#4 User is offline   jacmoe 

  • Elite Member
  • Yii
  • Group: Moderators
  • Posts: 3,694
  • Joined: 10-October 10
  • Location:Denmark

Posted 14 October 2017 - 12:02 PM

No, anyone with a Github account can create issues - and that's great!
"Less noise - more signal"
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users