• Closed by: Fred
  • Closed on: 03.01.20, 15:25
  • Reason: Closed
  • Comment: Glad to help!

Ticket #16442 - Missing $template parameter

Hi,
We are using the Alysum v.5.3.6 theme and we have a problem with the AMP version. When trying to access to the product detail page, it throws this error:
“Fatal error: Uncaught –> Smarty: 0():Missing ‘$template’ parameter ←- thrown in /usr/home/ps-stage.com/web/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php on line 177”

For example here: https://www.ps-stage.com/es/mobile/product/142-0540051

Please, can you check this error? Thank you very much.

Comments

Fred 12 Dec 2019, 16:48

Hi, ciclick web solutions SL.
Please fill out all necessary fields in your profile https://support.promokit.eu/index.php?do=myprofile to access to your server through FTP

ciclick web solutions SL 12 Dec 2019, 17:16

Hey Fred, thank you for your quickly answer :) You have all the information in our profile. thank you!

Fred 12 Dec 2019, 17:21

AMP module has been updated to the latest version, please check it out

ciclick web solutions SL 12 Dec 2019, 18:05

Thank you Fred, but we have lost all the look&feel of the mobile version of the website, and now, it is impossible to enter in any category detail due this error:

Fatal error: Uncaught Error: Class ‘PrestaShop\Module\FacetedSearch\Product\SearchProvider’ not found in /usr/home/ps-stage.com/web/modules/pk_amp/controllers/front/category.php:128 Stack trace: #0 /usr/home/ps-stage.com/web/classes/controller/Controller.php(281): Pk_AmpCategoryModuleFrontController→initContent() #1 /usr/home/ps-stage.com/web/classes/Dispatcher.php(511): ControllerCore→run() #2 /usr/home/ps-stage.com/web/index.php(28): DispatcherCore→dispatch() #3 {main} thrown in /usr/home/ps-stage.com/web/modules/pk_amp/controllers/front/category.php on line 128

Can you help us?

Fred 12 Dec 2019, 18:07

You can find your old CSS code in the folder /modules/pk_amp-/views/css/dynamic
As for category issue please make sure you have latest Faceted Search module

ciclick web solutions SL 12 Dec 2019, 18:35

Thank you Fred, we are going to try it :)