Deprecated: Function create_function() is deprecated in /home/customer/www/fsutabletennis.com/public_html/libraries/rokcommon/RokCommon/Service/ContainerImpl.php on line 460
Crikey! There was an error...
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 2. 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 2." Stacktrace: #22 Twig_Error_Runtime in /home/customer/www/fsutabletennis.com/public_html/libraries/gantry5/vendor/twig/twig/lib/Twig/Template.php:396 #21 Whoops\Exception\ErrorException in /home/customer/www/fsutabletennis.com/public_html/libraries/gantry5/vendor/twig/twig/lib/Twig/Template.php:527 #20 Gantry\Component\Whoops\System:handleError in /home/customer/www/fsutabletennis.com/public_html/libraries/gantry5/vendor/twig/twig/lib/Twig/Template.php:527 #19 Twig_Template:getAttribute in /home/customer/www/fsutabletennis.com/public_html/cache/gantry5/rt_ambrosia/twig/9e/9e0b72ead1d7b9a7b4f02dcd2fe917c8cc3fc9c4bdc66e0ac5509ad4160587a1.php:30 #18 __TwigTemplate_3b1605191f87ecd5b592e335b54fd1a49bbc536aeab6afe621aaae00cba24335:doDisplay in /home/customer/www/fsutabletennis.com/public_html/libraries/gantry5/vendor/twig/twig/lib/Twig/Template.php:381 #17 Twig_Template:displayWithErrorHandling in /home/customer/www/fsutabletennis.com/public_html/libraries/gantry5/vendor/twig/twig/lib/Twig/Template.php:355 #16 Twig_Template:display in /home/customer/www/fsutabletennis.com/public_html/cache/gantry5/rt_ambrosia/twig/60/60633000f4c7a109c7e575d504b9fced49dd6f37c22202be1db4e24834dd1a3f.php:24 #15 __TwigTemplate_f956519b60219799a3becc7f44b09e0325012994a2126a0f7b18b0e3785b8d9f:doDisplay in /home/customer/www/fsutabletennis.com/public_html/libraries/gantry5/vendor/twig/twig/lib/Twig/Template.php:381 #14 Twig_Template:displayWithErrorHandling in /home/customer/www/fsutabletennis.com/public_html/libraries/gantry5/vendor/twig/twig/lib/Twig/Template.php:355 #13 Twig_Template:display in /home/customer/www/fsutabletennis.com/public_html/cache/gantry5/rt_ambrosia/twig/cb/cb4961b838bc3ef2a2f4c3fb67f5f6684920fe86853f03b03df48e80091a697c.php:24 #12 __TwigTemplate_ec7c93d6dafd7d68959e9178839fb8ae2f4cb5294e3c13148427b6d560c8d6f1:doDisplay in /home/customer/www/fsutabletennis.com/public_html/libraries/gantry5/vendor/twig/twig/lib/Twig/Template.php:381 #11 Twig_Template:displayWithErrorHandling in /home/customer/www/fsutabletennis.com/public_html/libraries/gantry5/vendor/twig/twig/lib/Twig/Template.php:355 #10 Twig_Template:display in /home/customer/www/fsutabletennis.com/public_html/libraries/gantry5/vendor/twig/twig/lib/Twig/Template.php:366 #9 Twig_Template:render in /home/customer/www/fsutabletennis.com/public_html/libraries/gantry5/vendor/twig/twig/lib/Twig/Environment.php:347 #8 Twig_Environment:render in /home/customer/www/fsutabletennis.com/public_html/libraries/gantry5/classes/Gantry/Component/Theme/AbstractTheme.php:162 #7 Gantry\Component\Theme\AbstractTheme:render in /home/customer/www/fsutabletennis.com/public_html/templates/rt_ambrosia/index.php:25 #6 require in /home/customer/www/fsutabletennis.com/public_html/libraries/joomla/document/html.php:578 #5 JDocumentHtml:_loadTemplate in /home/customer/www/fsutabletennis.com/public_html/libraries/joomla/document/html.php:635 #4 JDocumentHtml:_fetchTemplate in /home/customer/www/fsutabletennis.com/public_html/libraries/joomla/document/html.php:455 #3 JDocumentHtml:parse in /home/customer/www/fsutabletennis.com/public_html/libraries/cms/application/cms.php:1054 #2 JApplicationCms:render in /home/customer/www/fsutabletennis.com/public_html/libraries/cms/application/site.php:745 #1 JApplicationSite:render in /home/customer/www/fsutabletennis.com/public_html/libraries/cms/application/cms.php:263 #0 JApplicationCms:execute in /home/customer/www/fsutabletennis.com/public_html/index.php:49
Stack frames (23):
22 Twig_Error_Runtime
…/­vendor/­twig/­twig/­lib/­Twig/­Template.php396
21 Whoops\Exception\ErrorException
…/­vendor/­twig/­twig/­lib/­Twig/­Template.php527
20 Gantry\Component\Whoops\System handleError
…/­vendor/­twig/­twig/­lib/­Twig/­Template.php527
19 Twig_Template getAttribute
/­home/­customer/­www/­fsutabletennis.com/­public_html/­cache/­gantry5/­rt_ambrosia/­twig/­9e/­9e0b72ead1d7b9a7b4f02dcd2fe917c8cc3fc9c4bdc66e0ac5509ad4160587a1.php30
18 __TwigTemplate_3b1605191f87ecd5b592e335b54fd1a49bbc536aeab6afe621aaae00cba24335 doDisplay
…/­vendor/­twig/­twig/­lib/­Twig/­Template.php381
17 Twig_Template displayWithErrorHandling
…/­vendor/­twig/­twig/­lib/­Twig/­Template.php355
16 Twig_Template display
/­home/­customer/­www/­fsutabletennis.com/­public_html/­cache/­gantry5/­rt_ambrosia/­twig/­60/­60633000f4c7a109c7e575d504b9fced49dd6f37c22202be1db4e24834dd1a3f.php24
15 __TwigTemplate_f956519b60219799a3becc7f44b09e0325012994a2126a0f7b18b0e3785b8d9f doDisplay
…/­vendor/­twig/­twig/­lib/­Twig/­Template.php381
14 Twig_Template displayWithErrorHandling
…/­vendor/­twig/­twig/­lib/­Twig/­Template.php355
13 Twig_Template display
/­home/­customer/­www/­fsutabletennis.com/­public_html/­cache/­gantry5/­rt_ambrosia/­twig/­cb/­cb4961b838bc3ef2a2f4c3fb67f5f6684920fe86853f03b03df48e80091a697c.php24
12 __TwigTemplate_ec7c93d6dafd7d68959e9178839fb8ae2f4cb5294e3c13148427b6d560c8d6f1 doDisplay
…/­vendor/­twig/­twig/­lib/­Twig/­Template.php381
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/­customer/­www/­fsutabletennis.com/­public_html/­templates/­rt_ambrosia/­index.php25
6 require
/­home/­customer/­www/­fsutabletennis.com/­public_html/­libraries/­joomla/­document/­html.php578
5 JDocumentHtml _loadTemplate
/­home/­customer/­www/­fsutabletennis.com/­public_html/­libraries/­joomla/­document/­html.php635
4 JDocumentHtml _fetchTemplate
/­home/­customer/­www/­fsutabletennis.com/­public_html/­libraries/­joomla/­document/­html.php455
3 JDocumentHtml parse
/­home/­customer/­www/­fsutabletennis.com/­public_html/­libraries/­cms/­application/­cms.php1054
2 JApplicationCms render
/­home/­customer/­www/­fsutabletennis.com/­public_html/­libraries/­cms/­application/­site.php745
1 JApplicationSite render
/­home/­customer/­www/­fsutabletennis.com/­public_html/­libraries/­cms/­application/­cms.php263
0 JApplicationCms execute
/­home/­customer/­www/­fsutabletennis.com/­public_html/­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_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), "theme", array()), "setLayout", array(), "method");
        // line 2
        $context["segments"] = $this->getAttribute($this->getAttribute((isset($context["gantry"]) ? $context["gantry"] : null), "theme", array()), "segments", array());
        // line 4
        ob_start();
        // line 5
        if ($this->getAttribute($this->getAttribute((isset($context["gantry"]) ? $context["gantry"] : null), "theme", array()), "hasContent", array(), "method")) {
            // line 6
            $this->displayBlock('content', $context, $blocks);
        }
        $context["content"] = ('' === $tmp = ob_get_clean()) ? '' : new Twig_Markup($tmp, $this->env->getCharset());
        // line 11
        $context["offcanvas"] = null;
            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;
        }
 
        return ob_get_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
    ->setLayout($configurations->current())
    ->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 = JUri::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  JDocumentHTML  instance of $this to allow chaining
	 *
	 * @since   11.1
	 *
	 * @param   array  $params  Parameters for fetching the template
	 *
	 * @return  JDocumentHTML instance of $this to allow chaining
	 *
	 * @since   11.1
	 */
	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->isSite() && $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 ? $_PROFILER->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
PATH /usr/local/bin:/usr/bin:/bin
DOCUMENT_ROOT /home/u377-ujwxwzy9ntyw/www/fsutabletennis.com/public_html
UNIQUE_ID ZWlElMxk4u3X2caF_6YwBgAAAAE
SCRIPT_URL /
SCRIPT_URI http://fsutabletennis.com/
HTTP_AUTHORIZATION
PHPHANDLER /usr/local/php74/bin/php
HTTP_X_PORT 42422
HTTP_X_REAL_IP 3.80.4.147
HTTP_HOST fsutabletennis.com
HTTP_X_ACCEPT_ENCODING br,gzip
HTTP_CONNECTION close
HTTP_USER_AGENT CCBot/2.0 (https://commoncrawl.org/faq/)
HTTP_ACCEPT text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
HTTP_ACCEPT_LANGUAGE en-US,en;q=0.5
SERVER_SOFTWARE Apache
SERVER_NAME fsutabletennis.com
SERVER_ADDR 35.212.73.244
SERVER_PORT 80
REMOTE_ADDR 3.80.4.147
SERVER_ADMIN webmaster
SCRIPT_FILENAME /home/u377-ujwxwzy9ntyw/www/fsutabletennis.com/public_html/index.php
REMOTE_PORT 12148
GATEWAY_INTERFACE CGI/1.1
SERVER_PROTOCOL HTTP/1.0
REQUEST_METHOD GET
QUERY_STRING
REQUEST_URI /
SCRIPT_NAME /index.php
PHP_DEFAULT_SOCKET_TIMEOUT 40
PHP_MAX_EXECUTION_TIME 120
PHP_MAX_INPUT_TIME 120
PHP_MEMORY_LIMIT 768M
PHP_POST_MAX_SIZE 256M
PHP_UPLOAD_MAX_FILESIZE 256M
PHP_SELF /index.php
REQUEST_TIME_FLOAT 1701397652.9197
REQUEST_TIME 1701397652
empty
0. Whoops\Handler\PrettyPageHandler