Support » Fixing WordPress » Warning: An unexpected error occurred.

  • Hello hopefully someone has had this issue before and can advise me on how to resolve it, the multiple errors i get are below within the “” these occur when i attempt to update any plugins, it states the update was successful then disables maintenance mode successfully then after the errors appear below. As well as when i go to install new plugins it does not show any to install only : “An unexpected error occurred. Something may be wrong with WordPress.org or this server’s configuration.”

    errors displayed below the message maintenance mode disabled after a plugin update:
    “Warning: 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. (WordPress could not establish a secure connection to WordPress.org. Please contact your server administrator.) in /home/parksquareco/public_html/wp-includes/update.php on line 530

    Warning: 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. (WordPress could not establish a secure connection to WordPress.org. Please contact your server administrator.) in /home/parksquareco/public_html/wp-includes/update.php on line 348

    Warning: 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. (WordPress could not establish a secure connection to WordPress.org. Please contact your server administrator.) in /home/parksquareco/public_html/wp-includes/update.php on line 530

    Warning: 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. (WordPress could not establish a secure connection to WordPress.org. Please contact your server administrator.) in /home/parksquareco/public_html/wp-includes/update.php on line 348

    Warning: 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. (WordPress could not establish a secure connection to WordPress.org. Please contact your server administrator.) in /home/parksquareco/public_html/wp-includes/update.php on line 530
    All updates have been completed.”

Viewing 1 replies (of 1 total)
  • After spending more time in this please implement below changes.

    wp-config.php

    Make sure this flag is false if it’s true update couldn’t be happen

    define('WP_HTTP_BLOCK_EXTERNAL', false);

Viewing 1 replies (of 1 total)
  • The topic ‘Warning: An unexpected error occurred.’ is closed to new replies.