Twig_Error_Runtime
An exception has been thrown during the rendering of a template ("array_key_exists(): Using array_key_exists() on objects is deprecated. Use isset() or property_exists() instead").
Previous exceptions
  • array_key_exists(): Using array_key_exists() on objects is deprecated. Use isset() or property_exists() instead (8192)
Twig_Error_Runtime thrown with message "An exception has been thrown during the rendering of a template ("array_key_exists(): Using array_key_exists() on objects is deprecated. Use isset() or property_exists() instead")." Stacktrace: #20 Twig_Error_Runtime in /home/834488.cloudwaysapps.com/vthvmbtpzh/public_html/wp-content/themes/redlands2019/views/layout/base.html.twig:12 #19 Whoops\Exception\ErrorException in /home/834488.cloudwaysapps.com/vthvmbtpzh/public_html/wp-content/themes/redlands2019/vendor/twig/twig/lib/Twig/Template.php:580 #18 Whoops\Run:handleError in /home/834488.cloudwaysapps.com/vthvmbtpzh/public_html/wp-content/themes/redlands2019/vendor/twig/twig/lib/Twig/Template.php:580 #17 Twig_Template:getAttribute in /home/834488.cloudwaysapps.com/vthvmbtpzh/public_html/wp-content/themes/redlands2019/vendor/twig/twig/lib/Twig/Environment.php:462 #16 __TwigTemplate_ef27fa218a75a890f4b0db7ccb376cb84ccf77beee0080b4a586b4f328e2d28f:block_html_head_container in /home/834488.cloudwaysapps.com/vthvmbtpzh/public_html/wp-content/themes/redlands2019/vendor/twig/twig/lib/Twig/Template.php:215 #15 Twig_Template:displayBlock in /home/834488.cloudwaysapps.com/vthvmbtpzh/public_html/wp-content/themes/redlands2019/vendor/twig/twig/lib/Twig/Environment.php:462 #14 __TwigTemplate_ef27fa218a75a890f4b0db7ccb376cb84ccf77beee0080b4a586b4f328e2d28f:doDisplay in /home/834488.cloudwaysapps.com/vthvmbtpzh/public_html/wp-content/themes/redlands2019/vendor/twig/twig/lib/Twig/Template.php:432 #13 Twig_Template:displayWithErrorHandling in /home/834488.cloudwaysapps.com/vthvmbtpzh/public_html/wp-content/themes/redlands2019/vendor/twig/twig/lib/Twig/Template.php:403 #12 Twig_Template:display in /home/834488.cloudwaysapps.com/vthvmbtpzh/public_html/wp-content/themes/redlands2019/vendor/twig/twig/lib/Twig/Environment.php:462 #11 __TwigTemplate_e08ce51fa4798d592b270ea873f6f0102dd587833be8b2ffe8c190e74a685e42:doDisplay in /home/834488.cloudwaysapps.com/vthvmbtpzh/public_html/wp-content/themes/redlands2019/vendor/twig/twig/lib/Twig/Template.php:432 #10 Twig_Template:displayWithErrorHandling in /home/834488.cloudwaysapps.com/vthvmbtpzh/public_html/wp-content/themes/redlands2019/vendor/twig/twig/lib/Twig/Template.php:403 #9 Twig_Template:display in /home/834488.cloudwaysapps.com/vthvmbtpzh/public_html/wp-content/themes/redlands2019/vendor/twig/twig/lib/Twig/Template.php:411 #8 Twig_Template:render in /home/834488.cloudwaysapps.com/vthvmbtpzh/public_html/wp-content/themes/redlands2019/vendor/twig/twig/lib/Twig/Environment.php:362 #7 Twig_Environment:render in /home/834488.cloudwaysapps.com/vthvmbtpzh/public_html/wp-content/themes/redlands2019/vendor/timber/timber/lib/Loader.php:74 #6 Timber\Loader:render in /home/834488.cloudwaysapps.com/vthvmbtpzh/public_html/wp-content/themes/redlands2019/vendor/timber/timber/lib/Timber.php:333 #5 Timber\Timber:compile in /home/834488.cloudwaysapps.com/vthvmbtpzh/public_html/wp-content/themes/redlands2019/vendor/timber/timber/lib/Timber.php:377 #4 Timber\Timber:fetch in /home/834488.cloudwaysapps.com/vthvmbtpzh/public_html/wp-content/themes/redlands2019/vendor/timber/timber/lib/Timber.php:404 #3 Timber\Timber:render in /home/834488.cloudwaysapps.com/vthvmbtpzh/public_html/wp-content/themes/redlands2019/page-landing.php:52 #2 include in /home/834488.cloudwaysapps.com/vthvmbtpzh/public_html/wp-includes/template-loader.php:125 #1 require_once in /home/834488.cloudwaysapps.com/vthvmbtpzh/public_html/wp-blog-header.php:19 #0 require in /home/834488.cloudwaysapps.com/vthvmbtpzh/public_html/index.php:17
Stack frames (21)
20
Twig_Error_Runtime
/
views
/
layout
/
base.html.twig
12
19
Whoops
\
Exception
\
ErrorException
/
vendor
/
twig
/
twig
/
lib
/
Twig
/
Template.php
580
18
Whoops
\
Run
handleError
/
vendor
/
twig
/
twig
/
lib
/
Twig
/
Template.php
580
17
Twig_Template
getAttribute
/
vendor
/
twig
/
twig
/
lib
/
Twig
/
Environment.php
462
16
__TwigTemplate_ef27fa218a75a890f4b0db7ccb376cb84ccf77beee0080b4a586b4f328e2d28f
block_html_head_container
/
vendor
/
twig
/
twig
/
lib
/
Twig
/
Template.php
215
15
Twig_Template
displayBlock
/
vendor
/
twig
/
twig
/
lib
/
Twig
/
Environment.php
462
14
__TwigTemplate_ef27fa218a75a890f4b0db7ccb376cb84ccf77beee0080b4a586b4f328e2d28f
doDisplay
/
vendor
/
twig
/
twig
/
lib
/
Twig
/
Template.php
432
13
Twig_Template
displayWithErrorHandling
/
vendor
/
twig
/
twig
/
lib
/
Twig
/
Template.php
403
12
Twig_Template
display
/
vendor
/
twig
/
twig
/
lib
/
Twig
/
Environment.php
462
11
__TwigTemplate_e08ce51fa4798d592b270ea873f6f0102dd587833be8b2ffe8c190e74a685e42
doDisplay
/
vendor
/
twig
/
twig
/
lib
/
Twig
/
Template.php
432
10
Twig_Template
displayWithErrorHandling
/
vendor
/
twig
/
twig
/
lib
/
Twig
/
Template.php
403
9
Twig_Template
display
/
vendor
/
twig
/
twig
/
lib
/
Twig
/
Template.php
411
8
Twig_Template
render
/
vendor
/
twig
/
twig
/
lib
/
Twig
/
Environment.php
362
7
Twig_Environment
render
/
vendor
/
timber
/
timber
/
lib
/
Loader.php
74
6
Timber
\
Loader
render
/
vendor
/
timber
/
timber
/
lib
/
Timber.php
333
5
Timber
\
Timber
compile
/
vendor
/
timber
/
timber
/
lib
/
Timber.php
377
4
Timber
\
Timber
fetch
/
vendor
/
timber
/
timber
/
lib
/
Timber.php
404
3
Timber
\
Timber
render
/
page-landing.php
52
2
include
/
home
/
834488.cloudwaysapps.com
/
vthvmbtpzh
/
public_html
/
wp-includes
/
template-loader.php
125
1
require_once
/
home
/
834488.cloudwaysapps.com
/
vthvmbtpzh
/
public_html
/
wp-blog-header.php
19
0
require
/
home
/
834488.cloudwaysapps.com
/
vthvmbtpzh
/
public_html
/
index.php
17
/
home
/
834488.cloudwaysapps.com
/
vthvmbtpzh
/
public_html
/
wp-content
/
themes
/
redlands2019
/
views
/
layout
/
base.html.twig
<!doctype html>
<head>
{% block html_head_container %}
    <meta charset="{{site.charset}}" />
    <title>
        {% if wp_title %}
            {{ wp_title }} - {{ site.name }}
        {% else %}
            {{ site.name }}
        {% endif %}
    </title>
    <meta name="description" content="{{ post.preview.read_more(null).length(20) | default(site.description)}}">
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <link rel="pingback" href="{{site.pingback_url}}" />
 
    {{function('wp_head')}}
    {% block head %}{% endblock %}
{% endblock %}
 
    <!-- Google Tag Manager -->
    <script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push(
 
    {'gtm.start': new Date().getTime(),event:'gtm.js'}
    );var f=d.getElementsByTagName(s)[0],
    j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
    'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
    })(window,document,'script','dataLayer','GTM-T6LHVKF');</script>
    <!-- End Google Tag Manager -->
</head>
 
    <body class="{{ body_class }} firefly" data-template="base.twig" role="document">
        <div id="app">
 
            {% block header %}
                {% include "layout/header.html.twig" %}
            {% endblock %}
 
            {% block sidebarleft %}{% endblock sidebarleft %}
/
home
/
834488.cloudwaysapps.com
/
vthvmbtpzh
/
public_html
/
wp-content
/
themes
/
redlands2019
/
vendor
/
twig
/
twig
/
lib
/
Twig
/
Template.php
            if ($isDefinedTest) {
                return false;
            }
 
            if ($ignoreStrictCheck || !$this->env->isStrictVariables()) {
                return;
            }
 
            if (null === $object) {
                $message = sprintf('Impossible to invoke a method ("%s") on a null variable.', $item);
            } else {
                $message = sprintf('Impossible to invoke a method ("%s") on a %s variable ("%s").', $item, gettype($object), $object);
            }
 
            throw new Twig_Error_Runtime($message, -1, $this->getSourceContext());
        }
 
        // object property
        if (self::METHOD_CALL !== $type && !$object instanceof self) { // Twig_Template does not have public properties, and we don't want to allow access to internal ones
            if (isset($object->$item) || array_key_exists((string) $item, $object)) {
                if ($isDefinedTest) {
                    return true;
                }
 
                if ($this->env->hasExtension('Twig_Extension_Sandbox')) {
                    $this->env->getExtension('Twig_Extension_Sandbox')->checkPropertyAllowed($object, $item);
                }
 
                return $object->$item;
            }
        }
 
        $class = get_class($object);
 
        // object method
        if (!isset(self::$cache[$class])) {
            // get_class_methods returns all methods accessible in the scope, but we only want public ones to be accessible in templates
            if ($object instanceof self) {
                $ref = new ReflectionClass($class);
                $methods = array();
Exception message: array_key_exists(): Using array_key_exists() on objects is deprecated. Use isset() or property_exists() instead
/
home
/
834488.cloudwaysapps.com
/
vthvmbtpzh
/
public_html
/
wp-content
/
themes
/
redlands2019
/
vendor
/
twig
/
twig
/
lib
/
Twig
/
Template.php
            if ($isDefinedTest) {
                return false;
            }
 
            if ($ignoreStrictCheck || !$this->env->isStrictVariables()) {
                return;
            }
 
            if (null === $object) {
                $message = sprintf('Impossible to invoke a method ("%s") on a null variable.', $item);
            } else {
                $message = sprintf('Impossible to invoke a method ("%s") on a %s variable ("%s").', $item, gettype($object), $object);
            }
 
            throw new Twig_Error_Runtime($message, -1, $this->getSourceContext());
        }
 
        // object property
        if (self::METHOD_CALL !== $type && !$object instanceof self) { // Twig_Template does not have public properties, and we don't want to allow access to internal ones
            if (isset($object->$item) || array_key_exists((string) $item, $object)) {
                if ($isDefinedTest) {
                    return true;
                }
 
                if ($this->env->hasExtension('Twig_Extension_Sandbox')) {
                    $this->env->getExtension('Twig_Extension_Sandbox')->checkPropertyAllowed($object, $item);
                }
 
                return $object->$item;
            }
        }
 
        $class = get_class($object);
 
        // object method
        if (!isset(self::$cache[$class])) {
            // get_class_methods returns all methods accessible in the scope, but we only want public ones to be accessible in templates
            if ($object instanceof self) {
                $ref = new ReflectionClass($class);
                $methods = array();
/
home
/
834488.cloudwaysapps.com
/
vthvmbtpzh
/
public_html
/
wp-content
/
themes
/
redlands2019
/
vendor
/
twig
/
twig
/
lib
/
Twig
/
Environment.php
                } else {
                    $source = $loader->getSourceContext($name);
                }
 
                $content = $this->compileSource($source);
 
                if ($this->bcWriteCacheFile) {
                    $this->writeCacheFile($key, $content);
                } else {
                    $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 Twig_Error_Runtime(sprintf('Failed to load Twig template "%s", index "%s": cache is corrupted.', $name, $index), -1, $source);
            }
        }
 
        if (!$this->runtimeInitialized) {
            $this->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.
     *
/
home
/
834488.cloudwaysapps.com
/
vthvmbtpzh
/
public_html
/
wp-content
/
themes
/
redlands2019
/
vendor
/
twig
/
twig
/
lib
/
Twig
/
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 (Twig_Error $e) {
                if (!$e->getSourceContext()) {
                    $e->setSourceContext($template->getSourceContext());
                }
 
                // this is mostly useful for Twig_Error_Loader exceptions
                // see Twig_Error_Loader
                if (false === $e->getTemplateLine()) {
                    $e->setTemplateLine(-1);
                    $e->guess();
                }
 
                throw $e;
            } catch (Exception $e) {
                throw new Twig_Error_Runtime(sprintf('An exception has been thrown during the rendering of a template ("%s").', $e->getMessage()), -1, $template->getSourceContext(), $e);
            }
        } elseif (false !== $parent = $this->getParent($context)) {
            $parent->displayBlock($name, $context, array_merge($this->blocks, $blocks), false);
        } else {
            @trigger_error(sprintf('Silent display of undefined block "%s" in template "%s" is deprecated since version 1.29 and will throw an exception in 2.0. Use the "block(\'%s\') is defined" expression to test for block existence.', $name, $this->getTemplateName(), $name), E_USER_DEPRECATED);
/
home
/
834488.cloudwaysapps.com
/
vthvmbtpzh
/
public_html
/
wp-content
/
themes
/
redlands2019
/
vendor
/
twig
/
twig
/
lib
/
Twig
/
Environment.php
                } else {
                    $source = $loader->getSourceContext($name);
                }
 
                $content = $this->compileSource($source);
 
                if ($this->bcWriteCacheFile) {
                    $this->writeCacheFile($key, $content);
                } else {
                    $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 Twig_Error_Runtime(sprintf('Failed to load Twig template "%s", index "%s": cache is corrupted.', $name, $index), -1, $source);
            }
        }
 
        if (!$this->runtimeInitialized) {
            $this->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.
     *
/
home
/
834488.cloudwaysapps.com
/
vthvmbtpzh
/
public_html
/
wp-content
/
themes
/
redlands2019
/
vendor
/
twig
/
twig
/
lib
/
Twig
/
Template.php
            while (ob_get_level() > $level) {
                ob_end_clean();
            }
 
            throw $e;
        } catch (Throwable $e) {
            while (ob_get_level() > $level) {
                ob_end_clean();
            }
 
            throw $e;
        }
 
        return ob_get_clean();
    }
 
    protected function displayWithErrorHandling(array $context, array $blocks = array())
    {
        try {
            $this->doDisplay($context, $blocks);
        } catch (Twig_Error $e) {
            if (!$e->getSourceContext()) {
                $e->setSourceContext($this->getSourceContext());
            }
 
            // this is mostly useful for Twig_Error_Loader exceptions
            // see Twig_Error_Loader
            if (false === $e->getTemplateLine()) {
                $e->setTemplateLine(-1);
                $e->guess();
            }
 
            throw $e;
        } catch (Exception $e) {
            throw new Twig_Error_Runtime(sprintf('An exception has been thrown during the rendering of a template ("%s").', $e->getMessage()), -1, $this->getSourceContext(), $e);
        }
    }
 
    /**
     * Auto-generated method to display the template with the given context.
/
home
/
834488.cloudwaysapps.com
/
vthvmbtpzh
/
public_html
/
wp-content
/
themes
/
redlands2019
/
vendor
/
twig
/
twig
/
lib
/
Twig
/
Template.php
    }
 
    /**
     * Returns all blocks.
     *
     * This method is for internal use only and should never be called
     * directly.
     *
     * @return array An array of blocks
     *
     * @internal
     */
    public function getBlocks()
    {
        return $this->blocks;
    }
 
    public function display(array $context, array $blocks = array())
    {
        $this->displayWithErrorHandling($this->env->mergeGlobals($context), array_merge($this->blocks, $blocks));
    }
 
    public function render(array $context)
    {
        $level = ob_get_level();
        ob_start();
        try {
            $this->display($context);
        } catch (Exception $e) {
            while (ob_get_level() > $level) {
                ob_end_clean();
            }
 
            throw $e;
        } catch (Throwable $e) {
            while (ob_get_level() > $level) {
                ob_end_clean();
            }
 
            throw $e;
/
home
/
834488.cloudwaysapps.com
/
vthvmbtpzh
/
public_html
/
wp-content
/
themes
/
redlands2019
/
vendor
/
twig
/
twig
/
lib
/
Twig
/
Environment.php
                } else {
                    $source = $loader->getSourceContext($name);
                }
 
                $content = $this->compileSource($source);
 
                if ($this->bcWriteCacheFile) {
                    $this->writeCacheFile($key, $content);
                } else {
                    $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 Twig_Error_Runtime(sprintf('Failed to load Twig template "%s", index "%s": cache is corrupted.', $name, $index), -1, $source);
            }
        }
 
        if (!$this->runtimeInitialized) {
            $this->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.
     *
/
home
/
834488.cloudwaysapps.com
/
vthvmbtpzh
/
public_html
/
wp-content
/
themes
/
redlands2019
/
vendor
/
twig
/
twig
/
lib
/
Twig
/
Template.php
            while (ob_get_level() > $level) {
                ob_end_clean();
            }
 
            throw $e;
        } catch (Throwable $e) {
            while (ob_get_level() > $level) {
                ob_end_clean();
            }
 
            throw $e;
        }
 
        return ob_get_clean();
    }
 
    protected function displayWithErrorHandling(array $context, array $blocks = array())
    {
        try {
            $this->doDisplay($context, $blocks);
        } catch (Twig_Error $e) {
            if (!$e->getSourceContext()) {
                $e->setSourceContext($this->getSourceContext());
            }
 
            // this is mostly useful for Twig_Error_Loader exceptions
            // see Twig_Error_Loader
            if (false === $e->getTemplateLine()) {
                $e->setTemplateLine(-1);
                $e->guess();
            }
 
            throw $e;
        } catch (Exception $e) {
            throw new Twig_Error_Runtime(sprintf('An exception has been thrown during the rendering of a template ("%s").', $e->getMessage()), -1, $this->getSourceContext(), $e);
        }
    }
 
    /**
     * Auto-generated method to display the template with the given context.
/
home
/
834488.cloudwaysapps.com
/
vthvmbtpzh
/
public_html
/
wp-content
/
themes
/
redlands2019
/
vendor
/
twig
/
twig
/
lib
/
Twig
/
Template.php
    }
 
    /**
     * Returns all blocks.
     *
     * This method is for internal use only and should never be called
     * directly.
     *
     * @return array An array of blocks
     *
     * @internal
     */
    public function getBlocks()
    {
        return $this->blocks;
    }
 
    public function display(array $context, array $blocks = array())
    {
        $this->displayWithErrorHandling($this->env->mergeGlobals($context), array_merge($this->blocks, $blocks));
    }
 
    public function render(array $context)
    {
        $level = ob_get_level();
        ob_start();
        try {
            $this->display($context);
        } catch (Exception $e) {
            while (ob_get_level() > $level) {
                ob_end_clean();
            }
 
            throw $e;
        } catch (Throwable $e) {
            while (ob_get_level() > $level) {
                ob_end_clean();
            }
 
            throw $e;
/
home
/
834488.cloudwaysapps.com
/
vthvmbtpzh
/
public_html
/
wp-content
/
themes
/
redlands2019
/
vendor
/
twig
/
twig
/
lib
/
Twig
/
Template.php
     * @return array An array of blocks
     *
     * @internal
     */
    public function getBlocks()
    {
        return $this->blocks;
    }
 
    public function display(array $context, array $blocks = array())
    {
        $this->displayWithErrorHandling($this->env->mergeGlobals($context), array_merge($this->blocks, $blocks));
    }
 
    public function render(array $context)
    {
        $level = ob_get_level();
        ob_start();
        try {
            $this->display($context);
        } catch (Exception $e) {
            while (ob_get_level() > $level) {
                ob_end_clean();
            }
 
            throw $e;
        } catch (Throwable $e) {
            while (ob_get_level() > $level) {
                ob_end_clean();
            }
 
            throw $e;
        }
 
        return ob_get_clean();
    }
 
    protected function displayWithErrorHandling(array $context, array $blocks = array())
    {
        try {
/
home
/
834488.cloudwaysapps.com
/
vthvmbtpzh
/
public_html
/
wp-content
/
themes
/
redlands2019
/
vendor
/
twig
/
twig
/
lib
/
Twig
/
Environment.php
        @trigger_error(sprintf('The %s method is deprecated since version 1.22 and will be removed in Twig 2.0.', __METHOD__), E_USER_DEPRECATED);
 
        return $this->templateClassPrefix;
    }
 
    /**
     * Renders a template.
     *
     * @param string $name    The template name
     * @param array  $context An array of parameters to pass to the template
     *
     * @return string The rendered template
     *
     * @throws Twig_Error_Loader  When the template cannot be found
     * @throws Twig_Error_Syntax  When an error occurred during compilation
     * @throws Twig_Error_Runtime When an error occurred during rendering
     */
    public function render($name, array $context = array())
    {
        return $this->loadTemplate($name)->render($context);
    }
 
    /**
     * Displays a template.
     *
     * @param string $name    The template name
     * @param array  $context An array of parameters to pass to the template
     *
     * @throws Twig_Error_Loader  When the template cannot be found
     * @throws Twig_Error_Syntax  When an error occurred during compilation
     * @throws Twig_Error_Runtime When an error occurred during rendering
     */
    public function display($name, array $context = array())
    {
        $this->loadTemplate($name)->display($context);
    }
 
    /**
     * Loads a template.
     *
/
home
/
834488.cloudwaysapps.com
/
vthvmbtpzh
/
public_html
/
wp-content
/
themes
/
redlands2019
/
vendor
/
timber
/
timber
/
lib
/
Loader.php
        }
 
        $key = null;
        $output = false;
        if ( false !== $expires ) {
            ksort($data);
            $key = md5($file.json_encode($data));
            $output = $this->get_cache($key, self::CACHEGROUP, $cache_mode);
        }
 
        if ( false === $output || null === $output ) {
            $twig = $this->get_twig();
            if ( strlen($file) ) {
                $loader = $this->get_loader();
                $result = $loader->getCacheKey($file);
                do_action('timber_loader_render_file', $result);
            }
            $data = apply_filters('timber_loader_render_data', $data);
            $data = apply_filters('timber/loader/render_data', $data, $file);
            $output = $twig->render($file, $data);
        }
 
        if ( false !== $output && false !== $expires && null !== $key ) {
            $this->delete_cache();
            $this->set_cache($key, $output, self::CACHEGROUP, $expires, $cache_mode);
        }
        $output = apply_filters('timber_output', $output);
        return apply_filters('timber/output', $output, $data, $file);
    }
 
    protected function delete_cache() {
        Cleaner::delete_transients();
    }
 
    /**
     * Get first existing template.
     *
     * @param array|string $templates  Name(s) of the Twig template(s) to choose from.
     * @return string|bool             Name of chosen template, otherwise false.
     */
/
home
/
834488.cloudwaysapps.com
/
vthvmbtpzh
/
public_html
/
wp-content
/
themes
/
redlands2019
/
vendor
/
timber
/
timber
/
lib
/
Timber.php
        if ( $via_render ) {
            $file = apply_filters('timber_render_file', $file);
        } else {
            $file = apply_filters('timber_compile_file', $file);
        }
 
        $output = false;
 
        if ($file !== false) {
            if ( is_null($data) ) {
                $data = array();
            }
 
            if ( $via_render ) {
                $data = apply_filters('timber_render_data', $data);
            } else {
                $data = apply_filters('timber_compile_data', $data);
            }
 
            $output = $loader->render($file, $data, $expires, $cache_mode);
        }
 
        do_action('timber_compile_done');
        return $output;
    }
 
    /**
     * Compile a string.
     *
     * @api
     * @example
     * ```php
     * $data = array(
     *     'username' => 'Jane Doe',
     * );
     *
     * $welcome = Timber::compile_string( 'Hi {{ username }}, I’m a string with a custom Twig variable', $data );
     * ```
     * @param string $string A string with Twig variables.
     * @param array  $data   Optional. An array of data to use in Twig template.
/
home
/
834488.cloudwaysapps.com
/
vthvmbtpzh
/
public_html
/
wp-content
/
themes
/
redlands2019
/
vendor
/
timber
/
timber
/
lib
/
Timber.php
        $twig = $dummy_loader->get_twig();
        $template = $twig->createTemplate($string);
        return $template->render($data);
    }
 
    /**
     * Fetch function.
     *
     * @api
     * @param array|string $filenames  Name of the Twig file to render. If this is an array of files, Timber will
     *                                 render the first file that exists.
     * @param array        $data       Optional. An array of data to use in Twig template.
     * @param bool|int     $expires    Optional. In seconds. Use false to disable cache altogether. When passed an
     *                                 array, the first value is used for non-logged in visitors, the second for users.
     *                                 Default false.
     * @param string       $cache_mode Optional. Any of the cache mode constants defined in TimberLoader.
     * @return bool|string The returned output.
     */
    public static function fetch( $filenames, $data = array(), $expires = false, $cache_mode = Loader::CACHE_USE_DEFAULT ) {
        $output = self::compile($filenames, $data, $expires, $cache_mode, true);
        $output = apply_filters('timber_compile_result', $output);
        return $output;
    }
 
    /**
     * Render function.
     *
     * Passes data to a Twig file and echoes the output.
     *
     * @api
     * @example
     * ```php
     * $context = Timber::context();
     *
     * Timber::render( 'index.twig', $context );
     * ```
     * @param array|string $filenames  Name of the Twig file to render. If this is an array of files, Timber will
     *                                 render the first file that exists.
     * @param array        $data       Optional. An array of data to use in Twig template.
     * @param bool|int     $expires    Optional. In seconds. Use false to disable cache altogether. When passed an
/
home
/
834488.cloudwaysapps.com
/
vthvmbtpzh
/
public_html
/
wp-content
/
themes
/
redlands2019
/
vendor
/
timber
/
timber
/
lib
/
Timber.php
     * Passes data to a Twig file and echoes the output.
     *
     * @api
     * @example
     * ```php
     * $context = Timber::context();
     *
     * Timber::render( 'index.twig', $context );
     * ```
     * @param array|string $filenames  Name of the Twig file to render. If this is an array of files, Timber will
     *                                 render the first file that exists.
     * @param array        $data       Optional. An array of data to use in Twig template.
     * @param bool|int     $expires    Optional. In seconds. Use false to disable cache altogether. When passed an
     *                                 array, the first value is used for non-logged in visitors, the second for users.
     *                                 Default false.
     * @param string       $cache_mode Optional. Any of the cache mode constants defined in TimberLoader.
     * @return bool|string The echoed output.
     */
    public static function render( $filenames, $data = array(), $expires = false, $cache_mode = Loader::CACHE_USE_DEFAULT ) {
        $output = self::fetch($filenames, $data, $expires, $cache_mode);
        echo $output;
        return $output;
    }
 
    /**
     * Render a string with Twig variables.
     *
     * @api
     * @example
     * ```php
     * $data = array(
     *     'username' => 'Jane Doe',
     * );
     *
     * Timber::render_string( 'Hi {{ username }}, I’m a string with a custom Twig variable', $data );
     * ```
     * @param string $string A string with Twig variables.
     * @param array  $data   An array of data to use in Twig template.
     * @return bool|string
     */
/
home
/
834488.cloudwaysapps.com
/
vthvmbtpzh
/
public_html
/
wp-content
/
themes
/
redlands2019
/
page-landing.php
 
$videos = Timber::get_posts([
    'post_type'         => 'video',
    'posts_per_page'     => 1,
    'post_status'         => 'publish',
    'orderby'           => 'rand',
], FireflyPost::class);
 
$context['video'] = $videos ? $videos[0] : null;
 
$promos = Timber::get_posts([
    'post_type'         => 'promo',
    'posts_per_page'     => 1,
    'post_status'         => 'publish',
    'orderby'           => 'rand',
], FireflyPost::class);
 
$context['promo'] = $promos ? $promos[0] : null;
 
Timber::render($templates, $context);
/
home
/
834488.cloudwaysapps.com
/
vthvmbtpzh
/
public_html
/
wp-includes
/
template-loader.php
 
    /**
     * Filters the path of the current template before including it.
     *
     * @since 3.0.0
     *
     * @param string $template The path of the template to include.
     */
    $template = apply_filters( 'template_include', $template );
    if ( $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;
}
 
/
home
/
834488.cloudwaysapps.com
/
vthvmbtpzh
/
public_html
/
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';
 
}
 
/
home
/
834488.cloudwaysapps.com
/
vthvmbtpzh
/
public_html
/
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';
 

Environment & details:

Key Value
utm_source PREVIEW LIST
utm_campaign cbfaa79a69-EMAIL_CAMPAIGN_2017_03_26
utm_medium email
utm_term 0_70713175d5-cbfaa79a69-
empty
empty
empty
empty
Key Value
SERVER_SOFTWARE Apache/2.4.63 (Debian)
REQUEST_URI /redlandsartprize/about/previous-winners/?utm_source=PREVIEW+LIST&utm_campaign=cbfaa79a69-EMAIL_CAMPAIGN_2017_03_26&utm_medium=email&utm_term=0_70713175d5-cbfaa79a69-
WP_REDIS_DISABLED 0
USER vthvmbtpzh
HOME /home/834488.cloudwaysapps.com/vthvmbtpzh
SCRIPT_NAME /index.php
QUERY_STRING utm_source=PREVIEW+LIST&utm_campaign=cbfaa79a69-EMAIL_CAMPAIGN_2017_03_26&utm_medium=email&utm_term=0_70713175d5-cbfaa79a69-
REQUEST_METHOD GET
SERVER_PROTOCOL HTTP/1.0
GATEWAY_INTERFACE CGI/1.1
REDIRECT_QUERY_STRING utm_source=PREVIEW+LIST&utm_campaign=cbfaa79a69-EMAIL_CAMPAIGN_2017_03_26&utm_medium=email&utm_term=0_70713175d5-cbfaa79a69-
REDIRECT_URL /redlandsartprize/about/previous-winners/
REMOTE_PORT 13634
SCRIPT_FILENAME /home/834488.cloudwaysapps.com/vthvmbtpzh/public_html/index.php
SERVER_ADMIN [no address given]
CONTEXT_DOCUMENT_ROOT /home/834488.cloudwaysapps.com/vthvmbtpzh/public_html/
CONTEXT_PREFIX
REQUEST_SCHEME http
DOCUMENT_ROOT /home/834488.cloudwaysapps.com/vthvmbtpzh/public_html/
REMOTE_ADDR 18.97.9.169
SERVER_PORT 80
SERVER_ADDR 127.0.0.1
SERVER_NAME www.redlands.nsw.edu.au
SERVER_SIGNATURE <address>Apache/2.4.63 (Debian) Server at www.redlands.nsw.edu.au Port 80</address>
PATH /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
HTTP_ACCEPT_LANGUAGE en-US,en;q=0.5
HTTP_ACCEPT text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
HTTP_USER_AGENT CCBot/2.0 (https://commoncrawl.org/faq/)
HTTP_CONNECTION close
HTTP_X_VERSION 60
HTTP_X_APP_USER vthvmbtpzh
HTTP_X_APPLICATION varnishpass
HTTP_X_FORWARDED_HOST www.redlands.nsw.edu.au
HTTP_X_FORWARDED_PROTO https
HTTP_HOST www.redlands.nsw.edu.au
HTTP_X_FORWARDED_FOR 18.97.9.169
HTTP_X_REAL_IP 18.97.9.169
BREEZE_BROWSER_CACHE_ON 1
BREEZE_GZIP_ON 1
IMUNIFY360_WEAKPASS_REDIRECT_URL appsecurity.cloudwaysapps.com/
IMUNIFY360_COMPROMISED_REDIRECT_URL appsecurity.cloudwaysapps.com/
SCRIPT_URI http://www.redlands.nsw.edu.au/redlandsartprize/about/previous-winners/
SCRIPT_URL /redlandsartprize/about/previous-winners/
HTTP_AUTHORIZATION
HTTPS on
cw_allowed_ip 0
UNIQUE_ID aWZALELiVSaRkamSFPsj4gAADKY
REDIRECT_STATUS 200
REDIRECT_BREEZE_BROWSER_CACHE_ON 1
REDIRECT_BREEZE_GZIP_ON 1
REDIRECT_IMUNIFY360_WEAKPASS_REDIRECT_URL appsecurity.cloudwaysapps.com/
REDIRECT_IMUNIFY360_COMPROMISED_REDIRECT_URL appsecurity.cloudwaysapps.com/
REDIRECT_SCRIPT_URI http://www.redlands.nsw.edu.au/redlandsartprize/about/previous-winners/
REDIRECT_SCRIPT_URL /redlandsartprize/about/previous-winners/
REDIRECT_HTTP_AUTHORIZATION
REDIRECT_HTTPS on
REDIRECT_cw_allowed_ip 0
REDIRECT_UNIQUE_ID aWZALELiVSaRkamSFPsj4gAADKY
FCGI_ROLE RESPONDER
PHP_SELF /index.php
REQUEST_TIME_FLOAT 1768308780.1485
REQUEST_TIME 1768308780
empty
0. Whoops\Handler\PrettyPageHandler