This error is thrown in D 6.4 when using "show fields" in creating a new content type.
warning: in_array() [function.in-array]: Wrong datatype for second argument in /kunden/96674_30449/webseiten/drupal/sites/all/modules/wymeditor/wymeditor.module on line 157.
Comments
Comment #1
Anonymous (not verified) commentedHi !
I did not succeed to reproduce this warning.
I tested with the 6.x-2.x-dev send on september 24th 2008. (Uggh ! Seems that version number have not been changed !)
So could you please update your WYMeditor module and then give another try. And if it fails again please add a comment with an accurate operating mode in order to help you !
Comment #2
Anonymous (not verified) commentedComment #3
zoo33 commentedI see this too. The problem is that apperently
$form[$key]['format']['#element_validate']isn't always an array. The corresponding line in_wymeditor_input_format_alter()could be changed into:Comment #4
zoo33 commentedOh, crap. That's obviously wrong. Try this:
Comment #5
fall_0ut commentedThanks Zoo33 for your code.
This line is corrected, please verify the development version.
Comment #6
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.