leogout / SeoBundle

A Symfony bundle to generate SEO meta tags.
39 stars 18 forks source link

You have requested a non-existent service "leogout_seo.provider.generator". #6

Closed nicodemuz closed 6 years ago

nicodemuz commented 6 years ago

The following code:

$this->get('leogout_seo.provider.generator')->get('basic')->fromResource($listing);

Gives me the following error:

You have requested a non-existent service "leogout_seo.provider.generator".

Is the documentation outdated?

nicodemuz commented 6 years ago
$this->get('leogout_seo.generator.basic')->fromResource($listing);

This seems to get rid of the error but it still doesn't show the correct meta tags. Still shows the defaults as defined in config.yml.

nicodemuz commented 6 years ago

Updating to dev-master seems to solve my issue.

@leogout Recommend to issue a new release.

leogout commented 6 years ago

Hi, thanks for opening this issue, the latest release have been updated to 1.1.0.