Support » Fixing WordPress » “An unexpected error occurred. Something may be wrong with”

  • Hi, I am getting the error “An unexpected error occurred. Something may be wrong with or this server’s configuration” and similar errors on the plugins, themes and updates pages admin.

    The site is working fine, but the consequence I can see with this error is that I can’t update the site automatically from admin, nor search and install plugins quickly as needed. So would like to fix this if I can. This is only a recent development (I had no problems a week ago)

    I have searched these forums, but not yet found a solution or a series of debugging steps I can take to figure it out.

    I am using an AWS EC2 instance
    AVADA theme
    The only plugin that I can think of (which I have deactivated/activated to test) that might be playing with some caching type settings includes “W3 Total Cache” and have flushed everything there.

    I have tried deactivating all themes and plugins as well.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi

    This seems to be a generic error, I don’t know what it means, but if I had to fix I would search in the PHP code where this message is displayed and call to debug_print_backtrace() to check the backtrack and find the function, class, file… that fails.

    If you can access to SSH console try

    find . -name '*.php' -exec grep -l 'Something may be wrong with' {} \;

    Hope it helps

    Thanks Luis,

    The error is the same as this ( Given it occurs on the pages where wordpress tries to phone home (i.e. contact wordpress to be able to search teh list of plugins/themes), it seems to be a problem with outgoing HTTP connections on my server. Given I’m on AWS, I thought it might have something to do with my security groups.. but I have outgoing ports set up as expected (TCP port 80)

    • This reply was modified 1 year, 4 months ago by  shoopiable. Reason: just being clearer
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘“An unexpected error occurred. Something may be wrong with”’ is closed to new replies.