Which is recommended to learn first: classic themes or block themes?

I’d suggest starting with classic themes, especially the Loop and the template hierarchy. That’ll give you a solid foundation of how WP has worked for most of its history. Once you’ve done that, you can bolt block themes on top of your existing sound base of knowledge the same way they were bolted on top of WP.

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