Jump to content

Prestashop 1.7.1 | Problem with the page of password recoveru

Recommended Posts

Hi everyone,


when people have forgotten their password, they have to click the link "password forgotten". But instead of the page "password-recovery" I see those errors messages :

ContextErrorException in smarty_internal_templatebase.php(157) : eval()'d code line 489:
Notice: Undefined index: notifications

in smarty_internal_templatebase.php(157) : eval()'d code line 489
at ErrorHandler->handleError('8', 'Undefined index: notifications', '/home/www/comm-commerce/vendor/prestashop/smarty/sysplugins/smarty_internal_templatebase.php(157) : eval()'d code', '489', array('_smarty_tpl' => object(Smarty_Dev_Template))) in smarty_internal_templatebase.php(157) : eval()'d code line 489
at content_58f0fc1102d2f5_86847423(object(Smarty_Dev_Template)) in smarty_internal_templatebase.php(157) : eval()'d code line 141
at content_58f0fc11114ae9_68719071(object(Smarty_Dev_Template)) in smarty_internal_templatebase.php line 188
at Smarty_Internal_TemplateBase->fetch('customer/password-email.tpl', null, 'layouts/layout-full-width.tpl', null, false, true, false) in SmartyDev.php line 41
at SmartyDev->fetch('customer/password-email.tpl', null, 'layouts/layout-full-width.tpl') in FrontController.php line 660
at FrontControllerCore->smartyOutputContent('customer/password-email.tpl') in PasswordController.php line 214
at PasswordControllerCore->display() in Controller.php line 225
at ControllerCore->run() in Dispatcher.php line 369
at DispatcherCore->dispatch() in index.php line 28

What does that mean ? Can someone help me, this step is important for the customer.

The theme is the original child theme with some minor changes (in css and templates only, not in the core or the javascript files).


Thank you





Share this post

Link to post
Share on other sites

Hi Dariopida,


I've tried and it seems I have exactly the same problems. The template - or other part - of theses pages seems corrupt...

Share this post

Link to post
Share on other sites

No problems here with PS


But I am using Transformer theme and not the starter theme. I do not want swap over themes as it cocks everything up.

Share this post

Link to post
Share on other sites

Would be great to have a solution to this. The starter theme on 1.7.2 seems to be broken for the forgot password page.

Share this post

Link to post
Share on other sites


It's not a good solution but if anyone is reading this in the future I have found a workaround for this issue on the password reset page.

- Go to your theme/templates/_partials/notifications.tpl
- Surround the code on the page with an if statement to check if $notifications has been set

{if isset($notifications)}


For me this removes this issue from the password reset page, and lets it load properly.

You can do the same on the sitemap template i.e. {if isset($sitemap)} but for me this then just loads a blank page.

Hope this helps somebody down the line.

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.

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