Object Oriented Plugin not working

this:

add_action('wp_dashboard_setup', array( $this, 'tidy_dashboard') );

is getting added on the wp action, which is too late. Hook it to admin_init or in your constructor.

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