Class "Drupal\Core\Plugin\ContextAwarePluginBase This class has been deleted in version 10

Created on 30 March 2023, over 1 year ago
Updated 16 January 2024, 10 months ago

PHP Fatal error: Uncaught Error: Class "Drupal\Core\Plugin\ContextAwarePluginBase" not found in /var/www/yusen/docroot/modules/contrib/services/src/ServiceDefinitionBase.php:12
Stack trace:
#0 phar:///usr/local/bin/drush/vendor/composer/ClassLoader.php(444): include()
#1 phar:///usr/local/bin/drush/vendor/composer/ClassLoader.php(322): Composer\Autoload\includeFile('/var/www/yusen/...')
#2 /var/www/yusen/docroot/modules/contrib/services/src/ServiceDefinitionEntityRequestContentBase.php(15): Composer\Autoload\ClassLoader->loadClass('Drupal\\services...')
#3 phar:///usr/local/bin/drush/vendor/composer/ClassLoader.php(444): include('/var/www/yusen/...')
#4 phar:///usr/local/bin/drush/vendor/composer/ClassLoader.php(322): Composer\Autoload\includeFile('/var/www/yusen/...')
#5 /var/www/yusen/docroot/modules/contrib/services/src/Plugin/ServiceDefinition/EntityPost.php(25): Composer\Autoload\ClassLoader->loadClass('Drupal\\services...')
#6 phar:///usr/local/bin/drush/vendor/composer/ClassLoader.php(444): include('/var/www/yusen/...')
#7 phar:///usr/local/bin/drush/vendor/composer/ClassLoader.php(322): Composer\Autoload\includeFile('/var/www/yusen/...')
#8 [internal function]: Composer\Autoload\ClassLoader->loadClass('Drupal\\services...')
#9 /var/www/yusen/docroot/core/lib/Drupal/Component/Plugin/Factory/DefaultFactory.php(96): class_exists('Drupal\\services...')
#10 /var/www/yusen/docroot/core/lib/Drupal/Core/Plugin/Factory/ContainerFactory.php(17): Drupal\Component\Plugin\Factory\DefaultFactory::getPluginClass('entity_post:con...', Array, 'Drupal\\services...')
#11 /var/www/yusen/docroot/core/lib/Drupal/Component/Plugin/PluginManagerBase.php(83): Drupal\Core\Plugin\Factory\ContainerFactory->createInstance('entity_post:con...', Array)
#12 /var/www/yusen/docroot/modules/contrib/services/src/Entity/ServiceResource.php(181): Drupal\Component\Plugin\PluginManagerBase->createInstance('entity_post:con...', Array)
#13 /var/www/yusen/docroot/modules/contrib/services/src/Routing/ServiceEndpoint.php(23): Drupal\services\Entity\ServiceResource->createServicePluginInstance()
#14 [internal function]: Drupal\services\Routing\ServiceEndpoint->routes()
#15 /var/www/yusen/docroot/core/lib/Drupal/Core/Routing/RouteBuilder.php(146): call_user_func(Array)
#16 /var/www/yusen/docroot/core/lib/Drupal/Core/ProxyClass/Routing/RouteBuilder.php(83): Drupal\Core\Routing\RouteBuilder->rebuild()
#17 /var/www/yusen/docroot/core/includes/common.inc(518): Drupal\Core\ProxyClass\Routing\RouteBuilder->rebuild()
#18 /var/www/yusen/docroot/core/includes/utility.inc(41): drupal_flush_all_caches(Object(Drupal\Core\DrupalKernel))
#19 /var/www/yusen/vendor/drush/drush/src/Commands/core/CacheCommands.php(228): drupal_rebuild(Object(Composer\Autoload\ClassLoader), Object(Symfony\Component\HttpFoundation\Request))
#20 [internal function]: Drush\Commands\core\CacheCommands->rebuild(Array)
#21 /var/www/yusen/vendor/consolidation/annotated-command/src/CommandProcessor.php(257): call_user_func_array(Array, Array)
#22 /var/www/yusen/vendor/consolidation/annotated-command/src/CommandProcessor.php(212): Consolidation\AnnotatedCommand\CommandProcessor->runCommandCallback(Array, Object(Consolidation\AnnotatedCommand\CommandData))
#23 /var/www/yusen/vendor/consolidation/annotated-command/src/CommandProcessor.php(176): Consolidation\AnnotatedCommand\CommandProcessor->validateRunAndAlter(Array, Array, Object(Consolidation\AnnotatedCommand\CommandData))
#24 /var/www/yusen/vendor/consolidation/annotated-command/src/AnnotatedCommand.php(390): Consolidation\AnnotatedCommand\CommandProcessor->process(Object(Symfony\Component\Console\Output\ConsoleOutput), Array, Array, Object(Consolidation\AnnotatedCommand\CommandData))
#25 /var/www/yusen/vendor/symfony/console/Command/Command.php(312): Consolidation\AnnotatedCommand\AnnotatedCommand->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#26 /var/www/yusen/vendor/symfony/console/Application.php(1040): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#27 /var/www/yusen/vendor/symfony/console/Application.php(314): Symfony\Component\Console\Application->doRunCommand(Object(Consolidation\AnnotatedCommand\AnnotatedCommand), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#28 /var/www/yusen/vendor/symfony/console/Application.php(168): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#29 /var/www/yusen/vendor/drush/drush/src/Runtime/Runtime.php(124): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#30 /var/www/yusen/vendor/drush/drush/src/Runtime/Runtime.php(51): Drush\Runtime\Runtime->doRun(Array, Object(Symfony\Component\Console\Output\ConsoleOutput))
#31 /var/www/yusen/vendor/drush/drush/drush.php(77): Drush\Runtime\Runtime->run(Array)
#32 /var/www/yusen/vendor/drush/drush/includes/preflight.inc(18): require('/var/www/yusen/...')
#33 phar:///usr/local/bin/drush/bin/drush.php(141): drush_main()
#34 /usr/local/bin/drush(10): require('phar:///usr/loc...')
#35 {main}
thrown in /var/www/yusen/docroot/modules/contrib/services/src/ServiceDefinitionBase.php on line 12

🐛 Bug report
Status

Fixed

Version

5.0

Component

Code

Created by

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

Comments & Activities

Production build 0.71.5 2024