I struggled with this and tried all the tips above.
Eventually my boss came with a fresh pair of eyes. All we did was see at what point this error came up, deleted the layers that started there (in my case it was quite easy only text), recreated the text, and voila. It works.
hope this helps someone