Added the code to the end of the configuration.php file still no errors showing!
payment gateways we have are paypal and stripe, register mod is RC & LB Tools v2 free, its supposed to be php 7.1/7.2 compatible.
PHP Version Compatibility check shows all files are compatible.
if it helps, we have a dedicated server, with Virtualizor, and the latest cpanel running centos 7 on a VPS,