Problem powoduje ta linia:
$ts3client = \IPS\Db::i()->select( '*', 'ts3_clients', array('client_global_id=?', $member2->member_id), NULL, 1)->first();
Musisz ją "obłożyć" przechwyceniem:
try
{
$ts3client = \IPS\Db::i()->select( '*', 'ts3_clients', array('client_global_id=?', $member2->member_id), NULL, 1)->first();
}
catch( \UnderflowException $ex )
{
}