You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to implement Taggable following the available instructions. I've made the changes to the model and controller. However, when I add <?php echo $form->textField($model, 'tags'); ?> to my _form.php, it returns an error: htmlspecialchars() expects parameter 1 to be string, array given. This error is coming from CHtml.php.
Can you tell me how to correct this so that I don't get the error?
The text was updated successfully, but these errors were encountered:
I'm trying to implement Taggable following the available instructions. I've made the changes to the model and controller. However, when I add
<?php echo $form->textField($model, 'tags'); ?>
to my _form.php, it returns an error:htmlspecialchars() expects parameter 1 to be string, array given
. This error is coming from CHtml.php.Can you tell me how to correct this so that I don't get the error?
The text was updated successfully, but these errors were encountered: