Aggiornamento Drupal dalla versione 8.8.5 alla versione 8.9.6
Ho aggiornato la versione di Drupal come da oggetto, ma alla fine dell'update mi segnala un problema. Allego S.S.
E mi segnala un errore, ho sbagliato io a fare la'ggiornamento?
Warning: file_get_contents(core/assets/vendor/jquery.cookie/jquery.cookie.min.js): failed to open stream: No such file or directory in Drupal\Core\Asset\JsCollectionOptimizer->optimize() (line 127 of C:\xampp\htdocs\gep-ce\core\lib\Drupal\Core\Asset\JsCollectionOptimizer.php)
#0 C:\xampp\htdocs\gep-ce\core\includes\bootstrap.inc(600): _drupal_error_handler_real(2, 'file_get_conten...', 'C:\\xampp\\htdocs...', 127, Array)
#1 [internal function]: _drupal_error_handler(2, 'file_get_conten...', 'C:\\xampp\\htdocs...', 127, Array)
#2 C:\xampp\htdocs\gep-ce\core\lib\Drupal\Core\Asset\JsCollectionOptimizer.php(127): file_get_contents('core/assets/ven...')
#3 C:\xampp\htdocs\gep-ce\core\lib\Drupal\Core\Asset\AssetResolver.php(298): Drupal\Core\Asset\JsCollectionOptimizer->optimize(Array)
#4 C:\xampp\htdocs\gep-ce\core\lib\Drupal\Core\Render\HtmlResponseAttachmentsProcessor.php(322): Drupal\Core\Asset\AssetResolver->getJsAssets(Object(Drupal\Core\Asset\AttachedAssets), true)
#5 C:\xampp\htdocs\gep-ce\core\lib\Drupal\Core\Render\HtmlResponseAttachmentsProcessor.php(161): Drupal\Core\Render\HtmlResponseAttachmentsProcessor->processAssetLibraries(Object(Drupal\Core\Asset\AttachedAssets), Array)
#6 C:\xampp\htdocs\gep-ce\core\modules\big_pipe\src\Render\BigPipeResponseAttachmentsProcessor.php(94): Drupal\Core\Render\HtmlResponseAttachmentsProcessor->processAttachments(Object(Drupal\Core\Render\HtmlResponse))
#7 C:\xampp\htdocs\gep-ce\core\lib\Drupal\Core\EventSubscriber\HtmlResponseSubscriber.php(45): Drupal\big_pipe\Render\BigPipeResponseAttachmentsProcessor->processAttachments(Object(Drupal\Core\Render\HtmlResponse))
#8 [internal function]: Drupal\Core\EventSubscriber\HtmlResponseSubscriber->onRespond(Object(Symfony\Component\HttpKernel\Event\FilterResponseEvent), 'kernel.response', Object(Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher))
#9 C:\xampp\htdocs\gep-ce\core\lib\Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher.php(111): call_user_func(Array, Object(Symfony\Component\HttpKernel\Event\FilterResponseEvent), 'kernel.response', Object(Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher))
#10 C:\xampp\htdocs\gep-ce\vendor\symfony\http-kernel\HttpKernel.php(191): Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher->dispatch('kernel.response', Object(Symfony\Component\HttpKernel\Event\FilterResponseEvent))
#11 C:\xampp\htdocs\gep-ce\vendor\symfony\http-kernel\HttpKernel.php(173): Symfony\Component\HttpKernel\HttpKernel->filterResponse(Object(Drupal\Core\Render\HtmlResponse), Object(Symfony\Component\HttpFoundation\Request), 1)
#12 C:\xampp\htdocs\gep-ce\vendor\symfony\http-kernel\HttpKernel.php(68): Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object(Symfony\Component\HttpFoundation\Request), 1)
#13 C:\xampp\htdocs\gep-ce\core\lib\Drupal\Core\StackMiddleware\Session.php(57): Symfony\Component\HttpKernel\HttpKernel->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#14 C:\xampp\htdocs\gep-ce\core\lib\Drupal\Core\StackMiddleware\KernelPreHandle.php(47): Drupal\Core\StackMiddleware\Session->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#15 C:\xampp\htdocs\gep-ce\core\modules\page_cache\src\StackMiddleware\PageCache.php(106): Drupal\Core\StackMiddleware\KernelPreHandle->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#16 C:\xampp\htdocs\gep-ce\core\modules\page_cache\src\StackMiddleware\PageCache.php(85): Drupal\page_cache\StackMiddleware\PageCache->pass(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#17 C:\xampp\htdocs\gep-ce\core\lib\Drupal\Core\StackMiddleware\ReverseProxyMiddleware.php(47): Drupal\page_cache\StackMiddleware\PageCache->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#18 C:\xampp\htdocs\gep-ce\core\lib\Drupal\Core\StackMiddleware\NegotiationMiddleware.php(52): Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#19 C:\xampp\htdocs\gep-ce\vendor\stack\builder\src\Stack\StackedHttpKernel.php(23): Drupal\Core\StackMiddleware\NegotiationMiddleware->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#20 C:\xampp\htdocs\gep-ce\core\lib\Drupal\Core\DrupalKernel.php(708): Stack\StackedHttpKernel->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#21 C:\xampp\htdocs\gep-ce\index.php(19): Drupal\Core\DrupalKernel->handle(Object(Symfony\Component\HttpFoundation\Request))
#22 {main}
Allegato | Dimensione |
---|---|
Drupal Aggiornamento.PNG | 34.87 KB |
Risposte
Probabilmente
Probabilmente nell'installazione un tema o una modulo fa riferimento ad una libreria che è stata rinominata. Il path core/assets/vendor/jquery.cookie/jquery.cookie.min.js non esiste, il file dovrebbe essere questo core/assets/vendor/js-cookie/js.cookie.min.js.
Prova ad aggiornare anche i moduli e i temi aggiuntivi.
Se non risolvi cerca dentro tutti i file dell'installazione la stringa "core/jquery.cookie" e prova a sostituire le occorrenze con "core/js-cookie".