kevinberben Posted November 25, 2017 Share Posted November 25, 2017 Hi all, I got a lot of errors "eval()'d code on line 196" in smarty, on my website. Any idea? I'm searching in a lot of topics without finding the solution. My Presta is 1.6. [Sat Nov 25 13:41:11.225949 2017] [:error] [pid 9015:tid 139865215665920] [client 217.182.132.22:46452] FastCGI: server "/home/clients/0e92a284cc2f72d4c65f0ef91cf33c87/.config/apache/malumiereled.be/.fpm/php5.external" stderr: PHP message: PHP Notice: Trying to get property of non-object in /home/clients/0e92a284cc2f72d4c65f0ef91cf33c87/web/tools/smarty/sysplugins/smarty_internal_templatebase.php(157) : eval()'d code on line 196 [Sat Nov 25 13:41:11.225942 2017] [:error] [pid 9015:tid 139865215665920] [client 217.182.132.22:46452] FastCGI: server "/home/clients/0e92a284cc2f72d4c65f0ef91cf33c87/.config/apache/malumiereled.be/.fpm/php5.external" stderr: PHP message: PHP Notice: Trying to get property of non-object in /home/clients/0e92a284cc2f72d4c65f0ef91cf33c87/web/tools/smarty/sysplugins/smarty_internal_templatebase.php(157) : eval()'d code on line 193 [Sat Nov 25 13:41:11.225892 2017] [:error] [pid 9015:tid 139865215665920] [client 217.182.132.22:46452] FastCGI: server "/home/clients/0e92a284cc2f72d4c65f0ef91cf33c87/.config/apache/malumiereled.be/.fpm/php5.external" stderr: PHP message: PHP Notice: Trying to get property of non-object in /home/clients/0e92a284cc2f72d4c65f0ef91cf33c87/web/tools/smarty/sysplugins/smarty_internal_templatebase.php(157) : eval()'d code on line 189 [Sat Nov 25 13:32:20.859220 2017] [:error] [pid 9015:tid 139865266022144] [client 66.249.76.127:59501] FastCGI: server "/home/clients/0e92a284cc2f72d4c65f0ef91cf33c87/.config/apache/malumiereled.be/.fpm/php5.external" stderr: PHP message: PHP Notice: Trying to get property of non-object in /home/clients/0e92a284cc2f72d4c65f0ef91cf33c87/web/tools/smarty/sysplugins/smarty_internal_templatebase.php(157) : eval()'d code on line 196 [Sat Nov 25 13:32:20.859212 2017] [:error] [pid 9015:tid 139865266022144] [client 66.249.76.127:59501] FastCGI: server "/home/clients/0e92a284cc2f72d4c65f0ef91cf33c87/.config/apache/malumiereled.be/.fpm/php5.external" stderr: PHP message: PHP Notice: Trying to get property of non-object in /home/clients/0e92a284cc2f72d4c65f0ef91cf33c87/web/tools/smarty/sysplugins/smarty_internal_templatebase.php(157) : eval()'d code on line 193 Link to comment Share on other sites More sharing options...
zod Posted January 26, 2018 Share Posted January 26, 2018 Hi, i had the same problem after upgrade of Prestashop. I solved cleaning the CACHE of Smarty in FTP, and then you need to go in "Performace" and disable all CCC switches, then you reload, and you can enable them all again. This let Smarty to rebuild the cache in the good way. Link to comment Share on other sites More sharing options...
ozseals_sonny Posted February 19, 2019 Share Posted February 19, 2019 On 1/26/2018 at 8:45 PM, zod said: Hi, i had the same problem after upgrade of Prestashop. I solved cleaning the CACHE of Smarty in FTP, and then you need to go in "Performace" and disable all CCC switches, then you reload, and you can enable them all again. This let Smarty to rebuild the cache in the good way. Hi ZOd, I had the same problem, could you show me how can i go to "Performace" and disable all CCC switches. Thanks. Link to comment Share on other sites More sharing options...
zod Posted February 20, 2019 Share Posted February 20, 2019 Hello, mind that these instructions are for Prestashop 1.6, i am not sure if this apply to 1.7 also. Performance is under "Advanced parameters" menu. Here below there is a screenshot, i have italian version. Link to comment Share on other sites More sharing options...
ozseals_sonny Posted February 21, 2019 Share Posted February 21, 2019 Thanks Zod, I fixed this issue. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now