{"action":"opened","issue":{"url":"https://api.github.com/repos/pods-framework/pods/issues/2816","labels_url":"https://api.github.com/repos/pods-framework/pods/issues/2816/labels{/name}","comments_url":"https://api.github.com/repos/pods-framework/pods/issues/2816/comments","events_url":"https://api.github.com/repos/pods-framework/pods/issues/2816/events","html_url":"https://github.com/pods-framework/pods/issues/2816","id":65712387,"number":2816,"title":"How to code '$pod->fetch()' for \"Fatal error: Can't use method return value in write context in ...\"","user":{"login":"cannect","id":939500,"avatar_url":"https://avatars.githubusercontent.com/u/939500?v=3","gravatar_id":"","url":"https://api.github.com/users/cannect","html_url":"https://github.com/cannect","followers_url":"https://api.github.com/users/cannect/followers","following_url":"https://api.github.com/users/cannect/following{/other_user}","gists_url":"https://api.github.com/users/cannect/gists{/gist_id}","starred_url":"https://api.github.com/users/cannect/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cannect/subscriptions","organizations_url":"https://api.github.com/users/cannect/orgs","repos_url":"https://api.github.com/users/cannect/repos","events_url":"https://api.github.com/users/cannect/events{/privacy}","received_events_url":"https://api.github.com/users/cannect/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-04-01T15:31:07Z","updated_at":"2015-04-01T15:31:07Z","closed_at":null,"body":"Hi,\r\n\r\nI came across a strange error today. I usually do something like:\r\n\r\n```\r\n$pod = pods('pod');\r\n// etc\r\n\r\n// Then:\r\n\r\nwhile($pod->fetch()){\r\n// do stuff here\r\n}\r\n```\r\n\r\nHowever now I get this error: `Fatal error: Can't use method return value in write context in ...` If I look around (http://stackoverflow.com/questions/1075534/cant-use-method-return-value-in-write-context), it is caused by that PHP cannot handle the reference value.\r\n\r\nNow I am on a cPanel environment which I manage. Can I change something in PHP to overcome this error?"}}