I am getting the following error message in CodeIgniter 2.1:
A PHP Error was encountered Severity: Notice Message: Array to string conversion Filename: databa
I always feel a little dirty for doing this but you can always just suppress errors for that one line of code too!
function update2($data){ @$this->db->update_batch('users',$data, "id"); }
Of course the proper thing to do is upgrade to 2.1.3 (haven't tested or looked so I'll assume it's fixed.)