Open johnreytanquinco opened 7 years ago
Hello @johnreytanquinco how did you get that message exactly?
I was trying to fix this issue , and able to access /pattens
link by just doing this step. Then I received that warning message in Drupal logs.
I'm having a very similar issue, but a little different in that when my site attempts to build, when Drupal is looking up the dependency, such as my_custom_theme
, the build error shows:
drupal_get_path('module&', 'my_custom_theme')
Of course, my_custom_theme is not a module, it's a theme. This seems to stem from the fact that the feature module YML has a dependency on that theme, such as: custom_paragraphs.yml: `name: 'Paragraph Components' type: module description: 'Shared and reusable paragraph components.' package: Custom core: 8.x dependencies:
Essentially, I configured the field mapping for UI Patterns on the paragraph fields, and because of that integration, I think that's why the dependency on the theme occurs.
I put together a patch for Features to resolve this issue:
Please give it a spin, it should help with this.
Thanks for following up @damienmckenna ! @joshuaboltzmc does this Features patch solve the issue for you?
User warning: The following theme is missing from the file system: ui_patterns_test in drupal_get_filename() (line 250 of /opt/app-root/src/core/includes/bootstrap.inc) #0 /opt/app-root/src/core/includes/bootstrap.inc(566): _drupal_error_handler_real(512, 'The following t...', '/opt/app-root/s...', 250, Array) #1 [internal function]: _drupal_error_handler(512, 'The following t...', '/opt/app-root/s...', 250, Array) #2 /opt/app-root/src/core/includes/bootstrap.inc(250): trigger_error('The following t...', 512) #3 /opt/app-root/src/core/includes/bootstrap.inc(273): drupal_get_filename('theme', 'ui_patterns_tes...') #4 /opt/app-root/src/core/lib/Drupal/Core/Asset/LibraryDiscoveryParser.php(390): drupal_get_path('theme', 'ui_patterns_tes...') #5 /opt/app-root/src/core/lib/Drupal/Core/Asset/LibraryDiscoveryParser.php(85): Drupal\Core\Asset\LibraryDiscoveryParser->drupalGetPath('theme', 'ui_patterns_tes...') #6 /opt/app-root/src/core/lib/Drupal/Core/Asset/LibraryDiscoveryCollector.php(87): Drupal\Core\Asset\LibraryDiscoveryParser->buildByExtension('ui_patterns_tes...')