The site is crashing when any email summaries are actually being sent.
This is because the function that sends them has variables out of its scope.
The solution is to change from using for to some foreach iterator that is functional to avoid linter complaints and bring the missing variables back into scope.
The site is crashing when any email summaries are actually being sent.
This is because the function that sends them has variables out of its scope.
The solution is to change from using for to some foreach iterator that is functional to avoid linter complaints and bring the missing variables back into scope.