I have a big issue with Customer Registration and Login(which may or may not be connected). When I try to register as a customer on my website, it goes through successfully and redirects to accounts page. However, as soon as I click anywhere to edit any information or check any further detailed information about my account, it redirects to login page, and I can't login at all.
I tried to check at the admin panel, if the account was registered (customers>manage customers), and the account is shown on the table of all the customer accounts. However, if I click on any customer to view or change edit the customer details, I face Fatal error as follows :
Fatal error: Call to a member function setDisabled() on a non-object in /var/www/vhosts/tiendasagatha.co.uk/htdocs/app/code/core/Mage/Adminhtml/Block/Customer/Edit/Tab/Account.php on line 83
Also, if I try to add a new customer from the add new customer option (Admin Panel : Customers > Manage Customers), I face the fatal error as follows :
Fatal error: Call to a member function addClass() on a non-object in /var/www/vhosts/tiendasagatha.co.uk/htdocs/app/code/core/Mage/Adminhtml/Block/Customer/Edit/Tab/Account.php on line 87
I have another magento website, where it works just fine and I copy/pasted the Account.php file from there to the site that I'm facing this problem with, but it didn't help either.
Can anyone suggest a fix to this?