1. Symfony\Component\Debug\Exception\FatalErrorException
…/­app/­controllers/­main/­GalleryController.php46
0. Illuminate\Exception\Handler handleShutdown
<#unknown>0

Symfony \ Component \ Debug \ Exception \ FatalErrorException (E_UNKNOWN)

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
Symfony\Component\Debug\Exception\FatalErrorException thrown with message "Call to a member function images() on null" Stacktrace: #1 Symfony\Component\Debug\Exception\FatalErrorException in /home/johnnycho/webapps/btglatest/btglalaravel_2016_03_02_1511/app/controllers/main/GalleryController.php:46 #0 Illuminate\Exception\Handler:handleShutdown in <#unknown>:0

Call to a member function images() on null

			->orderBy('photosets.sortorder', 'asc')
			->get();
			
		$photoset = Photoset::where('venue_id', '=', $venue->id)
			->where('slug', '=', $photoset_slug)
			->first();
				
		$photos = $photoset->images()
			->orderBy('sortorder', 'asc')
			->get();
<#unknown>
empty
empty
empty
empty
empty
Key Value
PATH /usr/local/bin:/usr/bin:/bin
REDIRECT_HANDLER php56-cgi
REDIRECT_STATUS 200
UNIQUE_ID XXLllzlKUNkyUXoUNWQBIQAAAAk
HTTP_AUTHORIZATION
PHP_INI_SCAN_DIR /home/johnnycho/webapps/btglatest_public
SCRIPT_URL /palacetheatre/gallery/offices
SCRIPT_URI http://palacedowntown.com/palacetheatre/gallery/offices
HTTPS off
HTTP_HOST palacedowntown.com
HTTP_X_FORWARDED_HOST palacedowntown.com
HTTP_X_FORWARDED_SERVER palacedowntown.com
HTTP_X_FORWARDED_FOR 207.241.231.150
HTTP_FORWARDED_REQUEST_URI /palacetheatre/gallery/offices
HTTP_HTTPS off
HTTP_X_FORWARDED_PROTO http
HTTP_X_FORWARDED_SSL off
HTTP_CONNECTION close
HTTP_REFERER http://palacedowntown.com/venue-areas
HTTP_ACCEPT text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
HTTP_USER_AGENT Mozilla/5.0 (compatible; archive.org_bot +td>
SERVER_SIGNATURE
SERVER_SOFTWARE Apache
SERVER_NAME palacedowntown.com
SERVER_ADDR 127.0.0.1
SERVER_PORT 80
REMOTE_ADDR 207.241.231.150
DOCUMENT_ROOT /home/johnnycho/webapps/btglatest_public
REQUEST_SCHEME http
CONTEXT_PREFIX /cgi-bin/php56.cgi
CONTEXT_DOCUMENT_ROOT /home/php-cgi/php56.cgi
SERVER_ADMIN [no address given]
SCRIPT_FILENAME /home/johnnycho/webapps/btglatest_public/index.php
REMOTE_PORT 55608
REDIRECT_URL /index.php
GATEWAY_INTERFACE CGI/1.1
SERVER_PROTOCOL HTTP/1.0
REQUEST_METHOD GET
QUERY_STRING
REQUEST_URI /palacetheatre/gallery/offices
SCRIPT_NAME /index.php
ORIG_SCRIPT_FILENAME /home/php-cgi/php56.cgi
ORIG_PATH_INFO /index.php
ORIG_PATH_TRANSLATED /home/johnnycho/webapps/btglatest_public/index.php
ORIG_SCRIPT_NAME /cgi-bin/php56.cgi
PHP_SELF /index.php
REQUEST_TIME_FLOAT 1567810967.8885
REQUEST_TIME 1567810967
argv Array ( )
argc 0
Key Value
PATH /usr/local/bin:/usr/bin:/bin
REDIRECT_HANDLER php56-cgi
REDIRECT_STATUS 200
UNIQUE_ID XXLllzlKUNkyUXoUNWQBIQAAAAk
HTTP_AUTHORIZATION
PHP_INI_SCAN_DIR /home/johnnycho/webapps/btglatest_public
SCRIPT_URL /palacetheatre/gallery/offices
SCRIPT_URI http://palacedowntown.com/palacetheatre/gallery/offices
HTTPS off
HTTP_HOST palacedowntown.com
HTTP_X_FORWARDED_HOST palacedowntown.com
HTTP_X_FORWARDED_SERVER palacedowntown.com
HTTP_X_FORWARDED_FOR 207.241.231.150
HTTP_FORWARDED_REQUEST_URI /palacetheatre/gallery/offices
HTTP_HTTPS off
HTTP_X_FORWARDED_PROTO http
HTTP_X_FORWARDED_SSL off
HTTP_CONNECTION close
HTTP_REFERER http://palacedowntown.com/venue-areas
HTTP_ACCEPT text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
HTTP_USER_AGENT Mozilla/5.0 (compatible; archive.org_bot +td>
SERVER_SIGNATURE
SERVER_SOFTWARE Apache
SERVER_NAME palacedowntown.com
SERVER_ADDR 127.0.0.1
SERVER_PORT 80
REMOTE_ADDR 207.241.231.150
DOCUMENT_ROOT /home/johnnycho/webapps/btglatest_public
REQUEST_SCHEME http
CONTEXT_PREFIX /cgi-bin/php56.cgi
CONTEXT_DOCUMENT_ROOT /home/php-cgi/php56.cgi
SERVER_ADMIN [no address given]
SCRIPT_FILENAME /home/johnnycho/webapps/btglatest_public/index.php
REMOTE_PORT 55608
REDIRECT_URL /index.php
GATEWAY_INTERFACE CGI/1.1
SERVER_PROTOCOL HTTP/1.0
REQUEST_METHOD GET
QUERY_STRING
REQUEST_URI /palacetheatre/gallery/offices
SCRIPT_NAME /index.php
ORIG_SCRIPT_FILENAME /home/php-cgi/php56.cgi
ORIG_PATH_INFO /index.php
ORIG_PATH_TRANSLATED /home/johnnycho/webapps/btglatest_public/index.php
ORIG_SCRIPT_NAME /cgi-bin/php56.cgi
0. Whoops\Handler\PrettyPageHandler