
I noticed that error shows "error 0 class 'vmconfig' not found" and URL in popup window leads to Phoca Cart component.
I had VirtueMart installed for 10 minutes or less and uninstalled. Checked database and deleted all VirtueMart related.
Looking for a solution to the problem, I came up with the idea to reinstall VirtueMart and preview orders as PDF started to work.

What I messed up?

