Whoops, looks like something went wrong.

Get help in the TYPO3 Wiki

If you need help solving this exception, you can have a look at the TYPO3 Wiki. 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 wiki page.

Find a solution for this exception in the TYPO3 wiki.

(1/1) #1345036335 RuntimeException

Could not write log record to log file

in MYSITEPATH/typo3/sysext/core/Classes/Log/Writer/FileWriter.php line 170
            $data
        );

        if (false === fwrite(self::$logFileHandles[$this->logFile], $message . LF)) {
            throw new \RuntimeException('Could not write log record to log file', 1345036335);
        }

        return $this;
    }
at TYPO3\CMS\Core\Log\Writer\FileWriter->writeLog()
in MYSITEPATH/typo3/sysext/core/Classes/Log/Logger.php line 258
    {
        if (!empty($this->writers[$record->getLevel()])) {
            /** @var WriterInterface $writer */
            foreach ($this->writers[$record->getLevel()] as $writer) {
                $writer->writeLog($record);
            }
        }
    }
}
at TYPO3\CMS\Core\Log\Logger->writeLog()
in MYSITEPATH/typo3/sysext/core/Classes/Log/Logger.php line 222
        }
        /** @var \TYPO3\CMS\Core\Log\LogRecord $record */
        $record = GeneralUtility::makeInstance(LogRecord::class, $this->name, LogLevel::getInternalName($level), $message, $data, $this->requestId);
        $record = $this->callProcessors($record);
        $this->writeLog($record);
        return $this;
    }

    /**
at TYPO3\CMS\Core\Log\Logger->log()
in MYSITEPATH/vendor/psr/log/Psr/Log/AbstractLogger.php line 98
     * @return void
     */
    public function notice($message, array $context = array())
    {
        $this->log(LogLevel::NOTICE, $message, $context);
    }

    /**
     * Interesting events.
at Psr\Log\AbstractLogger->notice()
in MYSITEPATH/typo3/sysext/core/Classes/Error/ErrorHandler.php line 152
        $message = $logTitle . ': ' . $message;

        if ($errorLevel === E_USER_DEPRECATED) {
            $logger = GeneralUtility::makeInstance(LogManager::class)->getLogger('TYPO3.CMS.deprecations');
            $logger->notice($message);
            return true;
        }
        if ($this->logger) {
            $this->logger->log(LogLevel::normalizeLevel(LogLevel::NOTICE) - $severity, $message);
at TYPO3\CMS\Core\Error\ErrorHandler->handleError()
at trigger_error()
in MYSITEPATH/typo3/sysext/extbase/Classes/Utility/ExtensionUtility.php line 63
        if ($delimiterPosition !== false) {
            $vendorName = str_replace('.', '\\', substr($extensionName, 0, $delimiterPosition));
            trigger_error(
                'Calling method ' . __METHOD__ . ' with argument $extensionName ("' . $extensionName . '") containing the vendor name ("' . $vendorName . '") is deprecated and will stop working in TYPO3 11.0.',
                E_USER_DEPRECATED
            );
            $extensionName = substr($extensionName, $delimiterPosition + 1);

            if (!empty($vendorName)) {
at TYPO3\CMS\Extbase\Utility\ExtensionUtility::configurePlugin()
in MYSITEPATH/typo3temp/var/cache/code/core/ext_localconf_6fb9037f2f3da99e1d56edf5b321a7e1e46e42a2.php line 1341
                [
                    'Page' => 'render,error',
                ],
                [],
                \TYPO3\CMS\Extbase\Utility\ExtensionUtility::PLUGIN_TYPE_PLUGIN
            );

            $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['BackendLayoutDataProvider']['flux'] = \FluidTYPO3\Flux\Backend\BackendLayoutDataProvider::class;
            $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['cms/layout/db_layout.php']['drawHeaderHook'][] = \FluidTYPO3\Flux\Integration\HookSubscribers\PagePreviewRenderer::class . '->render';
at TYPO3\CMS\Core\Cache\Backend\SimpleFileBackend->{closure}()
in MYSITEPATH/typo3temp/var/cache/code/core/ext_localconf_6fb9037f2f3da99e1d56edf5b321a7e1e46e42a2.php line 1361
                'tx_fed_page_controller_action,tx_fed_page_controller_action_sub,tx_fed_page_flexform,tx_fed_page_flexform_sub,';
        }

    }
})();


/**
 * Extension: vhs
at require('MYSITEPATH/typo3temp/var/cache/code/core/ext_localconf_6fb9037f2f3da99e1d56edf5b321a7e1e46e42a2.php')
in MYSITEPATH/typo3/sysext/core/Classes/Cache/Backend/SimpleFileBackend.php line 383
        $pathAndFilename = $this->cacheDirectory . $entryIdentifier . $this->cacheEntryFileExtension;
        if ($entryIdentifier !== PathUtility::basename($entryIdentifier)) {
            throw new \InvalidArgumentException('The specified entry identifier must not contain a path segment.', 1532528267);
        }
        return file_exists($pathAndFilename) ? require $pathAndFilename : false;
    }
}
at TYPO3\CMS\Core\Cache\Backend\SimpleFileBackend->require()
in MYSITEPATH/typo3/sysext/core/Classes/Cache/Frontend/PhpFrontend.php line 101
     * @return mixed Potential return value from the include operation
     */
    public function require(string $entryIdentifier)
    {
        return $this->backend->require($entryIdentifier);
    }
}
at TYPO3\CMS\Core\Cache\Frontend\PhpFrontend->require()
in MYSITEPATH/typo3/sysext/core/Classes/Utility/ExtensionManagementUtility.php line 1560
    {
        if ($allowCaching) {
            $codeCache = $codeCache ?? self::getCacheManager()->getCache('core');
            $cacheIdentifier = self::getExtLocalconfCacheIdentifier();
            $hasCache = $codeCache->require($cacheIdentifier) !== false;
            if (!$hasCache) {
                self::loadSingleExtLocalconfFiles();
                self::createExtLocalconfCacheEntry($codeCache);
            }
at TYPO3\CMS\Core\Utility\ExtensionManagementUtility::loadExtLocalconf()
in MYSITEPATH/typo3/sysext/core/Classes/Core/Bootstrap.php line 283
    {
        if ($allowCaching) {
            $coreCache = $coreCache ?? GeneralUtility::makeInstance(CacheManager::class)->getCache('core');
        }
        ExtensionManagementUtility::loadExtLocalconf($allowCaching, $coreCache);
    }

    /**
     * We need an early instance of the configuration manager.
at TYPO3\CMS\Core\Core\Bootstrap::loadTypo3LoadedExtAndExtLocalconf()
in MYSITEPATH/typo3/sysext/core/Classes/Core/Bootstrap.php line 160

        IconRegistry::setCache($assetsCache);
        PageRenderer::setCache($assetsCache);
        ExtensionManagementUtility::setEventDispatcher($container->get(EventDispatcherInterface::class));
        static::loadTypo3LoadedExtAndExtLocalconf(true, $coreCache);
        static::unsetReservedGlobalVariables();
        $bootState->done = true;
        static::loadBaseTca(true, $coreCache);
        static::checkEncryptionKey();
at TYPO3\CMS\Core\Core\Bootstrap::init()
in MYSITEPATH/index.php line 25
// Set up the application for the frontend
call_user_func(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 MYSITEPATH/index.php line 26
call_user_func(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();
});