Exceptions
Exception
Symfony\Component\Cache\Exception\ InvalidArgumentException
in
vendor/symfony/cache/CacheItem.php
(line 135)
}
if ('' === $tag) {
throw new InvalidArgumentException('Cache tag length must be greater than zero.');
}
if (false !== strpbrk($tag, self::RESERVED_CHARACTERS)) {
throw new InvalidArgumentException(sprintf('Cache tag "%s" contains reserved characters "%s".', $tag, self::RESERVED_CHARACTERS));
}
$this->newMetadata[self::METADATA_TAGS][$tag] = $tag;
}
return $this;
in
vendor/shopware/storefront/Framework/Cache/CacheStore.php
->
tag
(line 162)
}
$item = CacheCompressor::compress($item, $cacheResponse);
$item->expiresAt($cacheResponse->getExpires());
$item->tag($tags);
$this->cache->save($item);
$this->eventDispatcher->dispatch(
new HttpCacheItemWrittenEvent($item, $tags, $request, $response)
in
vendor/symfony/http-kernel/HttpCache/HttpCache.php
->
write
(line 614)
* @throws \Exception
*/
protected function store(Request $request, Response $response)
{
try {
$this->store->write($request, $response);
$this->record($request, 'store');
$response->headers->set('Age', $response->getAge());
} catch (\Exception $e) {
in
vendor/symfony/http-kernel/HttpCache/HttpCache.php
->
store
(line 458)
$subRequest->headers->remove('If-None-Match');
$response = $this->forward($subRequest, $catch);
if ($response->isCacheable()) {
$this->store($request, $response);
}
return $response;
}
in
vendor/symfony/http-kernel/HttpCache/HttpCache.php
->
fetch
(line 349)
}
if (null === $entry) {
$this->record($request, 'miss');
return $this->fetch($request, $catch);
}
if (!$this->isFreshEnough($request, $entry)) {
$this->record($request, 'stale');
in
vendor/symfony/http-kernel/HttpCache/HttpCache.php
->
lookup
(line 227)
reload the cache by fetching a fresh response and caching it (if possible).
*/
$this->record($request, 'reload');
$response = $this->fetch($request, $catch);
} else {
$response = $this->lookup($request, $catch);
}
$this->restoreResponseBody($request, $response);
if (HttpKernelInterface::MAIN_REQUEST === $type) {
in
vendor/shopware/core/HttpKernel.php
->
handle
(line 156)
&& $container->getParameter('shopware.http.cache.enabled');
if ($enabled && $container->has(CacheStore::class)) {
$kernel = new static::$httpCacheClass($kernel, $container->get(CacheStore::class), null, ['debug' => $this->debug]);
}
$response = $kernel->handle($transformed, $type, $catch);
// fire event to trigger runtime events like seo url headers
$event = new BeforeSendResponseEvent($transformed, $response);
$container->get('event_dispatcher')->dispatch($event);
in
vendor/shopware/core/HttpKernel.php
->
doHandle
(line 81)
if (!\is_bool($catch)) {
Feature::triggerDeprecationOrThrow('v6.5.0.0', 'The third parameter `$catch` of `HttpKernel->handle()` will be typed to `bool`');
}
try {
return $this->doHandle($request, (int) $type, (bool) $catch);
} catch (Exception $e) {
/** @var Params|array{url?: string} $connectionParams */
$connectionParams = self::getConnection()->getParams();
$message = str_replace([$connectionParams['url'] ?? null, $connectionParams['password'] ?? null, $connectionParams['user'] ?? null], '******', $e->getMessage());
}
} else {
$kernel = new InstallerKernel($appEnv, $debug);
}
$result = $kernel->handle($request);
if ($result instanceof Response) {
$result->send();
$kernel->terminate($request, $result);
} else {
Logs
Level | Channel | Message |
---|---|---|
INFO 11:40:26 | php |
Deprecated: Constant NumberFormatter::TYPE_CURRENCY is deprecated { "exception": {} } |
INFO 11:40:26 | request |
Matched route "_profiler". { "route": "_profiler", "route_parameters": { "_route": "_profiler", "_controller": "web_profiler.controller.profiler::panelAction", "token": "c1f81c" }, "request_uri": "https://dev.m-medientechnik.de/_profiler/c1f81c?panel=exception", "method": "GET" } |
INFO 11:40:26 | php |
User Deprecated: Since shopware/core : Class "Shopware\Storefront\Framework\Csrf\CsrfRouteListener" is deprecated and will be removed in v6.5.0.0. { "exception": {} } |
INFO 11:40:26 | php |
User Deprecated: Since shopware/core : Class "Shopware\Storefront\Framework\Csrf\CsrfRouteListener" is deprecated and will be removed in v6.5.0.0. { "exception": {} } |
INFO 11:40:26 | php |
User Deprecated: Since shopware/core : Class "Shopware\Core\Content\Mail\Service\MailerTransportFactory" is deprecated and will be removed in v6.5.0.0. { "exception": {} } |
INFO 11:40:26 | php |
User Deprecated: Since shopware/core : Class "Shopware\Core\Content\Mail\Service\MailerTransportFactory" is deprecated and will be removed in v6.5.0.0. { "exception": {} } |
INFO 11:40:26 | php |
User Deprecated: Since shopware/core : Class "Shopware\Storefront\Framework\Csrf\CsrfRouteListener" is deprecated and will be removed in v6.5.0.0. { "exception": {} } |
INFO 11:40:26 | php |
User Deprecated: Since shopware/core : Class "Shopware\Storefront\Framework\Csrf\CsrfRouteListener" is deprecated and will be removed in v6.5.0.0. { "exception": {} } |
Stack Trace
InvalidArgumentException
|
---|
Symfony\Component\Cache\Exception\InvalidArgumentException: Cache tag "translator.Ein Anspruch auf Bearbeitung außerhalb der offiziellen Servicezeiten besteht ohne gültigen Servicevertrag nicht. Bei Fragen oder Problemen außerhalb unseres Verantwortungsbereiches berechnen wir für den Support 120 Euro netto / Stunde, außerhalb unserer Öffnungszeiten 199 Euro netto / Stunde. Die Abrechnung erfolgt gemäß Servicebericht." contains reserved characters "{}()/\@:". at vendor/symfony/cache/CacheItem.php:135 at Symfony\Component\Cache\CacheItem->tag() (vendor/shopware/storefront/Framework/Cache/CacheStore.php:162) at Shopware\Storefront\Framework\Cache\CacheStore->write() (vendor/symfony/http-kernel/HttpCache/HttpCache.php:614) at Symfony\Component\HttpKernel\HttpCache\HttpCache->store() (vendor/symfony/http-kernel/HttpCache/HttpCache.php:458) at Symfony\Component\HttpKernel\HttpCache\HttpCache->fetch() (vendor/symfony/http-kernel/HttpCache/HttpCache.php:349) at Symfony\Component\HttpKernel\HttpCache\HttpCache->lookup() (vendor/symfony/http-kernel/HttpCache/HttpCache.php:227) at Symfony\Component\HttpKernel\HttpCache\HttpCache->handle() (vendor/shopware/core/HttpKernel.php:156) at Shopware\Core\HttpKernel->doHandle() (vendor/shopware/core/HttpKernel.php:81) at Shopware\Core\HttpKernel->handle() (public/index.php:85) |