Error /wp-json/wp/v2/posts/ [closed]

I reverted back to PHP 7.4 and that fixed the issue…

now need to work with my developer on successfully upgrading to 8.0

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