My Categories have become uncategorised

Him I have been using wave for several years to keep track of our holiday units, invoices etc. All has been good, but all of a sudden masses of transactions that I had paid invoices with, have now lost their categories. I major pain in the a--, making it totally worthless to continue.
0