If you edit the template files with a recent open/libreoffice, it can led to non working templates. See https://stackoverflow.com/a/48836380/8369030 for some details