WordPress loop causing timeout errors (maximum execution time of 30 seconds exceeded)

Yep the issue was what Milo mentioned, that I didn’t have the_post inside the loop so the loop was running infinitely.

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