Q: Why can’t I add plugins in WordPress?
A: The following code was added to wp-config.php file that disables file editing and uploading.
define('DISALLOW_FILE_EDIT', true);
define('DISALLOW_FILE_MODS', true);
Simply remove these files from the wp-config.php file and then refresh the wp-admin page.
Sorry, already voted man..