There are a lot of elements that go into the header and footer. Double click the header or footer on the first page of the new section. The member function do something is not defined.