The "top_app_bar" plugin does not exist

Created on 4 July 2023, over 1 year ago
Updated 19 July 2023, over 1 year ago

Hi
i wanted to give that theme a try.
Once the theme activated:

Drupal\Component\Plugin\Exception\PluginNotFoundException: The "top_app_bar" plugin does not exist. Valid plugin IDs for Drupal\ui_patterns\UiPatternsManager are: in Drupal\Core\Plugin\DefaultPluginManager->doGetDefinition() (line 53 of core/lib/Drupal/Component/Plugin/Discovery/DiscoveryTrait.php).

the required modules might not have been installed properly.
That error came up on install :

The website encountered an unexpected error. Please try again later.
ParseError: syntax error, unexpected '|', expecting ';' or '{' in Composer\Autoload\includeFile() (line 69 of modules/contrib/ui_examples/src/Controller/ExamplesLibraryController.php).

Best,

🐛 Bug report
Status

Closed: outdated

Version

2.0

Component

Code

Created by

🇫🇷France matoeil

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

Comments & Activities

  • Issue created by @matoeil
  • Assigned to pdureau
  • 🇫🇷France pdureau Paris

    Thanks Mathieu, I will have a look on that this week

  • Issue was unassigned.
  • Status changed to Postponed: needs info over 1 year ago
  • 🇫🇷France pdureau Paris

    Hi Mathieu,

    There are 2 issues in your ticket

    The "top_app_bar" plugin does not exist

    i don't reproduce the issue on local installation. But I know plugin discovery can be a bit weird sometimes, at a Drupal level (a common plugin discovery issue) and at UI Patterns level (because our discovery is a bit custom).

    Do you still have the issue today?

    Did flushing the cache or restarting PHP-FPM fix it?

    ParseError: syntax error, unexpected '|', expecting ';' or '{' in Composer\Autoload\includeFile() (line 69 of modules/contrib/ui_examples/src/Controller/ExamplesLibraryController.php).

    It seems your environment doesn't support PHP Union Types: https://php.watch/versions/8.0/union-types
    Are you still in PHP 7.4?

  • 🇫🇷France matoeil

    i am in php7.4 yes. I guess u can close the issue.

  • Status changed to Closed: outdated over 1 year ago
Production build 0.71.5 2024