Fatal error: Call to a member function first() on null in /home/putlocker/public_html/src/Controller/HomeController.php on line 81
Whoops! There was an error.
0.
…/­src/­Controller/­HomeController.php 81

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 first() on null" Stacktrace: #0 in /home/putlocker/public_html/src/Controller/HomeController.php:81

Call to a member function first() on null

/home/putlocker/public_html/src/Controller/HomeController.php
			
			$serie = __c('files')->remember('tv_show_'.$params['perma'], 5, function() use ($params){
			
				return  $this->show_model->select('id', 'permalink', 'imdb_id', 'title', 'description', 'imdb_rating', 'meta')->wherePermalink($params['perma'])->with(['tags', 'episodes'])->first();
			});	
		
			
			if($serie->tags->first())
			{
				$similar = __c('files')->remember('tv_show_similar_'.$params['perma'], 5, function() use ($serie){
empty
empty
empty
empty
empty
Key Value
REDIRECT_REDIRECT_UNIQUE_ID WK1vvKKJ68a0BSrbKLISfAAAAFk
REDIRECT_REDIRECT_proto http
REDIRECT_REDIRECT_STATUS 200
REDIRECT_UNIQUE_ID WK1vvKKJ68a0BSrbKLISfAAAAFk
REDIRECT_proto http
REDIRECT_HANDLER application/x-httpd-ea-php56
REDIRECT_STATUS 200
UNIQUE_ID WK1vvKKJ68a0BSrbKLISfAAAAFk
HTTP_HOST putlocker.ax
HTTP_CONNECTION Keep-Alive
HTTP_ACCEPT_ENCODING gzip
HTTP_CF_IPCOUNTRY US
HTTP_X_FORWARDED_FOR 54.204.161.30
HTTP_CF_RAY 3351f1fe950f0880-IAD
HTTP_X_FORWARDED_PROTO http
HTTP_CF_VISITOR {"scheme":"http"}
HTTP_USER_AGENT CCBot/2.0 (http://commoncrawl.org/faq/)
HTTP_ACCEPT text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
HTTP_CF_CONNECTING_IP 54.204.161.30
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
SERVER_SIGNATURE
SERVER_SOFTWARE Apache
SERVER_NAME putlocker.ax
SERVER_ADDR 185.63.254.21
SERVER_PORT 80
REMOTE_ADDR 172.68.65.98
DOCUMENT_ROOT /home/putlocker/public_html/public
REQUEST_SCHEME http
CONTEXT_PREFIX /cgi-sys
CONTEXT_DOCUMENT_ROOT /usr/local/cpanel/cgi-sys/
SERVER_ADMIN [email protected]
SCRIPT_FILENAME /home/putlocker/public_html/public/index.php
REMOTE_PORT 29372
REDIRECT_URL /index.php
GATEWAY_INTERFACE CGI/1.1
SERVER_PROTOCOL HTTP/1.1
REQUEST_METHOD GET
QUERY_STRING
REQUEST_URI /watch-3-tvshow-online-free-putlocker.html
SCRIPT_NAME /index.php
ORIG_SCRIPT_FILENAME /usr/local/cpanel/cgi-sys/ea-php56
ORIG_PATH_INFO /index.php
ORIG_PATH_TRANSLATED /home/putlocker/public_html/public/index.php
ORIG_SCRIPT_NAME /cgi-sys/ea-php56
PHP_SELF /index.php
REQUEST_TIME_FLOAT 1487761340.13
REQUEST_TIME 1487761340
empty
0. Whoops\Handler\PrettyPageHandler