Fatal error: Call to a member function setLayout() on a non-object in /home/thomasmaddi/public_html/plugins/system/gantry5/gantry5.php on line 158
Crikey! There was an error...
3. Whoops\Exception\ErrorException
/­home/­thomasmaddi/­public_html/­plugins/­system/­gantry5/­gantry5.php158
2. Whoops\Run handleError
…/­classes/­Gantry/­Component/­Whoops/­Run.php71
1. Gantry\Component\Whoops\Run handleError
…/­vendor/­filp/­whoops/­src/­Whoops/­Run.php357
0. Whoops\Run handleShutdown
<#unknown>0

Whoops \ Exception \ ErrorException (E_ERROR)

Callstack information; navigate with mouse or keyboard using Ctrl+↑ or Ctrl+↓
Copy-to-clipboard button
Exception message and its type
Code snippet where the error was thrown
Server state information
Application provided context information
Whoops\Exception\ErrorException thrown with message "Call to a member function setLayout() on a non-object" Stacktrace: #3 Whoops\Exception\ErrorException in /home/thomasmaddi/public_html/plugins/system/gantry5/gantry5.php:158 #2 Whoops\Run:handleError in /home/thomasmaddi/public_html/libraries/gantry5/classes/Gantry/Component/Whoops/Run.php:71 #1 Gantry\Component\Whoops\Run:handleError in /home/thomasmaddi/public_html/libraries/gantry5/vendor/filp/whoops/src/Whoops/Run.php:357 #0 Whoops\Run:handleShutdown in <#unknown>:0

Call to a member function setLayout() on a non-object

 
        /** @var Gantry\Framework\Theme $theme */
        $theme = $gantry['theme'];
 
        /** @var \Gantry\Framework\Configurations $configurations */
        $configurations = $gantry['configurations'];
 
        $theme->setLayout($configurations->current());
 
        if (!$this->params->get('production', 0) || $this->params->get('asset_timestamps', 1)) {
        }
 
        // If there are registered patterns, only handle errors if error matches one of the patterns.
        if ($level & error_reporting()) {
            foreach ($this->registeredPatterns as $entry) {
                $pathMatches = (bool) preg_match($entry["pattern"], $file);
                if ($pathMatches) {
                    return parent::handleError($level, $message, $file, $line);
                }
            }
            // If there was a fatal error,
            // it was not handled in handleError yet.
            $this->handleError(
                $error['type'],
                $error['message'],
                $error['file'],
                $error['line']
            );
        }
    }
<#unknown>
empty
empty
empty
empty
Key Value
joomla TzoyNDoiS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naXN0cnlcUmVnaXN0cnkiOjI6e3M6NzoiACoAZGF0YSI7Tzo4OiJzdGRDbGFzcyI6MDp7fXM6OToic2VwYXJhdG9yIjtzOjE6Ii4iO31zOjE0OiIAKgBfYXV0aEdyb3VwcyI7YToyOntpOjA7aToxO2k6MTtpOjk7fXM6MTQ6IgAqAF9hdXRoTGV2ZWxzIjthOjM6e2k6MDtpOjE7aToxO2k6MTtpOjI7aTo1O31zOjE1OiIAKgBfYXV0aEFjdGlvbnMiO047czoxMjoiACoAX2Vycm9yTXNnIjtOO3M6MTM6IgAqAHVzZXJIZWxwZXIiO086MTg6IkpVc2VyV3JhcHBlckhlbHBlciI6MDp7fXM6MTA6IgAqAF9lcnJvcnMiO2E6MDp7fXM6MzoiYWlkIjtpOjA7fX19czo5OiJzZXBhcmF0b3IiO3M6MToiLiI7fQ==
Key Value
DOCUMENT_ROOT /home/thomasmaddi/public_html
GATEWAY_INTERFACE CGI/1.1
HTTP_ACCEPT text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2
HTTP_ACCEPT_ENCODING gzip
HTTP_AUTHORIZATION
HTTP_CACHE_CONTROL no-cache
HTTP_CONNECTION close
HTTP_HOST www.thomasmaddi.com
HTTP_PRAGMA no-cache
HTTP_USER_AGENT FeedBurner/1.0 (http://www.FeedBurner.com)
HTTP_X_FEEDBURNER_URI thomasmaddi/crUK
HTTP_X_HTTP_PROTO HTTP/1.1
HTTP_X_LOG_8079 74.125.183.163
HTTP_X_REAL_IP 74.125.183.163
PATH /bin:/usr/bin
QUERY_STRING
REDIRECT_HTTP_AUTHORIZATION
REDIRECT_STATUS 200
REDIRECT_UNIQUE_ID VqgGt8C5AlYAACXwj28AAAFp
REDIRECT_URL /blog/feed/
REMOTE_ADDR 74.125.183.163
REMOTE_PORT 46218
REQUEST_METHOD GET
REQUEST_URI /blog/feed/
SCRIPT_FILENAME /home/thomasmaddi/public_html/index.php
SCRIPT_NAME /index.php
SERVER_ADDR 192.185.74.122
SERVER_ADMIN webmaster@thomasmaddi.com
SERVER_NAME www.thomasmaddi.com
SERVER_PORT 80
SERVER_PROTOCOL HTTP/1.1
SERVER_SIGNATURE <address>Apache Server at www.thomasmaddi.com Port 80</address>
SERVER_SOFTWARE Apache
UNIQUE_ID VqgGt8C5AlYAACXwj28AAAFp
PHP_SELF /index.php
REQUEST_TIME_FLOAT 1453852343.73
REQUEST_TIME 1453852343
argv Array ( )
argc 0
Key Value
DOCUMENT_ROOT /home/thomasmaddi/public_html
GATEWAY_INTERFACE CGI/1.1
HTTP_ACCEPT text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2
HTTP_ACCEPT_ENCODING gzip
HTTP_AUTHORIZATION
HTTP_CACHE_CONTROL no-cache
HTTP_CONNECTION close
HTTP_HOST www.thomasmaddi.com
HTTP_PRAGMA no-cache
HTTP_USER_AGENT FeedBurner/1.0 (http://www.FeedBurner.com)
HTTP_X_FEEDBURNER_URI thomasmaddi/crUK
HTTP_X_HTTP_PROTO HTTP/1.1
HTTP_X_LOG_8079 74.125.183.163
HTTP_X_REAL_IP 74.125.183.163
PATH /bin:/usr/bin
QUERY_STRING
REDIRECT_HTTP_AUTHORIZATION
REDIRECT_STATUS 200
REDIRECT_UNIQUE_ID VqgGt8C5AlYAACXwj28AAAFp
REDIRECT_URL /blog/feed/
REMOTE_ADDR 74.125.183.163
REMOTE_PORT 46218
REQUEST_METHOD GET
REQUEST_URI /blog/feed/
SCRIPT_FILENAME /home/thomasmaddi/public_html/index.php
SCRIPT_NAME /index.php
SERVER_ADDR 192.185.74.122
SERVER_ADMIN webmaster@thomasmaddi.com
SERVER_NAME www.thomasmaddi.com
SERVER_PORT 80
SERVER_PROTOCOL HTTP/1.1
SERVER_SIGNATURE <address>Apache Server at www.thomasmaddi.com Port 80</address>
SERVER_SOFTWARE Apache
UNIQUE_ID VqgGt8C5AlYAACXwj28AAAFp
0. Whoops\Handler\PrettyPageHandler
1. Whoops\Handler\PlainTextHandler
2. Whoops\Handler\JsonResponseHandler