Assuming this post it looks that you have installed two versions of PHP 7.2, which shouldn’t be done.
Ill go through the scripts we have and see if i can see anything that may affect it tomorrow.
Can you deploy your scripts out after running Virtualmin install script and testing that initial Virtualmin installation works prior any further changes? Because for us, official image of clean, minimal install of CentOS 8 works just fine!