( ! ) Fatal error: Uncaught Symfony\Component\DependencyInjection\Exception\InvalidArgumentException: Expected to find class "App\Ai\Client\AiClientInterface" in file "/var/www/html/zaidimas.net/src/Ai/Client/AiClientInterface.php" while importing services from resource "../src/", but it was not found! Check the namespace prefix used with the resource. in /var/www/html/zaidimas.net/vendor/symfony/dependency-injection/Loader/FileLoader.php:292
Stack trace:
#0 /var/www/html/zaidimas.net/vendor/symfony/dependency-injection/Loader/FileLoader.php(118): Symfony\Component\DependencyInjection\Loader\FileLoader->findClasses('App\\', '../src/', Array, Object(Symfony\Component\DependencyInjection\Compiler\RegisterAutoconfigureAttributesPass), '/var/www/html/z...')
#1 /var/www/html/zaidimas.net/vendor/symfony/dependency-injection/Loader/YamlFileLoader.php(705): Symfony\Component\DependencyInjection\Loader\FileLoader->registerClasses(Object(Symfony\Component\DependencyInjection\Definition), 'App\\', '../src/', Array, '/var/www/html/z...')
#2 /var/www/html/zaidimas.net/vendor/symfony/dependency-injection/Loader/YamlFileLoader.php(254): Symfony\Component\DependencyInjection\Loader\YamlFileLoader->parseDefinition('App\\', Array, '/var/www/html/z...', Array, false, true)
#3 /var/www/html/zaidimas.net/vendor/symfony/dependency-injection/Loader/YamlFileLoader.php(177): Symfony\Component\DependencyInjection\Loader\YamlFileLoader->parseDefinitions(Array, '/var/www/html/z...')
#4 /var/www/html/zaidimas.net/vendor/symfony/dependency-injection/Loader/YamlFileLoader.php(133): Symfony\Component\DependencyInjection\Loader\YamlFileLoader->loadContent(Array, '/var/www/html/z...')
#5 /var/www/html/zaidimas.net/vendor/symfony/config/Loader/FileLoader.php(163): Symfony\Component\DependencyInjection\Loader\YamlFileLoader->load('/var/www/html/z...', NULL)
#6 /var/www/html/zaidimas.net/vendor/symfony/config/Loader/FileLoader.php(94): Symfony\Component\Config\Loader\FileLoader->doImport('/var/www/html/z...', NULL, false, '/var/www/html/z...')
#7 /var/www/html/zaidimas.net/vendor/symfony/dependency-injection/Loader/FileLoader.php(70): Symfony\Component\Config\Loader\FileLoader->import('/var/www/html/z...', NULL, false, '/var/www/html/z...')
#8 /var/www/html/zaidimas.net/vendor/symfony/dependency-injection/Loader/Configurator/ContainerConfigurator.php(64): Symfony\Component\DependencyInjection\Loader\FileLoader->import('/var/www/html/z...', NULL, false, '/var/www/html/z...')
#9 /var/www/html/zaidimas.net/vendor/symfony/framework-bundle/Kernel/MicroKernelTrait.php(57): Symfony\Component\DependencyInjection\Loader\Configurator\ContainerConfigurator->import('/var/www/html/z...')
#10 /var/www/html/zaidimas.net/vendor/symfony/framework-bundle/Kernel/MicroKernelTrait.php(187): App\Kernel->configureContainer(Object(Symfony\Component\DependencyInjection\Loader\Configurator\ContainerConfigurator), Object(Symfony\Component\Config\Loader\DelegatingLoader), Object(Symfony\Component\DependencyInjection\ContainerBuilder))
#11 /var/www/html/zaidimas.net/vendor/symfony/dependency-injection/Loader/ClosureLoader.php(36): App\Kernel->Symfony\Bundle\FrameworkBundle\Kernel\{closure}(Object(Symfony\Component\DependencyInjection\ContainerBuilder), 'prod')
#12 /var/www/html/zaidimas.net/vendor/symfony/config/Loader/DelegatingLoader.php(37): Symfony\Component\DependencyInjection\Loader\ClosureLoader->load(Object(Closure), NULL)
#13 /var/www/html/zaidimas.net/vendor/symfony/framework-bundle/Kernel/MicroKernelTrait.php(143): Symfony\Component\Config\Loader\DelegatingLoader->load(Object(Closure))
#14 /var/www/html/zaidimas.net/vendor/symfony/http-kernel/Kernel.php(590): App\Kernel->registerContainerConfiguration(Object(Symfony\Component\Config\Loader\DelegatingLoader))
#15 /var/www/html/zaidimas.net/vendor/symfony/http-kernel/Kernel.php(487): Symfony\Component\HttpKernel\Kernel->buildContainer()
#16 /var/www/html/zaidimas.net/vendor/symfony/http-kernel/Kernel.php(725): Symfony\Component\HttpKernel\Kernel->initializeContainer()
#17 /var/www/html/zaidimas.net/vendor/symfony/http-kernel/Kernel.php(173): Symfony\Component\HttpKernel\Kernel->preBoot()
#18 /var/www/html/zaidimas.net/vendor/symfony/runtime/Runner/Symfony/HttpKernelRunner.php(35): Symfony\Component\HttpKernel\Kernel->handle(Object(Symfony\Component\HttpFoundation\Request))
#19 /var/www/html/zaidimas.net/vendor/autoload_runtime.php(29): Symfony\Component\Runtime\Runner\Symfony\HttpKernelRunner->run()
#20 /var/www/html/zaidimas.net/public/index.php(8): require_once('/var/www/html/z...')
#21 {main}
Next Symfony\Component\Config\Exception\LoaderLoadException: Expected to find class "App\Ai\Client\AiClientInterface" in file "/var/www/html/zaidimas.net/src/Ai/Client/AiClientInterface.php" while importing services from resource "../src/", but it was not found! Check the namespace prefix used with the resource in /var/www/html/zaidimas.net/config/services.yaml (which is being imported from "/var/www/html/zaidimas.net/src/Kernel.php"). in /var/www/html/zaidimas.net/vendor/symfony/config/Loader/FileLoader.php on line 178 |
( ! ) Symfony\Component\Config\Exception\LoaderLoadException: Expected to find class "App\Ai\Client\AiClientInterface" in file "/var/www/html/zaidimas.net/src/Ai/Client/AiClientInterface.php" while importing services from resource "../src/", but it was not found! Check the namespace prefix used with the resource in /var/www/html/zaidimas.net/config/services.yaml (which is being imported from "/var/www/html/zaidimas.net/src/Kernel.php"). in /var/www/html/zaidimas.net/vendor/symfony/config/Loader/FileLoader.php on line 178 |
Call Stack |
# | Time | Memory | Function | Location |
1 | 0.0001 | 445640 | {main}() | .../index.php:0 |
3 | 0.0054 | 569904 | Symfony\Component\Runtime\Runner\Symfony\HttpKernelRunner->run() | .../autoload_runtime.php:29 |
4 | 0.0056 | 569904 | App\Kernel->handle() | .../HttpKernelRunner.php:35 |
5 | 0.0058 | 569904 | App\Kernel->preBoot() | .../Kernel.php:173 |
6 | 0.0074 | 585328 | App\Kernel->initializeContainer() | .../Kernel.php:725 |
7 | 0.0090 | 622944 | App\Kernel->buildContainer() | .../Kernel.php:487 |
8 | 0.0297 | 721000 | App\Kernel->registerContainerConfiguration() | .../Kernel.php:590 |
9 | 0.0297 | 722400 | Symfony\Component\Config\Loader\DelegatingLoader->load() | .../MicroKernelTrait.php:143 |
10 | 0.0298 | 722400 | Symfony\Component\DependencyInjection\Loader\ClosureLoader->load() | .../DelegatingLoader.php:37 |
11 | 0.0298 | 722400 | App\Kernel->Symfony\Bundle\FrameworkBundle\Kernel\{closure:/var/www/html/zaidimas.net/vendor/symfony/framework-bundle/Kernel/MicroKernelTrait.php:143-195}() | .../ClosureLoader.php:36 |
12 | 0.0301 | 726784 | App\Kernel->configureContainer() | .../MicroKernelTrait.php:187 |
13 | 0.0879 | 782904 | Symfony\Component\DependencyInjection\Loader\Configurator\ContainerConfigurator->import() | .../MicroKernelTrait.php:57 |
14 | 0.0879 | 782904 | Symfony\Component\DependencyInjection\Loader\PhpFileLoader->import() | .../ContainerConfigurator.php:64 |
15 | 0.0879 | 783120 | Symfony\Component\DependencyInjection\Loader\PhpFileLoader->import() | .../FileLoader.php:70 |
16 | 0.0879 | 783120 | Symfony\Component\DependencyInjection\Loader\PhpFileLoader->doImport() | .../FileLoader.php:94 |