My Sylius ecommerce has all required bundles (sysius, fosuser, symfony,...) as vendor bundle. I've added PUGXMultiuserBundle to create 3 forms for 3 different types of users (and its Roles).
Currently users are created and inserted in database but when trying to render the page an error appears:
Fatal error: Call to undefined method Mod\UserBundle\Entity\UserOne::getCurrency() in C:...\vendor\sylius\sylius\src\Sylius\Bundle\CoreBundle\Context\CurrencyContext.php on line 46
As I understand it and I should inject the 'sylius.context.currency' inside my Bundle (ie:Mod/UserBundle) but not sure how to do it.
Has anybody else faced this issue? Thanks in advance. Best regards
My Sylius ecommerce has all required bundles (sysius, fosuser, symfony,...) as vendor bundle. I've added PUGXMultiuserBundle to create 3 forms for 3 different types of users (and its Roles).
Currently users are created and inserted in database but when trying to render the page an error appears:
Fatal error: Call to undefined method Mod\UserBundle\Entity\UserOne::getCurrency() in C:...\vendor\sylius\sylius\src\Sylius\Bundle\CoreBundle\Context\CurrencyContext.php on line 46
As I understand it and I should inject the 'sylius.context.currency' inside my Bundle (ie:Mod/UserBundle) but not sure how to do it.
Has anybody else faced this issue? Thanks in advance. Best regards