{"action":"created","issue":{"url":"https://api.github.com/repos/Intervention/image/issues/427","labels_url":"https://api.github.com/repos/Intervention/image/issues/427/labels{/name}","comments_url":"https://api.github.com/repos/Intervention/image/issues/427/comments","events_url":"https://api.github.com/repos/Intervention/image/issues/427/events","html_url":"https://github.com/Intervention/image/issues/427","id":107606163,"number":427,"title":"Problem with cache: The payload is invalid","user":{"login":"Reefki","id":10998084,"avatar_url":"https://avatars.githubusercontent.com/u/10998084?v=3","gravatar_id":"","url":"https://api.github.com/users/Reefki","html_url":"https://github.com/Reefki","followers_url":"https://api.github.com/users/Reefki/followers","following_url":"https://api.github.com/users/Reefki/following{/other_user}","gists_url":"https://api.github.com/users/Reefki/gists{/gist_id}","starred_url":"https://api.github.com/users/Reefki/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Reefki/subscriptions","organizations_url":"https://api.github.com/users/Reefki/orgs","repos_url":"https://api.github.com/users/Reefki/repos","events_url":"https://api.github.com/users/Reefki/events{/privacy}","received_events_url":"https://api.github.com/users/Reefki/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-09-21T21:51:03Z","updated_at":"2015-09-22T08:24:42Z","closed_at":null,"body":"I have a problem with image cache, I'm using Laravel 5.1 and database cache driver.\r\n\r\n```\r\nDecryptException in BaseEncrypter.php line 45:\r\nThe payload is invalid.\r\n```\r\n\r\nHere is the code of my controller\r\n```\r\n$img = Image::cache(function($image) use ($path) {\r\n    return $image->make($path);\r\n}, 10, true);\r\n\r\nreturn $img->response();\r\n```\r\n\r\nFirst time visit was good, it occurs when I reload the browser.\r\n\r\nEdit: I have two images for test 7kb & 32kb PNG file, the problem is only on the 32kb file."},"comment":{"url":"https://api.github.com/repos/Intervention/image/issues/comments/142210296","html_url":"https://github.com/Intervention/image/issues/427#issuecomment-142210296","issue_url":"https://api.github.com/repos/Intervention/image/issues/427","id":142210296,"user":{"login":"olivervogel","id":884642,"avatar_url":"https://avatars.githubusercontent.com/u/884642?v=3","gravatar_id":"","url":"https://api.github.com/users/olivervogel","html_url":"https://github.com/olivervogel","followers_url":"https://api.github.com/users/olivervogel/followers","following_url":"https://api.github.com/users/olivervogel/following{/other_user}","gists_url":"https://api.github.com/users/olivervogel/gists{/gist_id}","starred_url":"https://api.github.com/users/olivervogel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/olivervogel/subscriptions","organizations_url":"https://api.github.com/users/olivervogel/orgs","repos_url":"https://api.github.com/users/olivervogel/repos","events_url":"https://api.github.com/users/olivervogel/events{/privacy}","received_events_url":"https://api.github.com/users/olivervogel/received_events","type":"User","site_admin":false},"created_at":"2015-09-22T08:24:42Z","updated_at":"2015-09-22T08:24:42Z","body":"`BaseEncrypter.php` is not part of Intervention Image or Imagecache. Maybe this is another libraries problem?"}}