class.udb.php:127 Unknown column 'Array' in 'where clause'

SELECT MainPageID FROM MainPages WHERE MainPageType=10 AND oldID =Array
1: class.udb.php:203 udb::query()
2: system.php:493 udb::single_value()
3: index.php:4 require_once()