I'm using emacs with org mode tempo tags, based on this questions and answers
Debugger entered--Lisp error: (wrong-type-argument stringp ("#+BEGIN_NOTES\n?\n#+END_NOTES"))
The problem was that I'm using ox-reveal, and add an item to the org-mode-template-alist which is the notes one. this should be fix an use the new model. there is also a pull requests in the ox-reveal but it seems not maintained or going too slow in development.