Exceptions
Exception
ReflectionException
/*** {@inheritDoc}*/public function getManagerForClass(string $class){$proxyClass = new ReflectionClass($class);if ($proxyClass->isAnonymous()) {return null;}if ($proxyClass->implementsInterface($this->proxyInterfaceName)) {
in
vendor/doctrine/persistence/src/Persistence/AbstractManagerRegistry.php
->
__construct
(line 171)
/*** {@inheritDoc}*/public function getManagerForClass(string $class){$proxyClass = new ReflectionClass($class);if ($proxyClass->isAnonymous()) {return null;}if ($proxyClass->implementsInterface($this->proxyInterfaceName)) {
in
vendor/sensio/framework-extra-bundle/src/Request/ParamConverter/DoctrineParamConverter.php
->
getManagerForClass
(line 332)
}private function getManager($name, $class){if (null === $name) {return $this->registry->getManagerForClass($class);}return $this->registry->getManager($name);}
in
vendor/sensio/framework-extra-bundle/src/Request/ParamConverter/DoctrineParamConverter.php
->
getManager
(line 301)
}$options = $this->getOptions($configuration, false);// Doctrine Entity?$em = $this->getManager($options['entity_manager'], $configuration->getClass());if (null === $em) {return false;}return !$em->getMetadataFactory()->isTransient($configuration->getClass());
in
vendor/sensio/framework-extra-bundle/src/Request/ParamConverter/ParamConverterManager.php
->
supports
(line 83)
return;}foreach ($this->all() as $converter) {if ($converter->supports($configuration)) {if ($converter->apply($request, $configuration)) {return;}}}
in
vendor/sensio/framework-extra-bundle/src/Request/ParamConverter/ParamConverterManager.php
->
applyConverter
(line 48)
if (\is_object($configurations)) {$configurations = [$configurations];}foreach ($configurations as $configuration) {$this->applyConverter($request, $configuration);}}/*** Applies converter on request based on the given configuration.
in
vendor/sensio/framework-extra-bundle/src/EventListener/ParamConverterListener.php
->
apply
(line 72)
}$configurations = $this->autoConfigure($r, $request, $configurations);}$this->manager->apply($request, $configurations);}private function autoConfigure(\ReflectionFunctionAbstract $r, Request $request, $configurations){foreach ($r->getParameters() as $param) {
in
vendor/symfony/event-dispatcher/Debug/WrappedListener.php
->
onKernelController
(line 117)
$this->called = true;$this->priority = $dispatcher->getListenerPriority($eventName, $this->listener);$e = $this->stopwatch->start($this->name, 'event_listener');($this->optimizedListener ?? $this->listener)($event, $eventName, $dispatcher);if ($e->isStarted()) {$e->stop();}
in
vendor/symfony/event-dispatcher/EventDispatcher.php
->
__invoke
(line 230)
foreach ($listeners as $listener) {if ($stoppable && $event->isPropagationStopped()) {break;}$listener($event, $eventName, $this);}}/*** Sorts the internal list of listeners for the given event by priority.
in
vendor/symfony/event-dispatcher/EventDispatcher.php
->
callListeners
(line 59)
} else {$listeners = $this->getListeners($eventName);}if ($listeners) {$this->callListeners($listeners, $eventName, $event);}return $event;}
in
vendor/symfony/event-dispatcher/Debug/TraceableEventDispatcher.php
->
dispatch
(line 154)
try {$this->beforeDispatch($eventName, $event);try {$e = $this->stopwatch->start($eventName, 'section');try {$this->dispatcher->dispatch($event, $eventName);} finally {if ($e->isStarted()) {$e->stop();}}
in
vendor/symfony/http-kernel/HttpKernel.php
->
dispatch
(line 141)
if (false === $controller = $this->resolver->getController($request)) {throw new NotFoundHttpException(sprintf('Unable to find the controller for path "%s". The route is wrongly configured.', $request->getPathInfo()));}$event = new ControllerEvent($this, $controller, $request, $type);$this->dispatcher->dispatch($event, KernelEvents::CONTROLLER);$controller = $event->getController();// controller arguments$arguments = $this->argumentResolver->getArguments($request, $controller);
in
vendor/symfony/http-kernel/HttpKernel.php
->
handleRaw
(line 75)
{$request->headers->set('X-Php-Ob-Level', (string) ob_get_level());$this->requestStack->push($request);try {return $this->handleRaw($request, $type);} catch (\Exception $e) {if ($e instanceof RequestExceptionInterface) {$e = new BadRequestHttpException($e->getMessage(), $e);}if (false === $catch) {
in
vendor/symfony/http-kernel/Kernel.php
->
handle
(line 202)
$this->boot();++$this->requestStackSize;$this->resetServices = true;try {return $this->getHttpKernel()->handle($request, $type, $catch);} finally {--$this->requestStackSize;}}
in
vendor/symfony/runtime/Runner/Symfony/HttpKernelRunner.php
->
handle
(line 35)
$this->request = $request;}public function run(): int{$response = $this->kernel->handle($this->request);$response->send();if ($this->kernel instanceof TerminableInterface) {$this->kernel->terminate($this->request, $response);}
in
vendor/autoload_runtime.php
->
run
(line 35)
$app = $app(...$args);exit($runtime->getRunner($app)->run());
<?phpuse App\Kernel;require_once dirname(__DIR__).'/vendor/autoload_runtime.php';return function (array $context) {return new Kernel($context['APP_ENV'], (bool) $context['APP_DEBUG']);};
Stack Trace
|
ReflectionException
|
|---|
ReflectionException:
Class Symfony\Component\Mailer\MailerInterface does not exist
at vendor/doctrine/persistence/src/Persistence/AbstractManagerRegistry.php:171
at ReflectionClass->__construct()
(vendor/doctrine/persistence/src/Persistence/AbstractManagerRegistry.php:171)
at Doctrine\Persistence\AbstractManagerRegistry->getManagerForClass()
(vendor/sensio/framework-extra-bundle/src/Request/ParamConverter/DoctrineParamConverter.php:332)
at Sensio\Bundle\FrameworkExtraBundle\Request\ParamConverter\DoctrineParamConverter->getManager()
(vendor/sensio/framework-extra-bundle/src/Request/ParamConverter/DoctrineParamConverter.php:301)
at Sensio\Bundle\FrameworkExtraBundle\Request\ParamConverter\DoctrineParamConverter->supports()
(vendor/sensio/framework-extra-bundle/src/Request/ParamConverter/ParamConverterManager.php:83)
at Sensio\Bundle\FrameworkExtraBundle\Request\ParamConverter\ParamConverterManager->applyConverter()
(vendor/sensio/framework-extra-bundle/src/Request/ParamConverter/ParamConverterManager.php:48)
at Sensio\Bundle\FrameworkExtraBundle\Request\ParamConverter\ParamConverterManager->apply()
(vendor/sensio/framework-extra-bundle/src/EventListener/ParamConverterListener.php:72)
at Sensio\Bundle\FrameworkExtraBundle\EventListener\ParamConverterListener->onKernelController()
(vendor/symfony/event-dispatcher/Debug/WrappedListener.php:117)
at Symfony\Component\EventDispatcher\Debug\WrappedListener->__invoke()
(vendor/symfony/event-dispatcher/EventDispatcher.php:230)
at Symfony\Component\EventDispatcher\EventDispatcher->callListeners()
(vendor/symfony/event-dispatcher/EventDispatcher.php:59)
at Symfony\Component\EventDispatcher\EventDispatcher->dispatch()
(vendor/symfony/event-dispatcher/Debug/TraceableEventDispatcher.php:154)
at Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher->dispatch()
(vendor/symfony/http-kernel/HttpKernel.php:141)
at Symfony\Component\HttpKernel\HttpKernel->handleRaw()
(vendor/symfony/http-kernel/HttpKernel.php:75)
at Symfony\Component\HttpKernel\HttpKernel->handle()
(vendor/symfony/http-kernel/Kernel.php:202)
at Symfony\Component\HttpKernel\Kernel->handle()
(vendor/symfony/runtime/Runner/Symfony/HttpKernelRunner.php:35)
at Symfony\Component\Runtime\Runner\Symfony\HttpKernelRunner->run()
(vendor/autoload_runtime.php:35)
at require_once('/home/harmony/public_html/vendor/autoload_runtime.php')
(public/index.php:5)
|