Still wasn't working, my programmer adjusted your line and now its fine
User.updateDigestSetting(userData.uid, meta.config.dailyDigestFreq, next);
The <!-- BEGIN categories --> conditional is unable to work in /partial/menu.tpl when called upon, therefore it is impossible to put categories in the menu. Is this working as intended or is there a method to put categories in this place?
Do you solved this? I have same problem
Category data is not avaiable in the header, if you want to use it you will have to use the hook
filter:middleware.renderHeader and add the data.