System: Magento Version: Magento Open Source ver. 2.4.5/2.4.5-p3 Vanilla
PHP Version: 8.1
Gigya Version: gigya/magento2-im: 6.0.0/6.1.0
Issue description:
Installed the extension in a Vanilla instance, it works fine.
If I create my module with a frontend observer (<mage_dir>/app/code/Vendor/Module/etc/frontend/events.xml):
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="urn:magento:framework:Event/etc/events.xsd">
<event name="customer_session_init">
<observer name="my_customer_session_init_observer" instance="Vendor\Module\Observer\SessionInit" />
</event>
</config>
to get data from customer session (<mage_dir>/app/code/Vendor/Module/Observer/SessionInit.php)
public function execute(Observer $observer)
{
/** @var Session $customerSession */
$customerSession = $observer->getData('customer_session');
$customer = $customerSession->getCustomer();
$email = $customer->getEmail();
..
}
when I try to login, I get this message error:
1 exception(s):
Exception #0 (LogicException): Circular dependency: Gigya\GigyaIM\Observer\FrontendMagentoCustomerEnricher depends on Gigya\GigyaIM\Helper\GigyaMageHelper and vice versa.
Could you solve the problem?
It is blocking a wide project.
System: Magento Version: Magento Open Source ver. 2.4.5/2.4.5-p3 Vanilla
PHP Version: 8.1
Gigya Version: gigya/magento2-im: 6.0.0/6.1.0
Issue description:
Installed the extension in a Vanilla instance, it works fine.
If I create my module with a frontend observer (<mage_dir>/app/code/Vendor/Module/etc/frontend/events.xml):
to get data from customer session (<mage_dir>/app/code/Vendor/Module/Observer/SessionInit.php)
when I try to login, I get this message error:
1 exception(s):
Exception #0 (LogicException): Circular dependency: Gigya\GigyaIM\Observer\FrontendMagentoCustomerEnricher depends on Gigya\GigyaIM\Helper\GigyaMageHelper and vice versa.
Could you solve the problem?
It is blocking a wide project.