Cannot use a scalar value as an array
tj2653 - January 7, 2008 - 01:40
| Project: | Audio |
| Version: | 5.x-2.x-dev |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Jump to:
Description
I added some fields to my audio content type, and when I try creating an audio node, I get this error:
warning: Cannot use a scalar value as an array in /mysite/modules/cck/content.module on line 587.
Not sure if this is an Audio or CCK module issue.

#1
I've isolated the field that's causing the problem. It's a single on/off CCK checkbox. Once I remove that from the Audio content type, I don't get the error when I add a new audio node or edit one. I use the same single on/off CCK checkbox in a different content type, but don't have any problems with the other content type.
#2
how very relevant.....
I am using Audio module with the single on/off CCK checkbox and have the exact same problem.
#3
Me too.
I have 3 single on/off checkbox and the warning came up when I create a node.
The node is created and the file is playable and all works fine...
Any solution? Removing the fields is NOT a solution...
#4
I had 4 Single on/off checkbox, just working great on other nodes, and I could remove 3 of them (they are not too important) from the Audio node type, but still have one that is mandatory.
I'm still getting an ugly
* warning: Cannot use a scalar value as an array in /var/www/vhosts/lynxeds.com/subdomains/ibc/httpdocs/sites/all/modules/cck/content.module on line 621.* warning: Cannot use a scalar value as an array in /var/www/vhosts/lynxeds.com/subdomains/ibc/httpdocs/sites/all/modules/cck/content.module on line 622.
but at least it's only 2 lines (not 8!).
Any idea for solving that? I also tested checking the fields. It works, and when you come back to Edit they are checked in there too.
#5
I have the same warning, but not with the audio module, but with the mollom module. So, the question is, is this an audio and/or mollom issue, or a CCK module issue?
#6
Any progress on this?? Not from my side...