How to access OOP plugin function inside themes or other plugin

No. You always have to refer to the instance of the class.

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