App\Exception\MissingPartnerIdentifierException: Set partner identifier manually or if it should been loaded from URL you should check if this service is not called on an early EventListener or EventSubscriber in /var/www/html/app/Service/Campanhas.php:56 Stack trace: #0 /var/www/html/app/Service/Campanhas.php(247): App\Service\Campanhas->getPartnerIdentifier() #1 /var/www/html/app/Middleware/CampaignCheck.php(37): App\Service\Campanhas->getCampaign() #2 /var/www/html/app/EventSubscriber/MiddlewareSubscriber.php(73): App\Middleware\CampaignCheck->handle(Object(Symfony\Component\HttpFoundation\Request)) #3 /var/www/html/app/EventSubscriber/MiddlewareSubscriber.php(45): App\EventSubscriber\MiddlewareSubscriber->registerMiddleware(Object(Symfony\Component\HttpKernel\Event\FinishRequestEvent)) #4 /var/www/html/vendor/symfony/event-dispatcher/EventDispatcher.php(298): App\EventSubscriber\MiddlewareSubscriber->onKernelFinishRequest(Object(Symfony\Component\HttpKernel\Event\FinishRequestEvent), 'kernel.finish_r...', Object(Symfony\Component\EventDispatcher\EventDispatcher)) #5 /var/www/html/vendor/symfony/event-dispatcher/EventDispatcher.php(260): Symfony\Component\EventDispatcher\EventDispatcher::Symfony\Component\EventDispatcher\{closure}(Object(Symfony\Component\HttpKernel\Event\FinishRequestEvent), 'kernel.finish_r...', Object(Symfony\Component\EventDispatcher\EventDispatcher)) #6 /var/www/html/vendor/symfony/event-dispatcher/EventDispatcher.php(235): Symfony\Component\EventDispatcher\EventDispatcher->doDispatch(Array, 'kernel.finish_r...', Object(Symfony\Component\HttpKernel\Event\FinishRequestEvent)) #7 /var/www/html/vendor/symfony/event-dispatcher/EventDispatcher.php(73): Symfony\Component\EventDispatcher\EventDispatcher->callListeners(Array, 'kernel.finish_r...', Object(Symfony\Component\HttpKernel\Event\FinishRequestEvent)) #8 /var/www/html/vendor/symfony/http-kernel/HttpKernel.php(206): Symfony\Component\EventDispatcher\EventDispatcher->dispatch(Object(Symfony\Component\HttpKernel\Event\FinishRequestEvent), 'kernel.finish_r...') #9 /var/www/html/vendor/symfony/http-kernel/HttpKernel.php(192): Symfony\Component\HttpKernel\HttpKernel->finishRequest(Object(Symfony\Component\HttpFoundation\Request), 1) #10 /var/www/html/vendor/symfony/http-kernel/HttpKernel.php(248): Symfony\Component\HttpKernel\HttpKernel->filterResponse(Object(Symfony\Component\HttpFoundation\Response), Object(Symfony\Component\HttpFoundation\Request), 1) #11 /var/www/html/vendor/symfony/http-kernel/HttpKernel.php(79): Symfony\Component\HttpKernel\HttpKernel->handleException(Object(Symfony\Component\HttpKernel\Exception\NotFoundHttpException), Object(Symfony\Component\HttpFoundation\Request), 1) #12 /var/www/html/vendor/symfony/http-kernel/Kernel.php(198): Symfony\Component\HttpKernel\HttpKernel->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true) #13 /var/www/html/public/index.php(39): Symfony\Component\HttpKernel\Kernel->handle(Object(Symfony\Component\HttpFoundation\Request)) #14 {main}