{"action":"created","issue":{"url":"https://api.github.com/repos/thirtybees/thirtybees/issues/551","repository_url":"https://api.github.com/repos/thirtybees/thirtybees","labels_url":"https://api.github.com/repos/thirtybees/thirtybees/issues/551/labels{/name}","comments_url":"https://api.github.com/repos/thirtybees/thirtybees/issues/551/comments","events_url":"https://api.github.com/repos/thirtybees/thirtybees/issues/551/events","html_url":"https://github.com/thirtybees/thirtybees/issues/551","id":341832413,"node_id":"MDU6SXNzdWUzNDE4MzI0MTM=","number":551,"title":"Full page cache 'index' errors","user":{"login":"Traumflug","id":318581,"node_id":"MDQ6VXNlcjMxODU4MQ==","avatar_url":"https://avatars0.githubusercontent.com/u/318581?v=4","gravatar_id":"","url":"https://api.github.com/users/Traumflug","html_url":"https://github.com/Traumflug","followers_url":"https://api.github.com/users/Traumflug/followers","following_url":"https://api.github.com/users/Traumflug/following{/other_user}","gists_url":"https://api.github.com/users/Traumflug/gists{/gist_id}","starred_url":"https://api.github.com/users/Traumflug/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Traumflug/subscriptions","organizations_url":"https://api.github.com/users/Traumflug/orgs","repos_url":"https://api.github.com/users/Traumflug/repos","events_url":"https://api.github.com/users/Traumflug/events{/privacy}","received_events_url":"https://api.github.com/users/Traumflug/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2018-07-17T09:13:41Z","updated_at":"2018-07-19T08:32:45Z","closed_at":null,"author_association":"COLLABORATOR","body":"Steps to reproduce:\r\n\r\n- Default installation with demo products.\r\n- Back office -> Advanced Parameters -> Performance -> panel *Server Side Caching*: click on *Yes* for *Use cache*.\r\n- Back office -> Advanced Parameters -> Performance -> panel *Server Side Caching*: click on *Save*.\r\n- Back office -> Advanced Parameters -> Performance -> panel *Full Page Cache*: click on *yes* for *Use full page cache*\r\n- Back office -> Advanced Parameters -> Performance -> panel *Full Page Cache*: click on *Save*\r\n- Visit the shop front page.\r\n- Reload this page.\r\n\r\nExpected result: front page loading.\r\n\r\nActual result: Error 500 without debugging enabled, this error with debugging enabled:\r\n\r\n```\r\n[ThirtyBeesException]\r\n\r\nCannot use object of type stdClass as array\r\nat line 246 in file classes/cache/Cache.php\r\n\r\n241.      * @since 1.0.0\r\n242.      * @version 1.0.0 Initial version\r\n243.      */\r\n244.     public function get($key)\r\n245.     {\r\n246.         if (!isset($this->keys[$key])) {\r\n247.             return false;\r\n248.         }\r\n249. \r\n250.         return $this->_get($key);\r\n251.     }\r\n\r\n    CacheCore->get - [line 293 - classes/controller/Controller.php] - [1 Arguments]\r\n    ControllerCore->run - [line 837 - classes/Dispatcher.php]\r\n    DispatcherCore->dispatch - [line 33 - index.php]\r\n```\r\n\r\nKnown workaround:\r\n- Back office -> Advanced Parameters -> Performance -> panel *Full Page Cache*: hold down the Ctrl key and click on *index* in the list.\r\n- Back office -> Advanced Parameters -> Performance -> panel *Full Page Cache*: click on *Save*\r\n\r\nThis turns off full page caching for the front page, which is obviously an performance drawback, but the front page works again."},"comment":{"url":"https://api.github.com/repos/thirtybees/thirtybees/issues/comments/406198750","html_url":"https://github.com/thirtybees/thirtybees/issues/551#issuecomment-406198750","issue_url":"https://api.github.com/repos/thirtybees/thirtybees/issues/551","id":406198750,"node_id":"MDEyOklzc3VlQ29tbWVudDQwNjE5ODc1MA==","user":{"login":"dosbiner","id":6780215,"node_id":"MDQ6VXNlcjY3ODAyMTU=","avatar_url":"https://avatars1.githubusercontent.com/u/6780215?v=4","gravatar_id":"","url":"https://api.github.com/users/dosbiner","html_url":"https://github.com/dosbiner","followers_url":"https://api.github.com/users/dosbiner/followers","following_url":"https://api.github.com/users/dosbiner/following{/other_user}","gists_url":"https://api.github.com/users/dosbiner/gists{/gist_id}","starred_url":"https://api.github.com/users/dosbiner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dosbiner/subscriptions","organizations_url":"https://api.github.com/users/dosbiner/orgs","repos_url":"https://api.github.com/users/dosbiner/repos","events_url":"https://api.github.com/users/dosbiner/events{/privacy}","received_events_url":"https://api.github.com/users/dosbiner/received_events","type":"User","site_admin":false},"created_at":"2018-07-19T08:32:45Z","updated_at":"2018-07-19T08:32:45Z","author_association":"NONE","body":"I've same server configuration like that except litespeed. I can confirm native nginx and apache working fine, maybe not full compatible with litespeed?"}}
{"actor":{"display_login":"dosbiner"}}