warning message in media library

Hi there,

I’ve been setting up a wordpress site, and things were going fine, but now I am getting this message when I open up the media library

‘Warning: in_array() expects parameter 2 to be array, null given in /home/buoyancy/public_html/wp-includes/query.php on line 2399’

would appreciate some clues,

thanks, Ria