Calling ->map('key')->ObjectBuilder() fails with error Call to a member function count() on null in v2.9.4 because of changes in https://github.com/ThingEngineer/PHP-MySQLi-Database-Class/pull/1018/files The code fails on $res->seek($_res->count() - 1); because $_res is null. The only reference to $_res is on this line