A
A
Abram Peters2019-01-17 10:37:09
Yii
Abram Peters, 2019-01-17 10:37:09

I am writing a widget for categories, but he does not want to connect what to do?

in the admin panel I write a widget for lists of categories and then an error occurs when I write this
<?= \app\components\MenuWidget::widget(['tpl' => 'select', 'model' => $model])?>
displays error Setting unknown property: app\components\MenuWidget::model

Answer the question

In order to leave comments, you need to log in

1 answer(s)
R
Rickkk, 2019-01-18
@nigma1996

you probably just don't have the $mode property defined

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question