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.
} $message = self::ERROR_LEVEL_LABELS[$errorLevel] . ': ' . $errorMessage . ' in ' . $errorFile . ' line ' . $errorLine; if ($errorLevel & $this->exceptionalErrors) { throw new Exception($message, 1476107295); } $message = $this->getFormattedLogMessage($message);
$pathAndFilename = $this->cacheDirectory . $entryIdentifier . $this->cacheEntryFileExtension; if (!file_exists($pathAndFilename)) { return false; } return file_get_contents($pathAndFilename); } /** * Checks if a cache entry with the specified identifier exists.
'"' . $entryIdentifier . '" is not a valid cache entry identifier.', 1233058294 ); } $rawResult = $this->backend->get($entryIdentifier); if ($rawResult === false) { return false; } return $this->backend instanceof TransientBackendInterface ? $rawResult : unserialize($rawResult);
*/ protected function getCachedBackendIcons() { $cacheIdentifier = $this->getBackendIconsCacheIdentifier(); $cacheEntry = $this->cache->get($cacheIdentifier); if ($cacheEntry !== false) { $this->icons = $cacheEntry; } else {
*/ protected function initialize() { if (!$this->backendIconsInitialized) { $this->getCachedBackendIcons(); } if (!$this->tcaInitialized && !empty($GLOBALS['TCA'])) { $this->registerTCAIcons(); }
public function __construct(FrontendInterface $assetsCache, string $cacheIdentifier) { $this->cache = $assetsCache; $this->cacheIdentifier = $cacheIdentifier; $this->initialize(); } /** * Initialize the registry
if (isset(self::$singletonInstances[$finalClassName])) { return self::$singletonInstances[$finalClassName]; } // Create new instance and call constructor with parameters return new $finalClassName(...$constructorArguments); } /** * Returns the class name for a new instance, taking into account
*/ protected static function new(ContainerInterface $container, string $className, array $constructorArguments = []) { // Support $GLOBALS['TYPO3_CONF_VARS']['SYS']['Objects'] (xclasses) and class alias maps $instance = GeneralUtility::makeInstanceForDi($className, ...$constructorArguments); if ($instance instanceof LoggerAwareInterface) { $instance->setLogger($container->get(LogManager::class)->getLogger($className)); }
} public static function getIconRegistry(ContainerInterface $container): Imaging\IconRegistry { return self::new($container, Imaging\IconRegistry::class, [$container->get('cache.assets'), $container->get(Package\Cache\PackageDependentCacheIdentifier::class)->withPrefix('BackendIcons')->toString()]); } public static function getLanguageServiceFactory(ContainerInterface $container): Localization\LanguageServiceFactory {
* @return \TYPO3\CMS\Core\Imaging\IconRegistry */ protected function getIconRegistryDecorated1Service() { return $this->services['TYPO3\\CMS\\Core\\Imaging\\IconRegistry_decorated_1'] = \TYPO3\CMS\Core\ServiceProvider::configureIconRegistry($this, \TYPO3\CMS\Core\ServiceProvider::getIconRegistry($this)); } /** * Gets the public 'TYPO3\CMS\Core\LinkHandling\LinkService' shared autowired service.
try { if (isset($this->fileMap[$id])) { return /* self::IGNORE_ON_UNINITIALIZED_REFERENCE */ 4 === $invalidBehavior ? null : $this->load($this->fileMap[$id]); } elseif (isset($this->methodMap[$id])) { return /* self::IGNORE_ON_UNINITIALIZED_REFERENCE */ 4 === $invalidBehavior ? null : $this->{$this->methodMap[$id]}(); } } catch (\Exception $e) { unset($this->services[$id]);
public function get(string $id, int $invalidBehavior = /* self::EXCEPTION_ON_INVALID_REFERENCE */ 1) { return $this->services[$id] ?? $this->services[$id = $this->aliases[$id] ?? $id] ?? ('service_container' === $id ? $this : ($this->factories[$id] ?? [$this, 'make'])($id, $invalidBehavior)); } /** * Creates a service.
// support classes that require dependency injection. // We operate on the original class name on purpose, as class overrides // are resolved inside the container if (self::$container !== null && $constructorArguments === [] && self::$container->has($className)) { return self::$container->get($className); } // Create new instance and call constructor with parameters $instance = new $finalClassName(...$constructorArguments);
$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; } }
* @return mixed Potential return value from the include operation */ public function require(string $entryIdentifier) { return $this->backend->require($entryIdentifier); } }
{ if ($allowCaching) { $codeCache = $codeCache ?? self::getCacheManager()->getCache('core'); $cacheIdentifier = self::getExtLocalconfCacheIdentifier(); $hasCache = $codeCache->require($cacheIdentifier) !== false; if (!$hasCache) { self::loadSingleExtLocalconfFiles(); self::createExtLocalconfCacheEntry($codeCache); }
{ if ($allowCaching) { $coreCache = $coreCache ?? GeneralUtility::makeInstance(CacheManager::class)->getCache('core'); } ExtensionManagementUtility::loadExtLocalconf($allowCaching, $coreCache); } /** * We need an early instance of the configuration manager.
$eventDispatcher = $container->get(EventDispatcherInterface::class); PageRenderer::setCache($assetsCache); ExtensionManagementUtility::setEventDispatcher($eventDispatcher); static::loadTypo3LoadedExtAndExtLocalconf(true, $coreCache); static::unsetReservedGlobalVariables(); $bootState->done = true; static::loadBaseTca(true, $coreCache); static::checkEncryptionKey();
// 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(); });
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(); });