The problem turned out to be something wonky about permalinks. Permalinks had been set to “Day and name”. These stopped working. I don’t know why. But changing to “Default” and then saving the custom menu (to rebuild it with the new setting) fixed the problem.