I'm new to Drupal, so please excuse my lack of knowledge.
I was able to input stories just fine. Then I messed around with the moderator / submission queue function. (which by the way is cool, if I personally could by pass it) When I turned it back off, I started getting an odd error. I ignored it at first, but it's getting worse. I get:
warning: in_array(): Wrong datatype for second argument in /hsphere/local/.../drupal/modules/node.module on line 1314.
warning: in_array(): Wrong datatype for second argument in /hsphere/local/...org/drupal/modules/node.module on line 1315.
warning: in_array(): Wrong datatype for second argument in /hsphere/local/.../drupal/modules/node.module on line 1316.
warning: in_array(): Wrong datatype for second argument in /hsphere/local/.../drupal/modules/node.module on line 1317.
warning: in_array(): Wrong datatype for second argument in /hsphere/local/.../drupal/modules/node.module on line 1318.
And the rest of the page looks wierd (not in the Submarine theme I'm used to).
What did I do wrong? I can post the Story just fine, and it'll show up corrently, but... It's just odd! It started off as 1 error, and I ignored it. Now it's 4! AHH!!!
thanks
Comments
Comment #1
ryooki commentedHmm.... I noticed that my stories weren't publishing, so I found out that I had unchecked "publish" under the default workflow. So, I re-checked in and the errors went away! weird. Is this a bug?
Comment #2
chx commentedThis is fixed in Drupal HEAD.
Comment #3
(not verified) commentedComment #4
jpsalter commentedJust to give support the the above fix - I had the same problem - rechecking the "publish" box fixed the error.
Comment #5
matteo commentedTemp fix for 4.6.3 is to change line 1314 as follows:
Comment #6
matteo commented..of course line 1314 of node.module. :-))
Matteo