Jump to content

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


Recommended Posts

Hi,

 

I have many problems with Prestashop 1.7.5.1 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 62.202.182.147:0] 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 62.202.182.147:0] 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 :                                  1.7.5.1
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)

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...