getgrav/docker-grav

FAILED to read problem after upgrading

Closed this issue · 1 comments

Thank you very much for your work, we are using grav to build the site for a long time.s
But in a recent update there was a problem, I updated a very old grav version(<1.6) to the latest version and had the following problem:
Failed to read en.yaml: Duplicate key
"INVALID_FRONTMATTER_COULD_NOT_SAVE" detected at line 510 (near "INVALID_FRONTMATTER_COULD_NOT_SAVE: "Invalid frontmatter, could not save"").

I thought it was a permissions issue, but after checking, I found that my permissions were fine: www-data is the user running the server and the owner of the file.
Can you help me to figure out what i should do? I've been working on this whole day. Thank again for you attention.

It turns to be a problem with the language setting. After an upgrade, a sentence in en.yaml appears twice with no reason.