There isn’t nearly enough info in your post to hazard any kind of guess, the problem could be caused by numerous things…
Recommend you at least try to narrow down where the problem is (eg which files are different from working, anything else besides the macros you refer to? Then if the problem is in the macros, diff the macros to identify which ones are different, then evaluate each whether there might be a need for symbols? You can also instrument the macros by for instance echoing something like a “completed macro 2” to log or stdout to verify macros that complete to identify where the error is being thrown)
So that others won’t need to backtrack everything you’ve tried, if you can narrow down where the problem might be, it would also be helpful to post specific things you might not understand instead of making people inspect your entire project top to bottom.