{"comment":{"created_at":"2011-10-21T05:53:12Z","body":"It's because in the latest version of the apachesolr the result object returned from solr is a simple stdObj. In earlier versions it was a custom object. The solr_resource have yet to be updated to work with this new \"feature\".\r\n\r\nAs always, patches welcome! ;)","updated_at":"2011-10-21T05:53:12Z","url":"https://api.github.com/repos/hugowetterberg/solr_resource/issues/comments/2478003","id":2478003,"user":{"avatar_url":"https://secure.gravatar.com/avatar/a10794ae4cb020c1ecf1781fec7e99c2?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"a10794ae4cb020c1ecf1781fec7e99c2","url":"https://api.github.com/users/simme","id":95989,"login":"simme"}},"action":"created","issue":{"number":1,"created_at":"2011-10-20T22:43:22Z","pull_request":{"diff_url":null,"patch_url":null,"html_url":null},"body":"I did the following service call:\r\n\r\nGET http://www.example.com/rest_api/solr/?query=example\r\n\r\nI get this error returned:\r\n\r\n<code>\r\n<.br />\r\n<.b>Fatal error</b>:  Call to undefined method stdClass::getFieldNames() in <.b>/var/www/drupal/sites/all/modules/solr_resource/SolrResource.php<./b> on line <.b>67</b><.br />\r\n</code>\r\n\r\n(note: I added the \".\"s because I don't know how to include markup here)","comments":1,"title":"Error trying to reach service","updated_at":"2011-10-21T05:53:12Z","url":"https://api.github.com/repos/hugowetterberg/solr_resource/issues/1","id":2010492,"assignee":null,"milestone":null,"closed_at":null,"user":{"avatar_url":"https://secure.gravatar.com/avatar/d449a508a9f5ae9e795f3747f818b94f?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"d449a508a9f5ae9e795f3747f818b94f","url":"https://api.github.com/users/SandCube","id":458925,"login":"SandCube"},"html_url":"https://github.com/hugowetterberg/solr_resource/issues/1","labels":[],"state":"open"},"legacy":{"issue_id":2010492,"comment_id":2478003}}