{"action":"created","issue":{"url":"https://api.github.com/repos/lewiscommunications/craft-presto/issues/4","repository_url":"https://api.github.com/repos/lewiscommunications/craft-presto","labels_url":"https://api.github.com/repos/lewiscommunications/craft-presto/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/lewiscommunications/craft-presto/issues/4/comments","events_url":"https://api.github.com/repos/lewiscommunications/craft-presto/issues/4/events","html_url":"https://github.com/lewiscommunications/craft-presto/issues/4","id":275846968,"number":4,"title":"Undefined offset 1 - not breaking cache","user":{"login":"lealea","id":68698,"avatar_url":"https://avatars2.githubusercontent.com/u/68698?v=4","gravatar_id":"","url":"https://api.github.com/users/lealea","html_url":"https://github.com/lealea","followers_url":"https://api.github.com/users/lealea/followers","following_url":"https://api.github.com/users/lealea/following{/other_user}","gists_url":"https://api.github.com/users/lealea/gists{/gist_id}","starred_url":"https://api.github.com/users/lealea/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lealea/subscriptions","organizations_url":"https://api.github.com/users/lealea/orgs","repos_url":"https://api.github.com/users/lealea/repos","events_url":"https://api.github.com/users/lealea/events{/privacy}","received_events_url":"https://api.github.com/users/lealea/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2017-11-21T20:20:28Z","updated_at":"2017-11-21T22:23:08Z","closed_at":null,"author_association":"NONE","body":"Whenever I try to save an entry it gives me this error:\r\n\r\n`Undefined offset: 1\r\n`\r\nAnd specifically cites Line 120:\r\n\r\n`str_replace('home', '', $url[1])\r\n`\r\nChanging it to [0] removes the error but it doesn't break the cache.\r\n"},"comment":{"url":"https://api.github.com/repos/lewiscommunications/craft-presto/issues/comments/346180825","html_url":"https://github.com/lewiscommunications/craft-presto/issues/4#issuecomment-346180825","issue_url":"https://api.github.com/repos/lewiscommunications/craft-presto/issues/4","id":346180825,"user":{"login":"lealea","id":68698,"avatar_url":"https://avatars2.githubusercontent.com/u/68698?v=4","gravatar_id":"","url":"https://api.github.com/users/lealea","html_url":"https://github.com/lealea","followers_url":"https://api.github.com/users/lealea/followers","following_url":"https://api.github.com/users/lealea/following{/other_user}","gists_url":"https://api.github.com/users/lealea/gists{/gist_id}","starred_url":"https://api.github.com/users/lealea/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lealea/subscriptions","organizations_url":"https://api.github.com/users/lealea/orgs","repos_url":"https://api.github.com/users/lealea/repos","events_url":"https://api.github.com/users/lealea/events{/privacy}","received_events_url":"https://api.github.com/users/lealea/received_events","type":"User","site_admin":false},"created_at":"2017-11-21T22:23:08Z","updated_at":"2017-11-21T22:23:08Z","author_association":"NONE","body":"Hi @ryanbrookepayne — it worked and then it didn't. It worked in the first initial build. Then when I went back into the entry to do another edit, it had the error again. Right now I'm just testing the plugin on a staging server to see how it all works so the page has some native cache items internally. I wrapped Presto cache on the MAIN template, but stuff like the interior main nav/footer has native cache on there. But regardless, that shouldn't affect things, right? It just seems weird it would?"}}
{"actor":{"display_login":"lealea"}}