Important

Okay
  Public Ticket #1420490
Issue with birthday observer
Closed

Comments

  •  1
    BEJEAN started the conversation

    Hello,

    I've installed Follow up email without issues, the mailing part works well but I'va a problem with the account creation now.

    When I try to create a customer, I get the following error : 

    Fatal error: Uncaught Error: Call to undefined method Magento\Customer\Model\Data\Customer::getData() in /app/code/Lof/FollowUpEmail/Observer/CustomerBirthday.php:138 Stack trace: #0 /vendor/magento/framework/Event/Invoker/InvokerDefault.php(73): Lof\FollowUpEmail\Observer\CustomerBirthday->execute(Object(Magento\Framework\Event\Observer)) #1 /vendor/magento/framework/Event/Invoker/InvokerDefault.php(61): Magento\Framework\Event\Invoker\InvokerDefault->_callObserverMethod(Object(Lof\FollowUpEmail\Observer\CustomerBirthday), Object(Magento\Framework\Event\Observer)) #2 /vendor/magento/framework/Event/Manager.php(66): Magento\Framework\Event\Invoker\InvokerDefault->dispatch(Array, Object(Magento\Framework\Event\Observer)) #3 /var/generation/Magento/Framework/Event/Manager/Proxy.php(95): Magento\Framewor in /app/code/Lof/FollowUpEmail/Observer/CustomerBirthday.php on line 138


    Can you please look at this ?

    Thanks you

  •  1,319
    Land of replied

    Hi

    Please replace file Lof/FollowUpEmail/Observer/CustomerBirthday.php

    Thanks