Twój kod wyrzuca Ci QUERY, dodaj ->first(); do każdego
np.
$marketCars = \IPS\Db::i()->select( '*', 'auctions', array('auction_type = 1') )->first();
I zamiast tworzyć selecta, stwórz pętle.
$results = [];
foreach( \IPS\Db::i()->select( '*', 'auctions' ) as $row ) {
$results[] = $row;
}
return \IPS\Theme::i()->getTemplate('character')->market($results);