Open naheelldev opened 2 years ago
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.
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.