[drupal-support] Wrong datatype for second argument

Mike Melanson mike at multimedia.cx
Fri Oct 7 00:57:34 UTC 2005


Hi,
	I see from the list that one Gabriele Caniglia reported this same 
problem back in June. I just created a new Drupal v4.6.3 installation 
using Fantastico. I seem to be creating content just fine. But when I 
first create a story I see these errors on the top of the webpage:

warning: in_array(): Wrong datatype for second argument in 
/home/melanson/public_html/trash/modules/node.module on line 1314.

warning: in_array(): Wrong datatype for second argument in 
/home/melanson/public_html/trash/modules/node.module on line 1315.

warning: in_array(): Wrong datatype for second argument in 
/home/melanson/public_html/trash/modules/node.module on line 1316.

warning: in_array(): Wrong datatype for second argument in 
/home/melanson/public_html/trash/modules/node.module on line 1317.

warning: in_array(): Wrong datatype for second argument in 
/home/melanson/public_html/trash/modules/node.module on line 1318.

This did not happen before I started playing with the 
categories/taxonomy. Come to think of it, I created 3 vocabularies and 
then realized that I needed 1 vocabulary and deleted the other 2. Then I 
added 3 terms under the vocabulary. The problem seems to have started there.

	Thanks...
-- 
	-Mike Melanson



More information about the drupal-support mailing list