Twig \ Error \ RuntimeError
Neither the property "company_logo" nor one of the methods "company_logo()", "getcompany_logo()"/"iscompany_logo()"/"hascompany_logo()" or "__call()" exist and have public access in class "WP_Post". Twig\Error\RuntimeError thrown with message "Neither the property "company_logo" nor one of the methods "company_logo()", "getcompany_logo()"/"iscompany_logo()"/"hascompany_logo()" or "__call()" exist and have public access in class "WP_Post"." Stacktrace: #20 Twig\Error\RuntimeError in /var/www/vhosts/mm-01.de/invest/wp-content/themes/13grad_/theme/templates/layout/singular-joboffer.html.twig:31 #19 twig_get_attribute in /var/www/vhosts/mm-01.de/invest/wp-content/themes/13grad_/theme/vendor/twig/twig/src/Environment.php:361 #18 __TwigTemplate_49a91a30f9ee917ac23b7728bdcb577b:block_post in /var/www/vhosts/mm-01.de/invest/wp-content/themes/13grad_/theme/vendor/twig/twig/src/Template.php:171 #17 Twig\Template:displayBlock in /var/www/vhosts/mm-01.de/invest/wp-content/themes/13grad_/theme/vendor/twig/twig/src/Environment.php:361 #16 __TwigTemplate_49a91a30f9ee917ac23b7728bdcb577b:block_content_wrapper in /var/www/vhosts/mm-01.de/invest/wp-content/themes/13grad_/theme/vendor/twig/twig/src/Template.php:171 #15 Twig\Template:displayBlock in /var/www/vhosts/mm-01.de/invest/wp-content/themes/13grad_/theme/vendor/twig/twig/src/Environment.php:361 #14 __TwigTemplate_bb880b2795545d9673fb82ef6b5231a0:block_main in /var/www/vhosts/mm-01.de/invest/wp-content/themes/13grad_/theme/vendor/twig/twig/src/Template.php:171 #13 Twig\Template:displayBlock in /var/www/vhosts/mm-01.de/invest/wp-content/themes/13grad_/theme/vendor/twig/twig/src/Environment.php:361 #12 __TwigTemplate_bb880b2795545d9673fb82ef6b5231a0:doDisplay in /var/www/vhosts/mm-01.de/invest/wp-content/themes/13grad_/theme/vendor/twig/twig/src/Template.php:394 #11 Twig\Template:displayWithErrorHandling in /var/www/vhosts/mm-01.de/invest/wp-content/themes/13grad_/theme/vendor/twig/twig/src/Template.php:367 #10 Twig\Template:display in /var/www/vhosts/mm-01.de/invest/wp-content/themes/13grad_/theme/vendor/twig/twig/src/Environment.php:361 #9 __TwigTemplate_49a91a30f9ee917ac23b7728bdcb577b:doDisplay in /var/www/vhosts/mm-01.de/invest/wp-content/themes/13grad_/theme/vendor/twig/twig/src/Template.php:394 #8 Twig\Template:displayWithErrorHandling in /var/www/vhosts/mm-01.de/invest/wp-content/themes/13grad_/theme/vendor/twig/twig/src/Template.php:367 #7 Twig\Template:display in /var/www/vhosts/mm-01.de/invest/wp-content/themes/13grad_/theme/vendor/twig/twig/src/Template.php:379 #6 Twig\Template:render in /var/www/vhosts/mm-01.de/invest/wp-content/themes/13grad_/theme/vendor/twig/twig/src/TemplateWrapper.php:40 #5 Twig\TemplateWrapper:render in /var/www/vhosts/mm-01.de/invest/wp-content/themes/13grad_/theme/vendor/twig/twig/src/Environment.php:280 #4 Twig\Environment:render in /var/www/vhosts/mm-01.de/invest/wp-content/themes/13grad_/theme/library/functions.php:404 #3 theme_render in /var/www/vhosts/mm-01.de/invest/wp-content/themes/13grad_/singular.php:5 #2 include in /var/www/vhosts/mm-01.de/invest/wp-includes/template-loader.php:132 #1 require_once in /var/www/vhosts/mm-01.de/invest/wp-blog-header.php:19 #0 require in /var/www/vhosts/mm-01.de/invest/index.php:17
Stack frames (21)
20
Twig\Error\RuntimeError
/templates/layout/singular-joboffer.html.twig31
19
twig_get_attribute
/vendor/twig/twig/src/Environment.php361
18
__TwigTemplate_49a91a30f9ee917ac23b7728bdcb577b block_post
/vendor/twig/twig/src/Template.php171
17
Twig\Template displayBlock
/vendor/twig/twig/src/Environment.php361
16
__TwigTemplate_49a91a30f9ee917ac23b7728bdcb577b block_content_wrapper
/vendor/twig/twig/src/Template.php171
15
Twig\Template displayBlock
/vendor/twig/twig/src/Environment.php361
14
__TwigTemplate_bb880b2795545d9673fb82ef6b5231a0 block_main
/vendor/twig/twig/src/Template.php171
13
Twig\Template displayBlock
/vendor/twig/twig/src/Environment.php361
12
__TwigTemplate_bb880b2795545d9673fb82ef6b5231a0 doDisplay
/vendor/twig/twig/src/Template.php394
11
Twig\Template displayWithErrorHandling
/vendor/twig/twig/src/Template.php367
10
Twig\Template display
/vendor/twig/twig/src/Environment.php361
9
__TwigTemplate_49a91a30f9ee917ac23b7728bdcb577b doDisplay
/vendor/twig/twig/src/Template.php394
8
Twig\Template displayWithErrorHandling
/vendor/twig/twig/src/Template.php367
7
Twig\Template display
/vendor/twig/twig/src/Template.php379
6
Twig\Template render
/vendor/twig/twig/src/TemplateWrapper.php40
5
Twig\TemplateWrapper render
/vendor/twig/twig/src/Environment.php280
4
Twig\Environment render
/library/functions.php404
3
theme_render
/var/www/vhosts/mm-01.de/invest/wp-content/themes/13grad_/singular.php5
2
include
/var/www/vhosts/mm-01.de/invest/wp-includes/template-loader.php132
1
require_once
/var/www/vhosts/mm-01.de/invest/wp-blog-header.php19
0
require
/var/www/vhosts/mm-01.de/invest/index.php17
/var/www/vhosts/mm-01.de/invest/wp-content/themes/13grad_/theme/templates/layout/singular-joboffer.html.twig
    {{ include('elements/password.html.twig') }}
 
    {% block before_post %}
        {% if is_allowed and before_post %}{{ before_post|raw }}{% endif %}
    {% endblock %}
 
    {% block post %}
 
        {% if is_allowed %}
        <div class="header-banner-container">
            <div class="background-img">
                 {% set bannericon = theme_asset_url('public/images/banner_hg_3.svg') %}
                <img alt="Background Image" src="{{ bannericon|raw }}" title="" data-cmp-info="10">
            </div>
        </div>
        {% set company_id = get_field('company_relation',post) %}
                        {% set cimage = null %}
                            {% if company_id %}
                                {% set companyobj = get_post(company_id) %}
                                 {% set cimage = image(companyobj.company_logo) %}
                            
                            {% endif %}
            <article id="jobdetail" class="{{ classes|join(' ') }} container postdetail" itemscope itemtype="http://schema.org/Article">
                {% block content_inner %}
                        <div class="row news-top">
                            <div class="col-24 col-md-16">
                                <a href="javascript:history.back()" class="back_link">&lt; zurück zur Übersicht</a>
                            </div>
                            <div class="col-24 col-md-8 text-right ">
                                {% if companyobj %}
                                {% set fblink = get_field('company_socials',companyobj.ID).facebook %}
                                    {% set linkedin = get_field('company_socials',companyobj.ID).linkedin %}
                                    {% set instragram = get_field('company_socials',companyobj.ID).instragram %}
                                    {% if fblink %}
                                    <a class="social-link2" target="_blank" href="{{ fblink }}"><img src="/wp-content/uploads/2026/05/facebook-icon.png" alt="Facebook"></a>
                                    {% endif %}
                                    {% if instragram %}
                                    <a class="social-link2" target="_blank" href="{{ instragram }}"><img src="/wp-content/uploads/2026/05/instagram-icon.png" alt="Instragram"></a>
                                    {% endif %}
                                    {% if linkedin %}
Arguments
  1. "Neither the property "company_logo" nor one of the methods "company_logo()", "getcompany_logo()"/"iscompany_logo()"/"hascompany_logo()" or "__call()" exist and have public access in class "WP_Post"."
    
/var/www/vhosts/mm-01.de/invest/wp-content/themes/13grad_/theme/vendor/twig/twig/src/Environment.php
            $key = $this->cache->generateKey($name, $mainCls);
 
            if (!$this->isAutoReload() || $this->isTemplateFresh($name, $this->cache->getTimestamp($key))) {
                $this->cache->load($key);
            }
 
            $source = null;
            if (!class_exists($cls, false)) {
                $source = $this->getLoader()->getSourceContext($name);
                $content = $this->compileSource($source);
                $this->cache->write($key, $content);
                $this->cache->load($key);
 
                if (!class_exists($mainCls, false)) {
                    /* Last line of defense if either $this->bcWriteCacheFile was used,
                     * $this->cache is implemented as a no-op or we have a race condition
                     * where the cache was cleared between the above calls to write to and load from
                     * the cache.
                     */
                    eval('?>'.$content);
                }
 
                if (!class_exists($cls, false)) {
                    throw new RuntimeError(sprintf('Failed to load Twig template "%s", index "%s": cache might be corrupted.', $name, $index), -1, $source);
                }
            }
        }
 
        $this->extensionSet->initRuntime();
 
        return $this->loadedTemplates[$cls] = new $cls($this);
    }
 
    /**
     * Creates a template from source.
     *
     * This method should not be used as a generic way to load templates.
     *
     * @param string $template The template source
     * @param string $name     An optional name of the template to be used in error messages
/var/www/vhosts/mm-01.de/invest/wp-content/themes/13grad_/theme/vendor/twig/twig/src/Template.php
    {
        if ($useBlocks && isset($blocks[$name])) {
            $template = $blocks[$name][0];
            $block = $blocks[$name][1];
        } elseif (isset($this->blocks[$name])) {
            $template = $this->blocks[$name][0];
            $block = $this->blocks[$name][1];
        } else {
            $template = null;
            $block = null;
        }
 
        // avoid RCEs when sandbox is enabled
        if (null !== $template && !$template instanceof self) {
            throw new \LogicException('A block must be a method on a \Twig\Template instance.');
        }
 
        if (null !== $template) {
            try {
                $template->$block($context, $blocks);
            } catch (Error $e) {
                if (!$e->getSourceContext()) {
                    $e->setSourceContext($template->getSourceContext());
                }
 
                // this is mostly useful for \Twig\Error\LoaderError exceptions
                // see \Twig\Error\LoaderError
                if (-1 === $e->getTemplateLine()) {
                    $e->guess();
                }
 
                throw $e;
            } catch (\Exception $e) {
                $e = new RuntimeError(sprintf('An exception has been thrown during the rendering of a template ("%s").', $e->getMessage()), -1, $template->getSourceContext(), $e);
                $e->guess();
 
                throw $e;
            }
        } elseif (false !== $parent = $this->getParent($context)) {
            $parent->displayBlock($name, $context, array_merge($this->blocks, $blocks), false, $templateContext ?? $this);
/var/www/vhosts/mm-01.de/invest/wp-content/themes/13grad_/theme/vendor/twig/twig/src/Environment.php
            $key = $this->cache->generateKey($name, $mainCls);
 
            if (!$this->isAutoReload() || $this->isTemplateFresh($name, $this->cache->getTimestamp($key))) {
                $this->cache->load($key);
            }
 
            $source = null;
            if (!class_exists($cls, false)) {
                $source = $this->getLoader()->getSourceContext($name);
                $content = $this->compileSource($source);
                $this->cache->write($key, $content);
                $this->cache->load($key);
 
                if (!class_exists($mainCls, false)) {
                    /* Last line of defense if either $this->bcWriteCacheFile was used,
                     * $this->cache is implemented as a no-op or we have a race condition
                     * where the cache was cleared between the above calls to write to and load from
                     * the cache.
                     */
                    eval('?>'.$content);
                }
 
                if (!class_exists($cls, false)) {
                    throw new RuntimeError(sprintf('Failed to load Twig template "%s", index "%s": cache might be corrupted.', $name, $index), -1, $source);
                }
            }
        }
 
        $this->extensionSet->initRuntime();
 
        return $this->loadedTemplates[$cls] = new $cls($this);
    }
 
    /**
     * Creates a template from source.
     *
     * This method should not be used as a generic way to load templates.
     *
     * @param string $template The template source
     * @param string $name     An optional name of the template to be used in error messages
/var/www/vhosts/mm-01.de/invest/wp-content/themes/13grad_/theme/vendor/twig/twig/src/Template.php
    {
        if ($useBlocks && isset($blocks[$name])) {
            $template = $blocks[$name][0];
            $block = $blocks[$name][1];
        } elseif (isset($this->blocks[$name])) {
            $template = $this->blocks[$name][0];
            $block = $this->blocks[$name][1];
        } else {
            $template = null;
            $block = null;
        }
 
        // avoid RCEs when sandbox is enabled
        if (null !== $template && !$template instanceof self) {
            throw new \LogicException('A block must be a method on a \Twig\Template instance.');
        }
 
        if (null !== $template) {
            try {
                $template->$block($context, $blocks);
            } catch (Error $e) {
                if (!$e->getSourceContext()) {
                    $e->setSourceContext($template->getSourceContext());
                }
 
                // this is mostly useful for \Twig\Error\LoaderError exceptions
                // see \Twig\Error\LoaderError
                if (-1 === $e->getTemplateLine()) {
                    $e->guess();
                }
 
                throw $e;
            } catch (\Exception $e) {
                $e = new RuntimeError(sprintf('An exception has been thrown during the rendering of a template ("%s").', $e->getMessage()), -1, $template->getSourceContext(), $e);
                $e->guess();
 
                throw $e;
            }
        } elseif (false !== $parent = $this->getParent($context)) {
            $parent->displayBlock($name, $context, array_merge($this->blocks, $blocks), false, $templateContext ?? $this);
/var/www/vhosts/mm-01.de/invest/wp-content/themes/13grad_/theme/vendor/twig/twig/src/Environment.php
            $key = $this->cache->generateKey($name, $mainCls);
 
            if (!$this->isAutoReload() || $this->isTemplateFresh($name, $this->cache->getTimestamp($key))) {
                $this->cache->load($key);
            }
 
            $source = null;
            if (!class_exists($cls, false)) {
                $source = $this->getLoader()->getSourceContext($name);
                $content = $this->compileSource($source);
                $this->cache->write($key, $content);
                $this->cache->load($key);
 
                if (!class_exists($mainCls, false)) {
                    /* Last line of defense if either $this->bcWriteCacheFile was used,
                     * $this->cache is implemented as a no-op or we have a race condition
                     * where the cache was cleared between the above calls to write to and load from
                     * the cache.
                     */
                    eval('?>'.$content);
                }
 
                if (!class_exists($cls, false)) {
                    throw new RuntimeError(sprintf('Failed to load Twig template "%s", index "%s": cache might be corrupted.', $name, $index), -1, $source);
                }
            }
        }
 
        $this->extensionSet->initRuntime();
 
        return $this->loadedTemplates[$cls] = new $cls($this);
    }
 
    /**
     * Creates a template from source.
     *
     * This method should not be used as a generic way to load templates.
     *
     * @param string $template The template source
     * @param string $name     An optional name of the template to be used in error messages
/var/www/vhosts/mm-01.de/invest/wp-content/themes/13grad_/theme/vendor/twig/twig/src/Template.php
    {
        if ($useBlocks && isset($blocks[$name])) {
            $template = $blocks[$name][0];
            $block = $blocks[$name][1];
        } elseif (isset($this->blocks[$name])) {
            $template = $this->blocks[$name][0];
            $block = $this->blocks[$name][1];
        } else {
            $template = null;
            $block = null;
        }
 
        // avoid RCEs when sandbox is enabled
        if (null !== $template && !$template instanceof self) {
            throw new \LogicException('A block must be a method on a \Twig\Template instance.');
        }
 
        if (null !== $template) {
            try {
                $template->$block($context, $blocks);
            } catch (Error $e) {
                if (!$e->getSourceContext()) {
                    $e->setSourceContext($template->getSourceContext());
                }
 
                // this is mostly useful for \Twig\Error\LoaderError exceptions
                // see \Twig\Error\LoaderError
                if (-1 === $e->getTemplateLine()) {
                    $e->guess();
                }
 
                throw $e;
            } catch (\Exception $e) {
                $e = new RuntimeError(sprintf('An exception has been thrown during the rendering of a template ("%s").', $e->getMessage()), -1, $template->getSourceContext(), $e);
                $e->guess();
 
                throw $e;
            }
        } elseif (false !== $parent = $this->getParent($context)) {
            $parent->displayBlock($name, $context, array_merge($this->blocks, $blocks), false, $templateContext ?? $this);
/var/www/vhosts/mm-01.de/invest/wp-content/themes/13grad_/theme/vendor/twig/twig/src/Environment.php
            $key = $this->cache->generateKey($name, $mainCls);
 
            if (!$this->isAutoReload() || $this->isTemplateFresh($name, $this->cache->getTimestamp($key))) {
                $this->cache->load($key);
            }
 
            $source = null;
            if (!class_exists($cls, false)) {
                $source = $this->getLoader()->getSourceContext($name);
                $content = $this->compileSource($source);
                $this->cache->write($key, $content);
                $this->cache->load($key);
 
                if (!class_exists($mainCls, false)) {
                    /* Last line of defense if either $this->bcWriteCacheFile was used,
                     * $this->cache is implemented as a no-op or we have a race condition
                     * where the cache was cleared between the above calls to write to and load from
                     * the cache.
                     */
                    eval('?>'.$content);
                }
 
                if (!class_exists($cls, false)) {
                    throw new RuntimeError(sprintf('Failed to load Twig template "%s", index "%s": cache might be corrupted.', $name, $index), -1, $source);
                }
            }
        }
 
        $this->extensionSet->initRuntime();
 
        return $this->loadedTemplates[$cls] = new $cls($this);
    }
 
    /**
     * Creates a template from source.
     *
     * This method should not be used as a generic way to load templates.
     *
     * @param string $template The template source
     * @param string $name     An optional name of the template to be used in error messages
/var/www/vhosts/mm-01.de/invest/wp-content/themes/13grad_/theme/vendor/twig/twig/src/Template.php
        } else {
            ob_start(function () { return ''; });
        }
        try {
            $this->display($context);
        } catch (\Throwable $e) {
            while (ob_get_level() > $level) {
                ob_end_clean();
            }
 
            throw $e;
        }
 
        return ob_get_clean();
    }
 
    protected function displayWithErrorHandling(array $context, array $blocks = [])
    {
        try {
            $this->doDisplay($context, $blocks);
        } catch (Error $e) {
            if (!$e->getSourceContext()) {
                $e->setSourceContext($this->getSourceContext());
            }
 
            // this is mostly useful for \Twig\Error\LoaderError exceptions
            // see \Twig\Error\LoaderError
            if (-1 === $e->getTemplateLine()) {
                $e->guess();
            }
 
            throw $e;
        } catch (\Exception $e) {
            $e = new RuntimeError(sprintf('An exception has been thrown during the rendering of a template ("%s").', $e->getMessage()), -1, $this->getSourceContext(), $e);
            $e->guess();
 
            throw $e;
        }
    }
 
/var/www/vhosts/mm-01.de/invest/wp-content/themes/13grad_/theme/vendor/twig/twig/src/Template.php
    {
        return $this;
    }
 
    /**
     * Returns all blocks.
     *
     * This method is for internal use only and should never be called
     * directly.
     *
     * @return array An array of blocks
     */
    public function getBlocks()
    {
        return $this->blocks;
    }
 
    public function display(array $context, array $blocks = [])
    {
        $this->displayWithErrorHandling($this->env->mergeGlobals($context), array_merge($this->blocks, $blocks));
    }
 
    public function render(array $context)
    {
        $level = ob_get_level();
        if ($this->env->isDebug()) {
            ob_start();
        } else {
            ob_start(function () { return ''; });
        }
        try {
            $this->display($context);
        } catch (\Throwable $e) {
            while (ob_get_level() > $level) {
                ob_end_clean();
            }
 
            throw $e;
        }
 
/var/www/vhosts/mm-01.de/invest/wp-content/themes/13grad_/theme/vendor/twig/twig/src/Environment.php
            $key = $this->cache->generateKey($name, $mainCls);
 
            if (!$this->isAutoReload() || $this->isTemplateFresh($name, $this->cache->getTimestamp($key))) {
                $this->cache->load($key);
            }
 
            $source = null;
            if (!class_exists($cls, false)) {
                $source = $this->getLoader()->getSourceContext($name);
                $content = $this->compileSource($source);
                $this->cache->write($key, $content);
                $this->cache->load($key);
 
                if (!class_exists($mainCls, false)) {
                    /* Last line of defense if either $this->bcWriteCacheFile was used,
                     * $this->cache is implemented as a no-op or we have a race condition
                     * where the cache was cleared between the above calls to write to and load from
                     * the cache.
                     */
                    eval('?>'.$content);
                }
 
                if (!class_exists($cls, false)) {
                    throw new RuntimeError(sprintf('Failed to load Twig template "%s", index "%s": cache might be corrupted.', $name, $index), -1, $source);
                }
            }
        }
 
        $this->extensionSet->initRuntime();
 
        return $this->loadedTemplates[$cls] = new $cls($this);
    }
 
    /**
     * Creates a template from source.
     *
     * This method should not be used as a generic way to load templates.
     *
     * @param string $template The template source
     * @param string $name     An optional name of the template to be used in error messages
/var/www/vhosts/mm-01.de/invest/wp-content/themes/13grad_/theme/vendor/twig/twig/src/Template.php
        } else {
            ob_start(function () { return ''; });
        }
        try {
            $this->display($context);
        } catch (\Throwable $e) {
            while (ob_get_level() > $level) {
                ob_end_clean();
            }
 
            throw $e;
        }
 
        return ob_get_clean();
    }
 
    protected function displayWithErrorHandling(array $context, array $blocks = [])
    {
        try {
            $this->doDisplay($context, $blocks);
        } catch (Error $e) {
            if (!$e->getSourceContext()) {
                $e->setSourceContext($this->getSourceContext());
            }
 
            // this is mostly useful for \Twig\Error\LoaderError exceptions
            // see \Twig\Error\LoaderError
            if (-1 === $e->getTemplateLine()) {
                $e->guess();
            }
 
            throw $e;
        } catch (\Exception $e) {
            $e = new RuntimeError(sprintf('An exception has been thrown during the rendering of a template ("%s").', $e->getMessage()), -1, $this->getSourceContext(), $e);
            $e->guess();
 
            throw $e;
        }
    }
 
/var/www/vhosts/mm-01.de/invest/wp-content/themes/13grad_/theme/vendor/twig/twig/src/Template.php
    {
        return $this;
    }
 
    /**
     * Returns all blocks.
     *
     * This method is for internal use only and should never be called
     * directly.
     *
     * @return array An array of blocks
     */
    public function getBlocks()
    {
        return $this->blocks;
    }
 
    public function display(array $context, array $blocks = [])
    {
        $this->displayWithErrorHandling($this->env->mergeGlobals($context), array_merge($this->blocks, $blocks));
    }
 
    public function render(array $context)
    {
        $level = ob_get_level();
        if ($this->env->isDebug()) {
            ob_start();
        } else {
            ob_start(function () { return ''; });
        }
        try {
            $this->display($context);
        } catch (\Throwable $e) {
            while (ob_get_level() > $level) {
                ob_end_clean();
            }
 
            throw $e;
        }
 
/var/www/vhosts/mm-01.de/invest/wp-content/themes/13grad_/theme/vendor/twig/twig/src/Template.php
    public function getBlocks()
    {
        return $this->blocks;
    }
 
    public function display(array $context, array $blocks = [])
    {
        $this->displayWithErrorHandling($this->env->mergeGlobals($context), array_merge($this->blocks, $blocks));
    }
 
    public function render(array $context)
    {
        $level = ob_get_level();
        if ($this->env->isDebug()) {
            ob_start();
        } else {
            ob_start(function () { return ''; });
        }
        try {
            $this->display($context);
        } catch (\Throwable $e) {
            while (ob_get_level() > $level) {
                ob_end_clean();
            }
 
            throw $e;
        }
 
        return ob_get_clean();
    }
 
    protected function displayWithErrorHandling(array $context, array $blocks = [])
    {
        try {
            $this->doDisplay($context, $blocks);
        } catch (Error $e) {
            if (!$e->getSourceContext()) {
                $e->setSourceContext($this->getSourceContext());
            }
 
/var/www/vhosts/mm-01.de/invest/wp-content/themes/13grad_/theme/vendor/twig/twig/src/TemplateWrapper.php
    private $env;
    private $template;
 
    /**
     * This method is for internal use only and should never be called
     * directly (use Twig\Environment::load() instead).
     *
     * @internal
     */
    public function __construct(Environment $env, Template $template)
    {
        $this->env = $env;
        $this->template = $template;
    }
 
    public function render(array $context = []): string
    {
        // using func_get_args() allows to not expose the blocks argument
        // as it should only be used by internal code
        return $this->template->render($context, \func_get_args()[1] ?? []);
    }
 
    public function display(array $context = [])
    {
        // using func_get_args() allows to not expose the blocks argument
        // as it should only be used by internal code
        $this->template->display($context, \func_get_args()[1] ?? []);
    }
 
    public function hasBlock(string $name, array $context = []): bool
    {
        return $this->template->hasBlock($name, $context);
    }
 
    /**
     * @return string[] An array of defined template block names
     */
    public function getBlockNames(array $context = []): array
    {
        return $this->template->getBlockNames($context);
/var/www/vhosts/mm-01.de/invest/wp-content/themes/13grad_/theme/vendor/twig/twig/src/Environment.php
     */
    public function getTemplateClass(string $name, int $index = null): string
    {
        $key = $this->getLoader()->getCacheKey($name).$this->optionsHash;
 
        return $this->templateClassPrefix.hash(\PHP_VERSION_ID < 80100 ? 'sha256' : 'xxh128', $key).(null === $index ? '' : '___'.$index);
    }
 
    /**
     * Renders a template.
     *
     * @param string|TemplateWrapper $name The template name
     *
     * @throws LoaderError  When the template cannot be found
     * @throws SyntaxError  When an error occurred during compilation
     * @throws RuntimeError When an error occurred during rendering
     */
    public function render($name, array $context = []): string
    {
        return $this->load($name)->render($context);
    }
 
    /**
     * Displays a template.
     *
     * @param string|TemplateWrapper $name The template name
     *
     * @throws LoaderError  When the template cannot be found
     * @throws SyntaxError  When an error occurred during compilation
     * @throws RuntimeError When an error occurred during rendering
     */
    public function display($name, array $context = []): void
    {
        $this->load($name)->display($context);
    }
 
    /**
     * Loads a template.
     *
     * @param string|TemplateWrapper $name The template name
/var/www/vhosts/mm-01.de/invest/wp-content/themes/13grad_/theme/library/functions.php
    $twig = pimple('twig');
 
    foreach ($templates as $template) {
        if ($twig->getLoader()->exists($template)) {
            return $template;
        }
    }
 
    return null;
}
 
function theme_render($template, array $vars = []): ?string
{
    if (is_array($template)) {
        $template = theme_get_twig_template($template);
    }
 
    $context = theme_context();
    $data = array_merge($context->getData(), $vars);
    $content = pimple('twig')->render($template, $data);
 
    return theme_content($content,false);
}
 
function theme_get_preset_sections(array $ids): array
{
    $presets = new PostCollection([
        'posts_per_page' => count($ids),
        'post_status' => 'publish',
        'post_type' => 'preset-type',
        'post__in'=> $ids
    ]);
 
    $sections = [];
 
    foreach ($ids as $id) {
        if ($preset = $presets->get($id)) {
            $sections[] = [
                'acf_fc_layout' => 'preset',
                'preset' => [$preset]
/var/www/vhosts/mm-01.de/invest/wp-content/themes/13grad_/singular.php
<?php defined('ABSPATH') or die();
 
the_post();
 
$content = theme_render([
    sprintf('%s.html.twig', $post->post_type),
    sprintf('singular-%s.html.twig', $post->post_type),
    'singular.html.twig'
], [
    'post' => get_post(),
    'gast_registration_nonce' => wp_create_nonce('gast_registration'),
    'gast_registered' => !empty($_GET['gast_registered']),
]) ?? '';
 
// Output
 
get_header();
 
print theme_content($content, true);
 
get_footer();
 
/var/www/vhosts/mm-01.de/invest/wp-includes/template-loader.php
     */
    $template   = apply_filters( 'template_include', $template );
    $is_stringy = is_string( $template ) || ( is_object( $template ) && method_exists( $template, '__toString' ) );
    $template   = $is_stringy ? realpath( (string) $template ) : null;
    if (
        is_string( $template ) &&
        ( str_ends_with( $template, '.php' ) || str_ends_with( $template, '.html' ) ) &&
        is_file( $template ) &&
        is_readable( $template )
    ) {
        /**
         * Fires immediately before including the template.
         *
         * @since 6.9.0
         *
         * @param string $template The path of the template about to be included.
         */
        do_action( 'wp_before_include_template', $template );
 
        include $template;
    } elseif ( current_user_can( 'switch_themes' ) ) {
        $theme = wp_get_theme();
        if ( $theme->errors() ) {
            wp_die( $theme->errors() );
        }
    }
    return;
}
 
Arguments
  1. "/var/www/vhosts/mm-01.de/invest/wp-content/themes/13grad_/singular.php"
    
/var/www/vhosts/mm-01.de/invest/wp-blog-header.php
<?php
/**
 * Loads the WordPress environment and template.
 *
 * @package WordPress
 */
 
if ( ! isset( $wp_did_header ) ) {
 
    $wp_did_header = true;
 
    // Load the WordPress library.
    require_once __DIR__ . '/wp-load.php';
 
    // Set up the WordPress query.
    wp();
 
    // Load the theme template.
    require_once ABSPATH . WPINC . '/template-loader.php';
 
}
 
Arguments
  1. "/var/www/vhosts/mm-01.de/invest/wp-includes/template-loader.php"
    
/var/www/vhosts/mm-01.de/invest/index.php
<?php
/**
 * Front to the WordPress application. This file doesn't do anything, but loads
 * wp-blog-header.php which does and tells WordPress to load the theme.
 *
 * @package WordPress
 */
 
/**
 * Tells WordPress to load the WordPress theme and output it.
 *
 * @var bool
 */
define( 'WP_USE_THEMES', true );
 
/** Loads the WordPress Environment and Template */
require __DIR__ . '/wp-blog-header.php';
 
Arguments
  1. "/var/www/vhosts/mm-01.de/invest/wp-blog-header.php"
    

Environment & details:

empty
empty
empty
empty
empty
Key Value
SERVER_SOFTWARE
"Apache"
REQUEST_URI
"/jobs/geselle-im-dachdeckerhandwerk/"
USER
"mm-01"
HOME
"/var/www/vhosts/mm-01.de"
SCRIPT_NAME
"/index.php"
QUERY_STRING
""
REQUEST_METHOD
"GET"
SERVER_PROTOCOL
"HTTP/1.1"
GATEWAY_INTERFACE
"CGI/1.1"
REDIRECT_URL
"/jobs/geselle-im-dachdeckerhandwerk/"
REMOTE_PORT
"60642"
SCRIPT_FILENAME
"/var/www/vhosts/mm-01.de/invest/index.php"
SERVER_ADMIN
"[no address given]"
CONTEXT_DOCUMENT_ROOT
"/var/www/vhosts/mm-01.de/invest"
CONTEXT_PREFIX
""
REQUEST_SCHEME
"https"
DOCUMENT_ROOT
"/var/www/vhosts/mm-01.de/invest"
REMOTE_ADDR
"216.73.216.45"
SERVER_PORT
"443"
SERVER_ADDR
"88.99.162.29"
SERVER_NAME
"invest.mm-01.de"
SERVER_SIGNATURE
"<address>Apache Server at invest.mm-01.de Port 443</address>\n"
PATH
"/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin"
HTTP_HOST
"invest.mm-01.de"
HTTP_ACCEPT_ENCODING
"gzip, br, zstd, deflate"
HTTP_USER_AGENT
"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)"
HTTP_ACCEPT
"*/*"
proxy-nokeepalive
"1"
SSL_TLS_SNI
"invest.mm-01.de"
HTTPS
"on"
HTTP_AUTHORIZATION
""
REDIRECT_STATUS
"200"
REDIRECT_SSL_TLS_SNI
"invest.mm-01.de"
REDIRECT_HTTPS
"on"
REDIRECT_HTTP_AUTHORIZATION
""
FCGI_ROLE
"RESPONDER"
PHP_SELF
"/index.php"
REQUEST_TIME_FLOAT
1787253741.5344
REQUEST_TIME
1787253741
DEPLOY_PROD_USERNAME
""
DEPLOY_PROD_ROOT
""
DEPLOY_TEST_USERNAME
""
DEPLOY_TEST_ROOT
""
SYMFONY_DOTENV_VARS
"DEPLOY_PROD_USERNAME,DEPLOY_PROD_ROOT,DEPLOY_TEST_USERNAME,DEPLOY_TEST_ROOT"
Key Value
DEPLOY_PROD_USERNAME
""
DEPLOY_PROD_ROOT
""
DEPLOY_TEST_USERNAME
""
DEPLOY_TEST_ROOT
""
SYMFONY_DOTENV_VARS
"DEPLOY_PROD_USERNAME,DEPLOY_PROD_ROOT,DEPLOY_TEST_USERNAME,DEPLOY_TEST_ROOT"
0. Whoops\Handler\PrettyPageHandler