ElasticSearch with SonataAdminBundle

Hello, I need to integrate Elasticsearch with the datagrieds of SonataAdminBundle, I downloaded sonata-project/admin-search-bundle, now i get an error when I want to execute this command line "php bin/console fos:elastica:populate" , this is the error :
Content-Type header [application/x-www-form-urlencoded] is not supported.

As of version 6.0, Elasticsearch has a strict content-type policy which can not be changed.

You need to ask the developer of this third-party project to fix this and add support to Elasticsearch 6.x

1 Like

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.