FOSElasticaBundle icon indicating copy to clipboard operation
FOSElasticaBundle copied to clipboard

fos:elastica:populate --pager-persister=queue

Open naheelldev opened this issue 3 years ago • 1 comments
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.

naheelldev avatar Mar 30 '22 03:03 naheelldev

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.

diimpp avatar Jan 19 '23 18:01 diimpp