Warning: in_array() expects parameter 2 to be array, null given

Quick look at source for that version shows parsing post_status argument. It’s probably this bug that got fixed in 3.2.

Upgrade. 🙂