Fatal Error: Call to a member function subscribeCustomer() on a non-object

Dear,

I tested the login with Facebook Account and I receive the following Fatal Error:

Fatal error: Call to a member function subscribeCustomer() on a non-object in /home/confortobabycom/public_html/includes/src/Mage_Newsletter_Model_Observer.php on line 38

I can’t find solutions on web for this problem.

My template is a simple based on RWD. The version of Magento is 1.9.2 with all patches applied.

My store: http://confortobaby.com.br

Please I need your support for solve this problem.

Best Regards,

Answers

  • Hi,
    This looks like a Magento error.
    The same error occurs when registering manually (without Social Login).
    Unfortunately, we do not know how a fix for it.
    (but often the Mage::getModel('newsletter/subscriber') do not return an object, but need a further load(), loadBy(), which is missing here. Just a guess)

Welcome!

Please sign in to your OneAll account to ask a new question or to contribute to the discussions.

Please click on the link below to connect to the forum with your OneAll account.