OMOSde / contao-om-search

GNU Lesser General Public License v3.0
1 stars 3 forks source link

There's a mistake when you search for something. #1

Closed xuad closed 5 years ago

xuad commented 5 years ago

There's a mistake when you search for something. Contao Version 4.7.

request.CRITICAL: Uncaught PHP Exception Symfony\Component\DependencyInjection\Exception\ServiceNotFoundException: "The "contao_om_search.listener.customize_search" service or alias has been removed or inlined when the container was compiled. You should either make it public, or stop using the container directly and use dependency injection instead."

The solution is to set the contao_om_search.listener.customize_search service to public (contao-om-search/src/Resources/config/listener.yml), or use DI to request the service.

OMOSde commented 5 years ago

Thx. Fixed in 108cdf5a07b31592d90424b91b16205e7d2163d9