- πΊπΈUnited States guschilds
Closing as this issue is old and has not been reported by anyone else.
Cannot add a field to a given content type:
Plugin (youtube) instance class "Drupal\youtube\Plugin\Field\FieldType\YouTubeItem" does not exist.
On Drupal 9.2.11
composer require drupal/youtube:^1.2
[..]
drush pm:enable youtube
[success] Successfully enabled: youtube
drush cr
Installation works as expected.
When trying to add a field to some content type, I get the mentioned error.
Nothing more in the error logs.
Trying to visit the config page results in an HTTP 500 and the following in the error log:
[Tue Feb 08 14:28:41.463737 2022] [php7:notice] [pid 964571] [client x.x.x.x:yyyyy] Uncaught PHP Exception InvalidArgumentException: "Class "\\Drupal\\youtube\\Form\\YoutubeSettingsForm" does not exist." at /z/web/core/lib/Drupal/Core/DependencyInjection/ClassResolver.php line 24, referer: https://domain.com/admin/modules
Closed: cannot reproduce
1.2
Code
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.
Closing as this issue is old and has not been reported by anyone else.