That is likely because the function you are hooking into has been renamed. Many of the functions have been renamed or moved around.
There is this line in
https://www.townlong-yak.com/framexm...ievementUI.lua that might be what you want
categories = AchievementFrameCategories_MakeCategoryList(GetCategoryList(), "summary"),
The function itself is immediately above it at :
https://www.townlong-yak.com/framexm...mentUI.lua#111
Ah never mind, if this is the same function you hooked into before it is now local and unhookable. You may have to make your own version which looking at the code in the function may be as easy as copy and pasting it.