searchform.php override not working

This way of working with widgets is outdated and I should be using Gutenberg blocks. Moral of the story, be careful when buying courses from Udemy, they may just be useless.

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