Illuminate \ View \ ViewException (E_ERROR)
Call to a member function dataFeedItems() on null (View: /var/www/phplaravel/resources/views/v1/components/masterslider/datafeeditemflow/slides.blade.php) (View: /var/www/phplaravel/resources/views/v1/components/masterslider/datafeeditemflow/slides.blade.php) (View: /var/www/phplaravel/resources/views/v1/components/masterslider/datafeeditemflow/slides.blade.php)
Previous exceptions
  • Call to a member function dataFeedItems() on null (View: /var/www/phplaravel/resources/views/v1/components/masterslider/datafeeditemflow/slides.blade.php) (View: /var/www/phplaravel/resources/views/v1/components/masterslider/datafeeditemflow/slides.blade.php) (0)
  • Call to a member function dataFeedItems() on null (View: /var/www/phplaravel/resources/views/v1/components/masterslider/datafeeditemflow/slides.blade.php) (0)
  • Call to a member function dataFeedItems() on null (0)
Illuminate\View\ViewException thrown with message "Call to a member function dataFeedItems() on null (View: /var/www/phplaravel/resources/views/v1/components/masterslider/datafeeditemflow/slides.blade.php) (View: /var/www/phplaravel/resources/views/v1/components/masterslider/datafeeditemflow/slides.blade.php) (View: /var/www/phplaravel/resources/views/v1/components/masterslider/datafeeditemflow/slides.blade.php)" Stacktrace: #4 {main} in /var/www/phplaravel/public/index.php:0 #3 {main} in /var/www/phplaravel/public/index.php:0 #2 {main} in /var/www/phplaravel/public/index.php:0 #1 Symfony\Component\Debug\Exception\FatalThrowableError in /var/www/phplaravel/storage/framework/views/f452f82d35d2b03108b43e78b009d714a7d40358.php:3 #0 {main} in /var/www/phplaravel/public/index.php:0
4
{main}
/public/index.php0
3
{main}
/public/index.php0
2
{main}
/public/index.php0
1
Symfony\Component\Debug\Exception\FatalThrowableError
/storage/framework/views/f452f82d35d2b03108b43e78b009d714a7d40358.php3
0
{main}
/public/index.php0
/var/www/phplaravel/public/index.php
<?php
 
/**
 * Laravel - A PHP Framework For Web Artisans
 *
 * @package  Laravel
 * @author   Taylor Otwell <taylorotwell@gmail.com>
 */
 
/*
|--------------------------------------------------------------------------
| Register The Auto Loader
|--------------------------------------------------------------------------
|
| Composer provides a convenient, automatically generated class loader for
| our application. We just need to utilize it! We'll simply require it
| into the script here so that we don't have to worry about manual
| loading any of our classes later on. It feels nice to relax.
|
*/
 
require __DIR__.'/../bootstrap/autoload.php';
 
/*
|--------------------------------------------------------------------------
| Turn On The Lights
|--------------------------------------------------------------------------
|
| We need to illuminate PHP development, so let us turn on the lights.
| This bootstraps the framework and gets it ready for use, then it
| will load up this application so that we can run it and send
| the responses back to the browser and delight our users.
|
*/
 
$app = require_once __DIR__.'/../bootstrap/app.php';
 
/*
|--------------------------------------------------------------------------
| Run The Application
/var/www/phplaravel/public/index.php
<?php
 
/**
 * Laravel - A PHP Framework For Web Artisans
 *
 * @package  Laravel
 * @author   Taylor Otwell <taylorotwell@gmail.com>
 */
 
/*
|--------------------------------------------------------------------------
| Register The Auto Loader
|--------------------------------------------------------------------------
|
| Composer provides a convenient, automatically generated class loader for
| our application. We just need to utilize it! We'll simply require it
| into the script here so that we don't have to worry about manual
| loading any of our classes later on. It feels nice to relax.
|
*/
 
require __DIR__.'/../bootstrap/autoload.php';
 
/*
|--------------------------------------------------------------------------
| Turn On The Lights
|--------------------------------------------------------------------------
|
| We need to illuminate PHP development, so let us turn on the lights.
| This bootstraps the framework and gets it ready for use, then it
| will load up this application so that we can run it and send
| the responses back to the browser and delight our users.
|
*/
 
$app = require_once __DIR__.'/../bootstrap/app.php';
 
/*
|--------------------------------------------------------------------------
| Run The Application
Exception message: Call to a member function dataFeedItems() on null (View: /var/www/phplaravel/resources/views/v1/components/masterslider/datafeeditemflow/slides.blade.php) (View: /var/www/phplaravel/resources/views/v1/components/masterslider/datafeeditemflow/slides.blade.php)
/var/www/phplaravel/public/index.php
<?php
 
/**
 * Laravel - A PHP Framework For Web Artisans
 *
 * @package  Laravel
 * @author   Taylor Otwell <taylorotwell@gmail.com>
 */
 
/*
|--------------------------------------------------------------------------
| Register The Auto Loader
|--------------------------------------------------------------------------
|
| Composer provides a convenient, automatically generated class loader for
| our application. We just need to utilize it! We'll simply require it
| into the script here so that we don't have to worry about manual
| loading any of our classes later on. It feels nice to relax.
|
*/
 
require __DIR__.'/../bootstrap/autoload.php';
 
/*
|--------------------------------------------------------------------------
| Turn On The Lights
|--------------------------------------------------------------------------
|
| We need to illuminate PHP development, so let us turn on the lights.
| This bootstraps the framework and gets it ready for use, then it
| will load up this application so that we can run it and send
| the responses back to the browser and delight our users.
|
*/
 
$app = require_once __DIR__.'/../bootstrap/app.php';
 
/*
|--------------------------------------------------------------------------
| Run The Application
Exception message: Call to a member function dataFeedItems() on null (View: /var/www/phplaravel/resources/views/v1/components/masterslider/datafeeditemflow/slides.blade.php)
/var/www/phplaravel/storage/framework/views/f452f82d35d2b03108b43e78b009d714a7d40358.php
<?php
 
    $datafeeditems = $datafeed->dataFeedItems()->orderBy('gmdate', 'desc')->take(30)->get();
 
    $carouselId = hash('md5', \UUID::generate()->__toString());
 
    $adCount = 0;
    $allAds = collect();
 
    if (isset($geofences)) {
        array_push($geofences, Cookie::get('geodetect'));
    } else {
        $geofences = [Cookie::get('geodetect')];
    }
 
    if (isset($hide_wpadblocks) && $hide_wpadblocks == true) {
    } else {
 
        $geoRevAdsBuilder = \App\Models\Things\WPAdBlock::where('datePublished', '<', \Carbon\Carbon::now())->where('expires', '>', \Carbon\Carbon::now())->where('adtype', 'full_page')->where('revenue_type', 'revenue');
        if(isset($geofences)) {
            $geoRevAdsBuilder = $geoRevAdsBuilder->whereIn('schedule.geofences', $geofences);
        }
        $geoRevAds = $geoRevAdsBuilder->orderBy('position', 'desc')->get();
        $allAds = $allAds->merge($geoRevAds);
 
        $geoNonRevAdsBuilder = \App\Models\Things\WPAdBlock::where('datePublished', '<', \Carbon\Carbon::now())->where('expires', '>', \Carbon\Carbon::now())->where('adtype', 'full_page')->where('revenue_type', 'non-revenue');
        if(isset($geofences)) {
            $geoNonRevAdsBuilder = $geoNonRevAdsBuilder->whereIn('schedule.geofences', $geofences);
        }
        $geoNonRevAds = $geoNonRevAdsBuilder->orderBy('position', 'desc')->get();
        $allAds = $allAds->merge($geoNonRevAds);
 
        $geoSponsorAdsBuilder = \App\Models\Things\WPAdBlock::where('datePublished', '<', \Carbon\Carbon::now())->where('expires', '>', \Carbon\Carbon::now())->where('adtype', 'full_page')->where('revenue_type', 'sponsorship');
        if(isset($geofences)) {
            $geoSponsorAdsBuilder = $geoSponsorAdsBuilder->whereIn('schedule.geofences', $geofences);
        }
        $geoSponsorAds = $geoSponsorAdsBuilder->orderBy('position', 'desc')->get();
        $allAds = $allAds->merge($geoSponsorAds);
 
        $adCount = $allAds->count();
Arguments
  1. "Call to a member function dataFeedItems() on null"
    
Exception message: Call to a member function dataFeedItems() on null
/var/www/phplaravel/public/index.php
<?php
 
/**
 * Laravel - A PHP Framework For Web Artisans
 *
 * @package  Laravel
 * @author   Taylor Otwell <taylorotwell@gmail.com>
 */
 
/*
|--------------------------------------------------------------------------
| Register The Auto Loader
|--------------------------------------------------------------------------
|
| Composer provides a convenient, automatically generated class loader for
| our application. We just need to utilize it! We'll simply require it
| into the script here so that we don't have to worry about manual
| loading any of our classes later on. It feels nice to relax.
|
*/
 
require __DIR__.'/../bootstrap/autoload.php';
 
/*
|--------------------------------------------------------------------------
| Turn On The Lights
|--------------------------------------------------------------------------
|
| We need to illuminate PHP development, so let us turn on the lights.
| This bootstraps the framework and gets it ready for use, then it
| will load up this application so that we can run it and send
| the responses back to the browser and delight our users.
|
*/
 
$app = require_once __DIR__.'/../bootstrap/app.php';
 
/*
|--------------------------------------------------------------------------
| Run The Application

Environment & details:

empty
empty
empty
empty
empty
Key Value
REDIRECT_STATUS
"200"
HTTP_X_FORWARDED_FOR
"44.201.24.171, 15.158.50.243"
HTTP_X_FORWARDED_PROTO
"http"
HTTP_X_FORWARDED_PORT
"80"
HTTP_HOST
"gay.vegas"
HTTP_X_AMZN_TRACE_ID
"Root=1-66054286-544ad1bf7e36d156128e95f7"
HTTP_USER_AGENT
"claudebot"
HTTP_X_AMZ_CF_ID
"Kx4_MvCG8eKGoqi7_39vS14h3LtW4eu_p9dhjkEee2W2Vkm1m09qEA=="
HTTP_VIA
"2.0 19ce5400ce3c3ceb334a546c0524d848.cloudfront.net (CloudFront)"
HTTP_ACCEPT
"*/*"
HTTP_CLOUDFRONT_IS_MOBILE_VIEWER
"false"
HTTP_CLOUDFRONT_IS_TABLET_VIEWER
"false"
HTTP_CLOUDFRONT_IS_SMARTTV_VIEWER
"false"
HTTP_CLOUDFRONT_IS_DESKTOP_VIEWER
"true"
HTTP_CLOUDFRONT_VIEWER_COUNTRY
"US"
HTTP_CLOUDFRONT_FORWARDED_PROTO
"https"
HTTP_CLOUDFRONT_VIEWER_ASN
"14618"
PATH
"/sbin:/usr/sbin:/bin:/usr/bin"
SERVER_SIGNATURE
""
SERVER_SOFTWARE
"Apache/2.4.58 (Amazon) PHP/7.2.34"
SERVER_NAME
"gay.vegas"
SERVER_ADDR
"10.0.7.87"
SERVER_PORT
"80"
REMOTE_ADDR
"10.0.1.194"
DOCUMENT_ROOT
"/var/www/phplaravel/public"
REQUEST_SCHEME
"http"
CONTEXT_PREFIX
""
CONTEXT_DOCUMENT_ROOT
"/var/www/phplaravel/public"
SERVER_ADMIN
"root@localhost"
SCRIPT_FILENAME
"/var/www/phplaravel/public/index.php"
REMOTE_PORT
"32762"
REDIRECT_URL
"/news/56cab14f4532a44ab7e66d2f"
GATEWAY_INTERFACE
"CGI/1.1"
SERVER_PROTOCOL
"HTTP/1.1"
REQUEST_METHOD
"GET"
QUERY_STRING
""
REQUEST_URI
"/news/56cab14f4532a44ab7e66d2f"
SCRIPT_NAME
"/index.php"
PHP_SELF
"/index.php"
REQUEST_TIME_FLOAT
1711620742.668
REQUEST_TIME
1711620742
APP_ENV
"production"
APP_KEY
"base64:SoorvHVXlCOoujzxe+mdkoh8igTi+4DWuXYXnvLdZrY="
APP_DEBUG
"true"
APP_LOG_LEVEL
"false"
NSS_STRICT_NOFORK
"DISABLED"
MONGODB_DATABASE_HOST
"10.0.9.19"
LOCAL_CONFIG
"qlife"
CACHE_DRIVER
"memcached"
SESSION_DRIVER
"memcached"
QUEUE_DRIVER
"sqs"
Key Value
APP_ENV
"production"
APP_KEY
"base64:SoorvHVXlCOoujzxe+mdkoh8igTi+4DWuXYXnvLdZrY="
APP_DEBUG
"true"
APP_LOG_LEVEL
"false"
NSS_STRICT_NOFORK
"DISABLED"
MONGODB_DATABASE_HOST
"10.0.9.19"
LOCAL_CONFIG
"qlife"
CACHE_DRIVER
"memcached"
SESSION_DRIVER
"memcached"
QUEUE_DRIVER
"sqs"
0. Whoops\Handler\PrettyPageHandler