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
"3.88.16.192, 15.158.50.197"
HTTP_X_FORWARDED_PROTO
"http"
HTTP_X_FORWARDED_PORT
"80"
HTTP_HOST
"gay.vegas"
HTTP_X_AMZN_TRACE_ID
"Root=1-6605b7b1-107cce2303e8f12b681a7b8e"
HTTP_USER_AGENT
"claudebot"
HTTP_X_AMZ_CF_ID
"6HA19FC6VCL9rI0YORmudr2LLoZ5CMJODS2HvROZe83SVjl6DZq1IA=="
HTTP_VIA
"2.0 5ea972e689f9b02c2fa2ba9f72e70ede.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
"25620"
REDIRECT_URL
"/news/k1Q6K9WZyi"
GATEWAY_INTERFACE
"CGI/1.1"
SERVER_PROTOCOL
"HTTP/1.1"
REQUEST_METHOD
"GET"
QUERY_STRING
""
REQUEST_URI
"/news/k1Q6K9WZyi"
SCRIPT_NAME
"/index.php"
PHP_SELF
"/index.php"
REQUEST_TIME_FLOAT
1711650737.62
REQUEST_TIME
1711650737
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