At least with the plugins installed on my websites, after months of investigation, it's now clear after a wp-toolkit plugins/themes upgrade, lots of sites have the permalinks broken.
To fix it, I have to save the permalink structure.
I can either do it on each site but just found I can solve it...