Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
Hello there!
I have had a look around in this issue queue, and have also searched the net...
When using this module all is fine with deselecting any option apart from when the Checkbox option is being used:
I can select however many options (checkboxes) that I need, but once I try to deselect them all it seem, s to throw up this error:
error : warning: Cannot use a scalar value as an array in /var/www/vhosts/sfmdev.co.uk/httpdocs/includes/form.inc on line 1335
In other words, any less than 1 checkbox ticked and it displays the above error (and in the image attached).
Anyone have any ideas? :-s
Comment | File | Size | Author |
---|---|---|---|
#5 | 884914_2.patch | 1.66 KB | andreiashu |
#3 | 884914_1.patch | 1.51 KB | andreiashu |
Screen shot 2010-08-16 at 20.10.18.png | 78.25 KB | iainduffman |
Comments
Comment #1
ArrowI also get this. I am using this in combination with the Content Taxonomy module. Whenever I uncheck a checkbox, I receive the error. Let me know how I can help in troubleshooting this..
Comment #2
bakr CreditAttribution: bakr commentedI face the same issue too,
Though the checkbox field is not marked as "Required"
Have tried the latest dev release with no further luck.
Comment #3
andreiashu CreditAttribution: andreiashu commentedPlease check if the attached patch fixes this problem.
thanks,
Andrei
Comment #4
andreiashu CreditAttribution: andreiashu commentedComment #5
andreiashu CreditAttribution: andreiashu commentedThis patch also fixes the problem for radios that are not marked as required.
Comment #6
andreiashu CreditAttribution: andreiashu commentedI commited the patch from #5 so the fix should be available in the latest 6.x-2.x dev snapshot in less than 12h.
Please reopen this issue if the problem persists.
Comment #7
bakr CreditAttribution: bakr commentedAs a follow up, see the following issue
#977800: Cannot Unselect All Checkboxes
Comment #8
johnvAs another follow-up, which contains a patch: #1484008: Error on unchecking all checkboxes
Comment #9
joelpittetLast update was 2010, going to close as outdated.