Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
When attempting to install InterceptCore I receive the following message:
Unable to install InterCEPT Core, media.type.image already exists in active configuration.
Comments
Comment #2
pixelwhip CreditAttribution: pixelwhip at Aten Design Group commentedThanks for the issue, derekb. Would you mind posting a list of existing modules (including core modules) that you have installed when trying to install intercept_core? It may be that the profile module, which is a dependency of interccept_core, or another installed module also defines an image media type.
I'm not in a position to post a patch at the moment, but if you'd like to give it a try, could you see if moving media.type.image.yml from intercept/modules/intercept_core/config/install to intercept/modules/intercept_core/config/optional fixes the install for you?
Comment #3
derekb CreditAttribution: derekb commentedModule list
Not all are enabled.
Core
Administration
Authentication
Authoring
Chaos tool suite
Chaos tool suite (Experimental)
Core (Experimental)
Development
Field
Fields
Field types
Flags
Images
InterCEPT
Media
Migration
Multilingual
Other
Paragraphs
Video Embed Field
Views
Voting
Web Services
Web services
I'll try your suggestion next.
Comment #4
derekb CreditAttribution: derekb commentedmoving media.type.image.yml from intercept/modules/intercept_core/config/install to intercept/modules/intercept_core/config/optional allowed the modules to install.
However if you enable the intercept base theme you get a php error upon visiting the front page:
Twig\Error\LoaderError: Template "@intercept-base-components/more-link/more-link.twig" is not defined in "themes/contrib/intercept_base/templates/views/views-view.html.twig" at line 1. in Twig\Loader\ChainLoader->getCacheKey() (line 142 of /var/www/html/vendor/twig/twig/src/Loader/ChainLoader.php).
Comment #6
kaythay CreditAttribution: kaythay at Aten Design Group commentedThanks, this is now committed.