Just today I startted getting the following errors after using straight to pull the most recent version of org.
Error (use-package): org/:config: Symbol’s function definition is void: org-element-cache-reset [2 times]
Error (use-package): evil-embrace/:catch: Symbol’s value as variable is void: org-org-menu
WARNING: No org-loaddefs.el file could be found from where org.el is loaded.
You need to run "make" or "make autoloads" from Org lisp directory
The only notable parts of my config related to installing org are as follows:
(require 'package) (setq package-archives '(("gnu" . "https://elpa.gnu.org/packages/") ("melpa" . "https://melpa.org/packages/") ("nongnu" . "https://elpa.nongnu.org/nongnu/")))
and
(straight-use-package 'org) (straight-use-package '(org-contrib :type git :host github :repo "emacsmirror/org-contrib"))
I Know there have been some recent changes with org mode installation and I have seen some posts here but I have gotten confused and can't seem to figure out what I am doing wrong. Notably, I have not changed anything in my config lately that I would imaging would have anything to do with installing org....
EDIT: I take it back.
I did recently add
:hook (org-mode . turn-on-org-cdlatex)
and removing that line does seem to fix things but I have no idea why.
Any help would be most appreciated.