www.allfree-stuff.com


Thursday, November 14, 2013

Wordpress Plug-in Search Error : An unexpected error occurred.Something may be wrong with WordPress


When I was going to search and install a new Plug-in in Wordpress admin panel. Following error comes

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.

Try again



SOLUTION :

If the problem is happening when you search plugins or themes its probably because your connected to a proxy and you need to configure it on your wp-config.php


/** EXAMPLE - proxy settings */
define('WP_PROXY_HOST', 'proxy.url.com');
define('WP_PROXY_PORT', '1234');
define('WP_PROXY_USERNAME', '');
define('WP_PROXY_PASSWORD', '');
define('WP_PROXY_BYPASS_HOSTS', 'localhost');