Skip to main content

No serializer service found

If you aren’t using the symfony/framework-bundle or symfony/serializer components, you might not have any service called serializer. The serializer component is required for using this bundle but the configuration is part of the framework-bundle. Enable the serializer in your app/config/services.yml file:
YAML
framework:
  serializer: {enabled: true}
In most cases, it’s better to let the framework-bundle register it rather than doing your own configuration.

The group annotation was not taken into account

Make sure the serializer annotation is enabled in your configuration. You can enable it in your app/config/services.yml file:
YAML
framework:
  serializer: {enabled: true, enable_annotations: true}

Algolia doctor

To check your environment and configuration, use the algolia-doctor command:
PHP
php vendor/bin/algolia-doctor
It shows useful information, such as missing libraries or php.ini settings.
⌘I