Uncaught Error: Call to a member function isConnected() on null

Hello!

We have some error like this one: PHP Fatal error: Uncaught Error: Call to a member function isConnected() on null

We have code like this: $db = new Aerospike($host, false); if ($db->isConnected()) { // logging }

So whats wrong with this code? This happen 3-4 time per every 100000 writing.