Hello Ihor

Many thanks for your follow up.

I have set `org-element-use-cache' to nil as you suggest. Seems fine.

My org-mode is just via the package management system on Ubuntu, so somewhat behind I guess.

Am a big fan of org-mode. Tx!

Robbie

On 15/09/2024 14.20, Ihor Radchenko wrote:
Robbie Morrison <robbie.morrison@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.

-- 
Robbie Morrison
Address: Schillerstrasse 85, 10627 Berlin, Germany
Phone: +49.30.612-87617