Site Health : An active PHP session was detected

I was facing same issue.

I replaced the code

session_start();

with

if (!isset($_SESSION)) {
  session_start(['read_and_close' => true]);
}

and it worked for me.

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