krzysiekkcn Posted July 12, 2013 Share Posted July 12, 2013 Hey I have a lot of 500 errors when cache is enabled. I read about it, and everyone tells me to disable Tools:cache < and similar lines in categoryblock.php (The problem is that I dont have this lines). My log (just this two errors): 11.07.2013 15:43:20 PHP5321 phufox GET ............../index.php PHP Fatal error: Function name must be a string in /tools/smarty/sysplugins/smarty_internal_templatebase.php on line 281 11.07.2013 15:43:01 PHP5321 phufox GET ........../index.php PHP Warning: array_shift() expects parameter 1 to be array, boolean given in /modules/productcomments/ProductComment.php on line 131 Link to comment Share on other sites More sharing options...
vekia Posted July 13, 2013 Share Posted July 13, 2013 can you paste the url to these threads? they probably talked about $this->isCached() & $this->getCacheId() functions Link to comment Share on other sites More sharing options...
krzysiekkcn Posted July 13, 2013 Author Share Posted July 13, 2013 http://forge.prestashop.com/browse/PSCFV-4188?page=com.atlassian.streams.streams-jira-plugin%3Aactivity-stream-issue-tab In blockcategories.php, i comment line : Tools::enableCache(), Tools::restoreCacheSettings() and Tools::restoreCacheSettings().I hope i help you to find the solution.ope i help you to find the solution. Link to comment Share on other sites More sharing options...
Recommended Posts