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

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)