Include a php file from another plugin

Including a PHP file requires to provide its exact file path, not the URL.

Try this instead:

include_once( WP_PLUGIN_DIR . '/plugin-name/classes/event.php' );

Hope it helps.

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