WordPress PHP8.2 Critical Error in class-wp-widget.php

Seems like the theme you use (nice_hotel?) uses an extremely outdated version of registering a widget (see here). As this seems to be a premium theme, you should probably contact the themes author, but as i couldn’t find an “active” version of this theme (if it is nice_hotel: themeforest theme shows “no longer available”), you’re probably going to get into more trouble along the way. You should probably switch the theme or pay a developer to make the theme PHP8- / WordPress6-Compatible.

Happy Coding!

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