I have this error:
The service "fos_ck_editor.renderer" has a dependency on a non-existent service "twig".
My framework config in app/config/config.yml:
framework:
#esi: ~
#translator: { fallbacks: ['%locale%'] }
secret: '%secret%'
router:
resource: '%kernel.project_dir%/app/config/routing.yml'
strict_requirements: ~
form: ~
csrf_protection: ~
validation: { enable_annotations: true }
#serializer: { enable_annotations: true }
default_locale: '%locale%'
trusted_hosts: ~
session:
# https://symfony.com/doc/current/reference/configuration/framework.html#handler-id
handler_id: session.handler.native_file
save_path: '%kernel.project_dir%/var/sessions/%kernel.environment%'
fragments: ~
http_method_override: true
assets:
version: 13
version_format: '%%s?v%%s'
php_errors:
log: true
templating:
engines: ['twig']
My twig config in app/config/admin/config.yml
twig:
debug: '%kernel.debug%'
strict_variables: '%kernel.debug%'
form_themes:
- '@AppyfuriousFiles/Form/fields.html.twig'
- '@Admin/fields.html.twig'
- '@FOSCKEditor/Form/ckeditor_widget.html.twig'