Array to string conversion Yii2
-
It is necessary to remove the list of categories from droplist when a new product is created.
My code is:
The following data envelope error is made:
PHP Notice - yii\base\ErrorException
Array to string conversion
I've never encountered her. Help me, please!
-
Well, maybe because you have it written.
<?=
a short symbol<?php echo
♪ So all you're trying to do inside is trying to get the interpreter out through.echo
♪ ♪ ♪ ♪That's right.
$categories
Writetag.<?php
a before$form->field...
writeecho
It should work.