Jump to content
fabbea

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

Regards

 

post-37381-0-00664900-1492188462_thumb.gif

post-37381-0-97593400-1492188474_thumb.gif

Share this post


Link to post
Share on other sites

same here, with sitemap and stores information the error persist, u have the same problem ?

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

Hi,

 

can someone help us ? I don't even known where the problem come from...

 

Thanks

Edited by fabbea

Share this post


Link to post
Share on other sites

No problems here with PS 1.7.2.2

 

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

Hi,

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)}

{/if}

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

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

×

Important Information

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