{"action":"created","issue":{"url":"https://api.github.com/repos/GordonLesti/Lesti_Fpc/issues/332","repository_url":"https://api.github.com/repos/GordonLesti/Lesti_Fpc","labels_url":"https://api.github.com/repos/GordonLesti/Lesti_Fpc/issues/332/labels{/name}","comments_url":"https://api.github.com/repos/GordonLesti/Lesti_Fpc/issues/332/comments","events_url":"https://api.github.com/repos/GordonLesti/Lesti_Fpc/issues/332/events","html_url":"https://github.com/GordonLesti/Lesti_Fpc/issues/332","id":369813064,"node_id":"MDU6SXNzdWUzNjk4MTMwNjQ=","number":332,"title":"error 500 lesti fpc update to 1.4.8","user":{"login":"mbensoussan","id":4561087,"node_id":"MDQ6VXNlcjQ1NjEwODc=","avatar_url":"https://avatars0.githubusercontent.com/u/4561087?v=4","gravatar_id":"","url":"https://api.github.com/users/mbensoussan","html_url":"https://github.com/mbensoussan","followers_url":"https://api.github.com/users/mbensoussan/followers","following_url":"https://api.github.com/users/mbensoussan/following{/other_user}","gists_url":"https://api.github.com/users/mbensoussan/gists{/gist_id}","starred_url":"https://api.github.com/users/mbensoussan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mbensoussan/subscriptions","organizations_url":"https://api.github.com/users/mbensoussan/orgs","repos_url":"https://api.github.com/users/mbensoussan/repos","events_url":"https://api.github.com/users/mbensoussan/events{/privacy}","received_events_url":"https://api.github.com/users/mbensoussan/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-10-13T15:35:00Z","updated_at":"2018-10-14T06:56:46Z","closed_at":null,"author_association":"NONE","body":"Hi, \r\nafter a big update : \r\n\r\nmagento version 1.9.3.10\r\nphp : 7.2.11\r\nlesti_fpc : 1.4.8\r\n\r\nwhen i turn on lesti_fpc in the cache management, all my website show me an error 500.\r\n\r\n\r\nyou can see the erro bellow, if you have an idea...\r\n\r\n\r\nFatal error: Uncaught Error: Call to undefined method Lesti_Fpc_Helper_Data::getContentType() in\r\n/var/www/clients/client1/web1/web/magento/app/code/community/Lesti/Fpc/Model/Observer.php:137 Stack trace:\r\n#0 /var/www/clients/client1/web1/web/magento/app/code/core/Mage/Core/Model/App.php(1358): Lesti_Fpc_Model_Observer->httpResponseSendBefore(Object(Varien_Event_Observer))\r\n#1 /var/www/clients/client1/web1/web/magento/app/code/core/Mage/Core/Model/App.php(1337): Mage_Core_Model_App->_callObserverMethod(Object(Lesti_Fpc_Model_Observer), 'httpResponseSen...', Object(Varien_Event_Observer)) #2 /var/www/clients/client1/web1/web/magento/app/Mage.php(451): Mage_Core_Model_App->dispatchEvent('http_response_s...', Array) \r\n#3 /var/www/clients/client1/web1/web/magento/app/code/core/Mage/Core/Controller/Response/Http.php(83): Mage::dispatchEvent('http_response_s...', Array)\r\n#4 /var/www/clients/client1/web1/web/magento/app/code/core/Mage/Core/Controller/Varien/Front.php(184): Mage_Core_Controller_Response_Http->sendResponse()\r\n#5 /var/www in /var/www/clients/client1/web1/web/magento/app/code/community/Lesti/Fpc/Model/Observer.php on line 137"},"comment":{"url":"https://api.github.com/repos/GordonLesti/Lesti_Fpc/issues/comments/429601633","html_url":"https://github.com/GordonLesti/Lesti_Fpc/issues/332#issuecomment-429601633","issue_url":"https://api.github.com/repos/GordonLesti/Lesti_Fpc/issues/332","id":429601633,"node_id":"MDEyOklzc3VlQ29tbWVudDQyOTYwMTYzMw==","user":{"login":"mbensoussan","id":4561087,"node_id":"MDQ6VXNlcjQ1NjEwODc=","avatar_url":"https://avatars0.githubusercontent.com/u/4561087?v=4","gravatar_id":"","url":"https://api.github.com/users/mbensoussan","html_url":"https://github.com/mbensoussan","followers_url":"https://api.github.com/users/mbensoussan/followers","following_url":"https://api.github.com/users/mbensoussan/following{/other_user}","gists_url":"https://api.github.com/users/mbensoussan/gists{/gist_id}","starred_url":"https://api.github.com/users/mbensoussan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mbensoussan/subscriptions","organizations_url":"https://api.github.com/users/mbensoussan/orgs","repos_url":"https://api.github.com/users/mbensoussan/repos","events_url":"https://api.github.com/users/mbensoussan/events{/privacy}","received_events_url":"https://api.github.com/users/mbensoussan/received_events","type":"User","site_admin":false},"created_at":"2018-10-14T06:56:46Z","updated_at":"2018-10-14T06:56:46Z","author_association":"NONE","body":"yes i confirm all the files are the same,,\r\nIf i comment the lane bellow (observer line 137), the website work again \r\n\r\n                /*$this->_getFpc()->save(\r\n                    new Lesti_Fpc_Model_Fpc_CacheItem($body, time(), Mage::helper('fpc')->getContentType($response)),\r\n                    $key,\r\n                    $this->_cacheTags\r\n                );*/\r\n\r\ni continu my investigation... but for the moment i don't understand."}}
{"actor":{"display_login":"mbensoussan"}}