I fixed this issue by ticking "Solver" in the references. It got unticked after an update, but my macros worked with no issue after I re-ticked it. The settings are above in the thread.