I have this option settings: #+begin_src emacs-lisp (setq org-element-use-cache nil) (setq org-fold-core-style 'overlays) (setq org-fold-catch-invisible-edits nil) (use-package consult :ensure t :bind (([remap org-goto] . consult-org-heading)) ; [C-c C-j] :config (require 'consult-org)) #+end_src And here is the testing Org document: #+begin_src org ,#+TITLE: test ,* headline main ,** Screenshots ,** folded? ,** new headline #+end_src Here I attached the backtrace after I toggle-debug-on-error: