Signatures upon petitions and sections of petitions shall be secured, and the petition, together with all sections of the petition, shall be filed within 180 days from the date of receipt of the title and summary, or after termination of any action for a writ of mandate pursuant to Section 9204, and, if applicable, after receipt of an amended title or summary or both, whichever occurs later. Petitions and sections thereof shall be filed in the office of the elections official during normal office hours as posted. If the petitions are not filed within the time permitted by this section, the petitions shall be void for all purposes.