Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TypeError: Cannot convert undefined or null to object -> When updating YAML on creation of a templater template #88

Open
VanillaBryce opened this issue Jan 12, 2023 · 0 comments

Comments

@VanillaBryce
Copy link

VanillaBryce commented Jan 12, 2023

I have been trying to figure out what I'm doing wrong, if anything, for hours.
I am just trying to update the name field to be consistent with the filename after I create a new file from a templater template. I've tried just about everything I can think of to resolve this issue.

I've checked the type of the variable named file and it comes back as an object, so I don't understand why I'm seeing this:
metaedit_error

My guess is that I'm just doing something wrong, but I really have no idea. I would love to be able to fix this, because I could automate a lot of my metadata creation if I can get this working. Please let me know what I'm doing wrong or tell me how to fix this issue.

Here is the template file:
settlement.md

My only active plugins are templater and metaedit.

UPDATE: I found out that the error is actually occurring any time I create a new note from a template, even if the note does not have any scripts that access the metaedit api? Could this be a templater compatibility issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant