- Issue created by @carlbowles100
- 🇨🇦Canada joseph.olstad
Hello @carlbowles100, please send me a message through my profiles contact form and we can set up a call to look at this issue together.
- 🇨🇦Canada joseph.olstad
Step 1)
- Please make sure your web user has write access to the css folder
Step 2)
- Please make sure your web user has write access to the js folder
Step 3)
- rebuild caches
If the css/js aggregations persist, proceed to step 4
Step 4)
- Follow instructions here: #3410301-4: Deprecate system.performance stale_file_threshold →
If the css/js aggregations persist, please look at server error logs, php logs, drupal logs and report the findings here.
- 🇬🇧United Kingdom carlbowles100
Thank you for your response. I have tried the steps outlined above however I am still facing the issue.
When viewing system logs after enabling aggregation, I get the following php error:
Error: Class "Drupal\bootstrap\Bootstrap" not found in include_once() (line 31 of /var/www/vhosts/csbdesign.co.uk/csbdesign/themes/bootstrap/bootstrap.theme).
#0 /var/www/vhosts/csbdesign.co.uk/csbdesign/core/lib/Drupal/Core/Extension/Extension.php(153): include_once() #1 /var/www/vhosts/csbdesign.co.uk/csbdesign/core/lib/Drupal/Core/Theme/ThemeInitialization.php(135): Drupal\Core\Extension\Extension->load() #2 /var/www/vhosts/csbdesign.co.uk/csbdesign/core/lib/Drupal/Core/Theme/ThemeInitialization.php(74): Drupal\Core\Theme\ThemeInitialization->loadActiveTheme() #3 /var/www/vhosts/csbdesign.co.uk/csbdesign/core/modules/system/src/Controller/AssetControllerBase.php(157): Drupal\Core\Theme\ThemeInitialization->initTheme() #4 [internal function]: Drupal\system\Controller\AssetControllerBase->deliver() #5 /var/www/vhosts/csbdesign.co.uk/csbdesign/core/lib/Drupal/Core/EventSubscriber/EarlyRenderingControllerWrapperSubscriber.php(123): call_user_func_array() #6 /var/www/vhosts/csbdesign.co.uk/csbdesign/core/lib/Drupal/Core/Render/Renderer.php(638): Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}() #7 /var/www/vhosts/csbdesign.co.uk/csbdesign/core/lib/Drupal/Core/EventSubscriber/EarlyRenderingControllerWrapperSubscriber.php(121): Drupal\Core\Render\Renderer->executeInRenderContext() #8 /var/www/vhosts/csbdesign.co.uk/csbdesign/core/lib/Drupal/Core/EventSubscriber/EarlyRenderingControllerWrapperSubscriber.php(97): Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->wrapControllerExecutionInRenderContext() #9 /var/www/vhosts/csbdesign.co.uk/csbdesign/vendor/symfony/http-kernel/HttpKernel.php(181): Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}() #10 /var/www/vhosts/csbdesign.co.uk/csbdesign/vendor/symfony/http-kernel/HttpKernel.php(76): Symfony\Component\HttpKernel\HttpKernel->handleRaw() #11 /var/www/vhosts/csbdesign.co.uk/csbdesign/core/lib/Drupal/Core/StackMiddleware/Session.php(53): Symfony\Component\HttpKernel\HttpKernel->handle() #12 /var/www/vhosts/csbdesign.co.uk/csbdesign/core/lib/Drupal/Core/StackMiddleware/KernelPreHandle.php(48): Drupal\Core\StackMiddleware\Session->handle() #13 /var/www/vhosts/csbdesign.co.uk/csbdesign/core/lib/Drupal/Core/StackMiddleware/ContentLength.php(28): Drupal\Core\StackMiddleware\KernelPreHandle->handle() #14 /var/www/vhosts/csbdesign.co.uk/csbdesign/core/modules/big_pipe/src/StackMiddleware/ContentLength.php(32): Drupal\Core\StackMiddleware\ContentLength->handle() #15 /var/www/vhosts/csbdesign.co.uk/csbdesign/core/modules/page_cache/src/StackMiddleware/PageCache.php(191): Drupal\big_pipe\StackMiddleware\ContentLength->handle() #16 /var/www/vhosts/csbdesign.co.uk/csbdesign/core/modules/page_cache/src/StackMiddleware/PageCache.php(128): Drupal\page_cache\StackMiddleware\PageCache->fetch() #17 /var/www/vhosts/csbdesign.co.uk/csbdesign/core/modules/page_cache/src/StackMiddleware/PageCache.php(82): Drupal\page_cache\StackMiddleware\PageCache->lookup() #18 /var/www/vhosts/csbdesign.co.uk/csbdesign/modules/advban/src/AdvbanMiddleware.php(57): Drupal\page_cache\StackMiddleware\PageCache->handle() #19 /var/www/vhosts/csbdesign.co.uk/csbdesign/core/lib/Drupal/Core/StackMiddleware/ReverseProxyMiddleware.php(48): Drupal\advban\AdvbanMiddleware->handle() #20 /var/www/vhosts/csbdesign.co.uk/csbdesign/core/lib/Drupal/Core/StackMiddleware/NegotiationMiddleware.php(51): Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle() #21 /var/www/vhosts/csbdesign.co.uk/csbdesign/core/lib/Drupal/Core/StackMiddleware/AjaxPageState.php(36): Drupal\Core\StackMiddleware\NegotiationMiddleware->handle() #22 /var/www/vhosts/csbdesign.co.uk/csbdesign/core/lib/Drupal/Core/StackMiddleware/StackedHttpKernel.php(51): Drupal\Core\StackMiddleware\AjaxPageState->handle() #23 /var/www/vhosts/csbdesign.co.uk/csbdesign/core/lib/Drupal/Core/DrupalKernel.php(741): Drupal\Core\StackMiddleware\StackedHttpKernel->handle() #24 /var/www/vhosts/csbdesign.co.uk/csbdesign/index.php(19): Drupal\Core\DrupalKernel->handle() #25 {main}
- 🇨🇦Canada joseph.olstad
Hello @carlbowles100,
A solution to your issue was previously reported here:
#3257001-5: not found in include_once() →The solution is to use composer as follows:
composer require drupal/bootstrap:'^3.34'