I get the following warning when going to update.php?op=selection:

warning: in_array() [function.in-array]: Wrong datatype for second argument in activism.module on line 612.

The attached patch suppresses the warning by checking if the variable is an array first.

CommentFileSizeAuthor
update_warning.patch939 bytessamlerner

Comments

ClearXS’s picture

Priority: Normal » Major

warning: in_array() [function.in-array]: Wrong datatype for second argument in .../sites/all/modules/activism/activism.module on line 612.

Same issues for many months. Will disable the module again until there is a fix, as this message also appears on my user pages.
(& not interested in suppressing the warning on a site that needs to continue with their existing installation and users, but a new install for a module that works)

Priority changed to major only to be observed, as this issue is near a year old.