Error: Class "MatthiasMullie\Minify\JS" not found in Drupal\minifyjs\MinifyJs->minifyFile()

Created on 8 June 2023, over 1 year ago
Updated 21 July 2023, over 1 year ago

Hello,

I install the version 3.0.0 and when I click on the "Minify" button of the /admin/config/development/minifyjs/files I get this error:

The website encountered an unexpected error. Please try again later.
Error: Class "MatthiasMullie\Minify\JS" not found in Drupal\minifyjs\MinifyJs->minifyFile() (line 321 of modules/contrib/minifyjs/src/MinifyJs.php).

Drupal\minifyjs\MinifyJs->minifyFile() (Line: 158)
Drupal\minifyjs\MinifyJs->minify() (Line: 50)
Drupal\minifyjs\Controller\FileManager->minify()
call_user_func_array() (Line: 123)
Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}() (Line: 564)
Drupal\Core\Render\Renderer->executeInRenderContext() (Line: 124)
Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->wrapControllerExecutionInRenderContext() (Line: 97)
Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}() (Line: 159)
Symfony\Component\HttpKernel\HttpKernel->handleRaw() (Line: 81)
Symfony\Component\HttpKernel\HttpKernel->handle() (Line: 58)
Drupal\Core\StackMiddleware\Session->handle() (Line: 48)
Drupal\Core\StackMiddleware\KernelPreHandle->handle() (Line: 106)
Drupal\page_cache\StackMiddleware\PageCache->pass() (Line: 85)
Drupal\page_cache\StackMiddleware\PageCache->handle() (Line: 48)
Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle() (Line: 51)
Drupal\Core\StackMiddleware\NegotiationMiddleware->handle() (Line: 23)
Stack\StackedHttpKernel->handle() (Line: 709)
Drupal\Core\DrupalKernel->handle() (Line: 19)

Could you help?

Thanks,
Laurent

🐛 Bug report
Status

Closed: works as designed

Version

3.0

Component

Code

Created by

🇫🇷France lorseau

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.71.5 2024