After updating a page, all pages on the site used the index.php template

I had a custom taxonomy with the name “year”, after renaming that everything seems to be working. Sorry for not realizing that from the start, but maybe somebody will come across this when they have a problem and know the reason now 🙂

Not sure why the taxonomy name of “year” caused this issue, but after all the testing it was clearly the cause.