WordPress Multisite – get_plugin_data()

The problem is the value inside the var $plugin. The function get_plugin_data will use the completed path, like /var/www/wp/wp-content/plugins/akismet/akismet.php.

Add the path before your plugin-folder and it works. I think you can use the constant WP_PLUGIN_DIR.

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