Closed (cannot reproduce)
Project:
Profile Checkboxes
Version:
6.x-2.0
Component:
Code
Priority:
Major
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
6 Oct 2011 at 19:19 UTC
Updated:
13 Oct 2011 at 21:48 UTC
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
Comment #1
johnhanley commentedObviously 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.
Comment #2
jharder commentedThanks 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.
Comment #3
johnhanley commentedThat's good to hear. Thanks for following up.
Comment #3.0
johnhanley commentedEdited