Jump to content

Fatal error: Uncaught --> Smarty: 0():Missing '$template' parameter

Recommended Posts



I have many problems with Prestashop and later versions. I am a newbie.

When adding a product to my cart, the page refresh does not work, and the cart seems to be empty. However, it can be seen that the product has actually been added because when the page is refreshed, the basket shows the product.

The updates worked correctly before, but I can not tell at which version of Prestashop or PHP the problem started to occur. I noticed the problem during the update to version 1.7.6 because products could not be added AT ALL to the cart, and the quick overview did not work either. I went back to version 17.5.1, but the problem persisted. I also downgraded the PHP version, but the update did not work. Being a beginner with Prestashop, I prefer asking for help from more experienced people before creating fatal damage.

I also tried disabling the non-Prestashop modules (there are only a few), but that did not change the situation.  I do not have the Google Analytics module (I think).
On the server side, I see that there are fatal errors (do not know if they are related to the problems describe here above):

[Mon Sep 02 15:37:21.646720 2019] [:error] [pid 22486:tid 140576520455936] [client] FastCGI: server "/home/clients/2cde88c67225b49fd374cca32627110c/.config/apache/86avenue.ch/.fpm/php5.external" stderr: PHP message: PHP Fatal error: Uncaught --> Smarty: 0():Missing '$template' parameter <-- , referer: https://86avenue.ch/e-commerce/fr/accueil/46-full-spectrum-hempextract-2400.html
[Mon Sep 02 15:37:04.140453 2019] [:error] [pid 22486:tid 140576292796160] [client] FastCGI: server "/home/clients/2cde88c67225b49fd374cca32627110c/.config/apache/86avenue.ch/.fpm/php5.external" stderr: PHP message: PHP Fatal error: require(): Failed opening required '/home/clients/2cde88c67225b49fd374cca32627110c/web/e-commerce/var/cache/prod/ContainerL60xcc1/getPrestashop_AccessDenied_ListenerService.php' (include_path='/home/clients/2cde88c67225b49fd374cca32627110c/web/e-commerce/vendor/pear/pear_exception:/home/clients/2cde88c67225b49fd374cca32627110c/web/e-commerce/vendor/pear/console_getopt:/home/clients/2cde88c67225b49fd374cca32627110c/web/e-commerce/vendor/pear/pear-core-minimal/src:/home/clients/2cde88c67225b49fd374cca32627110c/web/e-commerce/vendor/pear/archive_tar:.:/opt/php7.2/lib/php') in /home/clients/2cde88c67225b49fd374cca32627110c/web/e-commerce/var/cache/prod/ContainerL60xcc1/appProdProjectContainer.php on line 1151, referer: https://86avenue.ch/e-commerce/cgqagiht3gmeb4oa/index.php/configure/advanced/performance/?_token=hchY_j-1jvfwjYp6rGyEDZKWqiB1engPXCHfdSRN6IU

In any case, I would like those fatal errors to go away. Where could the problem be?

Thank you in advance.


Type d’install (nouvelle/MàJ) :   update
Version de PS :                        
URL du site concerné :                   https://86avenue.ch/e-commerce/
Thème (défaut/perso) :                 classic,  defalt
Code (original/modifié) :               original
Hébergement :                                   Infomaniak SA
Version de PHP :                               7.2.21
Version de MySQL :                         5.6.35-log
Navigateur(s) concerné(s) :         Firefox snd Internet Explorer (maybe others)

Share this post

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More