/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
/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/storage/framework/views/d3d689a8927cb733dad165faee99211ae70697f4.php
<?php
$theIssue = null;
if (isset($issue_id)) {
$theIssue = \App\Models\Things\PublicationIssue::find($issue_id);
} else {
$thePeriodical = \App\Models\Things\Periodical::where('key', '=', $periodical)->first();
$theVolume = $thePeriodical->volumes()->where('key', '=', $volume)->first();
$theIssue = $theVolume->issues()->where('key', '=', $issue)->first();
}
$articleBuilder = $theIssue->articles()->where('datePublished', '<', \Carbon\Carbon::now())->where('status', '=', 'published');
$articleBuilder = $articleBuilder->orderBy('total_views', 'desc')->orderBy('feature', 'asc')->orderBy('position', 'asc');
$articles = $articleBuilder->get();
$adCount = 0;
$allAds = collect();
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);
Arguments
"Call to a member function volumes() 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