If all the lights are on 1 circuit then maybe you have a loose connection at a ceiling rose. You could turn off the power and have a look by pulling on wires.
There will be 3 rows of terminals and the ones at fault will be 3 browns( or reds), or the terminal with 2 blues(or blacks). Thats not...