Code Context <?= $office->location->city ?><br>
<?= isset($office->location->state) && $office->location->state != '' ? $office->location->state . '<br>' : '' ?>
<?= $office->location->country->country_name ?><br><br>
$viewFile = '/home/luxurypulse/www/src/Template/Offices/show.ctp'
$dataForView = [
'title' => 'Seven Car Lounge',
'menuType' => 'fixed',
'page' => '3',
'office' => object(App\Model\Entity\Office) {
'id' => (int) 25,
'name' => 'Seven Car Lounge',
'slug' => 'seven-car-lounge',
'category' => 'cars',
'presentation' => 'Seven Car Lounge car collection
',
'logo' => '5e525527922b05c6b1fde92bc0B10-1.jpg',
'email' => 'sales@sevencarlounge.com',
'website' => 'https://www.sevencarlounge.com/',
'active' => true,
'location_id' => (int) 31,
'user_id' => (int) 3,
'sales' => [
[maximum depth reached]
],
'location' => object(App\Model\Entity\Location) {},
'[new]' => false,
'[accessible]' => [
[maximum depth reached]
],
'[dirty]' => [[maximum depth reached]],
'[original]' => [[maximum depth reached]],
'[virtual]' => [[maximum depth reached]],
'[errors]' => [[maximum depth reached]],
'[invalid]' => [[maximum depth reached]],
'[repository]' => 'Offices'
},
'sales' => [
'datas' => [
(int) 0 => object(App\Model\Entity\Sale) {},
(int) 1 => object(App\Model\Entity\Sale) {},
(int) 2 => object(App\Model\Entity\Sale) {},
(int) 3 => object(App\Model\Entity\Sale) {}
],
'count' => [
'total' => (int) 22,
'pages' => (int) 3
]
]
]
$title = 'Seven Car Lounge'
$menuType = 'fixed'
$page = '3'
$office = object(App\Model\Entity\Office) {
'id' => (int) 25,
'name' => 'Seven Car Lounge',
'slug' => 'seven-car-lounge',
'category' => 'cars',
'presentation' => 'Seven Car Lounge car collection
',
'logo' => '5e525527922b05c6b1fde92bc0B10-1.jpg',
'email' => 'sales@sevencarlounge.com',
'website' => 'https://www.sevencarlounge.com/',
'active' => true,
'location_id' => (int) 31,
'user_id' => (int) 3,
'sales' => [
(int) 0 => object(App\Model\Entity\Sale) {}
],
'location' => object(App\Model\Entity\Location) {},
'[new]' => false,
'[accessible]' => [
'*' => true
],
'[dirty]' => [],
'[original]' => [],
'[virtual]' => [],
'[errors]' => [],
'[invalid]' => [],
'[repository]' => 'Offices'
}
$sales = [
'datas' => [
(int) 0 => object(App\Model\Entity\Sale) {},
(int) 1 => object(App\Model\Entity\Sale) {},
(int) 2 => object(App\Model\Entity\Sale) {},
(int) 3 => object(App\Model\Entity\Sale) {}
],
'count' => [
'total' => (int) 22,
'pages' => (int) 3
]
]
include - APP/Template/Offices/show.ctp, line 46
Cake\View\View::_evaluate() - CORE/src/View/View.php, line 1014
Cake\View\View::_render() - CORE/src/View/View.php, line 973
Cake\View\View::render() - CORE/src/View/View.php, line 597
Cake\Controller\Controller::render() - CORE/src/Controller/Controller.php, line 617
Cake\Http\ActionDispatcher::_invoke() - CORE/src/Http/ActionDispatcher.php, line 127
Cake\Http\ActionDispatcher::dispatch() - CORE/src/Http/ActionDispatcher.php, line 95
Cake\Http\BaseApplication::__invoke() - CORE/src/Http/BaseApplication.php, line 83
Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65
Cake\Routing\Middleware\RoutingMiddleware::__invoke() - CORE/src/Routing/Middleware/RoutingMiddleware.php, line 62
Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65
Cake\Routing\Middleware\AssetMiddleware::__invoke() - CORE/src/Routing/Middleware/AssetMiddleware.php, line 88
Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65
Cake\Error\Middleware\ErrorHandlerMiddleware::__invoke() - CORE/src/Error/Middleware/ErrorHandlerMiddleware.php, line 81
Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65
Cake\Http\Runner::run() - CORE/src/Http/Runner.php, line 51
Cake\Http\Server::run() - CORE/src/Http/Server.php, line 90