I downloaded the bio module and get immediately after activating it this on the top of the screen:
* warning: in_array() [function.in-array]: Wrong datatype for second argument in C:\apache\htdocs\social\sites\all\modules\bio\bio_views.inc on line 137.
* warning: in_array() [function.in-array]: Wrong datatype for second argument in C:\apache\htdocs\social\sites\all\modules\bio\bio_views.inc on line 137.
* warning: in_array() [function.in-array]: Wrong datatype for second argument in C:\apache\htdocs\social\sites\all\modules\bio\bio_views.inc on line 137.
* warning: in_array() [function.in-array]: Wrong datatype for second argument in C:\apache\htdocs\social\sites\all\modules\bio\bio_views.inc on line 137.
Comments
Comment #1
rhimes commentedDitto that, I got it as well:
warning: in_array() [function.in-array]: Wrong datatype for second argument in D:\xampp\htdocs\d53nocTEST\modules\bio\bio_views.inc on line 137.
Then repeated @ 20 times
Comment #2
steinmb commentedDitto! when enabling the module. Could it be warnings related to the views module? I'm running Views 5.x-1.6. Jeff are you reading this?
My setup:
Drupal 5.7 (clean install)
MySQL database 5.0.37
PHP 5.2.1
Web server Apache/2.0.59
--
Stein Magne
Comment #3
codenamerhubarb commented+1 for this problem. Does anybody know if this has any side effects, or should I just ignore this warning?
Comment #4
capellicI am only getting this error showing up once - not 4 times as described.
I only get it when I change the name of "Type" from "bio" to something else.
Comment #5
steinmb commentedI have tested it, but have not found any issues. I'm have not tested "all" things related to views integration, but the things I have tested does work :)
--
Stein Magne
Comment #6
wonder95 commentedAdd another one for this issue. I get it with a clean install of 5.7.
Comment #7
steinmb commented@wonder95 do you have views install, if so, what version?
Comment #8
wonder95 commentedNo, at this point I don't have Views installed.
Comment #9
jerdavisCapellic, can you elaborate on your post?
Comment #10
jerdavisIf anyone is still having this problem, I think the following information would be helpful:
Drupal Version:
Bio Configuration Options:
Content Type being used for user biographies:
CCK Fields added to the bio type noted above:
Version of CCK:
Version of Views:
We may then be able to reproduce the issue more readily.
Comment #11
rjleigh commentedI got this too on initial module install (no configuration yet) , and it repeated about 40 times.
using drupal 5.7, CCK 5.x-1.6-1 & views 5.x-1.6
tried removing bio table & entry in system table, then reinstalling, but I never could get the error to repeat.
Comment #12
Mark Theunissen commentedMarked duplicate.
There is a patch over here: http://drupal.org/node/190745