Hallo allerseits,
leider kann ich meine Sitemap nicht aufrufen. Da kommt immer nur eine Fehlermeldung.
Stacktrace:
Ich habe schon s�mtliche Dings aus den Foren versucht, komme aber nicht weiter.
Weiss hier jemand Rat?
Vielen Dank"
leider kann ich meine Sitemap nicht aufrufen. Da kommt immer nur eine Fehlermeldung.
Stacktrace:
Code:
ErrorException: Warning: Undefined array key "query" at system/modules/pct_customelements_plugin_customcatalog/PCT/CustomElements/Plugins/CustomCatalog/Core/Maintenance.php:529 at PCT\CustomElements\Plugins\CustomCatalog\Core\Main tenance->getSearchablePages() (vendor/contao/core-bundle/src/Controller/SitemapController.php:115) at Contao\CoreBundle\Controller\SitemapController->callLegacyHook() (vendor/contao/core-bundle/src/Controller/SitemapController.php:66) at Contao\CoreBundle\Controller\SitemapController->__invoke() (vendor/symfony/http-kernel/HttpKernel.php:163) at Symfony\Component\HttpKernel\HttpKernel->handleRaw() (vendor/symfony/http-kernel/HttpKernel.php:75) at Symfony\Component\HttpKernel\HttpKernel->handle() (vendor/symfony/http-kernel/Kernel.php:202) at Symfony\Component\HttpKernel\Kernel->handle() (web/index.php:44)
Code:
[B]ErrorException[/B] in [URL="https://www.domain.de/_profiler/open?file=system/modules/pct_customelements_plugin_customcatalog/PCT/CustomElements/Plugins/CustomCatalog/Core/Maintenance.php&line=529#line529"]system/modules/pct_customelements_plugin_customcatalog/PCT/CustomElements/Plugins/CustomCatalog/Core/[B]Maintenance.php[/B] [/URL](line 529)[LIST=1][*]{[*]break;[*]}[*][*]$alias = $GLOBALS['PCT_CUSTOMCATALOG']['urlItemsParameter'].'='.$objEntry->{$strAliasField};[*]if( $tmp['query'] )[*]{[*]$tmp['query'] .= $alias;[*]}[*]else[*]{[/LIST] in [URL="https://www.domain.de/_profiler/open?file=vendor/contao/core-bundle/src/Controller/SitemapController.php&line=115#line115"]vendor/contao/core-bundle/src/Controller/[B]SitemapController.php[/B] [/URL]-> getSearchablePages (line 115)[LIST=1][*]// HOOK: take additional pages[*]if (isset($GLOBALS['TL_HOOKS']['getSearchablePages']) && \is_array($GLOBALS['TL_HOOKS']['getSearchablePages'])) {[*]trigger_deprecation('contao/core-bundle', '4.11', 'Using the "getSearchablePages" hook is deprecated. Use the "contao.sitemap" event instead.');[*]foreach ($GLOBALS['TL_HOOKS']['getSearchablePages'] as $callback) {[*]$pages = $systemAdapter->importStatic($callback[0])->{$callback[1]}($pages, $rootPage->id, true, $rootPage->language);[*]}[*]}[*]return $pages;[*]}[/LIST] in [URL="https://www.domain.de/_profiler/open?file=vendor/contao/core-bundle/src/Controller/SitemapController.php&line=66#line66"]vendor/contao/core-bundle/src/Controller/[B]SitemapController.php[/B] [/URL]-> callLegacyHook (line 66)[LIST=1][*]$rootPageIds = [];[*]$tags = ['contao.sitemap'];[*]foreach ($rootPages as $rootPage) {[*]$pages = $this->getPageAndArticleUrls((int) $rootPage->id);[*]$urls[] = $this->callLegacyHook($rootPage, $pages);[*]$rootPageIds[] = $rootPage->id;[*]$tags[] = 'contao.sitemap.'.$rootPage->id;[*]}[/LIST] in [URL="https://www.domain.de/_profiler/open?file=vendor/symfony/http-kernel/HttpKernel.php&line=163#line163"]vendor/symfony/http-kernel/[B]HttpKernel.php[/B] [/URL]-> __invoke (line 163)[LIST=1][*]$this->dispatcher->dispatch($event, KernelEvents::CONTROLLER_ARGUMENTS);[*]$controller = $event->getController();[*]$arguments = $event->getArguments();[*]// call controller[*]$response = $controller(...$arguments);[*]// view[*]if (!$response instanceof Response) {[*]$event = new ViewEvent($this, $request, $type, $response);[*]$this->dispatcher->dispatch($event, KernelEvents::VIEW);[/LIST] in [URL="https://www.domain.de/_profiler/open?file=vendor/symfony/http-kernel/HttpKernel.php&line=75#line75"]vendor/symfony/http-kernel/[B]HttpKernel.php[/B] [/URL]-> handleRaw (line 75)[LIST=1][*]{[*]$request->headers->set('X-Php-Ob-Level', (string) ob_get_level());[*]$this->requestStack->push($request);[*]try {[*]return $this->handleRaw($request, $type);[*]} catch (\Exception $e) {[*]if ($e instanceof RequestExceptionInterface) {[*]$e = new BadRequestHttpException($e->getMessage(), $e);[*]}[*]if (false === $catch) {[/LIST] in [URL="https://www.domain.de/_profiler/open?file=vendor/symfony/http-kernel/Kernel.php&line=202#line202"]vendor/symfony/http-kernel/[B]Kernel.php[/B] [/URL]-> handle (line 202)[LIST=1][*]$this->boot();[*]++$this->requestStackSize;[*]$this->resetServices = true;[*]try {[*]return $this->getHttpKernel()->handle($request, $type, $catch);[*]} finally {[*]--$this->requestStackSize;[*]}[*]}[/LIST] Kernel->handle()in [URL="https://www.domain.de/_profiler/open?file=web/index.php&line=44#line44"]web/[B]index.php[/B] [/URL](line 44)[LIST=1][*]$loader = require __DIR__.'/../vendor/autoload.php';[*]$request = Request::createFromGlobals();[*]$kernel = ContaoKernel::fromRequest(dirname(__DIR__), $request);[*]$response = $kernel->handle($request);[*]$response->send();[*]if ($kernel instanceof TerminableInterface) {[*]$kernel->terminate($request, $response);[*]}[/LIST]
Weiss hier jemand Rat?
Vielen Dank"
Kommentar