{"id":285867,"date":"2005-11-22T12:13:44","date_gmt":"2005-11-22T12:13:44","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/cannot-use-stdclass\/"},"modified":"2016-08-18T20:22:58","modified_gmt":"2016-08-18T20:22:58","slug":"cannot-use-stdclass","status":"closed","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/cannot-use-stdclass\/","title":{"rendered":"Cannot use stdclass"},"content":{"rendered":"<p># id=(&#8220;|)(\\d+)\\1#i<br \/>\nFatal error: Cannot use object of type stdClass as array in D:\\server\\xampp\\htdocs\\wordpress2\\wp-includes\\functions-post.php on line 382<\/p>\n<p>I get that error when i try to publish locally on a xampp install using php5.0 and winxp when i drag and drop images. (entries without images are fine)<\/p>\n<p>A brief search showed that this problem occurred with php 5 long ago, but wp later had no problems with php5. So uh. any suggestions?<\/p>\n<p>using 2.0 beta 2.<\/p>\n","protected":false},"template":"","class_list":["post-285867","topic","type-topic","status-closed","hentry","topic-tag-stdclass"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/285867","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\/285867\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=285867"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}