Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Hello!
The first page I visit after having been to the chatroom configuration page, gives me the following message:
Warning: array_merge() [function.array-merge]: Argument #1 is not an array in _form_set_class() (line 3969 of /var/www/example/drupal-7.0/includes/form.inc).
Best regards,
Ao
Comment | File | Size | Author |
---|---|---|---|
#5 | array_merge_form_bug-1124530-4389722.patch | 887 bytes | patmacs |
Comments
Comment #1
yugongtian CreditAttribution: yugongtian commented+1
Comment #2
Anonymous (not verified) CreditAttribution: Anonymous commentedThanks for the report.
The 7.x code is really not ready for use, unless you're using it to hack on it.
Comment #3
LSU_JBob CreditAttribution: LSU_JBob commentedCould you go into more detail on how you get this warning? I am not able to reproduce it on my instance.
Comment #4
patmacs CreditAttribution: patmacs commentedThe form has a small markup problem in chatroom.forms.inc on line 198. Form items with attributes need to pass an array of 'class' with a value of another array. Which contains all classes. Submitting a patch now.
Comment #5
patmacs CreditAttribution: patmacs commentedNeeds review
Comment #6
LSU_JBob CreditAttribution: LSU_JBob commentedthanks! reviewing now
Comment #7
LSU_JBob CreditAttribution: LSU_JBob commentedComment #8
LSU_JBob CreditAttribution: LSU_JBob commentedI've tested patmacs' patch and am not receiving the error. I use the steps mentioned in the original post and the error doesn't show up.
Comment #9
LSU_JBob CreditAttribution: LSU_JBob commentedHere is the commit:
http://drupalcode.org/project/chatroom.git/commit/69310c1
Comment #10
Aonoa CreditAttribution: Aonoa commentedHello!
After pulling the latest git repo just now, the error seems to be gone. =)
Thank you.
Best regards,
Ao
Comment #11
LSU_JBob CreditAttribution: LSU_JBob commentedComment #12
smilysarat CreditAttribution: smilysarat commentedHow to overcome from this...... ? Please help me
Comment #13
LSU_JBob CreditAttribution: LSU_JBob commentedsaratmitra are you using the latest dev code base?
Comment #14
smilysarat CreditAttribution: smilysarat commentedyeah..... im using that only.........