Error when opening files in Glyphs

I get this error messages when opening files I’m working on. See attached images.
Problem with file at line 13790. Unknown token “(null)”.
reading: GSLayer”.

Any ideas of how to solve this?

Open your .glyphs file in a text editor (Sublime Text, for example) and go to the line in question. Paste the contents (10–15 lines of context) around that line here.

If you want, you can also share the file with us and we will have a look. Either as a private message (click my profile picture, then Message) or to support.