Problem/Motivation

The Advanced CSS/JS Aggregation module is not fully compatible with D10.1+, see https://www.drupal.org/project/advagg

That is causing issues with broken CSS/JS in some (rather rare cases).

However there are logs record like

https://www.drupal.nl|1767953667|php|81.206.47.209|https://www.drupal.nl/sites/default/files/js/js_9foSmVzJBtSkNbyAoQrdXnQIke9TYM8QQulg_cEs6K4.js?delta=2&include=eJx9U212hCAMvBDVM_QkvAhZN10kFILt3r5BxVf72v5QkpkB8gX4haIV5jBBHo91kIw43HnFTFEwiplotokSjt0w7s4F47gvw4S3jvhcE4Rh94x7oCfhfMKH_ycxpFBnimXY8UVRMI41jE-pEE75ibwEio_yv-TIS0UZOw1OaMVt9xWvwo6XFFDwQjgOAVK5gkVAsFwgrZqQa7fCdDCtijkq9_ZeMT-HG-fFXPM_stdsA88G40qZ46K1txS9Hvdd-hv5x5YbrKSFMFitY34Q2i03guhw_A00N8Lg7Zy5prEFfwFa4CCazLAl951SwK4QyIOQXviDKlcu6BE9nd0z2vRRPwvOtYnrrgtQCrk-oidOkXbRojHa1kyOZQMKeezKop14PM02ReP2t7hM6G0fNyt3XHAX2EBThvwcP8jPKArGaiv1OA_XRPZnr5ttEsi9A83egDZG_aA2hl3QbPPzvWFxkPC1vcUvv7tkIg&language=nl&scope=footer&theme=gin|https://www.drupal.nl/node/add/news|8||Warning: file_get_contents(public://js/optimized/js_hRgPOgS-rTZBQcvzxWHh-HppY21mgsIUl4qEcaPpyrQ.XPP2twMfbCx6yI8kCChTg5qBQJINbLABbzNyTDtJ6FM.js): Failed to open stream: "Drupal\Core\StreamWrapper\PublicStream::stream_open" call failed in Drupal\Core\Asset\JsOptimizer->optimize() (line 39 of ./core/lib/Drupal/Core/Asset/JsOptimizer.php) #0 ./core/includes/bootstrap.inc(166): _drupal_error_handler_real(2, 'file_get_conten...', './co...', 39)
#1 [internal function]: _drupal_error_handler(2, 'file_get_conten...', './co...', 39)
#2 ./core/lib/Drupal/Core/Asset/JsOptimizer.php(39): file_get_contents('public://js/opt...')
#3 ./core/lib/Drupal/Core/Asset/JsCollectionOptimizerLazy.php(178): Drupal\Core\Asset\JsOptimizer->optimize(Array)
#4 ./core/modules/system/src/Controller/AssetControllerBase.php(185): Drupal\Core\Asset\JsCollectionOptimizerLazy->optimizeGroup(Array)
#5 [internal function]: Drupal\system\Controller\AssetControllerBase->deliver(Object(Symfony\Component\HttpFoundation\Request), 'js_9foSmVzJBtSk...')
#6 ./core/lib/Drupal/Core/EventSubscriber/EarlyRenderingControllerWrapperSubscriber.php(123): call_user_func_array(Array, Array)
#7 ./core/lib/Drupal/Core/Render/Renderer.php(637): Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}()
#8 ./core/lib/Drupal/Core/EventSubscriber/EarlyRenderingControllerWrapperSubscriber.php(121): Drupal\Core\Render\Renderer->executeInRenderContext(Object(Drupal\Core\Render\RenderContext), Object(Closure))
#9 ./core/lib/Drupal/Core/EventSubscriber/EarlyRenderingControllerWrapperSubscriber.php(97): Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->wrapControllerExecutionInRenderContext(Array, Array)
#10 ./vendor/symfony/http-kernel/HttpKernel.php(181): Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}()
#11 ./vendor/symfony/http-kernel/HttpKernel.php(76): Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object(Symfony\Component\HttpFoundation\Request), 1)
#12 ./core/lib/Drupal/Core/StackMiddleware/Session.php(53): Symfony\Component\HttpKernel\HttpKernel->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#13 ./core/lib/Drupal/Core/StackMiddleware/KernelPreHandle.php(48): Drupal\Core\StackMiddleware\Session->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#14 ./core/lib/Drupal/Core/StackMiddleware/ContentLength.php(28): Drupal\Core\StackMiddleware\KernelPreHandle->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#15 ./core/modules/big_pipe/src/StackMiddleware/ContentLength.php(32): Drupal\Core\StackMiddleware\ContentLength->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#16 ./core/modules/page_cache/src/StackMiddleware/PageCache.php(116): Drupal\big_pipe\StackMiddleware\ContentLength->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#17 ./core/modules/page_cache/src/StackMiddleware/PageCache.php(90): Drupal\page_cache\StackMiddleware\PageCache->pass(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#18 ./core/modules/ban/src/BanMiddleware.php(50): Drupal\page_cache\StackMiddleware\PageCache->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#19 ./core/lib/Drupal/Core/StackMiddleware/ReverseProxyMiddleware.php(48): Drupal\ban\BanMiddleware->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#20 ./core/lib/Drupal/Core/StackMiddleware/NegotiationMiddleware.php(51): Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#21 ./core/lib/Drupal/Core/StackMiddleware/AjaxPageState.php(36): Drupal\Core\StackMiddleware\NegotiationMiddleware->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#22 ./core/lib/Drupal/Core/StackMiddleware/StackedHttpKernel.php(51): Drupal\Core\StackMiddleware\AjaxPageState->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#23 ./core/lib/Drupal/Core/DrupalKernel.php(741): Drupal\Core\StackMiddleware\StackedHttpKernel->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#24 ./index.php(19): Drupal\Core\DrupalKernel->handle(Object(Symfony\Component\HttpFoundation\Request))
#25 {main}.

Steps to reproduce

It's hardly reproducible, but both @esmoves and @bbrala

Proposed resolution

Disable Advanced CSS/JS Aggregation module

Remaining tasks

Review MR

User interface changes

None

API changes

None

Data model changes

None

Issue fork la_eu-3566619

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

taran2l created an issue. See original summary.

taran2l’s picture

Status: Active » Needs review

  • taran2l committed 90da494e on staging
    feat: #3566619 Disable Advanced CSS/JS Aggregation module
    
taran2l’s picture

Status: Needs review » Fixed

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.

  • taran2l committed 90da494e on 1.0.x
    feat: #3566619 Disable Advanced CSS/JS Aggregation module
    

  • taran2l committed 90da494e on downstream/la_nl
    feat: #3566619 Disable Advanced CSS/JS Aggregation module
    
taran2l’s picture

Issue summary: View changes
taran2l’s picture

Issue summary: View changes

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.