I am experiencing a recurring issue where the template slug gets malformed, and this breaks the call to the template. E.g.
It seems that UTF-8 coding is added to the template slug when an em dash (—) is in the template name, but I don’t use this dash type.
For example, a template named
Section – Posts will save the slug like this:
The issue seems random, and I am unsure how to recreate it without manually inserting an em dash, but it may have something to do with the use of em dashes in the Templates list.
Today it happened after creating some template categories.