{"id":8802,"date":"2014-11-11T15:26:53","date_gmt":"2014-11-11T15:26:53","guid":{"rendered":"https:\/\/wp.okra.host\/article\/warning-an-unexpected-error-occurred\/"},"modified":"2021-03-07T14:51:58","modified_gmt":"2021-03-07T13:51:58","slug":"warning-an-unexpected-error-occurred","status":"publish","type":"ht_kb","link":"https:\/\/kb.okra.host\/de\/article\/warning-an-unexpected-error-occurred\/","title":{"rendered":"Warning: An unexpected error occurred."},"content":{"rendered":"<h2 id=\"overview\" >\u00dcbersicht<\/h2>\n<p>When attempting to install a plugin or update WordPress, the process\u00a0will complete successfully with the following message:<\/p>\n<pre>Warning: An unexpected error occurred. Something may be wrong with WordPress.org or this server\u2019s 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\/virtual\/...\/wp-includes\/update.php on line 119<\/pre>\n<h2 id=\"cause\" >Ursache<\/h2>\n<p>Older <a title=\"Ermitteln der Plattformversion\" href=\"https:\/\/kb.okra.host\/de\/platform\/determining-platform-version\/\">hosting\u00a0platforms<\/a> (v4)\u00a0do not support validating SHA256\u00a0certificates.<\/p>\n<h2 id=\"solution\" >L\u00f6sung<\/h2>\n<p>Request an automatic <a title=\"Migrieren auf einen anderen Server\" href=\"https:\/\/kb.okra.host\/de\/platform\/migrating-another-server\/\">server migration<\/a> to a newer platform that supports SHA256 certificate validation, along with a slew of other improvements. This can be done within the <a title=\"Anmeldung am Bedienfeld\" href=\"https:\/\/kb.okra.host\/de\/control-panel\/logging-into-the-control-panel\/\">Bedienfeld<\/a> unter\u00a0<strong>Help<\/strong> &gt;\u00a0<strong>Trouble Tickets<\/strong>.<\/p>\n<h3 id=\"discouraged-quick-fix\" >Discouraged\u00a0Quick fix<\/h3>\n<p style=\"text-align: left\">As a quick fix, if you are, for whatever reason, unable to migrate to a newer platform with secure software, the following <a href=\"https:\/\/codex.wordpress.org\/Plugin_API\">filter<\/a> may be added to <code>wp-konfiguration.php<\/code> at the end of the configuration. This will disable all SSL verification, which potentially leaves you vulnerable to a <a href=\"https:\/\/en.wikipedia.org\/wiki\/Man-in-the-middle_attack\">man-in-the-middle<\/a> attack:<\/p>\n<pre class=\"default prettyprint prettyprinted\"><code><span class=\"pln\">add_filter<\/span><span class=\"pun\">(<\/span> <span class=\"str\">'https_ssl_verify'<\/span><span class=\"pun\">,<\/span> <span class=\"str\">'__return_false'<\/span> <span class=\"pun\">);<\/span><\/code><\/pre>","protected":false},"excerpt":{"rendered":"<p>Overview When attempting to install a plugin or update WordPress, the process\u00a0will complete successfully with the following message: Warning: An unexpected error occurred. Something may be wrong with WordPress.org or this server\u2019s configuration. If you continue to have problems, please try the support forums. (WordPress could not establish a secure&#8230;<\/p>","protected":false},"author":1,"comment_status":"open","ping_status":"closed","template":"","format":"standard","meta":{"footnotes":""},"ht-kb-category":[69],"ht-kb-tag":[],"class_list":["post-8802","ht_kb","type-ht_kb","status-publish","format-standard","hentry","ht_kb_category-wordpress"],"_links":{"self":[{"href":"https:\/\/kb.okra.host\/de\/wp-json\/wp\/v2\/ht-kb\/8802","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/kb.okra.host\/de\/wp-json\/wp\/v2\/ht-kb"}],"about":[{"href":"https:\/\/kb.okra.host\/de\/wp-json\/wp\/v2\/types\/ht_kb"}],"author":[{"embeddable":true,"href":"https:\/\/kb.okra.host\/de\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/kb.okra.host\/de\/wp-json\/wp\/v2\/comments?post=8802"}],"version-history":[{"count":1,"href":"https:\/\/kb.okra.host\/de\/wp-json\/wp\/v2\/ht-kb\/8802\/revisions"}],"predecessor-version":[{"id":8803,"href":"https:\/\/kb.okra.host\/de\/wp-json\/wp\/v2\/ht-kb\/8802\/revisions\/8803"}],"wp:attachment":[{"href":"https:\/\/kb.okra.host\/de\/wp-json\/wp\/v2\/media?parent=8802"}],"wp:term":[{"taxonomy":"ht_kb_category","embeddable":true,"href":"https:\/\/kb.okra.host\/de\/wp-json\/wp\/v2\/ht-kb-category?post=8802"},{"taxonomy":"ht_kb_tag","embeddable":true,"href":"https:\/\/kb.okra.host\/de\/wp-json\/wp\/v2\/ht-kb-tag?post=8802"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}