{"id":9575366,"date":"2017-10-11T04:34:57","date_gmt":"2017-10-11T04:34:57","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/shortcode-error-object-stdclass-to-array-error\/"},"modified":"2017-10-11T04:34:57","modified_gmt":"2017-10-11T04:34:57","slug":"shortcode-error-object-stdclass-to-array-error","status":"publish","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/shortcode-error-object-stdclass-to-array-error\/","title":{"rendered":"Shortcode error &gt; Object stdClass to Array error"},"content":{"rendered":"<p>We encountered a Fatal error on three websites.<br \/>\nIt appears that the Facebook data is now being sent as an object rather than as an array.<br \/>\nWe have corrected the issue in our limited scenario by performing a find\/replace for the bracket notation string &#8216;[0]-&gt;&#8217; to &#8216;-&gt;&#8217;<br \/>\nfilepath: \/facebook-feed\/facebook-feed-shortcode.php<br \/>\nThis hack has corrected the issue for us &#8211; however we only use the one identical shortcode in all instances.<\/p>\n","protected":false},"template":"","class_list":["post-9575366","topic","type-topic","status-publish","hentry","topic-tag-fatal-error","topic-tag-shortcode","topic-tag-stdclass"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/9575366","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":0,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/9575366\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=9575366"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}