Problem/Motivation

I recently started seeing this error on one of our sites.

User warning: The following theme is missing from the file system: jquery_ui_resizable in Drupal\Core\Extension\ExtensionPathResolver->getPathname() (line 63 of core/lib/Drupal/Core/Extension/ExtensionPathResolver.php).

Since I do not personally touch this site much, I'm not terribly sure when it started happening. drupal/bootstrap is the only package in this site which is calling this module as a dependency. I'm not sure why the drupal system thinks this module should be a theme and not a module, though. Looking at bootstrap.info.yml, the dependency seems correct:

dependencies:
  - jquery_ui:jquery_ui
  - jquery_ui_draggable:jquery_ui_draggable
  - jquery_ui_resizable:jquery_ui_resizable

Possibly related to https://www.drupal.org/project/bootstrap/issues/3427365 ?

Comments

loopy1492 created an issue. See original summary.

loopy1492’s picture

Downgrading the module to 3.31 causes the error to disappear. This seems to indicate it is an issue with 3427365 somehow.

loopy1492’s picture

This error appears simultaneously when the theme upgrades past 3.31:

Deprecated function: dirname(): Passing null to parameter #1 ($path) of type string is deprecated in Drupal\Core\Extension\ExtensionPathResolver->getPath() (line 85 of core/lib/Drupal/Core/Extension/ExtensionPathResolver.php).

...specifically, in relation to LibraryDiscoveryParser->buildByExtension() which would indicate an issue with including the library. We definitely have the https://www.drupal.org/project/jquery_ui_resizable installed and enabled. If some other step is required, I haven't seen that indicated anywhere in any documentation.

Our subtheme is NOT trying to reference this library, only bootstrap theme.

joseph.olstad’s picture

Component: Code » Documentation
Category: Bug report » Support request
Status: Active » Fixed

Have you tried the latest releases 3.35 or 3.36?

╭─◀ ☕ joseph.olstad laptop ▶ ~/drupal.org/bootstrap ▶ 📂9 📃23 🔗0 ▶ 🔀 8.x-3.x ▶
╰❯ $ grep jquery_ui_resi * -iR

bootstrap.info.yml:  - jquery_ui_resizable:jquery_ui_resizable
bootstrap.libraries.yml:    - jquery_ui_resizable/resizable
composer.json:    "drupal/jquery_ui_resizable": "^2.1.0",

Please also review the release notes:

Important Notes

There are new dependencies. However, since this is a theme, it cannot enable those modules through an update hook. After updating, enable/install these modules:

  • jquery_ui
  • jquery_ui_draggable
  • jquery_ui_resizable
joseph.olstad’s picture

Creditting

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.