@fedderw To clarify, you are using “Daily Notes” core plugin (not the “Periodic Notes” community plugin), “Templater” community plugin, and have disabled “Templates” core plugin? Additionally, you’ve checked that your community plugins are up to date (“Settings” → “Community Plugins” → “Check for Updates” button, must be checked manually), closed and re-opened Obsidian after installing any updates to plugins, specified the correct Template file in the “Settings” → “Daily Notes” settings, and in the “Settings” → “Templater” settings you have “Trigger Templater on new file creation” turned on?
If you manually run the “Templater: Replace templates in the active file” command from your note that isn’t fully transforming, does any further transformation happen? Do you get any output in the developer console during the new note creation process?
If you manually run the “Templater: Replace templates in the active file” command from your note that isn’t fully transforming, does any further transformation happen? Do you get any output in the developer console during the new note creation process?
I actually get this error on any file where I try this command. Here is an example:
Do you have any scripts that are not for Templater in the folder Templater is checking for user scripts? Specifically, perhaps something for dataview that you import via dv.view somewhere? That makes Templater unhappy, as I and several others have discovered in the past few days/weeks.
Make sure the Templater user scripts folder just has things for Templater in it, perhaps by making a subfolder just for Templater within your current scripts folder and changing the setting on the Templater settings page to refer to that?
Hi! Can you explain a little bit more please? I am having the same problem. However I am not using user scripts. I just use templater with dv and tasks plugins. It runs OK if i run the template after file creation but gets an error when creating the daily note automatically. I have the “Trigger Templater on new file creation” option activated, so that’s not it.
I have deactivated the Templates and Daily notes core plugins, however my Templater commands do not work on my daily notes using the Periodic Notes plugin, eg: <% tp.date.now(“YYYY-MM-DD”) %> remains verbatim, but if I generate a note from a template then the Templater command works and instead is the {{date:YYYY-MM-DD}} which does not update or triggers (I am unsure what’s the correct terminology here).
and not this (which worked fine): << [[<% tp.date.now("YYYY-MM-DD-dddd", -1, **tp.file.title,** "YYYY-MM-DD-dddd") %>]] | [[<% tp.date.now("YYYY-MM-DD-dddd", 1, **tp.file.title,** "YYYY-MM-DD-dddd") %>]]>>
I probably removed it while changing my template daily note.
Has anyone found a resolution to this issue yet? I’m having the same error. <% tp.date.now(“YYYY.MM.DD”) %> does not render the date, it simply stays as <% tp.date.now(“YYYY.MM.DD”) %>.
i’ve tried uninstalling/reinstalling/enabling/closing and reopening obsidian. i’ve tried disabling the original template core plugin. Nothing seems to work.
My template is literally a copy & paste of the template listed here
Oddly, I’m finding other templates, of entire vaults I’m testing like any of the templates listed here also don’t quite translate (with requested plugins enabled and updated) In reading view, I still see code like:
My solution was the following:
Disable core Template and Daily Notes plugins.
Disable Periodic Notes Plugin.
Close Obsidian.
Enable Periodic Notes Plugin.
Close Obsidian.
Open Obsidian.
After this everything was fine again.