Title: Unexpected Error
Last modified: August 21, 2016

---

# Unexpected Error

 *  Resolved [statik37](https://wordpress.org/support/users/statik37/)
 * (@statik37)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/unexpected-error-9/)
 * Hi everyone,
 * I just installed WordPress. Everything works, except every time I try to search
   for new themes or plugins I get the 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.
 * I tried installing it once manually, and when that didn’t work, I tried to do
   the quick install through my hosting cpanel. (I’m using Hostgator).
 * Any help on what to do next would be awesome.
 * My site is statikprod.com

Viewing 9 replies - 1 through 9 (of 9 total)

 *  Moderator [t-p](https://wordpress.org/support/users/t-p/)
 * (@t-p)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/unexpected-error-9/#post-4221443)
 * Try scaning your site: [http://sitecheck.sucuri.net/scanner/](http://sitecheck.sucuri.net/scanner/)
 *  Thread Starter [statik37](https://wordpress.org/support/users/statik37/)
 * (@statik37)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/unexpected-error-9/#post-4221446)
 * Scanned. Everything is fine. I just installed it, so I don’t think there is enough
   time for malware to get in.
 *  Moderator [t-p](https://wordpress.org/support/users/t-p/)
 * (@t-p)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/unexpected-error-9/#post-4221448)
 * > Scanned. Everything is fine.
 * That’s good!
 * – Check the error logs on your server for a more specific error message. If you
   need help locating them, ask your hosting provider to help you with that.
 *  [Scriptrunner (Doug Sparling)](https://wordpress.org/support/users/scriptrunner/)
 * (@scriptrunner)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/unexpected-error-9/#post-4221451)
 * > 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
 * This often means that your host is not allowing outbound connections. Sometimes
   you can turn that on through cPanel. Your host would know.
 *  Thread Starter [statik37](https://wordpress.org/support/users/statik37/)
 * (@statik37)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/unexpected-error-9/#post-4221452)
 * Checked the error logs. Nothing.
 *  [Scriptrunner (Doug Sparling)](https://wordpress.org/support/users/scriptrunner/)
 * (@scriptrunner)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/unexpected-error-9/#post-4221453)
 * If this a case of the host not allowing outbound requests from the server, this
   will not show in the error log. WordPress handles it with the WP_Error class 
   and simply does an echo to the browser with the error message. I don’t believe
   it goes into any log. (server error log or WordPress debug log)
 *  [Scriptrunner (Doug Sparling)](https://wordpress.org/support/users/scriptrunner/)
 * (@scriptrunner)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/unexpected-error-9/#post-4221474)
 * I over simplified the echo bit, but WordPress does call `_default_wp_die_handler()`
   which basically just outputs html.
 *  Thread Starter [statik37](https://wordpress.org/support/users/statik37/)
 * (@statik37)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/unexpected-error-9/#post-4221532)
 * It’s all set. Apparently there was a setting on the server side that needed to
   be fixed. I don’t know what it was, I contacted them and they fixed it for me.
 * Thanks everyone for all the help.
 *  [Scriptrunner (Doug Sparling)](https://wordpress.org/support/users/scriptrunner/)
 * (@scriptrunner)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/unexpected-error-9/#post-4221562)
 * Cool, glad you got it resolved!

Viewing 9 replies - 1 through 9 (of 9 total)

The topic ‘Unexpected Error’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 9 replies
 * 3 participants
 * Last reply from: [Scriptrunner (Doug Sparling)](https://wordpress.org/support/users/scriptrunner/)
 * Last activity: [12 years, 7 months ago](https://wordpress.org/support/topic/unexpected-error-9/#post-4221562)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
