Module is not working and produces an error message and error log

Created on 5 May 2024, 6 months ago
Updated 6 August 2024, 3 months ago

I am working with Drupal Version 10.2.6 and PHP Version 8.1.28

I created a paragraph with:

1 number field (page number)
1 text filed (for the short note)

I added the paragraph to a simple content type for short notes about a book

If I try to create a note with the added paragraph the following message is shown:
Oops, something went wrong. Check your browser's developer console for more details.

the Protocoll shows php error:
Drupal\Component\Plugin\Exception\PluginNotFoundException: The "ParagraphsLibraryItemHasAllowedParagraphsType" plugin does not exist. Valid plugin IDs for Drupal\Core\Validation\ConstraintManager are: Callback, Blank, NotBlank, Email, Choice, AddressFormat, Country, BlockContentEntityChanged, CKEditor5FundamentalCompatibility, CKEditor5MediaAndFilterSettingsInSync, StyleSensibleElement, CKEditor5ToolbarItemConditionsMet, CKEditor5Element, CKEditor5ToolbarItemDependencyConstraint, SourceEditingRedundantTags, CKEditor5ToolbarItem, UniqueLabelInList, CKEditor5EnabledConfigurablePlugins, SourceEditingPreventSelfXssConstraint, CommentName, PurchasedEntityAvailable, OrderVersion, Currency, ProductVariationSku, CouponCode, CouponValid, ModerationState, DateTimeFormat, FileUriUnique, FileExtensionSecure, FileExtension, FileImageDimensions, FileValidation, FileNameLength, FileSizeLimit, FileIsImage, LinkExternalProtocols, LinkAccess, LinkType, LinkNotExistingInternal, oembed_resource, MenuTreeHierarchy, MenuSettings, PathAlias, RedirectSourceLinkType, SchedulerUnpublishOn, SchedulerPublishOn, State, TaxonomyHierarchy, ProtectedUserField, UserMailRequired, UserNameUnique, UserMailUnique, UserName, ForumLeaf, AllowedValues, ValidKeys, UniqueField, Regex, Range, Null, Uuid, ComplexData, PrimitiveType, Length, NotNull, Count, PluginExists, ConfigExists, RequiredConfigDependencies, UniquePathAlias, ValidPath, ExtensionExists, ExtensionName, ReferenceAccess, EntityUntranslatableFields, EntityHasField, ImmutableProperties, EntityChanged, ValidReference, EntityType, Bundle in Drupal\Core\Plugin\DefaultPluginManager->doGetDefinition() (line 53 of /.../core/lib/Drupal/Component/Plugin/Discovery/DiscoveryTrait.php).

🐛 Bug report
Status

Postponed: needs info

Version

1.17

Component

Code

Created by

🇦🇹Austria JankaP

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

Comments & Activities

  • Issue created by @JankaP
  • 🇬🇧United Kingdom aaron.ferris

    I don't think this is a Paragraphs bug, I can't find any reference to ParagraphsLibraryItemHasAllowedParagraphsType in paragraphs. Looks like a paragraphs_library issue.

  • 🇦🇹Austria JankaP

    Ignore?

    The Paragraph field is not usable. I cannot put in data. I cannot save the content.

    or is this module not supported anymore?

  • 🇬🇧United Kingdom aaron.ferris

    Sorry, I meant ignore my comment id commented on the wrong ticket. Apologies for any confusion ill update my comment to be clearer!

  • Status changed to Postponed: needs info 3 months ago
  • 🇨🇭Switzerland berdir Switzerland

    This plugin is defined in \Drupal\paragraphs_library\Plugin\Validation\Constraint\ParagraphsLibraryItemHasAllowedParagraphsTypeConstraint, nobody else has this, so you might have an incomplete list of files or some other weird issue.

Production build 0.71.5 2024