Call do_action class’s function

No, you can’t.

add_action( 'hook', array( [class], "method_name" ) ); is the right way to use a method as callback. Read about how to use methods as callback in the codex.

If you want to use a static method as callback, do it in this way:

add_action( 'hook', array( "ClassName", "method_name" ) );

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