Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

htmlspecialchars() expects parameter 1 to be string, array given #18

Open
larry-tx opened this issue Sep 11, 2013 · 0 comments
Open

htmlspecialchars() expects parameter 1 to be string, array given #18

larry-tx opened this issue Sep 11, 2013 · 0 comments

Comments

@larry-tx
Copy link

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant