[
"exception" => Symfony\Component\Finder\Exception\DirectoryNotFoundException {#403
#message: "The "/home/tgir/freelance/assets/controllers" directory does not exist."
#code: 0
#file: "/home/tgir/freelance/vendor/symfony/finder/Finder.php"
#line: 649
trace: {
/home/tgir/freelance/vendor/symfony/finder/Finder.php:649 {
Symfony\Component\Finder\Finder->in(array|string $dirs): static …
› } else {
› throw new DirectoryNotFoundException(sprintf('The "%s" directory does not exist.', $dir));
› }
}
/home/tgir/freelance/vendor/symfony/stimulus-bundle/src/AssetMapper/ControllersMapGenerator.php:67 {
Symfony\UX\StimulusBundle\AssetMapper\ControllersMapGenerator->loadCustomControllers(): array …
› $finder = new Finder();
› $finder->in($this->controllerPaths)
› ->files()
arguments: {
$dirs: [ …1]
}
}
/home/tgir/freelance/vendor/symfony/stimulus-bundle/src/AssetMapper/ControllersMapGenerator.php:47 {
Symfony\UX\StimulusBundle\AssetMapper\ControllersMapGenerator->getControllersMap(): array …
› $this->loadUxControllers(),
› $this->loadCustomControllers(),
› );
}
/home/tgir/freelance/vendor/symfony/stimulus-bundle/src/AssetMapper/StimulusLoaderJavaScriptCompiler.php:52 {
Symfony\UX\StimulusBundle\AssetMapper\StimulusLoaderJavaScriptCompiler->compile(string $content, MappedAsset $asset, AssetMapperInterface $assetMapper): string …
›
› foreach ($this->controllersMapGenerator->getControllersMap() as $name => $mappedControllerAsset) {
› // @legacy: backwards compatibility with Symfony 6.3
}
/home/tgir/freelance/vendor/symfony/asset-mapper/AssetMapperCompiler.php:40 {
Symfony\Component\AssetMapper\AssetMapperCompiler->compile(string $content, MappedAsset $asset): string …
›
› $content = $compiler->compile($content, $asset, $this->assetMapper ??= ($this->assetMapperFactory)());
› }
arguments: {
$content: """
const eagerControllers = {};\n
const lazyControllers = {};\n
const isApplicationDebug = false;\n
\n
export { eagerControllers, isApplicationDebug, lazyControllers };\n
"""
$asset: Symfony\Component\AssetMapper\MappedAsset {#414 …}
$assetMapper: Symfony\Component\AssetMapper\AssetMapper {#333 …}
}
}
/home/tgir/freelance/vendor/symfony/asset-mapper/Factory/MappedAssetFactory.php:108 {
Symfony\Component\AssetMapper\Factory\MappedAssetFactory->compileContent(MappedAsset $asset): ?string …
› $content = file_get_contents($asset->sourcePath);
› $compiled = $this->compiler->compile($content, $asset);
›
arguments: {
$content: """
const eagerControllers = {};\n
const lazyControllers = {};\n
const isApplicationDebug = false;\n
\n
export { eagerControllers, isApplicationDebug, lazyControllers };\n
"""
$asset: Symfony\Component\AssetMapper\MappedAsset {#414 …}
}
}
/home/tgir/freelance/vendor/symfony/asset-mapper/Factory/MappedAssetFactory.php:49 {
Symfony\Component\AssetMapper\Factory\MappedAssetFactory->createMappedAsset(string $logicalPath, string $sourcePath): MappedAsset …
›
› $content = $this->compileContent($asset);
› [$digest, $isPredigested] = $this->getDigest($asset, $content);
arguments: {
$asset: Symfony\Component\AssetMapper\MappedAsset {#414 …}
}
}
/home/tgir/freelance/vendor/symfony/asset-mapper/Factory/CachedMappedAssetFactory.php:42 {
Symfony\Component\AssetMapper\Factory\CachedMappedAssetFactory->createMappedAsset(string $logicalPath, string $sourcePath): MappedAsset …
›
› $mappedAsset = $this->innerFactory->createMappedAsset($logicalPath, $sourcePath);
›
arguments: {
$logicalPath: "@symfony/stimulus-bundle/controllers.js"
$sourcePath: "/home/tgir/freelance/vendor/symfony/stimulus-bundle/assets/dist/controllers.js"
}
}
/home/tgir/freelance/vendor/symfony/asset-mapper/AssetMapper.php:41 {
Symfony\Component\AssetMapper\AssetMapper->getAsset(string $logicalPath): MappedAsset …
›
› return $this->mappedAssetFactory->createMappedAsset($logicalPath, $filePath);
› }
arguments: {
$logicalPath: "@symfony/stimulus-bundle/controllers.js"
$sourcePath: "/home/tgir/freelance/vendor/symfony/stimulus-bundle/assets/dist/controllers.js"
}
}
/home/tgir/freelance/vendor/symfony/asset-mapper/AssetMapper.php:47 {
Symfony\Component\AssetMapper\AssetMapper->allAssets(): iterable …
› foreach ($this->mapperRepository->all() as $logicalPath => $filePath) {
› $asset = $this->getAsset($logicalPath);
› if (null === $asset) {
arguments: {
$logicalPath: "@symfony/stimulus-bundle/controllers.js"
}
}
/home/tgir/freelance/vendor/symfony/asset-mapper/AssetMapperDevServerSubscriber.php:193 {
Symfony\Component\AssetMapper\AssetMapperDevServerSubscriber->findAssetFromCache(string $pathInfo): MappedAsset …
› $asset = null;
› foreach ($this->assetMapper->allAssets() as $assetCandidate) {
› if ($pathInfo === $assetCandidate->publicPath) {
}
/home/tgir/freelance/vendor/symfony/asset-mapper/AssetMapperDevServerSubscriber.php:127 {
Symfony\Component\AssetMapper\AssetMapperDevServerSubscriber->onKernelRequest(RequestEvent $event): void …
›
› $asset = $this->findAssetFromCache($pathInfo);
›
arguments: {
$pathInfo: "/assets/global/plugins/ckeditor/elfinder/php/connector.php"
}
}
/home/tgir/freelance/vendor/symfony/event-dispatcher/EventDispatcher.php:260 {
Symfony\Component\EventDispatcher\EventDispatcher::Symfony\Component\EventDispatcher\{closure} …
› }
› ($closure = $listener(...))(...$args);
› };
arguments: {
$event: Symfony\Component\HttpKernel\Event\RequestEvent {#144 …}
...: {
"kernel.request"
Symfony\Component\EventDispatcher\EventDispatcher {#84 …}
}
}
}
/home/tgir/freelance/vendor/symfony/event-dispatcher/EventDispatcher.php:220 {
Symfony\Component\EventDispatcher\EventDispatcher->callListeners(iterable $listeners, string $eventName, object $event) …
› }
› $listener($event, $eventName, $this);
› }
arguments: {
Symfony\Component\HttpKernel\Event\RequestEvent {#144 …}
"kernel.request"
Symfony\Component\EventDispatcher\EventDispatcher {#84 …}
}
}
/home/tgir/freelance/vendor/symfony/event-dispatcher/EventDispatcher.php:56 {
Symfony\Component\EventDispatcher\EventDispatcher->dispatch(object $event, ?string $eventName = null): object …
› if ($listeners) {
› $this->callListeners($listeners, $eventName, $event);
› }
arguments: {
$listeners: [ …10]
$eventName: "kernel.request"
$event: Symfony\Component\HttpKernel\Event\RequestEvent {#144 …}
}
}
/home/tgir/freelance/vendor/symfony/http-kernel/HttpKernel.php:157 {
Symfony\Component\HttpKernel\HttpKernel->handleRaw(Request $request, int $type = self::MAIN_REQUEST): Response …
› $event = new RequestEvent($this, $request, $type);
› $this->dispatcher->dispatch($event, KernelEvents::REQUEST);
›
arguments: {
$event: Symfony\Component\HttpKernel\Event\RequestEvent {#144 …}
$eventName: "kernel.request"
}
}
/home/tgir/freelance/vendor/symfony/http-kernel/HttpKernel.php:76 {
Symfony\Component\HttpKernel\HttpKernel->handle(Request $request, int $type = HttpKernelInterface::MAIN_REQUEST, bool $catch = true): Response …
› try {
› return $response = $this->handleRaw($request, $type);
› } catch (\Throwable $e) {
arguments: {
$request: Symfony\Component\HttpFoundation\Request {#2 …}
$type: 1
}
}
/home/tgir/freelance/vendor/symfony/http-kernel/Kernel.php:197 {
Symfony\Component\HttpKernel\Kernel->handle(Request $request, int $type = HttpKernelInterface::MAIN_REQUEST, bool $catch = true): Response …
› try {
› return $this->getHttpKernel()->handle($request, $type, $catch);
› } finally {
arguments: {
$request: Symfony\Component\HttpFoundation\Request {#2 …}
$type: 1
$catch: true
}
}
/home/tgir/freelance/vendor/symfony/runtime/Runner/Symfony/HttpKernelRunner.php:35 {
Symfony\Component\Runtime\Runner\Symfony\HttpKernelRunner->run(): int …
› {
› $response = $this->kernel->handle($this->request);
›
arguments: {
$request: Symfony\Component\HttpFoundation\Request {#2 …}
}
}
/home/tgir/freelance/vendor/autoload_runtime.php:29 {
require_once …
› ->getRunner($app)
› ->run()
› );
}
/home/tgir/freelance/public/index.php:5 {
›
› require_once dirname(__DIR__).'/vendor/autoload_runtime.php';
›
arguments: {
"/home/tgir/freelance/vendor/autoload_runtime.php"
}
}
}
}
]
{
/home/tgir/freelance/vendor/symfony/finder/Finder.php:649 {
Symfony\Component\Finder\Finder->in(array|string $dirs): static …
› } else {
› throw new DirectoryNotFoundException(sprintf('The "%s" directory does not exist.', $dir));
› }
}
/home/tgir/freelance/vendor/symfony/stimulus-bundle/src/AssetMapper/ControllersMapGenerator.php:67 {
Symfony\UX\StimulusBundle\AssetMapper\ControllersMapGenerator->loadCustomControllers(): array …
› $finder = new Finder();
› $finder->in($this->controllerPaths)
› ->files()
arguments: {
$dirs: [ …1]
}
}
/home/tgir/freelance/vendor/symfony/stimulus-bundle/src/AssetMapper/ControllersMapGenerator.php:47 {
Symfony\UX\StimulusBundle\AssetMapper\ControllersMapGenerator->getControllersMap(): array …
› $this->loadUxControllers(),
› $this->loadCustomControllers(),
› );
}
/home/tgir/freelance/vendor/symfony/stimulus-bundle/src/AssetMapper/StimulusLoaderJavaScriptCompiler.php:52 {
Symfony\UX\StimulusBundle\AssetMapper\StimulusLoaderJavaScriptCompiler->compile(string $content, MappedAsset $asset, AssetMapperInterface $assetMapper): string …
›
› foreach ($this->controllersMapGenerator->getControllersMap() as $name => $mappedControllerAsset) {
› // @legacy: backwards compatibility with Symfony 6.3
}
/home/tgir/freelance/vendor/symfony/asset-mapper/AssetMapperCompiler.php:40 {
Symfony\Component\AssetMapper\AssetMapperCompiler->compile(string $content, MappedAsset $asset): string …
›
› $content = $compiler->compile($content, $asset, $this->assetMapper ??= ($this->assetMapperFactory)());
› }
arguments: {
$content: """
const eagerControllers = {};\n
const lazyControllers = {};\n
const isApplicationDebug = false;\n
\n
export { eagerControllers, isApplicationDebug, lazyControllers };\n
"""
$asset: Symfony\Component\AssetMapper\MappedAsset {#414 …}
$assetMapper: Symfony\Component\AssetMapper\AssetMapper {#333 …}
}
}
/home/tgir/freelance/vendor/symfony/asset-mapper/Factory/MappedAssetFactory.php:108 {
Symfony\Component\AssetMapper\Factory\MappedAssetFactory->compileContent(MappedAsset $asset): ?string …
› $content = file_get_contents($asset->sourcePath);
› $compiled = $this->compiler->compile($content, $asset);
›
arguments: {
$content: """
const eagerControllers = {};\n
const lazyControllers = {};\n
const isApplicationDebug = false;\n
\n
export { eagerControllers, isApplicationDebug, lazyControllers };\n
"""
$asset: Symfony\Component\AssetMapper\MappedAsset {#414 …}
}
}
/home/tgir/freelance/vendor/symfony/asset-mapper/Factory/MappedAssetFactory.php:49 {
Symfony\Component\AssetMapper\Factory\MappedAssetFactory->createMappedAsset(string $logicalPath, string $sourcePath): MappedAsset …
›
› $content = $this->compileContent($asset);
› [$digest, $isPredigested] = $this->getDigest($asset, $content);
arguments: {
$asset: Symfony\Component\AssetMapper\MappedAsset {#414 …}
}
}
/home/tgir/freelance/vendor/symfony/asset-mapper/Factory/CachedMappedAssetFactory.php:42 {
Symfony\Component\AssetMapper\Factory\CachedMappedAssetFactory->createMappedAsset(string $logicalPath, string $sourcePath): MappedAsset …
›
› $mappedAsset = $this->innerFactory->createMappedAsset($logicalPath, $sourcePath);
›
arguments: {
$logicalPath: "@symfony/stimulus-bundle/controllers.js"
$sourcePath: "/home/tgir/freelance/vendor/symfony/stimulus-bundle/assets/dist/controllers.js"
}
}
/home/tgir/freelance/vendor/symfony/asset-mapper/AssetMapper.php:41 {
Symfony\Component\AssetMapper\AssetMapper->getAsset(string $logicalPath): MappedAsset …
›
› return $this->mappedAssetFactory->createMappedAsset($logicalPath, $filePath);
› }
arguments: {
$logicalPath: "@symfony/stimulus-bundle/controllers.js"
$sourcePath: "/home/tgir/freelance/vendor/symfony/stimulus-bundle/assets/dist/controllers.js"
}
}
/home/tgir/freelance/vendor/symfony/asset-mapper/AssetMapper.php:47 {
Symfony\Component\AssetMapper\AssetMapper->allAssets(): iterable …
› foreach ($this->mapperRepository->all() as $logicalPath => $filePath) {
› $asset = $this->getAsset($logicalPath);
› if (null === $asset) {
arguments: {
$logicalPath: "@symfony/stimulus-bundle/controllers.js"
}
}
/home/tgir/freelance/vendor/symfony/asset-mapper/AssetMapperDevServerSubscriber.php:193 {
Symfony\Component\AssetMapper\AssetMapperDevServerSubscriber->findAssetFromCache(string $pathInfo): MappedAsset …
› $asset = null;
› foreach ($this->assetMapper->allAssets() as $assetCandidate) {
› if ($pathInfo === $assetCandidate->publicPath) {
}
/home/tgir/freelance/vendor/symfony/asset-mapper/AssetMapperDevServerSubscriber.php:127 {
Symfony\Component\AssetMapper\AssetMapperDevServerSubscriber->onKernelRequest(RequestEvent $event): void …
›
› $asset = $this->findAssetFromCache($pathInfo);
›
arguments: {
$pathInfo: "/assets/global/plugins/ckeditor/elfinder/php/connector.php"
}
}
/home/tgir/freelance/vendor/symfony/event-dispatcher/EventDispatcher.php:260 {
Symfony\Component\EventDispatcher\EventDispatcher::Symfony\Component\EventDispatcher\{closure} …
› }
› ($closure = $listener(...))(...$args);
› };
arguments: {
$event: Symfony\Component\HttpKernel\Event\RequestEvent {#144 …}
...: {
"kernel.request"
Symfony\Component\EventDispatcher\EventDispatcher {#84 …}
}
}
}
/home/tgir/freelance/vendor/symfony/event-dispatcher/EventDispatcher.php:220 {
Symfony\Component\EventDispatcher\EventDispatcher->callListeners(iterable $listeners, string $eventName, object $event) …
› }
› $listener($event, $eventName, $this);
› }
arguments: {
Symfony\Component\HttpKernel\Event\RequestEvent {#144 …}
"kernel.request"
Symfony\Component\EventDispatcher\EventDispatcher {#84 …}
}
}
/home/tgir/freelance/vendor/symfony/event-dispatcher/EventDispatcher.php:56 {
Symfony\Component\EventDispatcher\EventDispatcher->dispatch(object $event, ?string $eventName = null): object …
› if ($listeners) {
› $this->callListeners($listeners, $eventName, $event);
› }
arguments: {
$listeners: [ …10]
$eventName: "kernel.request"
$event: Symfony\Component\HttpKernel\Event\RequestEvent {#144 …}
}
}
/home/tgir/freelance/vendor/symfony/http-kernel/HttpKernel.php:157 {
Symfony\Component\HttpKernel\HttpKernel->handleRaw(Request $request, int $type = self::MAIN_REQUEST): Response …
› $event = new RequestEvent($this, $request, $type);
› $this->dispatcher->dispatch($event, KernelEvents::REQUEST);
›
arguments: {
$event: Symfony\Component\HttpKernel\Event\RequestEvent {#144 …}
$eventName: "kernel.request"
}
}
/home/tgir/freelance/vendor/symfony/http-kernel/HttpKernel.php:76 {
Symfony\Component\HttpKernel\HttpKernel->handle(Request $request, int $type = HttpKernelInterface::MAIN_REQUEST, bool $catch = true): Response …
› try {
› return $response = $this->handleRaw($request, $type);
› } catch (\Throwable $e) {
arguments: {
$request: Symfony\Component\HttpFoundation\Request {#2 …}
$type: 1
}
}
/home/tgir/freelance/vendor/symfony/http-kernel/Kernel.php:197 {
Symfony\Component\HttpKernel\Kernel->handle(Request $request, int $type = HttpKernelInterface::MAIN_REQUEST, bool $catch = true): Response …
› try {
› return $this->getHttpKernel()->handle($request, $type, $catch);
› } finally {
arguments: {
$request: Symfony\Component\HttpFoundation\Request {#2 …}
$type: 1
$catch: true
}
}
/home/tgir/freelance/vendor/symfony/runtime/Runner/Symfony/HttpKernelRunner.php:35 {
Symfony\Component\Runtime\Runner\Symfony\HttpKernelRunner->run(): int …
› {
› $response = $this->kernel->handle($this->request);
›
arguments: {
$request: Symfony\Component\HttpFoundation\Request {#2 …}
}
}
/home/tgir/freelance/vendor/autoload_runtime.php:29 {
require_once …
› ->getRunner($app)
› ->run()
› );
}
/home/tgir/freelance/public/index.php:5 {
›
› require_once dirname(__DIR__).'/vendor/autoload_runtime.php';
›
arguments: {
"/home/tgir/freelance/vendor/autoload_runtime.php"
}
}
}