Hello! I’m having a problem to add a new plugin to my site. Why do I keep getting an error: An unexpected error occurred. Something may be wrong with WordPress.org or this server’s configuration. If you continue to have problems, please try the support forums. How can I fix this?
Hope the solution in this link helps
Add above line in your