webtown-php / KunstmaanExtensionBundle

Some new Kunstmaan features
MIT License
2 stars 1 forks source link

The service "webtown_kunstmaan_extension.translation.kunstmaan_extractor" has a dependency on a non-existent service "jms_translation.doc_parser" #9

Closed KevinSleegers closed 7 years ago

KevinSleegers commented 7 years ago

Hi,

I've recently found out about this bundle, and it looks like it might be really helpful for our Kunstmaan project.

Installation went fine, but for some reason I keep getting the following error: The service "webtown_kunstmaan_extension.translation.kunstmaan_extractor" has a dependency on a non-existent service "jms_translation.doc_parser"

I'm using the latest version of Kunstmaan, version 4.0.

Can you tell me what I did wrong, or is this bundle not compatible with that version of the Kunstmaan CMS?

Thanks, Kevin

fchris82 commented 7 years ago

Sorry, I forgot the JMSTranslationBundle() from the README.md. You have to add the new JMS\TranslationBundle\JMSTranslationBundle() to AppKernel.php also!

<?php
// app/AppKernel.php

// ...
class AppKernel extends Kernel
{
    public function registerBundles()
    {
        $bundles = array(
            // ...

            new Webtown\KunstmaanExtensionBundle\WebtownKunstmaanExtensionBundle(),
            new JMS\TranslationBundle\JMSTranslationBundle(),
        );

        // ...
    }

    // ...
}