$before/after_widget/title not displaying anything

I finally figured it out – I was missing the line extract($args); inside function widget($args, $instance). Now everything works as expected.

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