So now that it seemed that everything was working correctly, I deleted all of my test content and started to add real content to my site while continuing to test.

I created a page node type in an author role, and and then clicked on the '/accessible-content/i-created/' where I now got this warning error:

warning: in_array() [function.in-array]: Wrong datatype for second argument in /Applications/MAMP/htdocs/guilderlanddemocrats-com-d6v12/sites/all/modules/module_grants/module_grants.module on line 366.

This reminded me that I had added the following code as per http://drupal.org/node/158043 to the Drupal index.php for testing the latest dev version of the Revisioning Module when I was getting the White Screen of Death:

error_reporting(E_ALL);
ini_set('display_errors', TRUE);
ini_set('display_startup_errors', TRUE);

With this code removed, I don't get the warning. So I'm guessing it is not critical since it's just a warning and doesn't show up unless error reporting is set at such a high level.

But perhaps it is something that if dealt with could add stability to the module.

Steve

Comments

RdeBoer’s picture

Hi Steve,
The error is of concern, but not fatal.
It will go away once you've set the content type options for the content type in question.
I believe I've replicated it and fixed it (fix not yet available).
What do you mean exactly by "I created a page node type" ?
Rik

RdeBoer’s picture

Assigned: Unassigned » RdeBoer
Status: Active » Needs work
wickwood’s picture

Hello Rik,

RE: What do you mean exactly by "I created a page node type" ?

What I meant was I created a node with page content-type. Sometimes (often?) my thoughts get ahead of my typing. I'm too good at proof-reading either.

Sorry for not being clearer.

Steve

RdeBoer’s picture

Status: Needs work » Fixed

Will go into development snapshot today.

RdeBoer’s picture

Status: Fixed » Closed (fixed)