Compilation ERROR - brms and stan model

You seem to have the same problem as

which I currently do not understand fully. Can you go through the posts on that thread and how much of it applies to your situation?