Robbie Morrison <robbie.morri...@posteo.de> writes: > I received the following warning and was duly encouraged to file a bug > report: > > --- > > ⛔ Warning (org-element-cache): org-element--cache: Org parser error in > post-nz.org::7833. Resetting. > The error was: (wrong-type-argument integer-or-marker-p nil) > Backtrace: > nil > Please report this to Org mode mailing list (M-x org-submit-bug-report). > > --- > > One of my top-level headers (with just one leading asterisk) failed to > open. Switching to text mode showed that there was information to reveal. > > I also noticed earlier that one of my top-level headers had managed to > empty itself on two different occasions. I now watch the status bar to > check that the file has not changed when doing tasks like narrowing to > an org-mode subtree.
Thanks for reporting! I note that you are using Org 9.6.15, while the latest Org version is Org 9.7.11. You may try to upgrade. It may fix the problems you are seeing. If not, please let us know. If you cannot upgrade, such warnings might be due to recently enabled parser cache - some bugs have been fixed in that area after Org 9.6.15. You can disable the cache by setting `org-element-use-cache' to nil. Hope it helps. -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at <https://orgmode.org/>. Support Org development at <https://liberapay.com/org-mode>, or support my work at <https://liberapay.com/yantar92>