Issue:
Fatal error: Call to a member function setCustomerId() on a non-object in /home/portofoo/public_html/app/code/core/Mage/Customer/controllers/AccountController.php on line 753
Solution:
Please following the steps:
1. go to your_site/app/design/frontend/default/sm_theme/layout/customer.xml and add the following code direct before the </layout> tag:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
<!--
Customer account reset password
-->
<customer_account_resetpassword translate="label">
<label>Reset a Password</label>
<remove name="right"/>
<remove name="left"/>
<reference name="head">
<action method="setTitle" translate="title" module="customer">
<title>Reset a Password</title>
</action>
</reference>
<reference name="root">
<action method="setTemplate">
<template>page/1column.phtml</template>
</action>
<action method="setHeaderTitle" translate="title" module="customer">
<title>Reset a Password</title>
</action>
</reference>
<reference name="content">
<block type="customer/account_resetpassword" name="resetPassword" template="customer/form/resetforgottenpassword.phtml"/>
</reference>
</customer_account_resetpassword>
|
2. then refresh cache and check again.
Thanks!