See: https://www.reddit.com/r/emacs/comments/qil2qh/symbols_function_definition_is_void/
For context:
(and (symbolp func) (native-comp-available-p) (fboundp 'subr-native-elisp-p)
The check could be wrapped in a function to prevent this in the future. e.g.
(defun org-native-comp-available-p ()(and (fboundp 'native-comp-available-p) (native-comp-available-p)))