Error 500 Internal Server Error

GET https://g2l2corp.com/podcast/feed

ErrorController

Request

GET Parameters

None

POST Parameters

None

Uploaded Files

None

Request Attributes

Key Value
_controller
"error_controller"
_stopwatch_token
"c45824"
exception
Twig\Error\RuntimeError {#544
  #message: "Impossible to access an attribute ("title") on a null variable."
  #code: 0
  #file: "/home/glcorp/www/v6.3/templates/podcast/feed.html.twig"
  #line: 14
  -lineno: 14
  -name: "podcast/feed.html.twig"
  -rawMessage: "Impossible to access an attribute ("title") on a null variable."
  -sourcePath: "/home/glcorp/www/v6.3/templates/podcast/feed.html.twig"
  -sourceCode: """
    <?xml version="1.0" encoding="utf-8"?>\r\n
    <rss version="2.0"\r\n
         xmlns:content="http://purl.org/rss/1.0/modules/content/"\r\n
         xmlns:wfw="http://wellformedweb.org/CommentAPI/"\r\n
         xmlns:dc="http://purl.org/dc/elements/1.1/"\r\n
         xmlns:atom="http://www.w3.org/2005/Atom"\r\n
         xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"\r\n
         xmlns:slash="http://purl.org/rss/1.0/modules/slash/"\r\n
         xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd"\r\n
         xmlns:rawvoice="http://www.rawvoice.com/rawvoiceRssModule/"\r\n
         xmlns:googleplay="http://www.google.com/schemas/play-podcasts/1.0"\r\n
    >\r\n
        <channel>\r\n
            <title>{{ podcast.title }}</title>\r\n
            <link>{{ url(app.request.attributes.get('_route')) }}</link>\r\n
            <language>fr-FR</language>\r\n
            <copyright>{{ podcast.author }}</copyright>\r\n
            <description>{{ podcast.description }}</description>\r\n
            <managingEditor>{{ podcast.mail }} ({{ podcast.author }})</managingEditor>\r\n
            <image>\r\n
                <title>{{ podcast.title }}</title>\r\n
                <url>{{ absolute_url(asset('podcast/' ~ podcast.directory ~ '/logo.jpg')) }}</url>\r\n
                <link>{{ app.request.schemeAndHttpHost }}</link>\r\n
            </image>\r\n
    \r\n
            <sy:updatePeriod>monthly</sy:updatePeriod>\r\n
            <sy:updateFrequency>1</sy:updateFrequency>\r\n
            <rawvoice:rating>TV-Y</rawvoice:rating>\r\n
            <rawvoice:location>Lyon, France</rawvoice:location>\r\n
            <rawvoice:frequency>Mensuel</rawvoice:frequency>\r\n
            <atom:link href="{{ app.request.schemeAndHttpHost }}" rel="self" type="application/rss+xml" />\r\n
            <itunes:explicit>no</itunes:explicit>\r\n
            <itunes:subtitle>{{ podcast.slogan }}</itunes:subtitle>\r\n
            <itunes:author>{{ podcast.author }}</itunes:author>\r\n
            <itunes:summary>{{ podcast.description }}</itunes:summary>\r\n
            <itunes:owner>\r\n
                <itunes:name>{{ podcast.author }}</itunes:name>\r\n
                <itunes:email>{{ podcast.mail }}</itunes:email>\r\n
            </itunes:owner>\r\n
            <itunes:image href="{{ absolute_url(asset('podcast/' ~ podcast.directory ~ '/logo.jpg')) }}" />\r\n
            <itunes:category text="Technology"/>\r\n
            <itunes:category text="Podcasting"/>\r\n
            <itunes:category text="Gadgets"/>\r\n
            <itunes:category text="TV &amp; Film"/>\r\n
            <itunes:keywords>{{ podcast.keywords }}</itunes:keywords>\r\n
            {% for episode in episodes %}\r\n
                <item>\r\n
                    <title>{{ episode.title }}</title>\r\n
                    <description>{{ episode.description }}</description>\r\n
                    <content:encoded><![CDATA[<p>{{ episode.description }}</p>\r\n
                        ]]></content:encoded>\r\n
                    <link>{{ app.request.uri }}</link>\r\n
                    <guid>{{ app.request.uri }}</guid>\r\n
                    <pubDate>{{ episode.publishDate|date('D, j M Y H:i:s') }} GMT</pubDate>\r\n
                    <itunes:author>{{ podcast.author }}</itunes:author>\r\n
                    <itunes:summary>{{ episode.description }}</itunes:summary>\r\n
                    <itunes:subtitle>{{ episode.description }}</itunes:subtitle>\r\n
                    <itunes:duration>{{ episode.duration|date('H') - 1 }}:{{ episode.duration|date('i:s') }}</itunes:duration>\r\n
                    <enclosure url="{{ absolute_url(path('download', {'id' : episode.id,'file' : episode.file})) }}" length="{{ episode.duration }}" type="audio/mpeg" />\r\n
                </item>\r\n
            {% endfor %}\r\n
        </channel>\r\n
    </rss>\r\n
    \r\n
    """
  trace: {
    /home/glcorp/www/v6.3/templates/podcast/feed.html.twig:14 {
      twig_get_attribute(Environment $env, Source $source, $object, $item, array $arguments = [], $type = 'any', $isDefinedTest = false, $ignoreStrictCheck = false, $sandboxed = false, int $lineno = -1) …
      › <channel>\r    <title>{{ podcast.title }}</title>\r    <link>{{ url(app.request.attributes.get('_route')) }}</link>\r
    }
    /home/glcorp/www/v6.3/templates/podcast/feed.html.twig:14 {
      __TwigTemplate_c960604a4c2d5d0b5f7965614f7bb549->doDisplay(array $context, array $blocks = []) …
      › <channel>\r    <title>{{ podcast.title }}</title>\r    <link>{{ url(app.request.attributes.get('_route')) }}</link>\r
      arguments: {
        $env: Twig\Environment {#485 …}
        $source: Twig\Source {#540 …}
        $object: null
        $item: "title"
        $arguments: []
        $type: "any"
        $isDefinedTest: false
        $ignoreStrictCheck: false
        $sandboxed: false
        $lineno: 14
      }
    }
    /home/glcorp/www/v6.3/vendor/twig/twig/src/Template.php:394 {
      Twig\Template->displayWithErrorHandling(array $context, array $blocks = []) …
      › try {    $this->doDisplay($context, $blocks);} catch (Error $e) {
      arguments: {
        $context: [ …7]
        $blocks: []
      }
    }
    /home/glcorp/www/v6.3/vendor/twig/twig/src/Template.php:367 {
      Twig\Template->display(array $context, array $blocks = []) …
      › {    $this->displayWithErrorHandling($this->env->mergeGlobals($context), array_merge($this->blocks, $blocks));}
      arguments: {
        $context: [ …7]
        $blocks: []
      }
    }
    /home/glcorp/www/v6.3/vendor/twig/twig/src/Template.php:379 {
      Twig\Template->render(array $context) …
      › try {    $this->display($context);} catch (\Throwable $e) {
      arguments: {
        $context: [ …2]
      }
    }
    /home/glcorp/www/v6.3/vendor/twig/twig/src/TemplateWrapper.php:40 {
      Twig\TemplateWrapper->render(array $context = []): string …
      ›     // as it should only be used by internal code    return $this->template->render($context, \func_get_args()[1] ?? []);}
      arguments: {
        $context: [ …2]
        ...: {
          []
        }
      }
    }
    /home/glcorp/www/v6.3/vendor/twig/twig/src/Environment.php:280 {
      Twig\Environment->render($name, array $context = []): string …
      › {    return $this->load($name)->render($context);}
      arguments: {
        $context: [ …2]
      }
    }
    /home/glcorp/www/v6.3/vendor/symfony/framework-bundle/Controller/AbstractController.php:243 {
      Symfony\Bundle\FrameworkBundle\Controller\AbstractController->renderView(string $view, array $parameters = []): string …
      › 
      ›     return $this->container->get('twig')->render($view, $parameters);}
      arguments: {
        $name: "podcast/feed.html.twig"
        $context: [ …2]
      }
    }
    /home/glcorp/www/v6.3/src/Controller/PodcastController.php:45 {
      App\Controller\PodcastController->rss(ManagerRegistry $doctrine, $directory = null) …
      › $episodes = $em->getRepository(Episode::class)->findBy(['podcast' => $podcast], ['publishDate' => 'DESC']);return new Response($this->renderView('podcast/feed.html.twig', [    'podcast' => $podcast,
      arguments: {
        $view: "podcast/feed.html.twig"
        $parameters: [ …2]
      }
    }
    /home/glcorp/www/v6.3/vendor/symfony/http-kernel/HttpKernel.php:182 {
      Symfony\Component\HttpKernel\HttpKernel->handleRaw(Request $request, int $type = self::MAIN_REQUEST): Response …
      › // call controller$response = $controller(...$arguments);arguments: {
        $doctrine: Doctrine\Bundle\DoctrineBundle\Registry {#286 …}
        $directory: [ …1]
      }
    }
    /home/glcorp/www/v6.3/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 {#17 …}
        $type: 1
      }
    }
    /home/glcorp/www/v6.3/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 {#17 …}
        $type: 1
        $catch: true
      }
    }
    /home/glcorp/www/v6.3/vendor/symfony/runtime/Runner/Symfony/HttpKernelRunner.php:35 {
      Symfony\Component\Runtime\Runner\Symfony\HttpKernelRunner->run(): int …
      › {    $response = $this->kernel->handle($this->request);    $response->send();
      arguments: {
        $request: Symfony\Component\HttpFoundation\Request {#17 …}
      }
    }
    /home/glcorp/www/v6.3/vendor/autoload_runtime.php:29 {
      require_once …
      ›         ->getRunner($app)        ->run());
    }
    /home/glcorp/www/v6.3/public/index.php:5 {
      › 
      › require_once dirname(__DIR__).'/vendor/autoload_runtime.php';arguments: {
        "/home/glcorp/www/v6.3/vendor/autoload_runtime.php"
      }
    }
  }
}
logger
Symfony\Bridge\Monolog\Logger {#123 …9}

Request Headers

Header Value
accept-encoding
"gzip;q=1.0, deflate;q=1.0, identity;q=0.1"
host
"g2l2corp.com"
remote-ip
"34.79.113.9"
user-agent
"Spotify/1.0"
x-forwarded-for
"34.79.113.9"
x-forwarded-proto
"https"
x-ovhrequest-id
"631c843d3eb2132cdf5a9f1472d83eba"
x-php-ob-level
"0"
x-predictor
"1"

Request Content

Request content not available (it was retrieved as a resource).

Response

Response Headers

Header Value
cache-control
"no-cache, private"
content-type
"text/html; charset=UTF-8"
date
"Sun, 22 Dec 2024 14:05:41 GMT"
x-debug-exception
"Impossible%20to%20access%20an%20attribute%20%28%22title%22%29%20on%20a%20null%20variable."
x-debug-exception-file
"%2Fhome%2Fglcorp%2Fwww%2Fv6.3%2Ftemplates%2Fpodcast%2Ffeed.html.twig:14"
x-debug-token
"43f5f0"

Cookies

Request Cookies

No request cookies

Response Cookies

No response cookies

Session

Session Metadata

No session metadata

Session Attributes

No session attributes

Session Usage

0 Usages
Stateless check enabled

Session not used.

Flashes

Flashes

No flash messages were created.

Server Parameters

Server Parameters

Defined in .env

Key Value
APP_ENV
"dev"
APP_SECRET
"9be37a1447f19ab063097bc476c1a3a1"
DATABASE_URL
"mysql://glcorpweb:lgslive2011@glcorpweb.mysql.db/glcorpweb"
MAILER_DSN
"smtp://postmaster@g2l2corp.com:fumblefest2023@ssl0.ovh.net:587"
RIB_BIC
"CCBPFRPPGRE"
RIB_IBAN
"FR76 1680 7004 0081 5940 5321 429"
RIB_NAME
"G2L2 CORP"

Defined as regular env variables

Key Value
APP_DEBUG
"1"
APP_ENGINE
"phpcgi"
APP_ENGINE_VERSION
"8.2"
CFG_CLUSTER
"cluster006"
DOCUMENT_ROOT
"/home/glcorp/www"
ENVIRONMENT
"production"
GATEWAY_INTERFACE
"CGI/1.1"
GEOIP_AREA_CODE
"0"
GEOIP_CITY
"Brussels"
GEOIP_COUNTRY_CODE
"BE"
GEOIP_COUNTRY_NAME
"Belgium"
GEOIP_DMA_CODE
"0"
GEOIP_LATITUDE
"50.833599"
GEOIP_LONGITUDE
"4.333700"
GEOIP_REGION
"11"
HOME
"/homez.740/glcorp"
HTTPS
"on"
HTTP_ACCEPT_ENCODING
"gzip;q=1.0, deflate;q=1.0, identity;q=0.1"
HTTP_HOST
"g2l2corp.com"
HTTP_REMOTE_IP
"34.79.113.9"
HTTP_USER_AGENT
"Spotify/1.0"
HTTP_X_FORWARDED_FOR
"34.79.113.9"
HTTP_X_FORWARDED_PROTO
"https"
HTTP_X_OVHREQUEST_ID
"631c843d3eb2132cdf5a9f1472d83eba"
HTTP_X_PREDICTOR
"1"
PATH
"/usr/local/bin:/usr/bin:/bin"
PHP_SELF
"/v6.3/public/index.php"
PWD
"/homez.740/glcorp/www/v6.3/public"
QUERY_STRING
""
REDIRECT_STATUS
"200"
REDIRECT_URL
"/v6.3/public/podcast/feed"
REMOTE_ADDR
"34.79.113.9"
REMOTE_PORT
"34860"
REQUEST_METHOD
"GET"
REQUEST_TIME
1734876340
REQUEST_TIME_FLOAT
1734876340.9653
REQUEST_URI
"/podcast/feed"
SCRIPT_FILENAME
"/home/glcorp/www/v6.3/public/index.php"
SCRIPT_NAME
"/v6.3/public/index.php"
SCRIPT_URI
"https://g2l2corp.com:443/podcast/feed"
SCRIPT_URL
"/podcast/feed"
SERVER_ADDR
"10.6.20.128"
SERVER_ADMIN
"postmaster@g2l2corp.com"
SERVER_NAME
"g2l2corp.com"
SERVER_PORT
"443"
SERVER_PROTOCOL
"HTTP/1.1"
SERVER_SIGNATURE
""
SERVER_SOFTWARE
"Apache"
SYMFONY_DOTENV_VARS
"APP_ENV,APP_SECRET,DATABASE_URL,MAILER_DSN,RIB_NAME,RIB_IBAN,RIB_BIC"
UID
"glcorp"
UNIQUE_ID
"Z2gctMOA2V1PxncyTRXWIgAAACs"
argc
1
argv
[
  "index.php"
]

Parent Request

Return to parent request (token = 9d7917)

Key Value
_controller
"App\Controller\PodcastController::rss"
_firewall_context
"security.firewall.map.context.main"
_remove_csp_headers
true
_route
"viewFeed"
_route_params
[]
_security_firewall_run
"_security_main"
_stopwatch_token
"f4c874"