Addvag conflict with local crash site

Created on 23 September 2021, almost 3 years ago
Updated 4 August 2023, 11 months ago

Problem/Motivation

Advagg main module crash as soon as the agregation is turned on:


Exception: Only local files should be passed to _locale_parse_js_file(). in _locale_parse_js_file() (line 1129 of core/modules/locale/locale.module).

locale_js_translate() (Line: 507)
locale_js_alter() (Line: 539)
Drupal\Core\Extension\ModuleHandler->alter() (Line: 277)
Drupal\Core\Asset\AssetResolver->getJsAssets() (Line: 322)
Drupal\Core\Render\HtmlResponseAttachmentsProcessor->processAssetLibraries() (Line: 161)
Drupal\Core\Render\HtmlResponseAttachmentsProcessor->processAttachments() (Line: 94)
Drupal\big_pipe\Render\BigPipeResponseAttachmentsProcessor->processAttachments() (Line: 45)
Drupal\Core\EventSubscriber\HtmlResponseSubscriber->onRespond()
call_user_func() (Line: 111)
Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher->dispatch() (Line: 191)
Symfony\Component\HttpKernel\HttpKernel->filterResponse() (Line: 173)
Symfony\Component\HttpKernel\HttpKernel->handleRaw() (Line: 68)
Symfony\Component\HttpKernel\HttpKernel->handle() (Line: 57)
Drupal\Core\StackMiddleware\Session->handle() (Line: 47)
Drupal\Core\StackMiddleware\KernelPreHandle->handle() (Line: 106)
Drupal\page_cache\StackMiddleware\PageCache->pass() (Line: 85)
Drupal\page_cache\StackMiddleware\PageCache->handle() (Line: 47)
Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle() (Line: 52)
Drupal\Core\StackMiddleware\NegotiationMiddleware->handle() (Line: 23)
Stack\StackedHttpKernel->handle() (Line: 708)
Drupal\Core\DrupalKernel->handle() (Line: 19)

This happen in locale.module at this point :

  if (strpos($filepath, ':')) {
    throw new Exception('Only local files should be passed to _locale_parse_js_file().');
  }

because of the following url :

public://js/optimized/js_nhad4bEdPZCbEWjlpI5bl-0bhCabznDr8dNctYJH7dU.U1PG7K6tc__hZjVlTS7F6tLKxXUL-Xcw2rtXf0P0H6Y.js

πŸ› Bug report
Status

Closed: duplicate

Version

4.1

Component

Code

Created by

πŸ‡«πŸ‡·France Thony

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

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.69.0 2024