Skip to content

Page cache identifier is not available #150

@fulaizhang

Description

@fulaizhang

typo3 v13:
subpage was ok,
only get this problem on startpage "/":

(1/1) #1752687715 Brotkrueml\Schema\Cache\UnknownPageCacheIdentifierException

Page cache identifier is not available
in /var/www/htdocs/vendor/brotkrueml/schema/Classes/Cache/UnknownPageCacheIdentifierException.php line 18

final class UnknownPageCacheIdentifierException extends \RuntimeException
{
public static function create(): self
{
return new self(
'Page cache identifier is not available',
1752687715,
);
}

at Brotkrueml\Schema\Cache\UnknownPageCacheIdentifierException::create()
in /var/www/htdocs/vendor/brotkrueml/schema/Classes/Cache/MarkupCacheHandler.php line 83

private function getCacheIdentifier(): string
{
    $pageCacheIdentifier = $this->runtimeCache->get(Extension::RUNTIME_CACHE_PAGE_CACHE_IDENTIFIER) ?? '';
    if ($pageCacheIdentifier === false) {
        throw UnknownPageCacheIdentifierException::create();
    }

    return $pageCacheIdentifier;
}

at Brotkrueml\Schema\Cache\MarkupCacheHandler->getCacheIdentifier()
in /var/www/htdocs/vendor/brotkrueml/schema/Classes/Cache/MarkupCacheHandler.php line 38

) {}

public function getMarkup(): ?string
{
    $pageCacheIdentifier = $this->getCacheIdentifier();

Metadata

Metadata

Assignees

No one assigned

    Labels

    wontfixThis will not be worked on

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions