fabbea Posted April 14, 2017 Share Posted April 14, 2017 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 Link to comment Share on other sites More sharing options...
dariodipa Posted April 15, 2017 Share Posted April 15, 2017 same here, with sitemap and stores information the error persist, u have the same problem ? Link to comment Share on other sites More sharing options...
fabbea Posted April 18, 2017 Author Share Posted April 18, 2017 Hi Dariopida, I've tried and it seems I have exactly the same problems. The template - or other part - of theses pages seems corrupt... Link to comment Share on other sites More sharing options...
fabbea Posted April 22, 2017 Author Share Posted April 22, 2017 (edited) Hi, can someone help us ? I don't even known where the problem come from... Thanks Edited April 22, 2017 by fabbea (see edit history) Link to comment Share on other sites More sharing options...
360HD Posted September 11, 2017 Share Posted September 11, 2017 +1 here, with the starter theme and prestashop 1.7 Link to comment Share on other sites More sharing options...
gray Posted September 12, 2017 Share Posted September 12, 2017 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. Link to comment Share on other sites More sharing options...
360HD Posted September 20, 2017 Share Posted September 20, 2017 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. Link to comment Share on other sites More sharing options...
GreenGiant Posted May 10, 2019 Share Posted May 10, 2019 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. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now