Whoops, looks like something went wrong.

Get help in the TYPO3 Documentation

If you need help solving this exception, you can have a look at the TYPO3 Documentation. There you can find solutions provided by the TYPO3 community. Once you have found a solution to the problem, help others by contributing to the documentation page.

Find a solution for this exception in the TYPO3 Documentation.

(1/1) #1334756737 TYPO3\CMS\Core\Cache\Exception

The temporary cache file "/var/www/stadthalle-bielefeld.de/web/html/typo3temp/var/cache/code/di/6605790f5a3ee658555352.temp" could not be written.

in /var/www/clients/client55/web349/web/typo3_src-11.5.30/typo3/sysext/core/Classes/Cache/Backend/SimpleFileBackend.php line 232
        $temporaryCacheEntryPathAndFilename = $this->cacheDirectory . StringUtility::getUniqueId() . '.temp';
        $result = file_put_contents($temporaryCacheEntryPathAndFilename, $data);
        GeneralUtility::fixPermissions($temporaryCacheEntryPathAndFilename);
        if ($result === false) {
            throw new Exception('The temporary cache file "' . $temporaryCacheEntryPathAndFilename . '" could not be written.', 1334756737);
        }
        $cacheEntryPathAndFilename = $this->cacheDirectory . $entryIdentifier . $this->cacheEntryFileExtension;
        rename($temporaryCacheEntryPathAndFilename, $cacheEntryPathAndFilename);
        if ($this->cacheEntryFileExtension === '.php') {
at TYPO3\CMS\Core\Cache\Backend\SimpleFileBackend->set()
in /var/www/clients/client55/web349/web/typo3_src-11.5.30/typo3/sysext/core/Classes/DependencyInjection/Cache/ContainerBackend.php line 36
    public function set($entryIdentifier, $data, array $tags = [], $lifetime = null)
    {
        // Remove stale cache files, once a new DI container was built
        parent::flush();
        parent::set($entryIdentifier, $data, $tags, $lifetime);
    }

    public function forceFlush(): void
    {
at TYPO3\CMS\Core\DependencyInjection\Cache\ContainerBackend->set()
in /var/www/clients/client55/web349/web/typo3_src-11.5.30/typo3/sysext/core/Classes/Cache/Frontend/PhpFrontend.php line 61
                throw new \InvalidArgumentException('"' . $tag . '" is not a valid tag for a cache entry.', 1264023825);
            }
        }
        $sourceCode = '<?php' . LF . $sourceCode . LF . '#';
        $this->backend->set($entryIdentifier, $sourceCode, $tags, $lifetime);
    }

    /**
     * Finds and returns a variable value from the cache.
at TYPO3\CMS\Core\Cache\Frontend\PhpFrontend->set()
in /var/www/clients/client55/web349/web/typo3_src-11.5.30/typo3/sysext/core/Classes/DependencyInjection/ContainerBuilder.php line 172
            throw new \RuntimeException('Could not generate container code', 1599767133);
        }
        $code = str_replace(', )', ')', $code);

        $cache->set($cacheIdentifier, $code);

        return $code;
    }

at TYPO3\CMS\Core\DependencyInjection\ContainerBuilder->dumpContainer()
in /var/www/clients/client55/web349/web/typo3_src-11.5.30/typo3/sysext/core/Classes/DependencyInjection/ContainerBuilder.php line 95

        $hasCache = $cache->requireOnce($cacheIdentifier) !== false;
        if (!$hasCache) {
            $containerBuilder = $this->buildContainer($packageManager, $serviceProviderRegistry);
            $this->dumpContainer($containerBuilder, $cache, $cacheIdentifier);
            $cache->requireOnce($cacheIdentifier);
        }
        $container = new $containerClassName();

at TYPO3\CMS\Core\DependencyInjection\ContainerBuilder->createDependencyInjectionContainer()
in /var/www/clients/client55/web349/web/typo3_src-11.5.30/typo3/sysext/core/Classes/Core/Bootstrap.php line 142
            // @internal
            'boot.state' => $bootState,
        ]);

        $container = $builder->createDependencyInjectionContainer($packageManager, $dependencyInjectionContainerCache, $failsafe);

        // Push the container to GeneralUtility as we want to make sure its
        // makeInstance() method creates classes using the container from now on.
        GeneralUtility::setContainer($container);
at TYPO3\CMS\Core\Core\Bootstrap::init()
in /var/www/clients/client55/web349/web/typo3_src-11.5.30/index.php line 20
// Set up the application for the frontend
call_user_func(static function () {
    $classLoader = require __DIR__.'/vendor/autoload.php';
    \TYPO3\CMS\Core\Core\SystemEnvironmentBuilder::run(0, \TYPO3\CMS\Core\Core\SystemEnvironmentBuilder::REQUESTTYPE_FE);
    \TYPO3\CMS\Core\Core\Bootstrap::init($classLoader)->get(\TYPO3\CMS\Frontend\Http\Application::class)->run();
});
at {closure}()
in /var/www/clients/client55/web349/web/typo3_src-11.5.30/index.php line 21
call_user_func(static function () {
    $classLoader = require __DIR__.'/vendor/autoload.php';
    \TYPO3\CMS\Core\Core\SystemEnvironmentBuilder::run(0, \TYPO3\CMS\Core\Core\SystemEnvironmentBuilder::REQUESTTYPE_FE);
    \TYPO3\CMS\Core\Core\Bootstrap::init($classLoader)->get(\TYPO3\CMS\Frontend\Http\Application::class)->run();
});