Typo in category join statement
In the rendering definition there is a typo sys_cateory_record_mm instead of sys_category_record_mm. Change this line:
join = sys_category_record_mm ON sys_cateory_record_mm.uid_foreign = pages.uid
to
join = sys_category_record_mm ON sys_category_record_mm.uid_foreign = pages.uid