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

rhimes’s picture

Ditto 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

steinmb’s picture

Ditto! 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

codenamerhubarb’s picture

+1 for this problem. Does anybody know if this has any side effects, or should I just ignore this warning?

capellic’s picture

I 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.

steinmb’s picture

I 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

wonder95’s picture

Add another one for this issue. I get it with a clean install of 5.7.

steinmb’s picture

@wonder95 do you have views install, if so, what version?

wonder95’s picture

No, at this point I don't have Views installed.

jerdavis’s picture

Capellic, can you elaborate on your post?

jerdavis’s picture

If 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.

rjleigh’s picture

I 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.

Mark Theunissen’s picture

Status: Active » Closed (duplicate)

Marked duplicate.

There is a patch over here: http://drupal.org/node/190745