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?
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?