Giter Club home page Giter Club logo

Comments (7)

core23 avatar core23 commented on June 29, 2024

Did you activate the media bundle?

from sonatackeditorbundle.

core23 avatar core23 commented on June 29, 2024

Ah, found a typo in the README:

sonata_ck_editor:
    templates:
        browse: '@SonataCKEditor/browser.html.twig'

from sonatackeditorbundle.

kniziol avatar kniziol commented on June 29, 2024

All right, the Unrecognized option "browser" under "sonata_ck_editor.templates". Did you mean "browse"? error is gone. Thank you.

What about the dependency on a non-existent service error that appears when clearing the cache? 👇

$ bin/console cache:clear

In CheckExceptionOnInvalidReferenceBehaviorPass.php line 86:

  The service "Nucleos\SonataCKEditorBundle\Action\BrowseMediaAction" has a dependency on a non-existent service "sonata.media.admin.media". Did you mean one of these: "sonata.media.cdn.
  server", "sonata.media.form.type.media", "sonata.media.block.media", "sonata.media.manager.media"?

from sonatackeditorbundle.

core23 avatar core23 commented on June 29, 2024

What about the dependency on a non-existent service error that appears when clearing the cache? 👇

Did you activate the sonata admin bundle?

from sonatackeditorbundle.

kniziol avatar kniziol commented on June 29, 2024

Did you activate the sonata admin bundle?

Yes 👇

Sonata\AdminBundle\SonataAdminBundle::class => ['all' => true],

It's active all the time because working on a project that requires it.

from sonatackeditorbundle.

core23 avatar core23 commented on June 29, 2024

Did you activate the media bundle?

What about this?

from sonatackeditorbundle.

kniziol avatar kniziol commented on June 29, 2024

Yes. The sonata-project/media-bundle package is installed:

❯ composer why sonata-project/media-bundle
xxxxxxxxxxxx          dev-develop requires  sonata-project/media-bundle (^4.9)   
nucleos/sonata-ckeditor-bundle  1.0.0       requires  sonata-project/media-bundle (^4.1.1) 
sonata-project/formatter-bundle 5.2.0       conflicts sonata-project/media-bundle (<4.2) 
❯ composer show sonata-project/media-bundle|grep vers
versions : * 4.9.0

and is active:

Sonata\MediaBundle\SonataMediaBundle::class => ['all' => true],

from sonatackeditorbundle.

Related Issues (2)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.