woocommerce blank page after clicking add to cart [closed]

After so much research I figured it that the issue is due to a custom function I was trying to hook to the product page. All this while the custom function was wrongly hooked and I corrected it now.

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