Aloha all, After updating Org mode this weekend and exporting a document that exported on Friday, I get the error in the subject.
I ran grep org-babel-get-header *.el in org-mode/lisp and didn't get a result. I'm still working on my first cup of coffee this AM, so I might have missed something obvious. Here is a backtrace: Debugger entered--Lisp error: (void-function org-babel-get-header) org-babel-get-header(((:var x . "joint-posteriors") (:colname-names) (:rowname-names) (:result-params "silent") (:result-type . value) (:comments . "") (:shebang . "") (:cache . "no") (:padline . "") (:noweb . "no") (:tangle . "no") (:exports . "code") (:results . "silent") (:hlines . "no") (:session . "none")) :var) org-babel-variable-assignments:sh(((:var x . "joint-posteriors") (:colname-names) (:rowname-names) (:result-params "silent") (:result-type . value) (:comments . "") (:shebang . "") (:cache . "no") (:padline . "") (:noweb . "no") (:tangle . "no") (:exports . "code") (:results . "silent") (:hlines . "no") (:session . "none"))) org-babel-execute:sh("texcount -1 -sum=1,0,0,0,0,0,0 $x.tex" ((:var x . "joint-posteriors") (:colname-names) (:rowname-names) (:result-params "silent") (:result-type . value) (:comments . "") (:shebang . "") (:cache . "no") (:padline . "") (:noweb . "no") (:tangle . "no") (:exports . "code") (:results . "silent") (:hlines . "no") (:session . "none"))) org-babel-execute-src-block(nil ("sh" "texcount -1 -sum=1,0,0,0,0,0,0 $x.tex" ((:comments . "") (:shebang . "") (:cache . "no") (:padline . "") (:noweb . "no") (:tangle . "no") (:exports . "code") (:results . "replace") (:var . "x=(file-name-sans-extension (buffer-name))") (:session . "none") (:hlines . "no")) "" "code-tex-count" 0 64783) ((:results . "silent"))) #[0 "\305\302\306\307#\203h\310 \204 \311 \312\313\"\300\242\232\203d\312\314\"b\210\315!\211\316=\2033\317\320\321\322 !\"\210\202c\211\323=\203J\317\320\324\306\211?\205D\301#\"\210\202c\325!\211\211\262\203^\211\317\320\"\266\202b\326\327!\210\210\210\210\202 \330\300\242!\203u\317\320\331 \"\210\332\300\242!\f\236A\211\203\211\317\320\324\306\301#\"\210\210\326\333\300\242\"\207" [("code-tex-count") ((:results . "silent")) "^[ ]*#\\+\\(name\\|results\\|tblname\\)\\(\\[\\(<\\([0-9]\\{4\\}-[0-9]\\{2\\}-[0-9]\\{2\\} ?[^ \n>]*?\\)> \\)?\\([[:alnum:]]+\\)\\]\\)?\\:[ ]*code-tex-count\\([ ]\\|$\\)" org-babel-update-intermediate org-babel-library-of-babel re-search-forward nil t org-in-commented-heading-p org-element-at-point org-element-property :name :post-affiliated org-element-type babel-call throw :found org-babel-lob-execute org-babel-lob-get-info src-block org-babel-execute-src-block org-babel-read-element error "Reference not found" org-babel-ref-goto-headline-id org-babel-ref-headline-body intern "Reference `%s' not found in this buffer"] 8 "\n\n(fn)"]() funcall(#[0 "\305\302\306\307#\203h\310 \204 \311 \312\313\"\300\242\232\203d\312\314\"b\210\315!\211\316=\2033\317\320\321\322 !\"\210\202c\211\323=\203J\317\320\324\306\211?\205D\301#\"\210\202c\325!\211\211\262\203^\211\317\320\"\266\202b\326\327!\210\210\210\210\202 \330\300\242!\203u\317\320\331 \"\210\332\300\242!\f\236A\211\203\211\317\320\324\306\301#\"\210\210\326\333\300\242\"\207" [("code-tex-count") ((:results . "silent")) "^[ ]*#\\+\\(name\\|results\\|tblname\\)\\(\\[\\(<\\([0-9]\\{4\\}-[0-9]\\{2\\}-[0-9]\\{2\\} ?[^ \n>]*?\\)> \\)?\\([[:alnum:]]+\\)\\]\\)?\\:[ ]*code-tex-count\\([ ]\\|$\\)" org-babel-update-intermediate org-babel-library-of-babel re-search-forward nil t org-in-commented-heading-p org-element-at-point org-element-property :name :post-affiliated org-element-type babel-call throw :found org-babel-lob-execute org-babel-lob-get-info src-block org-babel-execute-src-block org-babel-read-element error "Reference not found" org-babel-ref-goto-headline-id org-babel-ref-headline-body intern "Reference `%s' not found in this buffer"] 8 "\n\n(fn)"]) org-babel-ref-resolve("code-tex-count()") org-babel-ref-parse("results=code-tex-count()") #[(el) ":\203\207\301!\207" [el org-babel-ref-parse] 2]("results=code-tex-count()") mapcar(#[(el) ":\203\207\301!\207" [el org-babel-ref-parse] 2] ("results=code-tex-count()")) All the best, Tom -- Thomas S. Dye http://www.tsdye.com