There was a problem connecting to the database.

Are you sure that the database connection information is correct?

This is the detailed error:

Connection failed: SQLSTATE[HY000] [1045] Access denied for user 'hamcts_admin'@'localhost' (using password: YES)
Fatal error: Uncaught Error: Call to undefined function get_magic_quotes_gpc() in /home1/hamcts/public_html/subsplus/control/includes/functions.php:475 Stack trace: #0 /home1/hamcts/public_html/subsplus/subjects/databases.php(35): scrubData('All') #1 {main} thrown in /home1/hamcts/public_html/subsplus/control/includes/functions.php on line 475