Magento Forum

   
Resend Confirmation Email Error
 
CVinson86
Member
 
Avatar
Total Posts:  40
Joined:  2008-06-18
 

Hey,
In our store, we have email confirmation turned on.  Whenever someone clicks on the ‘resend confirmation email’ link, we get the following:

Fatal error: Call to a member function setEmail() on a non-object in /home/diveyesc/public_html/app/code/core/Mage/Customer/controllers/AccountController.php on line 397

The code that’s throwing the error is:

$this->getLayout()->getBlock('accountConfirmation')
            ->
setEmail($this->getRequest()->getParam('email'$email));

I’ve put in some echos and

$this->getLayout()->getBlock('accountConfirmation')
is returning ‘false’.  Any idea what could be causing this?
Thanks,
-Colin

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
    Back to top