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") in "@nucleus/page.html.twig" at line 1. 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") in "@nucleus/page.html.twig" at line 1." Stacktrace: #22 Twig_Error_Runtime in /home/sitio40/public_html/site/libraries/gantry5/vendor/twig/twig/lib/Twig/Template.php:402 #21 Whoops\Exception\ErrorException in /home/sitio40/public_html/site/libraries/gantry5/vendor/twig/twig/lib/Twig/Template.php:533 #20 Gantry\Component\Whoops\System:handleError in /home/sitio40/public_html/site/libraries/gantry5/vendor/twig/twig/lib/Twig/Template.php:533 #19 Twig_Template:getAttribute in /home/sitio40/public_html/site/cache/gantry5/rt_interstellar/twig/4f/4f533f07e80a35ba31db786867ea98b44952dd4022b8e40cc48e13f5cbb81e4a.php:28 #18 __TwigTemplate_8b5a87759e99e877aa9bf17f829e797186e7e04f7ec448174e6e9f70971cc773:doDisplay in /home/sitio40/public_html/site/libraries/gantry5/vendor/twig/twig/lib/Twig/Template.php:387 #17 Twig_Template:displayWithErrorHandling in /home/sitio40/public_html/site/libraries/gantry5/vendor/twig/twig/lib/Twig/Template.php:355 #16 Twig_Template:display in /home/sitio40/public_html/site/cache/gantry5/rt_interstellar/twig/45/45888fc26941ed12930e90a5d27d5bc4de9cc03855c455f4cff44578425278e7.php:24 #15 __TwigTemplate_15dec6b92d7683d90e63f49a36381b5007a09356ba80bca9c825f118ec7d1439:doDisplay in /home/sitio40/public_html/site/libraries/gantry5/vendor/twig/twig/lib/Twig/Template.php:387 #14 Twig_Template:displayWithErrorHandling in /home/sitio40/public_html/site/libraries/gantry5/vendor/twig/twig/lib/Twig/Template.php:355 #13 Twig_Template:display in /home/sitio40/public_html/site/cache/gantry5/rt_interstellar/twig/b0/b0aafb688038fba0bf17e5da8ac87e13e32bfba3db51cb859842fb2197fe4973.php:24 #12 __TwigTemplate_bbd3e60a538fab5991187036a30e2d16d8ef7bd1216ba352700e6069f32109a9:doDisplay in /home/sitio40/public_html/site/libraries/gantry5/vendor/twig/twig/lib/Twig/Template.php:387 #11 Twig_Template:displayWithErrorHandling in /home/sitio40/public_html/site/libraries/gantry5/vendor/twig/twig/lib/Twig/Template.php:355 #10 Twig_Template:display in /home/sitio40/public_html/site/libraries/gantry5/vendor/twig/twig/lib/Twig/Template.php:366 #9 Twig_Template:render in /home/sitio40/public_html/site/libraries/gantry5/vendor/twig/twig/lib/Twig/Environment.php:347 #8 Twig_Environment:render in /home/sitio40/public_html/site/libraries/gantry5/classes/Gantry/Component/Theme/AbstractTheme.php:162 #7 Gantry\Component\Theme\AbstractTheme:render in /home/sitio40/public_html/site/templates/rt_interstellar/index.php:24 #6 require in /home/sitio40/public_html/site/libraries/src/Document/HtmlDocument.php:668 #5 Joomla\CMS\Document\HtmlDocument:_loadTemplate in /home/sitio40/public_html/site/libraries/src/Document/HtmlDocument.php:730 #4 Joomla\CMS\Document\HtmlDocument:_fetchTemplate in /home/sitio40/public_html/site/libraries/src/Document/HtmlDocument.php:545 #3 Joomla\CMS\Document\HtmlDocument:parse in /home/sitio40/public_html/site/libraries/src/Application/CMSApplication.php:1030 #2 Joomla\CMS\Application\CMSApplication:render in /home/sitio40/public_html/site/libraries/src/Application/SiteApplication.php:778 #1 Joomla\CMS\Application\SiteApplication:render in /home/sitio40/public_html/site/libraries/src/Application/CMSApplication.php:202 #0 Joomla\CMS\Application\CMSApplication:execute in /home/sitio40/public_html/site/index.php:49
Stack frames (23):
22 Twig_Error_Runtime
…/­vendor/­twig/­twig/­lib/­Twig/­Template.php402
21 Whoops\Exception\ErrorException
…/­vendor/­twig/­twig/­lib/­Twig/­Template.php533
20 Gantry\Component\Whoops\System handleError
…/­vendor/­twig/­twig/­lib/­Twig/­Template.php533
19 Twig_Template getAttribute
/­home/­sitio40/­public_html/­site/­cache/­gantry5/­rt_interstellar/­twig/­4f/­4f533f07e80a35ba31db786867ea98b44952dd4022b8e40cc48e13f5cbb81e4a.php28
18 __TwigTemplate_8b5a87759e99e877aa9bf17f829e797186e7e04f7ec448174e6e9f70971cc773 doDisplay
…/­vendor/­twig/­twig/­lib/­Twig/­Template.php387
17 Twig_Template displayWithErrorHandling
…/­vendor/­twig/­twig/­lib/­Twig/­Template.php355
16 Twig_Template display
/­home/­sitio40/­public_html/­site/­cache/­gantry5/­rt_interstellar/­twig/­45/­45888fc26941ed12930e90a5d27d5bc4de9cc03855c455f4cff44578425278e7.php24
15 __TwigTemplate_15dec6b92d7683d90e63f49a36381b5007a09356ba80bca9c825f118ec7d1439 doDisplay
…/­vendor/­twig/­twig/­lib/­Twig/­Template.php387
14 Twig_Template displayWithErrorHandling
…/­vendor/­twig/­twig/­lib/­Twig/­Template.php355
13 Twig_Template display
/­home/­sitio40/­public_html/­site/­cache/­gantry5/­rt_interstellar/­twig/­b0/­b0aafb688038fba0bf17e5da8ac87e13e32bfba3db51cb859842fb2197fe4973.php24
12 __TwigTemplate_bbd3e60a538fab5991187036a30e2d16d8ef7bd1216ba352700e6069f32109a9 doDisplay
…/­vendor/­twig/­twig/­lib/­Twig/­Template.php387
11 Twig_Template displayWithErrorHandling
…/­vendor/­twig/­twig/­lib/­Twig/­Template.php355
10 Twig_Template display
…/­vendor/­twig/­twig/­lib/­Twig/­Template.php366
9 Twig_Template render
…/­vendor/­twig/­twig/­lib/­Twig/­Environment.php347
8 Twig_Environment render
…/­classes/­Gantry/­Component/­Theme/­AbstractTheme.php162
7 Gantry\Component\Theme\AbstractTheme render
/­home/­sitio40/­public_html/­site/­templates/­rt_interstellar/­index.php24
6 require
/­home/­sitio40/­public_html/­site/­libraries/­src/­Document/­HtmlDocument.php668
5 Joomla\CMS\Document\HtmlDocument _loadTemplate
/­home/­sitio40/­public_html/­site/­libraries/­src/­Document/­HtmlDocument.php730
4 Joomla\CMS\Document\HtmlDocument _fetchTemplate
/­home/­sitio40/­public_html/­site/­libraries/­src/­Document/­HtmlDocument.php545
3 Joomla\CMS\Document\HtmlDocument parse
/­home/­sitio40/­public_html/­site/­libraries/­src/­Application/­CMSApplication.php1030
2 Joomla\CMS\Application\CMSApplication render
/­home/­sitio40/­public_html/­site/­libraries/­src/­Application/­SiteApplication.php778
1 Joomla\CMS\Application\SiteApplication render
/­home/­sitio40/­public_html/­site/­libraries/­src/­Application/­CMSApplication.php202
0 Joomla\CMS\Application\CMSApplication execute
/­home/­sitio40/­public_html/­site/­index.php49
            // 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->getTemplateName(), $e);
        }
    }
 
    /**
     * Auto-generated method to display the template with the given context.
     *
     * @param array $context An array of parameters to pass to the template
     * @param array $blocks  An array of blocks to pass to the template
     */
    abstract protected function doDisplay(array $context, array $blocks = array());
            } 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->getTemplateName());
        }
 
        // 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('sandbox')) {
                    $this->env->getExtension('sandbox')->checkPropertyAllowed($object, $item);
                }
 
                return $object->$item;
            }
Exception message: array_key_exists(): Using array_key_exists() on objects is deprecated. Use isset() or property_exists() instead
            } 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->getTemplateName());
        }
 
        // 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('sandbox')) {
                    $this->env->getExtension('sandbox')->checkPropertyAllowed($object, $item);
                }
 
                return $object->$item;
            }
            'page_footer' => array($this, 'block_page_footer'),
            'page' => array($this, 'block_page'),
            'page_body' => array($this, 'block_page_body'),
        );
    }
 
    protected function doDisplay(array $context, array $blocks = array())
    {
        // line 1
        $this->getAttribute($this->getAttribute((isset($context["gantry"]) ? $context["gantry"] : null), "debugger", array()), "startTimer", array(0 => "render", 1 => "Rendering page"), "method");
        // line 2
        $this->getAttribute($this->getAttribute((isset($context["gantry"]) ? $context["gantry"] : null), "theme", array()), "setLayout", array(), "method");
        // line 3
        $context["segments"] = $this->getAttribute($this->getAttribute((isset($context["gantry"]) ? $context["gantry"] : null), "theme", array()), "segments", array());
        // line 5
        ob_start();
        // line 6
        if ($this->getAttribute($this->getAttribute((isset($context["gantry"]) ? $context["gantry"] : null), "theme", array()), "hasContent", array(), "method")) {
            // line 7
            $this->displayBlock('content', $context, $blocks);
            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->getTemplateFile()) {
                $e->setTemplateFile($this->getTemplateName());
            }
 
            // this is mostly useful for Twig_Error_Loader exceptions
            // see Twig_Error_Loader
            if (false === $e->getTemplateLine()) {
                $e->setTemplateLine(-1);
                $e->guess();
 
        return implode("\n", $source);
    }
 
    /**
     * {@inheritdoc}
     */
    public function display(array $context, array $blocks = array())
    {
        $this->displayWithErrorHandling($this->env->mergeGlobals($context), array_merge($this->blocks, $blocks));
    }
 
    /**
     * {@inheritdoc}
     */
    public function render(array $context)
    {
        $level = ob_get_level();
        ob_start();
        try {
    }
 
    protected function doGetParent(array $context)
    {
        return "@nucleus/page.html.twig";
    }
 
    protected function doDisplay(array $context, array $blocks = array())
    {
        $this->parent->display($context, array_merge($this->blocks, $blocks));
    }
 
    // line 3
    public function block_page_footer($context, array $blocks = array())
    {
        // line 4
        $this->displayParentBlock("page_footer", $context, $blocks);
        echo "
    <jdoc:include type=\"modules\" name=\"debug\" />";
    }
            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->getTemplateFile()) {
                $e->setTemplateFile($this->getTemplateName());
            }
 
            // this is mostly useful for Twig_Error_Loader exceptions
            // see Twig_Error_Loader
            if (false === $e->getTemplateLine()) {
                $e->setTemplateLine(-1);
                $e->guess();
 
        return implode("\n", $source);
    }
 
    /**
     * {@inheritdoc}
     */
    public function display(array $context, array $blocks = array())
    {
        $this->displayWithErrorHandling($this->env->mergeGlobals($context), array_merge($this->blocks, $blocks));
    }
 
    /**
     * {@inheritdoc}
     */
    public function render(array $context)
    {
        $level = ob_get_level();
        ob_start();
        try {
    }
 
    protected function doGetParent(array $context)
    {
        return "partials/page.html.twig";
    }
 
    protected function doDisplay(array $context, array $blocks = array())
    {
        $this->parent->display($context, array_merge($this->blocks, $blocks));
    }
 
    // line 3
    public function block_content($context, array $blocks = array())
    {
        // line 4
        echo $this->getAttribute($this->getAttribute((isset($context["gantry"]) ? $context["gantry"] : null), "platform", array()), "displayContent", array(0 => (isset($context["content"]) ? $context["content"] : null)), "method");
    }
 
    public function getTemplateName()
            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->getTemplateFile()) {
                $e->setTemplateFile($this->getTemplateName());
            }
 
            // this is mostly useful for Twig_Error_Loader exceptions
            // see Twig_Error_Loader
            if (false === $e->getTemplateLine()) {
                $e->setTemplateLine(-1);
                $e->guess();
 
        return implode("\n", $source);
    }
 
    /**
     * {@inheritdoc}
     */
    public function display(array $context, array $blocks = array())
    {
        $this->displayWithErrorHandling($this->env->mergeGlobals($context), array_merge($this->blocks, $blocks));
    }
 
    /**
     * {@inheritdoc}
     */
    public function render(array $context)
    {
        $level = ob_get_level();
        ob_start();
        try {
 
    /**
     * {@inheritdoc}
     */
    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();
            }
     *
     * @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
     * @param string $file
     * @param array $context
     * @return string
     */
    public function render($file, array $context = [])
    {
        // Include Gantry specific things to the context.
        $context = $this->getContext($context);
 
        return $this->renderer()->render($file, $context);
    }
 
    /**
     * Compile and render twig string.
     *
     * @param string $string
     * @param array $context
     * @return string
     */
    public function compile($string, array $context = [])
 
/** @var \Gantry\Framework\Theme $theme */
$theme = $gantry['theme'];
 
/** @var \Gantry\Framework\Configurations $configurations */
$configurations = $gantry['configurations'];
 
// Render the page.
echo $theme
    ->render('index.html.twig');
 
 
		// Check to see if we have a valid template file
		if (file_exists($directory . '/' . $filename))
		{
			// Store the file path
			$this->_file = $directory . '/' . $filename;
 
			// Get the file content
			ob_start();
			require $directory . '/' . $filename;
			$contents = ob_get_contents();
			ob_end_clean();
		}
 
		// Try to find a favicon by checking the template and root folder
		$icon = '/favicon.ico';
 
		foreach (array($directory, JPATH_BASE) as $dir)
		{
			if (file_exists($dir . $icon))
		$lang->load('tpl_' . $template, JPATH_BASE, null, false, true)
			|| $lang->load('tpl_' . $template, $directory . '/' . $template, null, false, true);
 
		// Assign the variables
		$this->template = $template;
		$this->baseurl = Uri::base(true);
		$this->params = isset($params['params']) ? $params['params'] : new Registry;
 
		// Load
		$this->_template = $this->_loadTemplate($directory . '/' . $template, $file);
 
		return $this;
	}
 
	/**
	 * Parse a document template
	 *
	 * @return  HtmlDocument  instance of $this to allow chaining
	 *
	 * @since   1.7.0
	 *
	 * @param   array  $params  Parameters for fetching the template
	 *
	 * @return  HtmlDocument instance of $this to allow chaining
	 *
	 * @since   1.7.0
	 */
	public function parse($params = array())
	{
		return $this->_fetchTemplate($params)->_parseTemplate();
	}
 
	/**
	 * Outputs the template to the browser.
	 *
	 * @param   boolean  $caching  If true, cache the output
	 * @param   array    $params   Associative array of attributes
	 *
	 * @return  string The rendered data
	 *
			$this->docOptions['directory'] = $this->get('themes.base');
		}
		// Fall back to constants.
		else
		{
			$this->docOptions['directory'] = defined('JPATH_THEMES') ? JPATH_THEMES : (defined('JPATH_BASE') ? JPATH_BASE : __DIR__) . '/themes';
		}
 
		// Parse the document.
		$this->document->parse($this->docOptions);
 
		// Trigger the onBeforeRender event.
		\JPluginHelper::importPlugin('system');
		$this->triggerEvent('onBeforeRender');
 
		$caching = false;
 
		if ($this->isClient('site') && $this->get('caching') && $this->get('caching', 2) == 2 && !\JFactory::getUser()->get('id'))
		{
			$caching = true;
				// Ensure themeFile is set by now
				if ($this->get('themeFile') == '')
				{
					$this->set('themeFile', $file . '.php');
				}
 
				break;
		}
 
		parent::render();
	}
 
	/**
	 * Route the application.
	 *
	 * Routing is the process of examining the request environment to determine which
	 * component should receive the request. The component optional parameters
	 * are then set in the request object to be processed when the application is being
	 * dispatched.
	 *
	public function execute()
	{
		// Perform application routines.
		$this->doExecute();
 
		// If we have an application document object, render it.
		if ($this->document instanceof \JDocument)
		{
			// Render the application output.
			$this->render();
		}
 
		// If gzip compression is enabled in configuration and the server is compliant, compress the output.
		if ($this->get('gzip') && !ini_get('zlib.output_compression') && ini_get('output_handler') !== 'ob_gzhandler')
		{
			$this->compress();
 
			// Trigger the onAfterCompress event.
			$this->triggerEvent('onAfterCompress');
		}
require_once JPATH_BASE . '/includes/framework.php';
 
// Set profiler start time and memory usage and mark afterLoad in the profiler.
JDEBUG ? JProfiler::getInstance('Application')->setStart($startTime, $startMem)->mark('afterLoad') : null;
 
// Instantiate the application.
$app = JFactory::getApplication('site');
 
// Execute the application.
$app->execute();
 

Environment & details:

empty
empty
empty
empty
empty
Key Value
USER sitio40
HOME /home/sitio40
PATH_TRANSLATED /home/sitio40/public_html/pages/coming-soon
PATH_INFO /pages/coming-soon
SCRIPT_NAME /site/index.php
REQUEST_URI /site/index.php/pages/coming-soon
QUERY_STRING
REQUEST_METHOD GET
SERVER_PROTOCOL HTTP/1.1
GATEWAY_INTERFACE CGI/1.1
REMOTE_PORT 33052
SCRIPT_FILENAME /home/sitio40/public_html/site/index.php
SERVER_ADMIN webmaster@wfue.org
CONTEXT_DOCUMENT_ROOT /home/sitio40/public_html
CONTEXT_PREFIX
REQUEST_SCHEME http
DOCUMENT_ROOT /home/sitio40/public_html
REMOTE_ADDR 54.205.179.155
SERVER_PORT 80
SERVER_ADDR 198.50.126.145
SERVER_NAME www.wfue.org
SERVER_SOFTWARE Apache
SERVER_SIGNATURE
PATH /usr/local/jdk/bin:/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/usr/local/bin:/usr/X11R6/bin:/root/bin:/opt/bin
HTTP_X_FORWARDED_FOR 54.205.179.155
HTTP_ACCEPT_ENCODING identity
HTTP_HOST www.wfue.org
HTTP_USER_AGENT claudebot
HTTP_ACCEPT */*
proxy-nokeepalive 1
HTTP_AUTHORIZATION
SCRIPT_URI http://www.wfue.org/site/index.php/pages/coming-soon
SCRIPT_URL /site/index.php/pages/coming-soon
UNIQUE_ID ZfkyAMwjRo6rtjtsTBz0pAAAAAw
FCGI_ROLE RESPONDER
PHP_SELF /site/index.php/pages/coming-soon
REQUEST_TIME_FLOAT 1710830080.61
REQUEST_TIME 1710830080
argv Array ( )
argc 0
empty
0. Whoops\Handler\PrettyPageHandler