Closed (works as designed)
Project:
D7 Media
Version:
7.x-2.0-unstable3
Component:
Miscellaneous
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
4 Feb 2012 at 22:04 UTC
Updated:
11 Feb 2012 at 23:42 UTC
Im receiving this error when editing a node with a picture attached to it.
Warning: array_merge() [function.array-merge]: Argument #1 is not an array in _form_set_class() (line 4044 of .../includes/form.inc).Warning: implode() [function.implode]: Invalid arguments passed in theme_radios() (line 2748 of .../includes/form.inc).
It only shows up when editing a node that has an image attached to it via media module. Anyone else getting this?
Comments
Comment #1
chanella commentedSame problem here.
Comment #2
jerryitt commentedI have just tried unsuccessfully to replicate this.
Can you provide more information?
Comment #3
oobie11 commentedHi, I am using a custom theme that customized the node edit and add form. I have added some form preprocess in my template.php that looks like this
When I switch to Bartik this does not happen, so It has to be something with that. I'm using D7.
Any Suggestions?
Thanks
Comment #4
tsvenson commented@oobie11 So, everything works like you expect when you try it with Bartik, but not with your custom theme?
If that is correct and your custom theme modifies the node edit form, then it sounds like the problem you have is very likely to be in your custom theme and not with the Media module.