Error: Class "Drupal\config_ignore\Plugin\ConfigFilter\IgnoreFilter" not found in /app/web/modules/contrib/generated_content/src/Plugin/ConfigFilter/GeneratedContentIgnoreFilter.php

Created on 15 December 2023, 7 months ago

Problem/Motivation

Error: Class "Drupal\config_ignore\Plugin\ConfigFilter\IgnoreFilter" not found in /app/web/modules/contrib/generated_content/src/Plugin/ConfigFilter/GeneratedContentIgnoreFilter.php on line 17 #0 /app/vendor/composer/ClassLoader.php(576): include()
#1 /app/vendor/composer/ClassLoader.php(427): Composer\Autoload\{closure}()
#2 [internal function]: Composer\Autoload\ClassLoader->loadClass()
#3 /app/web/core/lib/Drupal/Component/Plugin/Factory/DefaultFactory.php(96): class_exists()
#4 /app/web/core/lib/Drupal/Core/Plugin/Factory/ContainerFactory.php(17): Drupal\Component\Plugin\Factory\DefaultFactory::getPluginClass()
#5 /app/web/core/lib/Drupal/Component/Plugin/PluginManagerBase.php(83): Drupal\Core\Plugin\Factory\ContainerFactory->createInstance()
#6 /app/web/modules/contrib/config_filter/src/Plugin/ConfigFilterPluginManager.php(41): Drupal\Component\Plugin\PluginManagerBase->createInstance()
#7 /app/web/modules/contrib/config_filter/src/ConfigFilterStorageFactory.php(88): Drupal\config_filter\Plugin\ConfigFilterPluginManager->getFiltersForStorages()
#8 /app/web/modules/contrib/config_filter/src/ConfigFilterEventSubscriber.php(76): Drupal\config_filter\ConfigFilterStorageFactory->getFilteredStorage()
#9 [internal function]: Drupal\config_filter\ConfigFilterEventSubscriber->onExportTransform()
#10 /app/web/core/lib/Drupal/Component/EventDispatcher/ContainerAwareEventDispatcher.php(111): call_user_func()
#11 /app/web/core/lib/Drupal/Core/Config/ExportStorageManager.php(88): Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher->dispatch()
#12 /app/web/core/lib/Drupal/Core/Config/ManagedStorage.php(146): Drupal\Core\Config\ExportStorageManager->getStorage()
#13 /app/web/core/lib/Drupal/Core/Config/ManagedStorage.php(134): Drupal\Core\Config\ManagedStorage->getStorage()
#14 /app/vendor/drush/drush/src/Commands/config/ConfigCommands.php(517): Drupal\Core\Config\ManagedStorage->getCollectionName()
#15 /app/vendor/drush/drush/src/Commands/config/ConfigExportCommands.php(160): Drush\Commands\config\ConfigCommands::copyConfig()
#16 /app/vendor/drush/drush/src/Commands/config/ConfigExportCommands.php(100): Drush\Commands\config\ConfigExportCommands->doExport()
#17 [internal function]: Drush\Commands\config\ConfigExportCommands->export()
#18 /app/vendor/consolidation/annotated-command/src/CommandProcessor.php(276): call_user_func_array()
#19 /app/vendor/consolidation/annotated-command/src/CommandProcessor.php(212): Consolidation\AnnotatedCommand\CommandProcessor->runCommandCallback()
#20 /app/vendor/consolidation/annotated-command/src/CommandProcessor.php(176): Consolidation\AnnotatedCommand\CommandProcessor->validateRunAndAlter()
#21 /app/vendor/consolidation/annotated-command/src/AnnotatedCommand.php(391): Consolidation\AnnotatedCommand\CommandProcessor->process()
#22 /app/vendor/symfony/console/Command/Command.php(326): Consolidation\AnnotatedCommand\AnnotatedCommand->execute()
#23 /app/vendor/symfony/console/Application.php(1081): Symfony\Component\Console\Command\Command->run()
#24 /app/vendor/symfony/console/Application.php(320): Symfony\Component\Console\Application->doRunCommand()
#25 /app/vendor/symfony/console/Application.php(174): Symfony\Component\Console\Application->doRun()
#26 /app/vendor/drush/drush/src/Runtime/Runtime.php(110): Symfony\Component\Console\Application->run()

Steps to reproduce

1. Install module config_ignore:8.x-3.1 & config_filter:8.x-2.6
2. Install module generated_content
3. Run Drush cex -y.
4. Get error

Proposed resolution

GeneratedContentIgnoreFilter class should extends Drupal\config_filter\Plugin\ConfigFilterBase class.

Remaining tasks

User interface changes

API changes

Data model changes

πŸ› Bug report
Status

Fixed

Version

1.0

Component

Code

Created by

πŸ‡»πŸ‡³Vietnam tannguyenhn

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

Merge Requests

Comments & Activities

Production build 0.69.0 2024