The get field function does not always return an array (there could be a problem with the connection).