After enabling: \PluginNotFoundException: The "icon" plugin does not exist. Valid plugin IDs for Drupal\ui_patterns\PropTypePluginManager ...

Created on 6 February 2025, 15 days ago

Steps to reproduce

Enable all dependencies (using latest released versions from composer) and then this theme. I get

Drupal\Component\Plugin\Exception\PluginNotFoundException: The "icon" plugin does not exist. Valid plugin IDs for Drupal\ui_patterns\PropTypePluginManager are: attributes, boolean, enum_list, enum, enum_set, identifier, links, list, number, slot, string, unknown, url, variant in Drupal\Core\Plugin\DefaultPluginManager->doGetDefinition() (line 53 of core/lib/Drupal/Component/Plugin/Discovery/DiscoveryTrait.php). 
🐛 Bug report
Status

Active

Version

4.0

Component

Code

Created by

🇺🇸United States moshe weitzman Boston, MA

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @moshe weitzman
  • 🇺🇸United States moshe weitzman Boston, MA

    I'm just experimenting with all the new toys. Not urgent.

  • 🇫🇷France G4MBINI Bègles

    Hi @moshe weitzman

    Thanks a lot for experimenting this theme :)

    Can you check which branch of UI Icons you're using ?

  • 🇺🇸United States moshe weitzman Boston, MA

    ui icons is 1.1.0-beta3

    The error happens on any page. Some more site info in case its helpful

    Drupal version   : 11.1.2
    Site URI         : https://my-drupal-site.ddev.site
    DB driver        : mysql
    DB hostname      : db
    DB port          : 3306
    DB username      : db
    DB name          : db
    Database         : Connected
    Drupal bootstrap : Successful
    Default theme    : ui_suite_daisyui
    Admin theme      : claro
    PHP binary       : /usr/bin/php8.3
    PHP config       : /etc/php/8.3/cli/php.ini
    PHP OS           : Linux
    PHP version      : 8.3.14
    Drush script     : /var/www/html/vendor/bin/drush.php
    Drush version    : 13.3.3.0
    Drush temp       : /tmp
    Drush configs    : /var/www/html/vendor/drush/drush/drush.yml
    Install profile  : standard
    Drupal root      : /var/www/html/web
    Site path        : sites/default
    Files, Public    : sites/default/files
    Files, Temp      : /tmp
    
  • 🇫🇷France G4MBINI Bègles

    Last small questions ... Was it a fresh install ? Or maybe you had 1.0.x for UI Icons and updated it to 1.1.x ?

    From my side, to try to reproduce I need to update to to beta3 as I'm on beta2.

  • 🇺🇸United States moshe weitzman Boston, MA

    Fresh install. Here are all the versions

    asm89/stack-cors                         v2.2.0            Cross-origin resource sharing library and stack middleware
    chi-teck/drupal-code-generator           4.1.0             Drupal code generator
    composer/installers                      v2.3.0            A multi-framework Composer library installer
    composer/semver                          3.4.3             Semver library that offers utilities, version constraint parsing an...
    consolidation/annotated-command          4.10.1            Initialize Symfony Console commands from annotated command class me...
    consolidation/config                     3.1.0             Provide configuration services for a commandline tool.
    consolidation/filter-via-dot-access-data 2.0.2             This project uses dflydev/dot-access-data to provide simple output ...
    consolidation/log                        3.1.0             Improved Psr-3 / Psr\Log logger based on Symfony Console components.
    consolidation/output-formatters          4.6.0             Format text by applying transformations provided by plug-in formatt...
    consolidation/robo                       5.1.0             Modern task runner
    consolidation/site-alias                 4.1.1             Manage alias records for local and remote sites.
    consolidation/site-process               5.4.2             A thin wrapper around the Symfony Process Component that allows app...
    dflydev/dot-access-data                  v3.0.3            Given a deep data structure, access data by dot notation.
    doctrine/annotations                     2.0.2             Docblock Annotations Parser
    doctrine/deprecations                    1.1.4             A small layer on top of trigger_error(E_USER_DEPRECATED) or PSR-3 l...
    doctrine/lexer                           2.1.1             PHP Doctrine Lexer parser library that can be used in Top-Down, Rec...
    drupal/core                              11.1.2            Drupal is an open source content management platform powering milli...
    drupal/core-composer-scaffold            11.1.2            A flexible Composer project scaffold builder.
    drupal/core-project-message              11.1.2            Adds a message after Composer installation.
    drupal/core-recommended                  11.1.2            Core and its dependencies with known-compatible minor versions. Req...
    drupal/ui_icons                          1.1.0-beta3       The UI Icons module is a generic icon manager for Drupal.
    drupal/ui_patterns                       2.0.0-rc2         Define and expose self-contained UI components and use them seamles...
    drupal/ui_skins                          1.1.0-alpha3      Allow handle some theme settings like CSS variables.
    drupal/ui_styles                         1.15.0            Define styles from modules and themes.
    drupal/ui_styles_block                   1.15.0            Apply styles to blocks in the block layout.
    drupal/ui_suite_daisyui                  dev-4.0.x 33f226b A site-builder friendly DaisyUI theme, using the UI Suite modules.
    drush/drush                              13.3.3            Drush is a command line shell and scripting interface for Drupal, a...
    egulias/email-validator                  4.0.3             A library for validating emails against several RFCs
    grasmash/expander                        3.0.1             Expands internal property references in PHP arrays file.
    grasmash/yaml-cli                        3.2.1             A command line tool for reading and manipulating yaml files.
    guzzlehttp/guzzle                        7.9.2             Guzzle is a PHP HTTP client library
    guzzlehttp/promises                      2.0.4             Guzzle promises library
    guzzlehttp/psr7                          2.7.0             PSR-7 message implementation that also provides common utility methods
    illuminate/collections                   v11.41.3          The Illuminate Collections package.
    illuminate/conditionable                 v11.41.3          The Illuminate Conditionable package.
    illuminate/contracts                     v11.41.3          The Illuminate Contracts package.
    illuminate/macroable                     v11.41.3          The Illuminate Macroable package.
    justinrainbow/json-schema                5.3.0             A library to validate a json schema.
    laravel/prompts                          v0.1.25           Add beautiful and user-friendly forms to your command-line applicat...
    league/container                         4.2.4             A fast and intuitive dependency injection container.
    masterminds/html5                        2.9.0             An HTML5 parser and serializer.
    mck89/peast                              v1.16.3           Peast is PHP library that generates AST for JavaScript code
    nikic/php-parser                         v5.4.0            A PHP parser written in PHP
    pear/archive_tar                         1.5.0             Tar file management class with compression support (gzip, bzip2, lz...
    pear/console_getopt                      v1.4.3            More info available on: http://pear.php.net/package/Console_Getopt
    pear/pear-core-minimal                   v1.10.16          Minimal set of PEAR core files to be used as composer dependency
    pear/pear_exception                      v1.0.2            The PEAR Exception base class.
    phootwork/collection                     v3.2.3            The phootwork library fills gaps in the php language and provides b...
    phootwork/lang                           v3.2.3            Missing PHP language constructs
    php-tuf/composer-stager                  v2.0.0            Stages Composer commands so they can be safely run on a production ...
    phpowermove/docblock                     v4.0              PHP Docblock parser and generator. An API to read and write Docblocks.
    psr/cache                                3.0.0             Common interface for caching libraries
    psr/container                            2.0.2             Common Container Interface (PHP FIG PSR-11)
    psr/event-dispatcher                     1.0.0             Standard interfaces for event handling.
    psr/http-client                          1.0.3             Common interface for HTTP clients
    psr/http-factory                         1.1.0             PSR-17: Common interfaces for PSR-7 HTTP message factories
    psr/http-message                         2.0               Common interface for HTTP messages
    psr/log                                  3.0.2             Common interface for logging libraries
    psr/simple-cache                         3.0.0             Common interfaces for simple caching
    psy/psysh                                v0.12.7           An interactive shell for modern PHP.
    ralouphie/getallheaders                  3.0.3             A polyfill for getallheaders.
    revolt/event-loop                        v1.0.6            Rock-solid event loop for concurrent PHP applications.
    sabberworm/php-css-parser                v8.7.0            Parser for CSS Files written in PHP
    sebastian/diff                           5.1.1             Diff implementation
    symfony/console                          v7.2.1            Eases the creation of beautiful and testable command line interfaces
    symfony/dependency-injection             v7.2.3            Allows you to standardize and centralize the way objects are constr...
    symfony/deprecation-contracts            v3.5.1            A generic function and convention to trigger deprecation notices
    symfony/error-handler                    v7.2.3            Provides tools to manage errors and ease debugging PHP code
    symfony/event-dispatcher                 v7.2.0            Provides tools that allow your application components to communicat...
    symfony/event-dispatcher-contracts       v3.5.1            Generic abstractions related to dispatching event
    symfony/filesystem                       v7.2.0            Provides basic utilities for the filesystem
    symfony/finder                           v7.2.2            Finds files and directories via an intuitive fluent interface
    symfony/http-foundation                  v7.2.3            Defines an object-oriented layer for the HTTP specification
    symfony/http-kernel                      v7.2.3            Provides a structured process for converting a Request into a Response
    symfony/mailer                           v7.2.3            Helps sending emails
    symfony/mime                             v7.2.3            Allows manipulating MIME messages
    symfony/polyfill-ctype                   v1.31.0           Symfony polyfill for ctype functions
    symfony/polyfill-iconv                   v1.31.0           Symfony polyfill for the Iconv extension
    symfony/polyfill-intl-grapheme           v1.31.0           Symfony polyfill for intl's grapheme_* functions
    symfony/polyfill-intl-idn                v1.31.0           Symfony polyfill for intl's idn_to_ascii and idn_to_utf8 functions
    symfony/polyfill-intl-normalizer         v1.31.0           Symfony polyfill for intl's Normalizer class and related functions
    symfony/polyfill-mbstring                v1.31.0           Symfony polyfill for the Mbstring extension
    symfony/polyfill-php81                   v1.31.0           Symfony polyfill backporting some PHP 8.1+ features to lower PHP ve...
    symfony/polyfill-php83                   v1.31.0           Symfony polyfill backporting some PHP 8.3+ features to lower PHP ve...
    symfony/process                          v7.2.0            Executes commands in sub-processes
    symfony/psr-http-message-bridge          v7.2.0            PSR HTTP message bridge
    symfony/routing                          v7.2.3            Maps an HTTP request to a set of configuration variables
    symfony/serializer                       v7.2.3            Handles serializing and deserializing data structures, including ob...
    symfony/service-contracts                v3.5.1            Generic abstractions related to writing services
    symfony/string                           v7.2.0            Provides an object-oriented API to strings and deals with bytes, UT...
    symfony/translation-contracts            v3.5.1            Generic abstractions related to translation
    symfony/validator                        v7.2.3            Provides tools to validate values
    symfony/var-dumper                       v7.2.3            Provides mechanisms for walking through any arbitrary PHP variable
    symfony/var-exporter                     v7.2.0            Allows exporting any serializable PHP data structure to plain PHP code
    symfony/yaml                             v7.2.3            Loads and dumps YAML files
    twig/twig                                v3.19.0           Twig, the flexible, fast, and secure template language for PHP
    
    
  • 🇫🇷France G4MBINI Bègles

    UI Icons UI Patterns is installed ? If not you should install it :)

  • 🇫🇷France G4MBINI Bègles
  • 🇺🇸United States moshe weitzman Boston, MA

    Yes, that was it.

    I dont know how feasible it is, but it would be great if the content installed by the demo_umami install profile would look great when rendered by this theme.

    1. The article list shows images but the hyperlkinks to detail pages are broken
    2. Article detail pages look messy

    These issues are probably not this theme's concern, but here I am so I mention it.

  • 🇫🇷France G4MBINI Bègles

    That's totally normal. For that, we would need mapping between data model and SDC /UI Patterns components.

    As these are configurations, it would need a recipe or other solution.

  • 🇫🇷France G4MBINI Bègles
Production build 0.71.5 2024