Okay,
I have solved the issue.
So the original theme had a hidden plugin that was updated through the theme and not the plugins area.
It remained active even when I changed themes which is why it didn’t fix when the theme changed.
Once I updated the theme and found that hidden area, it has started working again.