• Resolved statik37

    (@statik37)


    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

    (@t-p)

    Try scaning your site: http://sitecheck.sucuri.net/scanner/

    Thread Starter statik37

    (@statik37)

    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

    (@t-p)

    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.

    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

    (@statik37)

    Checked the error logs. Nothing.

    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)

    I over simplified the echo bit, but WordPress does call _default_wp_die_handler() which basically just outputs html.

    Thread Starter statik37

    (@statik37)

    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.

    Cool, glad you got it resolved!

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

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