{"action":"opened","issue":{"url":"https://api.github.com/repos/humhub/humhub/issues/3393","repository_url":"https://api.github.com/repos/humhub/humhub","labels_url":"https://api.github.com/repos/humhub/humhub/issues/3393/labels{/name}","comments_url":"https://api.github.com/repos/humhub/humhub/issues/3393/comments","events_url":"https://api.github.com/repos/humhub/humhub/issues/3393/events","html_url":"https://github.com/humhub/humhub/issues/3393","id":394981036,"node_id":"MDU6SXNzdWUzOTQ5ODEwMzY=","number":3393,"title":"unserialize(): Error at offset 0 of 31677 bytes","user":{"login":"Eirkr","id":46281399,"node_id":"MDQ6VXNlcjQ2MjgxMzk5","avatar_url":"https://avatars3.githubusercontent.com/u/46281399?v=4","gravatar_id":"","url":"https://api.github.com/users/Eirkr","html_url":"https://github.com/Eirkr","followers_url":"https://api.github.com/users/Eirkr/followers","following_url":"https://api.github.com/users/Eirkr/following{/other_user}","gists_url":"https://api.github.com/users/Eirkr/gists{/gist_id}","starred_url":"https://api.github.com/users/Eirkr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Eirkr/subscriptions","organizations_url":"https://api.github.com/users/Eirkr/orgs","repos_url":"https://api.github.com/users/Eirkr/repos","events_url":"https://api.github.com/users/Eirkr/events{/privacy}","received_events_url":"https://api.github.com/users/Eirkr/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-12-31T13:31:26Z","updated_at":"2018-12-31T13:31:26Z","closed_at":null,"author_association":"NONE","body":"### What steps will reproduce the problem?\r\nWhen you access the site, it reproduces the error\r\n### What is the expected result?\r\nAccess the site normally without errors.\r\n### What do you get instead?\r\n```\r\n                      * or the dependency associated with the cached data has changed.\r\n     */\r\n    public function get($key)\r\n    {\r\n        $key = $this->buildKey($key);\r\n        $value = $this->getValue($key);\r\n        if ($value === false || $this->serializer === false) {\r\n            return $value;\r\n        } elseif ($this->serializer === null) {\r\n            **$value = unserialize($value);**\r\n        } else {\r\n            $value = call_user_func($this->serializer[1], $value);\r\n        }\r\n        if (is_array($value) && !($value[1] instanceof Dependency && $value[1]->isChanged($this))) {\r\n            return $value[0];\r\n        }\r\n \r\n        return false;\r\n```\r\n \r\n### Additional info\r\n\r\n| Q                | A\r\n| ---------------- | ---\r\n| HumHub version   | 1.3.8\r\n| PHP version      | 5.6.38\r\n| Operating system |linux\r\n\r\n![erroryii](https://user-images.githubusercontent.com/46281399/50561189-79b2f880-0cef-11e9-9ab1-b02da2797578.PNG)\r\n"}}
{"actor":{"display_login":"Eirkr"}}