Plugin won’t activate, fatal error (widget class not found)

You should not need to instantiate the widget class at the top of your code, because of the register_widget function hooked from your main class does that work for you.

EDIT: WordPress already instantiates your class.

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