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 a member function prepare() on null in /home1/hamcts/public_html/subsplus/subjects/guide.php:64 Stack trace: #0 {main} thrown in /home1/hamcts/public_html/subsplus/subjects/guide.php on line 64