Accidentally deleted php code in WordPress website [closed]

You can replace the broken functions.php file, recovering it from the original theme package.

From the namespace of your error message I can guess that the theme you are using could be this:

https://wordpress.org/themes/catch-box

Right?
I hope it helps.

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)