I'm trying to set Sonata Bundles Ecommerce on Symfony 2.3.
I followed install steps mentionned here but I'm getting an error when trying to load my page requesting app_dev.php.
Here is the error
FatalErrorException: Compile Error: Declaration of Sonata\ProductBundle\Entity\BaseProduct::validateOneMainCategory() must be compatible with Sonata\Component\Product\ProductInterface::validateOneMainCategory(Symfony\Component\Validator\Context\LegacyExecutionContext $context) in /xxx/xx/xx/xxxx/vendor/sonata-project/ecommerce/src/ProductBundle/Entity/BaseProduct.php line 28
Can anyone help me to solve this ?