Fatal error: Uncaught exception 'MongoCursorException' with message 'localhost:27017: Can't canonicalize query: BadValue: $in needs an array' in /var/www/ors/includes/general_functions.php:88 Stack trace: #0 [internal function]: MongoCursor->rewind() #1 /var/www/ors/includes/general_functions.php(88): iterator_to_array(Object(MongoCursor), false) #2 /var/www/ors/orcom/php/hotels.php(171): cursor2array(Object(MongoCursor)) #3 /var/www/ors/orcom/php/hotels.php(98): getroomlist() #4 /var/www/ors/orcom/index.php(122): include('/var/www/ors/or...') #5 /var/www/ors/includes/system_vars.php(59): include('/var/www/ors/or...') #6 /var/www/ors/index.php(7): include('/var/www/ors/in...') #7 {main} thrown in /var/www/ors/includes/general_functions.php on line 88