Hi,

Just installed this module and created a multi-checkbox field. When attempting to add values for a user this error appears when saving:

warning: mysql_real_escape_string() expects parameter 1 to be string, array given in /includes/database.mysql.inc on line 321.

The selected values are not being written to the databse. Not sure how to proceed.

Edit -> Also happens when the field is created as a multi-select list. But works fine when set to Single Select option.

Comments

johnhanley’s picture

Status: Active » Postponed (maintainer needs more info)

Obviously what you're describing is extremely fatal and the module wouldn't be useful to anyone if the issue was widespread. I can only assume it's got something to do with your specific setup. Please include detailed steps on how to reproduce the error otherwise it will be impossible for me to diagnose.

jharder’s picture

Status: Postponed (maintainer needs more info) » Closed (cannot reproduce)

Thanks for responding.

The errors are not appearing now and the module seems to be working fine. I think the problem was actually with a custom module that has since been removed.

johnhanley’s picture

That's good to hear. Thanks for following up.

johnhanley’s picture

Issue summary: View changes

Edited