Crashes D10.2.2

Created on 5 February 2024, 10 months ago
Updated 20 February 2024, 9 months ago

Installled 2.0.0-alpha using Composer. Enabled revision count limit 4 on a content type. At this point I got a WSOD on every page I tried to vist. Used Composer remove to uninstall it and site was usable again. I am using Scheduled Transitions and Content Modification Notifications modules with core Content Moderation.

Error Message:

Error: Class "Drush\Log\DrushLog" not found in Drupal\Component\DependencyInjection\Container->createService() (line 259 of /var/www/html/drupal-10.2/web/core/lib/Drupal/Component/DependencyInjection/Container.php).

Log Operations output:

#0 /var/www/html/drupal-10.2/web/core/lib/Drupal/Component/DependencyInjection/Container.php(177): Drupal\Component\DependencyInjection\Container->createService()
#1 /var/www/html/drupal-10.2/web/core/lib/Drupal/Component/DependencyInjection/Container.php(440): Drupal\Component\DependencyInjection\Container->get()
#2 /var/www/html/drupal-10.2/web/core/lib/Drupal/Component/DependencyInjection/Container.php(273): Drupal\Component\DependencyInjection\Container->resolveServicesAndParameters()
#3 /var/www/html/drupal-10.2/web/core/lib/Drupal/Component/DependencyInjection/Container.php(177): Drupal\Component\DependencyInjection\Container->createService()
#4 /var/www/html/drupal-10.2/web/core/lib/Drupal/Component/DependencyInjection/Container.php(440): Drupal\Component\DependencyInjection\Container->get()
#5 /var/www/html/drupal-10.2/web/core/lib/Drupal/Component/DependencyInjection/Container.php(249): Drupal\Component\DependencyInjection\Container->resolveServicesAndParameters()
#6 /var/www/html/drupal-10.2/web/core/lib/Drupal/Component/DependencyInjection/Container.php(177): Drupal\Component\DependencyInjection\Container->createService()
#7 /var/www/html/drupal-10.2/web/core/lib/Drupal/Component/DependencyInjection/Container.php(440): Drupal\Component\DependencyInjection\Container->get()
#8 /var/www/html/drupal-10.2/web/core/lib/Drupal/Component/DependencyInjection/Container.php(237): Drupal\Component\DependencyInjection\Container->resolveServicesAndParameters()
#9 /var/www/html/drupal-10.2/web/core/lib/Drupal/Component/DependencyInjection/Container.php(177): Drupal\Component\DependencyInjection\Container->createService()
#10 /var/www/html/drupal-10.2/web/core/lib/Drupal.php(197): Drupal\Component\DependencyInjection\Container->get()
#11 /var/www/html/drupal-10.2/web/core/modules/block/src/Entity/Block.php(156): Drupal::service()
#12 /var/www/html/drupal-10.2/web/core/modules/block/src/Entity/Block.php(145): Drupal\block\Entity\Block->getPluginCollection()
#13 /var/www/html/drupal-10.2/web/core/modules/block/src/BlockAccessControlHandler.php(118): Drupal\block\Entity\Block->getPlugin()
#14 /var/www/html/drupal-10.2/web/core/lib/Drupal/Core/Entity/EntityAccessControlHandler.php(109): Drupal\block\BlockAccessControlHandler->checkAccess()
#15 /var/www/html/drupal-10.2/web/core/lib/Drupal/Core/Entity/EntityBase.php(327): Drupal\Core\Entity\EntityAccessControlHandler->access()
#16 /var/www/html/drupal-10.2/web/core/modules/block/src/BlockRepository.php(63): Drupal\Core\Entity\EntityBase->access()
#17 /var/www/html/drupal-10.2/web/core/modules/block/src/Plugin/DisplayVariant/BlockPageVariant.php(137): Drupal\block\BlockRepository->getVisibleBlocksPerRegion()
#18 /var/www/html/drupal-10.2/web/core/lib/Drupal/Core/Render/MainContent/HtmlRenderer.php(270): Drupal\block\Plugin\DisplayVariant\BlockPageVariant->build()
#19 /var/www/html/drupal-10.2/web/core/lib/Drupal/Core/Render/MainContent/HtmlRenderer.php(128): Drupal\Core\Render\MainContent\HtmlRenderer->prepare()
#20 /var/www/html/drupal-10.2/web/core/lib/Drupal/Core/EventSubscriber/MainContentViewSubscriber.php(90): Drupal\Core\Render\MainContent\HtmlRenderer->renderResponse()
#21 [internal function]: Drupal\Core\EventSubscriber\MainContentViewSubscriber->onViewRenderArray()
#22 /var/www/html/drupal-10.2/web/core/lib/Drupal/Component/EventDispatcher/ContainerAwareEventDispatcher.php(111): call_user_func()
#23 /var/www/html/drupal-10.2/vendor/symfony/http-kernel/HttpKernel.php(186): Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher->dispatch()
#24 /var/www/html/drupal-10.2/vendor/symfony/http-kernel/HttpKernel.php(76): Symfony\Component\HttpKernel\HttpKernel->handleRaw()
#25 /var/www/html/drupal-10.2/web/core/lib/Drupal/Core/StackMiddleware/Session.php(58): Symfony\Component\HttpKernel\HttpKernel->handle()
#26 /var/www/html/drupal-10.2/web/core/lib/Drupal/Core/StackMiddleware/KernelPreHandle.php(48): Drupal\Core\StackMiddleware\Session->handle()
#27 /var/www/html/drupal-10.2/web/core/lib/Drupal/Core/StackMiddleware/ContentLength.php(28): Drupal\Core\StackMiddleware\KernelPreHandle->handle()
#28 /var/www/html/drupal-10.2/web/core/modules/big_pipe/src/StackMiddleware/ContentLength.php(32): Drupal\Core\StackMiddleware\ContentLength->handle()
#29 /var/www/html/drupal-10.2/web/core/modules/page_cache/src/StackMiddleware/PageCache.php(106): Drupal\big_pipe\StackMiddleware\ContentLength->handle()
#30 /var/www/html/drupal-10.2/web/core/modules/page_cache/src/StackMiddleware/PageCache.php(85): Drupal\page_cache\StackMiddleware\PageCache->pass()
#31 /var/www/html/drupal-10.2/web/core/lib/Drupal/Core/StackMiddleware/ReverseProxyMiddleware.php(48): Drupal\page_cache\StackMiddleware\PageCache->handle()
#32 /var/www/html/drupal-10.2/web/core/lib/Drupal/Core/StackMiddleware/NegotiationMiddleware.php(51): Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle()
#33 /var/www/html/drupal-10.2/web/core/lib/Drupal/Core/StackMiddleware/AjaxPageState.php(36): Drupal\Core\StackMiddleware\NegotiationMiddleware->handle()
#34 /var/www/html/drupal-10.2/web/core/lib/Drupal/Core/StackMiddleware/StackedHttpKernel.php(51): Drupal\Core\StackMiddleware\AjaxPageState->handle()
#35 /var/www/html/drupal-10.2/web/core/lib/Drupal/Core/DrupalKernel.php(704): Drupal\Core\StackMiddleware\StackedHttpKernel->handle()
#36 /var/www/html/drupal-10.2/web/index.php(19): Drupal\Core\DrupalKernel->handle()
#37 {main}

🐛 Bug report
Status

Closed: works as designed

Version

2.0

Component

Code

Created by

🇺🇸United States guymandude

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

Comments & Activities

  • Issue created by @guymandude
  • 🇮🇳India dineshkumarbollu

    Hi @GuyManDude
    I install the 2.0.0-alpha using Composer in D10.2 and set revision count limit 4 on a content type, No error occur site is working fine.

  • Status changed to Closed: works as designed 9 months ago
  • 🇨🇦Canada adriancid Montreal, Canada

    There is any reference to DrushLog in our codebase, I think this is coming from another place.

Production build 0.71.5 2024