Blank thank you page, no emails sent

If that doesn’t work and you have composer around, try running this command in the core/components/commerce_mpdfwriter/ directory:

composer dumpautoload -o

That will optimize the autoloader which seems to resolve issues with classes not being found due to some weird conflict.