{"action":"created","issue":{"url":"https://api.github.com/repos/SSilence/selfoss/issues/788","repository_url":"https://api.github.com/repos/SSilence/selfoss","labels_url":"https://api.github.com/repos/SSilence/selfoss/issues/788/labels{/name}","comments_url":"https://api.github.com/repos/SSilence/selfoss/issues/788/comments","events_url":"https://api.github.com/repos/SSilence/selfoss/issues/788/events","html_url":"https://github.com/SSilence/selfoss/issues/788","id":166769455,"number":788,"title":"Feed update returns error 500 on Ubuntu 16.04 after PHP upgrade","user":{"login":"hsanson","id":900716,"avatar_url":"https://avatars.githubusercontent.com/u/900716?v=3","gravatar_id":"","url":"https://api.github.com/users/hsanson","html_url":"https://github.com/hsanson","followers_url":"https://api.github.com/users/hsanson/followers","following_url":"https://api.github.com/users/hsanson/following{/other_user}","gists_url":"https://api.github.com/users/hsanson/gists{/gist_id}","starred_url":"https://api.github.com/users/hsanson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hsanson/subscriptions","organizations_url":"https://api.github.com/users/hsanson/orgs","repos_url":"https://api.github.com/users/hsanson/repos","events_url":"https://api.github.com/users/hsanson/events{/privacy}","received_events_url":"https://api.github.com/users/hsanson/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-07-21T08:57:14Z","updated_at":"2016-07-22T01:24:55Z","closed_at":null,"body":"I upgraded my server (apt-get upgrade) and PHP was upgraded from version  7.0.4-7ubuntu2.1 to version 7.0.8-0ubuntu0.16.04.1.\r\n\r\nAt the same time I also upgraded from selfoss 2.14 to 2.15 but then the rss update started to return error 500. I downgraded back both PHP and selfoss but the issue persist. Is there a way to reset the cache or something to fix this?\r\n\r\nThe logs show the following:\r\n\r\n```\r\n[error] 19379#19379: *48 FastCGI sent in stderr: \"PHP message: Trying to get property of non-object\" while reading response header from upstream\r\n [21/Jul/2016:03:50:10 -0500] \"GET /update HTTP/1.1\" 500 27 \"-\" \"curl/7.47.0\"\r\n```"},"comment":{"url":"https://api.github.com/repos/SSilence/selfoss/issues/comments/234430920","html_url":"https://github.com/SSilence/selfoss/issues/788#issuecomment-234430920","issue_url":"https://api.github.com/repos/SSilence/selfoss/issues/788","id":234430920,"user":{"login":"hsanson","id":900716,"avatar_url":"https://avatars.githubusercontent.com/u/900716?v=3","gravatar_id":"","url":"https://api.github.com/users/hsanson","html_url":"https://github.com/hsanson","followers_url":"https://api.github.com/users/hsanson/followers","following_url":"https://api.github.com/users/hsanson/following{/other_user}","gists_url":"https://api.github.com/users/hsanson/gists{/gist_id}","starred_url":"https://api.github.com/users/hsanson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hsanson/subscriptions","organizations_url":"https://api.github.com/users/hsanson/orgs","repos_url":"https://api.github.com/users/hsanson/repos","events_url":"https://api.github.com/users/hsanson/events{/privacy}","received_events_url":"https://api.github.com/users/hsanson/received_events","type":"User","site_admin":false},"created_at":"2016-07-22T01:24:55Z","updated_at":"2016-07-22T01:24:55Z","body":"After some research it seems that some of my feeds caused the error. After removing them now the update works correctly.\r\n\r\nI found out by running:\r\n\r\n```\r\nphp7 cliupdate.php\r\n```\r\n\r\nand looking at the logs inside the *data/logs/default.log*. There I could see the process stopping when reaching the problem feed.\r\n\r\nThe feed in question is a reddit one: \r\n\r\n```\r\nhttps://www.reddit.com/r/NHKEasyNews/\r\n```\r\n\r\nand here is the error log:\r\n\r\n```\r\n07-22-16 1:15:02 Debug ---\r\n07-22-16 1:15:02 Debug start fetching source \"NHK Easy News (id: 102) \r\n07-22-16 1:15:02 Debug spout successfully loaded: spouts\\reddit\\reddit2\r\n07-22-16 1:15:02 Debug fetch content\r\n07-22-16 1:15:02 Error Trying to get property of non-object\r\n```\r\n\r\nThe cliupdate.php script should not stop if it fails to retrieve one of the feeds."}}
{"actor":{"display_login":"hsanson"}}