FOSElasticaBundle icon indicating copy to clipboard operation
FOSElasticaBundle copied to clipboard

The service "fos_elastica.command.delete" has a dependency on a non-existent service "fos_elastica.client.default"

Open killerwolf opened this issue 3 years ago • 2 comments

Hi,

I am not using the default client but using my own defined one main

Capture d’écran 2022-04-04 à 15 12 19

Capture d’écran 2022-04-04 à 15 14 58

How could i fix this ?

killerwolf avatar Apr 04 '22 13:04 killerwolf

It only happens in prod env env, It seems like the service is present in dev mode, but not in prod mode

killerwolf avatar Apr 04 '22 13:04 killerwolf

I fixed this issue by adding the default => [] in my configuration

prependExtensionConfig seems to have a weird behaviour in dev/pord env

Capture d’écran 2022-04-04 à 15 48 17

killerwolf avatar Apr 04 '22 13:04 killerwolf