- 🇩🇪Germany michaellenahan
Looks like this is a duplicate of https://www.drupal.org/project/advagg/issues/3124130 🐛 Optimized js assets fed into _locale_parse_js_file Needs work
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
Closed: duplicate
4.1
Code
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.
Looks like this is a duplicate of https://www.drupal.org/project/advagg/issues/3124130 🐛 Optimized js assets fed into _locale_parse_js_file Needs work