This and line 1848 are fine — the messages are consistent with fgetcsv() and the other warnings in the function.