{"id":11619962,"date":"2019-06-09T11:44:49","date_gmt":"2019-06-09T11:44:49","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/error-520-3\/"},"modified":"2019-06-09T14:28:39","modified_gmt":"2019-06-09T14:28:39","slug":"error-520-3","status":"publish","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/error-520-3\/","title":{"rendered":"Error 520"},"content":{"rendered":"<p>Hello,<\/p>\n<p>I initially posted this under the Autoptimize page but after discussing I think the topic may be of your interest, and it would be fantastic if you guys could help me out with this one:<\/p>\n<blockquote><p>Hello everyone, it is my first time posting so I hope I am in the right section and I am asking the right questions.<\/p>\n<p>Since this morning i have been experiencing an Error 520 on my website and this is what the log says:<\/p>\n<p><code>[09-Jun-2019 09:27:28 UTC] PHP Notice:  Undefined variable: inlined_ccss_block in \/web\/htdocs\/www.aliceceramica.com\/home\/wp-content\/plugins\/autoptimize\/classes\/autoptimizeStyles.php on line 885<\/code><\/p>\n<p>I am not too experienced and tried both to deactivate Autoptimize (which I assume is causing this issue) and restoring the whole Autoptimize folder from a weekly backup.<\/p>\n<p>Would you know how to get out of this situation?<\/p>\n<p>Thank you<\/p><\/blockquote>\n<p>&#8212;<\/p>\n<p>This is a link to the discussion: https:\/\/wordpress.org\/support\/topic\/error-520-2\/#post-11619956<\/p>\n<p>And this the last error I got after removing <code>define(&#039;WP_CACHE&#039;, true);<\/code> from the wp-config:<\/p>\n<p><code>[09-Jun-2019 11:32:10 UTC] PHP Warning: strpos(): Empty needle in \/web\/htdocs\/www.aliceceramica.com\/home\/wp-includes\/plugin.php on line 658<\/code><\/p>\n<p>Since that error I had no other error recorded in my log. Now everything is clean but I still get the 520 error. Odd!<\/p>\n<p>Thank you for your help!<\/p>\n","protected":false},"template":"","class_list":["post-11619962","topic","type-topic","status-publish","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/11619962","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":2,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/11619962\/revisions"}],"predecessor-version":[{"id":11619976,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/11619962\/revisions\/11619976"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=11619962"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}