The line 2271 involves referencing "setTemplate" which is created by
my $setTemplate = $self->{setTemplate} = $db->newGlobalSet;
and is used for printing the FIELD names in an html table.
It could be something weird in the database. or something else.
Since you haven't changed the code the database is perhaps more
likely.
Hope this helps.
Take care,
Mike