FOSElasticaBundle
FOSElasticaBundle copied to clipboard
fos:elastica:populate --pager-persister=queue
trafficstars
HI,
After setup Speed up populate command with AWS SQS and execute php bin/console fos:elastica:populate --pager-persister=queue
Argument 1 passed to "Symfony\Component\EventDispatcher\EventDispatcherInterface::dispatch()" must be an instance of "Symfony\Component\EventDispatcher\Event", "FOS\ElasticaBundle\Persister\Event\PrePersistEvent" given.
I've similar error while using this bundle at symfony 3.4, but with symfony/contracts installed.
Elastica bundle events determine symfony3/4 event style by contracts presence, which result in incorrect event usage.