Symfony Exception

Error

HTTP 500 Internal Server Error

Call to a member function getAgdRedirect() on null

Exception

Error

  1. //        $images = $repoAgdMedia->findBy(['agd_id' => $id, 'agd_media_type' => 'image'], ['agd_media_ordre' => 'ASC']);
  2. //        if(count($images) > 1){
  3. //            $this->isThereGalerieModule = true;
  4. //        }
  5.         
  6.         if($agenda->getAgdRedirect() != null && trim($agenda->getAgdRedirect()) != ""){
  7.             return $this->redirect(trim($agenda->getAgdRedirect()));
  8.         }
  9.         
  10.         $categories $repoAgd->findAllParentsCat(['site_lang' => $request->getLocale(), 'site_uid' => $this->getParameter('SITE_ID')]);
  11.         
  1.         $this->dispatcher->dispatch($eventKernelEvents::CONTROLLER_ARGUMENTS);
  2.         $controller $event->getController();
  3.         $arguments $event->getArguments();
  4.         // call controller
  5.         $response $controller(...$arguments);
  6.         // view
  7.         if (!$response instanceof Response) {
  8.             $event = new ViewEvent($this$request$type$response);
  9.             $this->dispatcher->dispatch($eventKernelEvents::VIEW);
  1.     public function handle(Request $requestint $type HttpKernelInterface::MAIN_REQUESTbool $catch true)
  2.     {
  3.         $request->headers->set('X-Php-Ob-Level', (string) ob_get_level());
  4.         try {
  5.             return $this->handleRaw($request$type);
  6.         } catch (\Exception $e) {
  7.             if ($e instanceof RequestExceptionInterface) {
  8.                 $e = new BadRequestHttpException($e->getMessage(), $e);
  9.             }
  10.             if (false === $catch) {
  1.         $this->boot();
  2.         ++$this->requestStackSize;
  3.         $this->resetServices true;
  4.         try {
  5.             return $this->getHttpKernel()->handle($request$type$catch);
  6.         } finally {
  7.             --$this->requestStackSize;
  8.         }
  9.     }
Kernel->handle(object(Request)) in public/index.php (line 25)
  1.     Request::setTrustedHosts([$trustedHosts]);
  2. }
  3. $kernel = new Kernel($_SERVER['APP_ENV'], (bool) $_SERVER['APP_DEBUG']);
  4. $request Request::createFromGlobals();
  5. $response $kernel->handle($request);
  6. $response->send();
  7. $kernel->terminate($request$response);

Logs 2

Level Channel Message
DEBUG 11:37:03 doctrine SELECT t0.id AS id_1, t0.site_name AS site_name_2, t0.site_domain AS site_domain_3 FROM site t0 WHERE t0.site_domain = ?
[
    "www.sudcms.info"
]
INFO 11:37:03 php User Deprecated: Since symfony/security-bundle 5.3: The "security.authentication.manager" service is deprecated, use the new authenticator system instead.
{
    "exception": {}
}
INFO 11:37:03 php User Deprecated: Since symfony/security-core 5.3: The "Symfony\Component\Security\Core\Authentication\AuthenticationProviderManager" class is deprecated, use the new authenticator system instead.
{
    "exception": {}
}
INFO 11:37:03 php User Deprecated: Since symfony/security-core 5.3: The "Symfony\Component\Security\Core\Event\AuthenticationFailureEvent" class is deprecated, use "Symfony\Component\Security\Http\Event\LoginFailureEvent" with the new authenticator system instead.
{
    "exception": {}
}
INFO 11:37:03 php User Deprecated: Class "App\Entity\AuthUser" should implement method "Symfony\Component\Security\Core\User\UserInterface::getUserIdentifier()": returns the identifier for this user (e.g. its username or e-mailaddress)
{
    "exception": {}
}
INFO 11:37:03 php User Deprecated: Since symfony/framework-bundle 5.3: The "session.storage.native" service is deprecated, use "session.storage.factory.native" instead.
{
    "exception": {}
}
INFO 11:37:03 php User Deprecated: Since symfony/framework-bundle 5.3: The "session.storage.metadata_bag" service is deprecated, create your own "session.storage.factory" instead.
{
    "exception": {}
}
DEBUG 11:37:03 php Warning: Zend OPcache API is restricted by "restrict_api" configuration directive
{
    "exception": {
        "severity": 2,
        "file": "/home/otideap/www/sudcms/vendor/symfony/error-handler/DebugClassLoader.php",
        "line": 345,
        "trace": [
            {
                "function": "loadClass",
                "class": "Symfony\\Component\\ErrorHandler\\DebugClassLoader",
                "type": "->"
            }
        ],
        "count": 96
    }
}
INFO 11:37:03 request Matched route "agenda_fiche".
{
    "route": "agenda_fiche",
    "route_parameters": {
        "_route": "agenda_fiche",
        "_controller": "App\\Controller\\Front\\FrontAgendaController::fiche",
        "_locale": "fr",
        "id": "3"
    },
    "request_uri": "https://www.sudcms.info/agenda/fiche/3",
    "method": "GET"
}
INFO 11:37:03 php User Deprecated: Since symfony/framework-bundle 5.3: The "session.storage.factory.service" service is deprecated, use "session.storage.factory.native", "session.storage.factory.php_bridge" or "session.storage.factory.mock_file" instead.
{
    "exception": {}
}
INFO 11:37:03 php User Deprecated: Since symfony/security-bundle 5.3: The "security.authentication.listener.guard.main" service is deprecated, use the new authenticator system instead.
{
    "exception": {}
}
INFO 11:37:03 php User Deprecated: Since symfony/security-guard 5.3: The "Symfony\Component\Security\Guard\Firewall\GuardAuthenticationListener" class is deprecated, use the new authenticator system instead.
{
    "exception": {}
}
INFO 11:37:03 php User Deprecated: Since symfony/security-bundle 5.3: The "security.authentication.guard_handler" service is deprecated, use the new authenticator system instead.
{
    "exception": {}
}
INFO 11:37:03 php User Deprecated: Since symfony/security-guard 5.3: The "Symfony\Component\Security\Guard\GuardAuthenticatorHandler" class is deprecated, use the new authenticator system instead.
{
    "exception": {}
}
DEBUG 11:37:03 security Checking for guard authentication credentials.
{
    "firewall_key": "main",
    "authenticators": 1
}
INFO 11:37:03 php User Deprecated: Since symfony/security-guard 5.3: The "Symfony\Component\Security\Guard\PasswordAuthenticatedInterface" class is deprecated, use the new authenticator system instead.
{
    "exception": {}
}
INFO 11:37:03 php User Deprecated: Since symfony/security-bundle 5.3: The "security.password_encoder" service is deprecated, use "security.user_password_hasher" instead.
{
    "exception": {}
}
INFO 11:37:03 php User Deprecated: Since symfony/security-core 5.3: The "Symfony\Component\Security\Core\Encoder\UserPasswordEncoder" class is deprecated, use "Symfony\Component\PasswordHasher\Hasher\UserPasswordHasher" instead.
{
    "exception": {}
}
INFO 11:37:03 php User Deprecated: Since symfony/security-core 5.3: The "Symfony\Component\Security\Core\Encoder\UserPasswordEncoderInterface" interface is deprecated, use "Symfony\Component\PasswordHasher\Hasher\UserPasswordHasherInterface" instead.
{
    "exception": {}
}
INFO 11:37:03 php User Deprecated: Since symfony/security-bundle 5.3: The "security.encoder_factory.generic" service is deprecated, use "security.password_hasher_factory" instead.
{
    "exception": {}
}
INFO 11:37:03 php User Deprecated: Since symfony/security-core 5.3: The "Symfony\Component\Security\Core\Encoder\EncoderFactory" class is deprecated, use "Symfony\Component\PasswordHasher\Hasher\PasswordHasherFactory" instead.
{
    "exception": {}
}
INFO 11:37:03 php User Deprecated: Since symfony/security-core 5.3: The "Symfony\Component\Security\Core\Encoder\EncoderFactoryInterface" class is deprecated, use "Symfony\Component\PasswordHasher\Hasher\PasswordHasherFactoryInterface" instead.
{
    "exception": {}
}
DEBUG 11:37:03 security Checking support on guard authenticator.
{
    "firewall_key": "main",
    "authenticator": "App\\Security\\LoginFormExtranetAuthenticator"
}
DEBUG 11:37:03 security Guard authenticator does not support the request.
{
    "firewall_key": "main",
    "authenticator": "App\\Security\\LoginFormExtranetAuthenticator"
}
INFO 11:37:03 php User Deprecated: Since symfony/security-bundle 5.3: The "security.authentication.listener.form.main" service is deprecated, use the new authenticator system instead.
{
    "exception": {}
}
INFO 11:37:03 php User Deprecated: Since symfony/security-http 5.3: The "Symfony\Component\Security\Http\Firewall\UsernamePasswordFormAuthenticationListener" class is deprecated, use the new authenticator system instead.
{
    "exception": {}
}
INFO 11:37:03 php User Deprecated: Since symfony/security-http 5.3: The "Symfony\Component\Security\Http\Firewall\AbstractAuthenticationListener" class is deprecated, use the new authenticator system instead.
{
    "exception": {}
}
INFO 11:37:03 php User Deprecated: Since symfony/security-bundle 5.3: The "security.authentication.listener.anonymous.main" service is deprecated, use the new authenticator system instead.
{
    "exception": {}
}
INFO 11:37:03 php User Deprecated: Since symfony/security-http 5.3: The "Symfony\Component\Security\Http\Firewall\AnonymousAuthenticationListener" class is deprecated, use the new authenticator system instead.
{
    "exception": {}
}
INFO 11:37:03 php User Deprecated: Since symfony/security-bundle 5.3: The "security.authentication.provider.guard.admin" service is deprecated, use the new authenticator system instead.
{
    "exception": {}
}
INFO 11:37:03 php User Deprecated: Since symfony/security-guard 5.3: The "Symfony\Component\Security\Guard\Provider\GuardAuthenticationProvider" class is deprecated, use the new authenticator system instead.
{
    "exception": {}
}
INFO 11:37:03 php User Deprecated: Since symfony/security-core 5.3: The "Symfony\Component\Security\Core\Authentication\Provider\AuthenticationProviderInterface" interface is deprecated, use the new authenticator system instead.
{
    "exception": {}
}
INFO 11:37:03 php User Deprecated: Since symfony/security-bundle 5.3: The "security.authentication.provider.dao.admin" service is deprecated, use the new authenticator system instead.
{
    "exception": {}
}
INFO 11:37:03 php User Deprecated: Since symfony/security-core 5.3: The "Symfony\Component\Security\Core\Authentication\Provider\DaoAuthenticationProvider" class is deprecated, use the new authenticator system instead.
{
    "exception": {}
}
INFO 11:37:03 php User Deprecated: Since symfony/security-core 5.3: The "Symfony\Component\Security\Core\Authentication\Provider\UserAuthenticationProvider" class is deprecated, use the new authenticator system instead.
{
    "exception": {}
}
INFO 11:37:03 php User Deprecated: Since symfony/security-bundle 5.3: The "security.authentication.provider.anonymous.admin" service is deprecated, use the new authenticator system instead.
{
    "exception": {}
}
INFO 11:37:03 php User Deprecated: Since symfony/security-core 5.3: The "Symfony\Component\Security\Core\Authentication\Provider\AnonymousAuthenticationProvider" class is deprecated, use the new authenticator system instead.
{
    "exception": {}
}
INFO 11:37:03 security Populated the TokenStorage with an anonymous Token.
DEBUG 11:37:03 doctrine SELECT t0.id AS id_1, t0.acc_ref_title AS acc_ref_title_2, t0.acc_ref_description AS acc_ref_description_3, t0.acc_ref_keyword AS acc_ref_keyword_4, t0.acc_ref_namesite AS acc_ref_namesite_5, t0.acc_ref_thumbnail AS acc_ref_thumbnail_6, t0.site_lang AS site_lang_7, t0.site_uid AS site_uid_8 FROM site_referencement t0 WHERE t0.site_lang = ? AND t0.site_uid = ? LIMIT 1
[
    "fr",
    1
]
DEBUG 11:37:03 doctrine SELECT t0.id AS id_1, t0.lang_code AS lang_code_2, t0.lang_entitled AS lang_entitled_3, t0.lang_flag AS lang_flag_4, t0.lang_active AS lang_active_5, t0.lang_order AS lang_order_6, t0.lang_active_back AS lang_active_back_7 FROM language t0 WHERE t0.lang_active = ? ORDER BY t0.lang_order ASC
[
    1
]
DEBUG 11:37:03 doctrine SELECT t0.id AS id_1, t0.acc_res_entitled AS acc_res_entitled_2, t0.acc_res_link AS acc_res_link_3, t0.acc_res_active AS acc_res_active_4, t0.acc_res_thmbnail_type AS acc_res_thmbnail_type_5, t0.acc_res_class AS acc_res_class_6, t0.site_lang AS site_lang_7, t0.site_uid AS site_uid_8 FROM site_reseaux t0 WHERE t0.acc_res_active = ? AND t0.site_uid = ? AND t0.site_lang = ?
[
    1,
    1,
    "fr"
]
DEBUG 11:37:03 doctrine SELECT t0.id AS id_1, t0.carrier_id AS carrier_id_2, t0.country_id AS country_id_3, t0.shipfees_amount_ttc AS shipfees_amount_ttc_4, t0.shipfees_tva AS shipfees_tva_5, t0.shipfees_weight_max AS shipfees_weight_max_6, t0.shipfees_level AS shipfees_level_7 FROM eco_shippingfees t0 WHERE t0.carrier_id = ? AND t0.country_id = ? ORDER BY t0.shipfees_level ASC, t0.shipfees_amount_ttc ASC
[
    1,
    1
]
DEBUG 11:37:03 doctrine SELECT shipfees_weight_max FROM eco_shippingfees WHERE carrier_id = :carrier_id AND country_id = :country_id AND shipfees_level = :level ORDER BY shipfees_weight_max DESC LIMIT 0,1
{
    "country_id": 1,
    "carrier_id": 1,
    "level": 0
}
DEBUG 11:37:03 doctrine SELECT shipfees_amount_ttc FROM eco_shippingfees WHERE carrier_id = :carrier_id AND country_id = :country_id AND shipfees_weight_max >= :totalWeightCart AND shipfees_level = :level ORDER BY shipfees_weight_max ASC LIMIT 0,1
{
    "country_id": 1,
    "carrier_id": 1,
    "totalWeightCart": 0,
    "level": 0
}
DEBUG 11:37:04 doctrine SELECT *, page_id AS currentPage, (SELECT COUNT(*) FROM pages WHERE pparent = currentPage) AS nbChild FROM pages WHERE plang = :langue AND psite = :uid_site AND penligne = 1 ORDER BY pordre
{
    "langue": "fr",
    "uid_site": 1
}
DEBUG 11:37:04 doctrine SELECT *, id AS categ_id, (SELECT COUNT(*) FROM eco_categories WHERE categ_parent_id = categ_id) AS nbChild FROM eco_categories WHERE categ_isonline = 1 ORDER BY categ_sequence ASC
DEBUG 11:37:04 doctrine SELECT * , id AS currentID, act_cat_intitule AS actCatIntitule, (SELECT COUNT(*) FROM actualite WHERE act_categ_id = currentID AND act_enligne = 1) AS nbActus FROM actualite_categs WHERE site_uid = :site_uid AND site_lang = :site_lang ORDER BY act_cat_ordre ASC
{
    "site_lang": "fr",
    "site_uid": 1
}
DEBUG 11:37:04 doctrine SELECT t0.page_id AS page_id_1, t0.pparent AS pparent_2, t0.permalien AS permalien_3, t0.pdate_creation AS pdate_creation_4, t0.pdate_lastupdate AS pdate_lastupdate_5, t0.purl_externe AS purl_externe_6, t0.purl_interne AS purl_interne_7, t0.pblank AS pblank_8, t0.ptype AS ptype_9, t0.ptitre AS ptitre_10, t0.ptitremenu AS ptitremenu_11, t0.ptitreonglet AS ptitreonglet_12, t0.pbandeau AS pbandeau_13, t0.penligne AS penligne_14, t0.pordre AS pordre_15, t0.plang AS plang_16, t0.psite AS psite_17, t0.seo_title AS seo_title_18, t0.seo_description AS seo_description_19, t0.seo_keywords AS seo_keywords_20, t0.pis_linkable AS pis_linkable_21, t0.pcacher_menu AS pcacher_menu_22, t0.penavant_menu AS penavant_menu_23, t0.ptitre_breton AS ptitre_breton_24, t0.ptitre_gallo AS ptitre_gallo_25, t0.ppath_interne AS ppath_interne_26 FROM pages t0 WHERE t0.purl_interne = ? LIMIT 1
[
    "agenda"
]
DEBUG 11:37:04 event Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\DebugHandlersListener::configure".
{
    "event": "kernel.request",
    "listener": "Symfony\\Component\\HttpKernel\\EventListener\\DebugHandlersListener::configure"
}
DEBUG 11:37:04 event Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\ValidateRequestListener::onKernelRequest".
{
    "event": "kernel.request",
    "listener": "Symfony\\Component\\HttpKernel\\EventListener\\ValidateRequestListener::onKernelRequest"
}
DEBUG 11:37:04 event Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\SessionListener::onKernelRequest".
{
    "event": "kernel.request",
    "listener": "Symfony\\Component\\HttpKernel\\EventListener\\SessionListener::onKernelRequest"
}
DEBUG 11:37:04 event Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\LocaleListener::setDefaultLocale".
{
    "event": "kernel.request",
    "listener": "Symfony\\Component\\HttpKernel\\EventListener\\LocaleListener::setDefaultLocale"
}
DEBUG 11:37:04 event Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\RouterListener::onKernelRequest".
{
    "event": "kernel.request",
    "listener": "Symfony\\Component\\HttpKernel\\EventListener\\RouterListener::onKernelRequest"
}
DEBUG 11:37:04 event Notified event "kernel.request" to listener "App\EventSubscriber\LocaleSubscriber::onKernelRequest".
{
    "event": "kernel.request",
    "listener": "App\\EventSubscriber\\LocaleSubscriber::onKernelRequest"
}
DEBUG 11:37:04 event Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\LocaleListener::onKernelRequest".
{
    "event": "kernel.request",
    "listener": "Symfony\\Component\\HttpKernel\\EventListener\\LocaleListener::onKernelRequest"
}
DEBUG 11:37:04 event Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\LocaleAwareListener::onKernelRequest".
{
    "event": "kernel.request",
    "listener": "Symfony\\Component\\HttpKernel\\EventListener\\LocaleAwareListener::onKernelRequest"
}
DEBUG 11:37:04 event Notified event "kernel.request" to listener "Symfony\Bundle\SecurityBundle\Debug\TraceableFirewallListener::configureLogoutUrlGenerator".
{
    "event": "kernel.request",
    "listener": "Symfony\\Bundle\\SecurityBundle\\Debug\\TraceableFirewallListener::configureLogoutUrlGenerator"
}
DEBUG 11:37:04 event Notified event "kernel.request" to listener "Symfony\Bundle\SecurityBundle\Debug\TraceableFirewallListener::onKernelRequest".
{
    "event": "kernel.request",
    "listener": "Symfony\\Bundle\\SecurityBundle\\Debug\\TraceableFirewallListener::onKernelRequest"
}
DEBUG 11:37:04 event Notified event "kernel.request" to listener "App\EventListener\BaseListener::onKernelRequest".
{
    "event": "kernel.request",
    "listener": "App\\EventListener\\BaseListener::onKernelRequest"
}
DEBUG 11:37:04 event Notified event "kernel.request" to listener "Knp\Bundle\PaginatorBundle\Subscriber\SlidingPaginationSubscriber::onKernelRequest".
{
    "event": "kernel.request",
    "listener": "Knp\\Bundle\\PaginatorBundle\\Subscriber\\SlidingPaginationSubscriber::onKernelRequest"
}
DEBUG 11:37:04 event Notified event "kernel.controller" to listener "Symfony\Bundle\FrameworkBundle\DataCollector\RouterDataCollector::onKernelController".
{
    "event": "kernel.controller",
    "listener": "Symfony\\Bundle\\FrameworkBundle\\DataCollector\\RouterDataCollector::onKernelController"
}
DEBUG 11:37:04 event Notified event "kernel.controller" to listener "Symfony\Component\HttpKernel\DataCollector\RequestDataCollector::onKernelController".
{
    "event": "kernel.controller",
    "listener": "Symfony\\Component\\HttpKernel\\DataCollector\\RequestDataCollector::onKernelController"
}
DEBUG 11:37:04 event Notified event "kernel.controller" to listener "Sensio\Bundle\FrameworkExtraBundle\EventListener\ControllerListener::onKernelController".
{
    "event": "kernel.controller",
    "listener": "Sensio\\Bundle\\FrameworkExtraBundle\\EventListener\\ControllerListener::onKernelController"
}
DEBUG 11:37:04 event Notified event "kernel.controller" to listener "Sensio\Bundle\FrameworkExtraBundle\EventListener\ParamConverterListener::onKernelController".
{
    "event": "kernel.controller",
    "listener": "Sensio\\Bundle\\FrameworkExtraBundle\\EventListener\\ParamConverterListener::onKernelController"
}
DEBUG 11:37:04 event Notified event "kernel.controller" to listener "Sensio\Bundle\FrameworkExtraBundle\EventListener\HttpCacheListener::onKernelController".
{
    "event": "kernel.controller",
    "listener": "Sensio\\Bundle\\FrameworkExtraBundle\\EventListener\\HttpCacheListener::onKernelController"
}
DEBUG 11:37:04 event Notified event "kernel.controller" to listener "Sensio\Bundle\FrameworkExtraBundle\EventListener\TemplateListener::onKernelController".
{
    "event": "kernel.controller",
    "listener": "Sensio\\Bundle\\FrameworkExtraBundle\\EventListener\\TemplateListener::onKernelController"
}
DEBUG 11:37:04 event Notified event "kernel.controller_arguments" to listener "Symfony\Component\HttpKernel\EventListener\ErrorListener::onControllerArguments".
{
    "event": "kernel.controller_arguments",
    "listener": "Symfony\\Component\\HttpKernel\\EventListener\\ErrorListener::onControllerArguments"
}
DEBUG 11:37:04 event Notified event "kernel.controller_arguments" to listener "Sensio\Bundle\FrameworkExtraBundle\EventListener\SecurityListener::onKernelControllerArguments".
{
    "event": "kernel.controller_arguments",
    "listener": "Sensio\\Bundle\\FrameworkExtraBundle\\EventListener\\SecurityListener::onKernelControllerArguments"
}
DEBUG 11:37:04 event Notified event "kernel.controller_arguments" to listener "Sensio\Bundle\FrameworkExtraBundle\EventListener\IsGrantedListener::onKernelControllerArguments".
{
    "event": "kernel.controller_arguments",
    "listener": "Sensio\\Bundle\\FrameworkExtraBundle\\EventListener\\IsGrantedListener::onKernelControllerArguments"
}
DEBUG 11:37:04 doctrine SELECT t0.id AS id_1, t0.agd_datecreation AS agd_datecreation_2, t0.agd_titre AS agd_titre_3, t0.agd_description AS agd_description_4, t0.agd_enligne AS agd_enligne_5, t0.site_uid AS site_uid_6, t0.site_lang AS site_lang_7, t0.agd_categ_id AS agd_categ_id_8, t0.agd_illustration_fichier AS agd_illustration_fichier_9, t0.agd_dated AS agd_dated_10, t0.agd_datef AS agd_datef_11, t0.agd_redirect AS agd_redirect_12, t0.agd_desindex AS agd_desindex_13, t0.agd_location AS agd_location_14 FROM agenda t0 WHERE t0.id = ?
[
    "3"
]
CRITICAL 11:37:04 php Uncaught Error: Call to a member function getAgdRedirect() on null
{
    "exception": {}
}
CRITICAL 11:37:04 request Uncaught PHP Exception Error: "Call to a member function getAgdRedirect() on null" at /home/otideap/www/sudcms/src/Controller/Front/FrontAgendaController.php line 93
{
    "exception": {}
}
DEBUG 11:37:04 doctrine SELECT t0.id AS id_1, t0.acc_ref_title AS acc_ref_title_2, t0.acc_ref_description AS acc_ref_description_3, t0.acc_ref_keyword AS acc_ref_keyword_4, t0.acc_ref_namesite AS acc_ref_namesite_5, t0.acc_ref_thumbnail AS acc_ref_thumbnail_6, t0.site_lang AS site_lang_7, t0.site_uid AS site_uid_8 FROM site_referencement t0 WHERE t0.site_lang = ? AND t0.site_uid = ? LIMIT 1
[
    "fr",
    1
]
DEBUG 11:37:04 doctrine SELECT t0.id AS id_1, t0.lang_code AS lang_code_2, t0.lang_entitled AS lang_entitled_3, t0.lang_flag AS lang_flag_4, t0.lang_active AS lang_active_5, t0.lang_order AS lang_order_6, t0.lang_active_back AS lang_active_back_7 FROM language t0 WHERE t0.lang_active = ? ORDER BY t0.lang_order ASC
[
    1
]
DEBUG 11:37:04 doctrine SELECT t0.id AS id_1, t0.acc_res_entitled AS acc_res_entitled_2, t0.acc_res_link AS acc_res_link_3, t0.acc_res_active AS acc_res_active_4, t0.acc_res_thmbnail_type AS acc_res_thmbnail_type_5, t0.acc_res_class AS acc_res_class_6, t0.site_lang AS site_lang_7, t0.site_uid AS site_uid_8 FROM site_reseaux t0 WHERE t0.acc_res_active = ? AND t0.site_uid = ? AND t0.site_lang = ?
[
    1,
    1,
    "fr"
]
DEBUG 11:37:04 doctrine SELECT t0.id AS id_1, t0.carrier_id AS carrier_id_2, t0.country_id AS country_id_3, t0.shipfees_amount_ttc AS shipfees_amount_ttc_4, t0.shipfees_tva AS shipfees_tva_5, t0.shipfees_weight_max AS shipfees_weight_max_6, t0.shipfees_level AS shipfees_level_7 FROM eco_shippingfees t0 WHERE t0.carrier_id = ? AND t0.country_id = ? ORDER BY t0.shipfees_level ASC, t0.shipfees_amount_ttc ASC
[
    1,
    1
]
DEBUG 11:37:04 doctrine SELECT shipfees_weight_max FROM eco_shippingfees WHERE carrier_id = :carrier_id AND country_id = :country_id AND shipfees_level = :level ORDER BY shipfees_weight_max DESC LIMIT 0,1
{
    "country_id": 1,
    "carrier_id": 1,
    "level": 0
}
DEBUG 11:37:04 doctrine SELECT shipfees_amount_ttc FROM eco_shippingfees WHERE carrier_id = :carrier_id AND country_id = :country_id AND shipfees_weight_max >= :totalWeightCart AND shipfees_level = :level ORDER BY shipfees_weight_max ASC LIMIT 0,1
{
    "country_id": 1,
    "carrier_id": 1,
    "totalWeightCart": 0,
    "level": 0
}
DEBUG 11:37:04 doctrine SELECT t0.page_id AS page_id_1, t0.pparent AS pparent_2, t0.permalien AS permalien_3, t0.pdate_creation AS pdate_creation_4, t0.pdate_lastupdate AS pdate_lastupdate_5, t0.purl_externe AS purl_externe_6, t0.purl_interne AS purl_interne_7, t0.pblank AS pblank_8, t0.ptype AS ptype_9, t0.ptitre AS ptitre_10, t0.ptitremenu AS ptitremenu_11, t0.ptitreonglet AS ptitreonglet_12, t0.pbandeau AS pbandeau_13, t0.penligne AS penligne_14, t0.pordre AS pordre_15, t0.plang AS plang_16, t0.psite AS psite_17, t0.seo_title AS seo_title_18, t0.seo_description AS seo_description_19, t0.seo_keywords AS seo_keywords_20, t0.pis_linkable AS pis_linkable_21, t0.pcacher_menu AS pcacher_menu_22, t0.penavant_menu AS penavant_menu_23, t0.ptitre_breton AS ptitre_breton_24, t0.ptitre_gallo AS ptitre_gallo_25, t0.ppath_interne AS ppath_interne_26 FROM pages t0 WHERE t0.purl_interne = ? LIMIT 1
[
    "agenda"
]
DEBUG 11:37:04 event Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\DebugHandlersListener::configure".
{
    "event": "kernel.request",
    "listener": "Symfony\\Component\\HttpKernel\\EventListener\\DebugHandlersListener::configure"
}
DEBUG 11:37:04 event Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\ValidateRequestListener::onKernelRequest".
{
    "event": "kernel.request",
    "listener": "Symfony\\Component\\HttpKernel\\EventListener\\ValidateRequestListener::onKernelRequest"
}
DEBUG 11:37:04 event Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\SessionListener::onKernelRequest".
{
    "event": "kernel.request",
    "listener": "Symfony\\Component\\HttpKernel\\EventListener\\SessionListener::onKernelRequest"
}
DEBUG 11:37:04 event Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\LocaleListener::setDefaultLocale".
{
    "event": "kernel.request",
    "listener": "Symfony\\Component\\HttpKernel\\EventListener\\LocaleListener::setDefaultLocale"
}
DEBUG 11:37:04 event Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\RouterListener::onKernelRequest".
{
    "event": "kernel.request",
    "listener": "Symfony\\Component\\HttpKernel\\EventListener\\RouterListener::onKernelRequest"
}
DEBUG 11:37:04 event Notified event "kernel.request" to listener "App\EventSubscriber\LocaleSubscriber::onKernelRequest".
{
    "event": "kernel.request",
    "listener": "App\\EventSubscriber\\LocaleSubscriber::onKernelRequest"
}
DEBUG 11:37:04 event Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\LocaleListener::onKernelRequest".
{
    "event": "kernel.request",
    "listener": "Symfony\\Component\\HttpKernel\\EventListener\\LocaleListener::onKernelRequest"
}
DEBUG 11:37:04 event Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\LocaleAwareListener::onKernelRequest".
{
    "event": "kernel.request",
    "listener": "Symfony\\Component\\HttpKernel\\EventListener\\LocaleAwareListener::onKernelRequest"
}
DEBUG 11:37:04 event Notified event "kernel.request" to listener "Symfony\Bundle\SecurityBundle\Debug\TraceableFirewallListener::configureLogoutUrlGenerator".
{
    "event": "kernel.request",
    "listener": "Symfony\\Bundle\\SecurityBundle\\Debug\\TraceableFirewallListener::configureLogoutUrlGenerator"
}
DEBUG 11:37:04 event Notified event "kernel.request" to listener "Symfony\Bundle\SecurityBundle\Debug\TraceableFirewallListener::onKernelRequest".
{
    "event": "kernel.request",
    "listener": "Symfony\\Bundle\\SecurityBundle\\Debug\\TraceableFirewallListener::onKernelRequest"
}
DEBUG 11:37:04 event Notified event "kernel.request" to listener "App\EventListener\BaseListener::onKernelRequest".
{
    "event": "kernel.request",
    "listener": "App\\EventListener\\BaseListener::onKernelRequest"
}
DEBUG 11:37:04 event Notified event "kernel.request" to listener "Knp\Bundle\PaginatorBundle\Subscriber\SlidingPaginationSubscriber::onKernelRequest".
{
    "event": "kernel.request",
    "listener": "Knp\\Bundle\\PaginatorBundle\\Subscriber\\SlidingPaginationSubscriber::onKernelRequest"
}
DEBUG 11:37:04 event Notified event "kernel.controller" to listener "Symfony\Bundle\FrameworkBundle\DataCollector\RouterDataCollector::onKernelController".
{
    "event": "kernel.controller",
    "listener": "Symfony\\Bundle\\FrameworkBundle\\DataCollector\\RouterDataCollector::onKernelController"
}
DEBUG 11:37:04 event Notified event "kernel.controller" to listener "Symfony\Component\HttpKernel\DataCollector\RequestDataCollector::onKernelController".
{
    "event": "kernel.controller",
    "listener": "Symfony\\Component\\HttpKernel\\DataCollector\\RequestDataCollector::onKernelController"
}
DEBUG 11:37:04 event Notified event "kernel.controller" to listener "Sensio\Bundle\FrameworkExtraBundle\EventListener\ControllerListener::onKernelController".
{
    "event": "kernel.controller",
    "listener": "Sensio\\Bundle\\FrameworkExtraBundle\\EventListener\\ControllerListener::onKernelController"
}
DEBUG 11:37:04 event Notified event "kernel.controller" to listener "Sensio\Bundle\FrameworkExtraBundle\EventListener\ParamConverterListener::onKernelController".
{
    "event": "kernel.controller",
    "listener": "Sensio\\Bundle\\FrameworkExtraBundle\\EventListener\\ParamConverterListener::onKernelController"
}
DEBUG 11:37:04 event Notified event "kernel.controller" to listener "Sensio\Bundle\FrameworkExtraBundle\EventListener\HttpCacheListener::onKernelController".
{
    "event": "kernel.controller",
    "listener": "Sensio\\Bundle\\FrameworkExtraBundle\\EventListener\\HttpCacheListener::onKernelController"
}
DEBUG 11:37:04 event Notified event "kernel.controller" to listener "Sensio\Bundle\FrameworkExtraBundle\EventListener\TemplateListener::onKernelController".
{
    "event": "kernel.controller",
    "listener": "Sensio\\Bundle\\FrameworkExtraBundle\\EventListener\\TemplateListener::onKernelController"
}
DEBUG 11:37:04 event Notified event "kernel.controller_arguments" to listener "Symfony\Component\HttpKernel\EventListener\ErrorListener::onControllerArguments".
{
    "event": "kernel.controller_arguments",
    "listener": "Symfony\\Component\\HttpKernel\\EventListener\\ErrorListener::onControllerArguments"
}
DEBUG 11:37:04 event Notified event "kernel.controller_arguments" to listener "Sensio\Bundle\FrameworkExtraBundle\EventListener\SecurityListener::onKernelControllerArguments".
{
    "event": "kernel.controller_arguments",
    "listener": "Sensio\\Bundle\\FrameworkExtraBundle\\EventListener\\SecurityListener::onKernelControllerArguments"
}
DEBUG 11:37:04 event Notified event "kernel.controller_arguments" to listener "Sensio\Bundle\FrameworkExtraBundle\EventListener\IsGrantedListener::onKernelControllerArguments".
{
    "event": "kernel.controller_arguments",
    "listener": "Sensio\\Bundle\\FrameworkExtraBundle\\EventListener\\IsGrantedListener::onKernelControllerArguments"
}

Stack Trace

Error
Error:
Call to a member function getAgdRedirect() on null

  at src/Controller/Front/FrontAgendaController.php:93
  at App\Controller\Front\FrontAgendaController->fiche('3', object(Request), object(AgendaRepository), object(AgendaCategsRepository))
     (vendor/symfony/http-kernel/HttpKernel.php:156)
  at Symfony\Component\HttpKernel\HttpKernel->handleRaw(object(Request), 1)
     (vendor/symfony/http-kernel/HttpKernel.php:78)
  at Symfony\Component\HttpKernel\HttpKernel->handle(object(Request), 1, true)
     (vendor/symfony/http-kernel/Kernel.php:199)
  at Symfony\Component\HttpKernel\Kernel->handle(object(Request))
     (public/index.php:25)