Action Links in Class located in Subdirectory of Plugin

I’d like to thank @Milo for the answer. The issue was the $basename and dirname() helps locate the correct directory.

$basename =  plugin_basename( plugin_dir_path( dirname( dirname( dirname( __FILE__) ) ) ) . $this->plugin_slug . '.php' );

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