The following error message occurs during moodle upgrade attempt whether it be on command line or admin back end:
This is a companion discussion topic for the original entry at https://linuxconfig.org/moodle-exception-call-to-undefined-function-xml-parser-create/