Commercial buildings other than Apartments
Strategy: Buy using financing, keep as investment.
Notice (8): Undefined index: fields [APP/Template/Calculations/calculate.ctp, line 82]Code Context <legend><?= $fieldset['name']; ?></legend> <?php foreach($fieldset['fields'] as $field) { ?> <?php $value = (null != ($this->request->getData($field['name']))) ? $this->request->getData($field['name']) : $field['value']; ?> $viewFile = '/var/www/live/agnieszka.realtor/src/Template/Calculations/calculate.ctp' $dataForView = [ 'target' => 'commercial', 'strat' => null, 'calculation' => [ 'meta' => [ 'model' => 'commercial', 'title' => 'Comercial Building', 'description' => 'Commercial buildings other than Apartments', 'image' => '5c30c4fae16b4-commercial.jpg' ], 'strategies' => [ 'traditional' => [ [maximum depth reached] ], 'BRRR' => [ [maximum depth reached] ] ] ], 'domain' => object(App\Model\Entity\Domain) { 'id' => (int) 1, 'mls_search_id' => (int) 11, 'name' => 'agnieszka.realtor', 'description' => '', 'maintenance' => false, 'title' => 'Agnieszka Realtor', 'intro' => '', 'layout' => 'default', 'theme' => 'Themes/Agency', 'container' => 'GTM-PXXMN48', 'created' => object(Cake\I18n\FrozenTime) {}, 'modified' => object(Cake\I18n\FrozenTime) {}, 'mls_searches' => [ [maximum depth reached] ], 'featured' => object(App\Model\Entity\MlsSearch) {}, 'communities' => [ [maximum depth reached] ], '[new]' => false, '[accessible]' => [ [maximum depth reached] ], '[dirty]' => [[maximum depth reached]], '[original]' => [[maximum depth reached]], '[virtual]' => [[maximum depth reached]], '[hasErrors]' => false, '[errors]' => [[maximum depth reached]], '[invalid]' => [[maximum depth reached]], '[repository]' => 'Domains' } ] $target = 'commercial' $strat = null $calculation = [ 'meta' => [ 'model' => 'commercial', 'title' => 'Comercial Building', 'description' => 'Commercial buildings other than Apartments', 'image' => '5c30c4fae16b4-commercial.jpg' ], 'strategies' => [ 'traditional' => [ 'meta' => [ [maximum depth reached] ], 'calculation' => [ [maximum depth reached] ] ], 'BRRR' => [ 'meta' => [ [maximum depth reached] ], 'calculation' => [ [maximum depth reached] ] ] ] ] $domain = object(App\Model\Entity\Domain) { 'id' => (int) 1, 'mls_search_id' => (int) 11, 'name' => 'agnieszka.realtor', 'description' => '', 'maintenance' => false, 'title' => 'Agnieszka Realtor', 'intro' => '', 'layout' => 'default', 'theme' => 'Themes/Agency', 'container' => 'GTM-PXXMN48', 'created' => object(Cake\I18n\FrozenTime) {}, 'modified' => object(Cake\I18n\FrozenTime) {}, 'mls_searches' => [ (int) 0 => object(App\Model\Entity\MlsSearch) {}, (int) 1 => object(App\Model\Entity\MlsSearch) {}, (int) 2 => object(App\Model\Entity\MlsSearch) {}, (int) 3 => object(App\Model\Entity\MlsSearch) {}, (int) 4 => object(App\Model\Entity\MlsSearch) {}, (int) 5 => object(App\Model\Entity\MlsSearch) {}, (int) 6 => object(App\Model\Entity\MlsSearch) {}, (int) 7 => object(App\Model\Entity\MlsSearch) {}, (int) 8 => object(App\Model\Entity\MlsSearch) {}, (int) 9 => object(App\Model\Entity\MlsSearch) {}, (int) 10 => object(App\Model\Entity\MlsSearch) {}, (int) 11 => object(App\Model\Entity\MlsSearch) {}, (int) 12 => object(App\Model\Entity\MlsSearch) {}, (int) 13 => object(App\Model\Entity\MlsSearch) {}, (int) 14 => object(App\Model\Entity\MlsSearch) {}, (int) 15 => object(App\Model\Entity\MlsSearch) {}, (int) 16 => object(App\Model\Entity\MlsSearch) {}, (int) 17 => object(App\Model\Entity\MlsSearch) {}, (int) 18 => object(App\Model\Entity\MlsSearch) {}, (int) 19 => object(App\Model\Entity\MlsSearch) {} ], 'featured' => object(App\Model\Entity\MlsSearch) {}, 'communities' => [ (int) 0 => object(App\Model\Entity\Community) {}, (int) 1 => object(App\Model\Entity\Community) {}, (int) 2 => object(App\Model\Entity\Community) {}, (int) 3 => object(App\Model\Entity\Community) {}, (int) 4 => object(App\Model\Entity\Community) {} ], '[new]' => false, '[accessible]' => [ '*' => true ], '[dirty]' => [], '[original]' => [], '[virtual]' => [], '[hasErrors]' => false, '[errors]' => [], '[invalid]' => [], '[repository]' => 'Domains' } $title = 'Comercial Building' $formTemplates = [ 'formGroup' => '{{label}}<div class="col-sm-8">{{input}}</div>', 'inputContainer' => '<div class="form-group row input {{type}}{{required}}">{{content}}</div>', 'inputContainerError' => '<div class="form-group row input {{type}}{{required}} error">{{content}}{{error}}</div>', 'label' => '<label class="col-sm-4" {{attrs}}>{{text}}</label>', 'input' => '<input class="form-control" type="{{type}}" name="{{name}}"{{attrs}}>' ] $strategy = [ 'meta' => [ 'model' => 'traditional', 'target' => 'investors', 'title' => 'traditional', 'description' => 'Buy using financing, keep as investment.' ], 'calculation' => [ 'inputs' => [ (int) 0 => [ [maximum depth reached] ], (int) 1 => [ [maximum depth reached] ], (int) 2 => [ [maximum depth reached] ] ], 'results' => [ (int) 0 => [ [maximum depth reached] ], (int) 1 => [ [maximum depth reached] ] ] ] ] $class = 'tab-pane fade' $aria = 'false' $fieldset = [ 'name' => 'price', 'type' => 'number', 'label' => 'Acquisition price', 'value' => (int) 0, 'help' => 'Amount of money needed to acquire the property.' ]include - APP/Template/Calculations/calculate.ctp, line 82 Cake\View\View::_evaluate() - CORE/src/View/View.php, line 1420 Cake\View\View::_render() - CORE/src/View/View.php, line 1381 Cake\View\View::render() - CORE/src/View/View.php, line 879 Cake\Controller\Controller::render() - CORE/src/Controller/Controller.php, line 795 Cake\Http\ActionDispatcher::_invoke() - CORE/src/Http/ActionDispatcher.php, line 126 Cake\Http\ActionDispatcher::dispatch() - CORE/src/Http/ActionDispatcher.php, line 94 Cake\Http\BaseApplication::__invoke() - CORE/src/Http/BaseApplication.php, line 234 Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65 Cake\Routing\Middleware\RoutingMiddleware::__invoke() - CORE/src/Routing/Middleware/RoutingMiddleware.php, line 164 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 96 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 97
<legend><?= $fieldset['name']; ?></legend> <?php foreach($fieldset['fields'] as $field) { ?> <?php $value = (null != ($this->request->getData($field['name']))) ? $this->request->getData($field['name']) : $field['value']; ?>
<legend><?= $fieldset['name']; ?></legend>
<?php foreach($fieldset['fields'] as $field) { ?>
<?php $value = (null != ($this->request->getData($field['name']))) ? $this->request->getData($field['name']) : $field['value']; ?>
$viewFile = '/var/www/live/agnieszka.realtor/src/Template/Calculations/calculate.ctp' $dataForView = [ 'target' => 'commercial', 'strat' => null, 'calculation' => [ 'meta' => [ 'model' => 'commercial', 'title' => 'Comercial Building', 'description' => 'Commercial buildings other than Apartments', 'image' => '5c30c4fae16b4-commercial.jpg' ], 'strategies' => [ 'traditional' => [ [maximum depth reached] ], 'BRRR' => [ [maximum depth reached] ] ] ], 'domain' => object(App\Model\Entity\Domain) { 'id' => (int) 1, 'mls_search_id' => (int) 11, 'name' => 'agnieszka.realtor', 'description' => '', 'maintenance' => false, 'title' => 'Agnieszka Realtor', 'intro' => '', 'layout' => 'default', 'theme' => 'Themes/Agency', 'container' => 'GTM-PXXMN48', 'created' => object(Cake\I18n\FrozenTime) {}, 'modified' => object(Cake\I18n\FrozenTime) {}, 'mls_searches' => [ [maximum depth reached] ], 'featured' => object(App\Model\Entity\MlsSearch) {}, 'communities' => [ [maximum depth reached] ], '[new]' => false, '[accessible]' => [ [maximum depth reached] ], '[dirty]' => [[maximum depth reached]], '[original]' => [[maximum depth reached]], '[virtual]' => [[maximum depth reached]], '[hasErrors]' => false, '[errors]' => [[maximum depth reached]], '[invalid]' => [[maximum depth reached]], '[repository]' => 'Domains' } ] $target = 'commercial' $strat = null $calculation = [ 'meta' => [ 'model' => 'commercial', 'title' => 'Comercial Building', 'description' => 'Commercial buildings other than Apartments', 'image' => '5c30c4fae16b4-commercial.jpg' ], 'strategies' => [ 'traditional' => [ 'meta' => [ [maximum depth reached] ], 'calculation' => [ [maximum depth reached] ] ], 'BRRR' => [ 'meta' => [ [maximum depth reached] ], 'calculation' => [ [maximum depth reached] ] ] ] ] $domain = object(App\Model\Entity\Domain) { 'id' => (int) 1, 'mls_search_id' => (int) 11, 'name' => 'agnieszka.realtor', 'description' => '', 'maintenance' => false, 'title' => 'Agnieszka Realtor', 'intro' => '', 'layout' => 'default', 'theme' => 'Themes/Agency', 'container' => 'GTM-PXXMN48', 'created' => object(Cake\I18n\FrozenTime) {}, 'modified' => object(Cake\I18n\FrozenTime) {}, 'mls_searches' => [ (int) 0 => object(App\Model\Entity\MlsSearch) {}, (int) 1 => object(App\Model\Entity\MlsSearch) {}, (int) 2 => object(App\Model\Entity\MlsSearch) {}, (int) 3 => object(App\Model\Entity\MlsSearch) {}, (int) 4 => object(App\Model\Entity\MlsSearch) {}, (int) 5 => object(App\Model\Entity\MlsSearch) {}, (int) 6 => object(App\Model\Entity\MlsSearch) {}, (int) 7 => object(App\Model\Entity\MlsSearch) {}, (int) 8 => object(App\Model\Entity\MlsSearch) {}, (int) 9 => object(App\Model\Entity\MlsSearch) {}, (int) 10 => object(App\Model\Entity\MlsSearch) {}, (int) 11 => object(App\Model\Entity\MlsSearch) {}, (int) 12 => object(App\Model\Entity\MlsSearch) {}, (int) 13 => object(App\Model\Entity\MlsSearch) {}, (int) 14 => object(App\Model\Entity\MlsSearch) {}, (int) 15 => object(App\Model\Entity\MlsSearch) {}, (int) 16 => object(App\Model\Entity\MlsSearch) {}, (int) 17 => object(App\Model\Entity\MlsSearch) {}, (int) 18 => object(App\Model\Entity\MlsSearch) {}, (int) 19 => object(App\Model\Entity\MlsSearch) {} ], 'featured' => object(App\Model\Entity\MlsSearch) {}, 'communities' => [ (int) 0 => object(App\Model\Entity\Community) {}, (int) 1 => object(App\Model\Entity\Community) {}, (int) 2 => object(App\Model\Entity\Community) {}, (int) 3 => object(App\Model\Entity\Community) {}, (int) 4 => object(App\Model\Entity\Community) {} ], '[new]' => false, '[accessible]' => [ '*' => true ], '[dirty]' => [], '[original]' => [], '[virtual]' => [], '[hasErrors]' => false, '[errors]' => [], '[invalid]' => [], '[repository]' => 'Domains' } $title = 'Comercial Building' $formTemplates = [ 'formGroup' => '{{label}}<div class="col-sm-8">{{input}}</div>', 'inputContainer' => '<div class="form-group row input {{type}}{{required}}">{{content}}</div>', 'inputContainerError' => '<div class="form-group row input {{type}}{{required}} error">{{content}}{{error}}</div>', 'label' => '<label class="col-sm-4" {{attrs}}>{{text}}</label>', 'input' => '<input class="form-control" type="{{type}}" name="{{name}}"{{attrs}}>' ] $strategy = [ 'meta' => [ 'model' => 'traditional', 'target' => 'investors', 'title' => 'traditional', 'description' => 'Buy using financing, keep as investment.' ], 'calculation' => [ 'inputs' => [ (int) 0 => [ [maximum depth reached] ], (int) 1 => [ [maximum depth reached] ], (int) 2 => [ [maximum depth reached] ] ], 'results' => [ (int) 0 => [ [maximum depth reached] ], (int) 1 => [ [maximum depth reached] ] ] ] ] $class = 'tab-pane fade' $aria = 'false' $fieldset = [ 'name' => 'price', 'type' => 'number', 'label' => 'Acquisition price', 'value' => (int) 0, 'help' => 'Amount of money needed to acquire the property.' ]
include - APP/Template/Calculations/calculate.ctp, line 82 Cake\View\View::_evaluate() - CORE/src/View/View.php, line 1420 Cake\View\View::_render() - CORE/src/View/View.php, line 1381 Cake\View\View::render() - CORE/src/View/View.php, line 879 Cake\Controller\Controller::render() - CORE/src/Controller/Controller.php, line 795 Cake\Http\ActionDispatcher::_invoke() - CORE/src/Http/ActionDispatcher.php, line 126 Cake\Http\ActionDispatcher::dispatch() - CORE/src/Http/ActionDispatcher.php, line 94 Cake\Http\BaseApplication::__invoke() - CORE/src/Http/BaseApplication.php, line 234 Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65 Cake\Routing\Middleware\RoutingMiddleware::__invoke() - CORE/src/Routing/Middleware/RoutingMiddleware.php, line 164 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 96 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 97
Warning (2): Invalid argument supplied for foreach() [APP/Template/Calculations/calculate.ctp, line 82]Code Context <legend><?= $fieldset['name']; ?></legend> <?php foreach($fieldset['fields'] as $field) { ?> <?php $value = (null != ($this->request->getData($field['name']))) ? $this->request->getData($field['name']) : $field['value']; ?> $viewFile = '/var/www/live/agnieszka.realtor/src/Template/Calculations/calculate.ctp' $dataForView = [ 'target' => 'commercial', 'strat' => null, 'calculation' => [ 'meta' => [ 'model' => 'commercial', 'title' => 'Comercial Building', 'description' => 'Commercial buildings other than Apartments', 'image' => '5c30c4fae16b4-commercial.jpg' ], 'strategies' => [ 'traditional' => [ [maximum depth reached] ], 'BRRR' => [ [maximum depth reached] ] ] ], 'domain' => object(App\Model\Entity\Domain) { 'id' => (int) 1, 'mls_search_id' => (int) 11, 'name' => 'agnieszka.realtor', 'description' => '', 'maintenance' => false, 'title' => 'Agnieszka Realtor', 'intro' => '', 'layout' => 'default', 'theme' => 'Themes/Agency', 'container' => 'GTM-PXXMN48', 'created' => object(Cake\I18n\FrozenTime) {}, 'modified' => object(Cake\I18n\FrozenTime) {}, 'mls_searches' => [ [maximum depth reached] ], 'featured' => object(App\Model\Entity\MlsSearch) {}, 'communities' => [ [maximum depth reached] ], '[new]' => false, '[accessible]' => [ [maximum depth reached] ], '[dirty]' => [[maximum depth reached]], '[original]' => [[maximum depth reached]], '[virtual]' => [[maximum depth reached]], '[hasErrors]' => false, '[errors]' => [[maximum depth reached]], '[invalid]' => [[maximum depth reached]], '[repository]' => 'Domains' } ] $target = 'commercial' $strat = null $calculation = [ 'meta' => [ 'model' => 'commercial', 'title' => 'Comercial Building', 'description' => 'Commercial buildings other than Apartments', 'image' => '5c30c4fae16b4-commercial.jpg' ], 'strategies' => [ 'traditional' => [ 'meta' => [ [maximum depth reached] ], 'calculation' => [ [maximum depth reached] ] ], 'BRRR' => [ 'meta' => [ [maximum depth reached] ], 'calculation' => [ [maximum depth reached] ] ] ] ] $domain = object(App\Model\Entity\Domain) { 'id' => (int) 1, 'mls_search_id' => (int) 11, 'name' => 'agnieszka.realtor', 'description' => '', 'maintenance' => false, 'title' => 'Agnieszka Realtor', 'intro' => '', 'layout' => 'default', 'theme' => 'Themes/Agency', 'container' => 'GTM-PXXMN48', 'created' => object(Cake\I18n\FrozenTime) {}, 'modified' => object(Cake\I18n\FrozenTime) {}, 'mls_searches' => [ (int) 0 => object(App\Model\Entity\MlsSearch) {}, (int) 1 => object(App\Model\Entity\MlsSearch) {}, (int) 2 => object(App\Model\Entity\MlsSearch) {}, (int) 3 => object(App\Model\Entity\MlsSearch) {}, (int) 4 => object(App\Model\Entity\MlsSearch) {}, (int) 5 => object(App\Model\Entity\MlsSearch) {}, (int) 6 => object(App\Model\Entity\MlsSearch) {}, (int) 7 => object(App\Model\Entity\MlsSearch) {}, (int) 8 => object(App\Model\Entity\MlsSearch) {}, (int) 9 => object(App\Model\Entity\MlsSearch) {}, (int) 10 => object(App\Model\Entity\MlsSearch) {}, (int) 11 => object(App\Model\Entity\MlsSearch) {}, (int) 12 => object(App\Model\Entity\MlsSearch) {}, (int) 13 => object(App\Model\Entity\MlsSearch) {}, (int) 14 => object(App\Model\Entity\MlsSearch) {}, (int) 15 => object(App\Model\Entity\MlsSearch) {}, (int) 16 => object(App\Model\Entity\MlsSearch) {}, (int) 17 => object(App\Model\Entity\MlsSearch) {}, (int) 18 => object(App\Model\Entity\MlsSearch) {}, (int) 19 => object(App\Model\Entity\MlsSearch) {} ], 'featured' => object(App\Model\Entity\MlsSearch) {}, 'communities' => [ (int) 0 => object(App\Model\Entity\Community) {}, (int) 1 => object(App\Model\Entity\Community) {}, (int) 2 => object(App\Model\Entity\Community) {}, (int) 3 => object(App\Model\Entity\Community) {}, (int) 4 => object(App\Model\Entity\Community) {} ], '[new]' => false, '[accessible]' => [ '*' => true ], '[dirty]' => [], '[original]' => [], '[virtual]' => [], '[hasErrors]' => false, '[errors]' => [], '[invalid]' => [], '[repository]' => 'Domains' } $title = 'Comercial Building' $formTemplates = [ 'formGroup' => '{{label}}<div class="col-sm-8">{{input}}</div>', 'inputContainer' => '<div class="form-group row input {{type}}{{required}}">{{content}}</div>', 'inputContainerError' => '<div class="form-group row input {{type}}{{required}} error">{{content}}{{error}}</div>', 'label' => '<label class="col-sm-4" {{attrs}}>{{text}}</label>', 'input' => '<input class="form-control" type="{{type}}" name="{{name}}"{{attrs}}>' ] $strategy = [ 'meta' => [ 'model' => 'traditional', 'target' => 'investors', 'title' => 'traditional', 'description' => 'Buy using financing, keep as investment.' ], 'calculation' => [ 'inputs' => [ (int) 0 => [ [maximum depth reached] ], (int) 1 => [ [maximum depth reached] ], (int) 2 => [ [maximum depth reached] ] ], 'results' => [ (int) 0 => [ [maximum depth reached] ], (int) 1 => [ [maximum depth reached] ] ] ] ] $class = 'tab-pane fade' $aria = 'false' $fieldset = [ 'name' => 'price', 'type' => 'number', 'label' => 'Acquisition price', 'value' => (int) 0, 'help' => 'Amount of money needed to acquire the property.' ]include - APP/Template/Calculations/calculate.ctp, line 82 Cake\View\View::_evaluate() - CORE/src/View/View.php, line 1420 Cake\View\View::_render() - CORE/src/View/View.php, line 1381 Cake\View\View::render() - CORE/src/View/View.php, line 879 Cake\Controller\Controller::render() - CORE/src/Controller/Controller.php, line 795 Cake\Http\ActionDispatcher::_invoke() - CORE/src/Http/ActionDispatcher.php, line 126 Cake\Http\ActionDispatcher::dispatch() - CORE/src/Http/ActionDispatcher.php, line 94 Cake\Http\BaseApplication::__invoke() - CORE/src/Http/BaseApplication.php, line 234 Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65 Cake\Routing\Middleware\RoutingMiddleware::__invoke() - CORE/src/Routing/Middleware/RoutingMiddleware.php, line 164 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 96 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 97
Notice (8): Undefined index: fields [APP/Template/Calculations/calculate.ctp, line 82]Code Context <legend><?= $fieldset['name']; ?></legend> <?php foreach($fieldset['fields'] as $field) { ?> <?php $value = (null != ($this->request->getData($field['name']))) ? $this->request->getData($field['name']) : $field['value']; ?> $viewFile = '/var/www/live/agnieszka.realtor/src/Template/Calculations/calculate.ctp' $dataForView = [ 'target' => 'commercial', 'strat' => null, 'calculation' => [ 'meta' => [ 'model' => 'commercial', 'title' => 'Comercial Building', 'description' => 'Commercial buildings other than Apartments', 'image' => '5c30c4fae16b4-commercial.jpg' ], 'strategies' => [ 'traditional' => [ [maximum depth reached] ], 'BRRR' => [ [maximum depth reached] ] ] ], 'domain' => object(App\Model\Entity\Domain) { 'id' => (int) 1, 'mls_search_id' => (int) 11, 'name' => 'agnieszka.realtor', 'description' => '', 'maintenance' => false, 'title' => 'Agnieszka Realtor', 'intro' => '', 'layout' => 'default', 'theme' => 'Themes/Agency', 'container' => 'GTM-PXXMN48', 'created' => object(Cake\I18n\FrozenTime) {}, 'modified' => object(Cake\I18n\FrozenTime) {}, 'mls_searches' => [ [maximum depth reached] ], 'featured' => object(App\Model\Entity\MlsSearch) {}, 'communities' => [ [maximum depth reached] ], '[new]' => false, '[accessible]' => [ [maximum depth reached] ], '[dirty]' => [[maximum depth reached]], '[original]' => [[maximum depth reached]], '[virtual]' => [[maximum depth reached]], '[hasErrors]' => false, '[errors]' => [[maximum depth reached]], '[invalid]' => [[maximum depth reached]], '[repository]' => 'Domains' } ] $target = 'commercial' $strat = null $calculation = [ 'meta' => [ 'model' => 'commercial', 'title' => 'Comercial Building', 'description' => 'Commercial buildings other than Apartments', 'image' => '5c30c4fae16b4-commercial.jpg' ], 'strategies' => [ 'traditional' => [ 'meta' => [ [maximum depth reached] ], 'calculation' => [ [maximum depth reached] ] ], 'BRRR' => [ 'meta' => [ [maximum depth reached] ], 'calculation' => [ [maximum depth reached] ] ] ] ] $domain = object(App\Model\Entity\Domain) { 'id' => (int) 1, 'mls_search_id' => (int) 11, 'name' => 'agnieszka.realtor', 'description' => '', 'maintenance' => false, 'title' => 'Agnieszka Realtor', 'intro' => '', 'layout' => 'default', 'theme' => 'Themes/Agency', 'container' => 'GTM-PXXMN48', 'created' => object(Cake\I18n\FrozenTime) {}, 'modified' => object(Cake\I18n\FrozenTime) {}, 'mls_searches' => [ (int) 0 => object(App\Model\Entity\MlsSearch) {}, (int) 1 => object(App\Model\Entity\MlsSearch) {}, (int) 2 => object(App\Model\Entity\MlsSearch) {}, (int) 3 => object(App\Model\Entity\MlsSearch) {}, (int) 4 => object(App\Model\Entity\MlsSearch) {}, (int) 5 => object(App\Model\Entity\MlsSearch) {}, (int) 6 => object(App\Model\Entity\MlsSearch) {}, (int) 7 => object(App\Model\Entity\MlsSearch) {}, (int) 8 => object(App\Model\Entity\MlsSearch) {}, (int) 9 => object(App\Model\Entity\MlsSearch) {}, (int) 10 => object(App\Model\Entity\MlsSearch) {}, (int) 11 => object(App\Model\Entity\MlsSearch) {}, (int) 12 => object(App\Model\Entity\MlsSearch) {}, (int) 13 => object(App\Model\Entity\MlsSearch) {}, (int) 14 => object(App\Model\Entity\MlsSearch) {}, (int) 15 => object(App\Model\Entity\MlsSearch) {}, (int) 16 => object(App\Model\Entity\MlsSearch) {}, (int) 17 => object(App\Model\Entity\MlsSearch) {}, (int) 18 => object(App\Model\Entity\MlsSearch) {}, (int) 19 => object(App\Model\Entity\MlsSearch) {} ], 'featured' => object(App\Model\Entity\MlsSearch) {}, 'communities' => [ (int) 0 => object(App\Model\Entity\Community) {}, (int) 1 => object(App\Model\Entity\Community) {}, (int) 2 => object(App\Model\Entity\Community) {}, (int) 3 => object(App\Model\Entity\Community) {}, (int) 4 => object(App\Model\Entity\Community) {} ], '[new]' => false, '[accessible]' => [ '*' => true ], '[dirty]' => [], '[original]' => [], '[virtual]' => [], '[hasErrors]' => false, '[errors]' => [], '[invalid]' => [], '[repository]' => 'Domains' } $title = 'Comercial Building' $formTemplates = [ 'formGroup' => '{{label}}<div class="col-sm-8">{{input}}</div>', 'inputContainer' => '<div class="form-group row input {{type}}{{required}}">{{content}}</div>', 'inputContainerError' => '<div class="form-group row input {{type}}{{required}} error">{{content}}{{error}}</div>', 'label' => '<label class="col-sm-4" {{attrs}}>{{text}}</label>', 'input' => '<input class="form-control" type="{{type}}" name="{{name}}"{{attrs}}>' ] $strategy = [ 'meta' => [ 'model' => 'traditional', 'target' => 'investors', 'title' => 'traditional', 'description' => 'Buy using financing, keep as investment.' ], 'calculation' => [ 'inputs' => [ (int) 0 => [ [maximum depth reached] ], (int) 1 => [ [maximum depth reached] ], (int) 2 => [ [maximum depth reached] ] ], 'results' => [ (int) 0 => [ [maximum depth reached] ], (int) 1 => [ [maximum depth reached] ] ] ] ] $class = 'tab-pane fade' $aria = 'false' $fieldset = [ 'name' => 'income', 'type' => 'number', 'label' => 'Rent income', 'value' => (int) 0, 'help' => 'All income' ]include - APP/Template/Calculations/calculate.ctp, line 82 Cake\View\View::_evaluate() - CORE/src/View/View.php, line 1420 Cake\View\View::_render() - CORE/src/View/View.php, line 1381 Cake\View\View::render() - CORE/src/View/View.php, line 879 Cake\Controller\Controller::render() - CORE/src/Controller/Controller.php, line 795 Cake\Http\ActionDispatcher::_invoke() - CORE/src/Http/ActionDispatcher.php, line 126 Cake\Http\ActionDispatcher::dispatch() - CORE/src/Http/ActionDispatcher.php, line 94 Cake\Http\BaseApplication::__invoke() - CORE/src/Http/BaseApplication.php, line 234 Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65 Cake\Routing\Middleware\RoutingMiddleware::__invoke() - CORE/src/Routing/Middleware/RoutingMiddleware.php, line 164 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 96 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 97
$viewFile = '/var/www/live/agnieszka.realtor/src/Template/Calculations/calculate.ctp' $dataForView = [ 'target' => 'commercial', 'strat' => null, 'calculation' => [ 'meta' => [ 'model' => 'commercial', 'title' => 'Comercial Building', 'description' => 'Commercial buildings other than Apartments', 'image' => '5c30c4fae16b4-commercial.jpg' ], 'strategies' => [ 'traditional' => [ [maximum depth reached] ], 'BRRR' => [ [maximum depth reached] ] ] ], 'domain' => object(App\Model\Entity\Domain) { 'id' => (int) 1, 'mls_search_id' => (int) 11, 'name' => 'agnieszka.realtor', 'description' => '', 'maintenance' => false, 'title' => 'Agnieszka Realtor', 'intro' => '', 'layout' => 'default', 'theme' => 'Themes/Agency', 'container' => 'GTM-PXXMN48', 'created' => object(Cake\I18n\FrozenTime) {}, 'modified' => object(Cake\I18n\FrozenTime) {}, 'mls_searches' => [ [maximum depth reached] ], 'featured' => object(App\Model\Entity\MlsSearch) {}, 'communities' => [ [maximum depth reached] ], '[new]' => false, '[accessible]' => [ [maximum depth reached] ], '[dirty]' => [[maximum depth reached]], '[original]' => [[maximum depth reached]], '[virtual]' => [[maximum depth reached]], '[hasErrors]' => false, '[errors]' => [[maximum depth reached]], '[invalid]' => [[maximum depth reached]], '[repository]' => 'Domains' } ] $target = 'commercial' $strat = null $calculation = [ 'meta' => [ 'model' => 'commercial', 'title' => 'Comercial Building', 'description' => 'Commercial buildings other than Apartments', 'image' => '5c30c4fae16b4-commercial.jpg' ], 'strategies' => [ 'traditional' => [ 'meta' => [ [maximum depth reached] ], 'calculation' => [ [maximum depth reached] ] ], 'BRRR' => [ 'meta' => [ [maximum depth reached] ], 'calculation' => [ [maximum depth reached] ] ] ] ] $domain = object(App\Model\Entity\Domain) { 'id' => (int) 1, 'mls_search_id' => (int) 11, 'name' => 'agnieszka.realtor', 'description' => '', 'maintenance' => false, 'title' => 'Agnieszka Realtor', 'intro' => '', 'layout' => 'default', 'theme' => 'Themes/Agency', 'container' => 'GTM-PXXMN48', 'created' => object(Cake\I18n\FrozenTime) {}, 'modified' => object(Cake\I18n\FrozenTime) {}, 'mls_searches' => [ (int) 0 => object(App\Model\Entity\MlsSearch) {}, (int) 1 => object(App\Model\Entity\MlsSearch) {}, (int) 2 => object(App\Model\Entity\MlsSearch) {}, (int) 3 => object(App\Model\Entity\MlsSearch) {}, (int) 4 => object(App\Model\Entity\MlsSearch) {}, (int) 5 => object(App\Model\Entity\MlsSearch) {}, (int) 6 => object(App\Model\Entity\MlsSearch) {}, (int) 7 => object(App\Model\Entity\MlsSearch) {}, (int) 8 => object(App\Model\Entity\MlsSearch) {}, (int) 9 => object(App\Model\Entity\MlsSearch) {}, (int) 10 => object(App\Model\Entity\MlsSearch) {}, (int) 11 => object(App\Model\Entity\MlsSearch) {}, (int) 12 => object(App\Model\Entity\MlsSearch) {}, (int) 13 => object(App\Model\Entity\MlsSearch) {}, (int) 14 => object(App\Model\Entity\MlsSearch) {}, (int) 15 => object(App\Model\Entity\MlsSearch) {}, (int) 16 => object(App\Model\Entity\MlsSearch) {}, (int) 17 => object(App\Model\Entity\MlsSearch) {}, (int) 18 => object(App\Model\Entity\MlsSearch) {}, (int) 19 => object(App\Model\Entity\MlsSearch) {} ], 'featured' => object(App\Model\Entity\MlsSearch) {}, 'communities' => [ (int) 0 => object(App\Model\Entity\Community) {}, (int) 1 => object(App\Model\Entity\Community) {}, (int) 2 => object(App\Model\Entity\Community) {}, (int) 3 => object(App\Model\Entity\Community) {}, (int) 4 => object(App\Model\Entity\Community) {} ], '[new]' => false, '[accessible]' => [ '*' => true ], '[dirty]' => [], '[original]' => [], '[virtual]' => [], '[hasErrors]' => false, '[errors]' => [], '[invalid]' => [], '[repository]' => 'Domains' } $title = 'Comercial Building' $formTemplates = [ 'formGroup' => '{{label}}<div class="col-sm-8">{{input}}</div>', 'inputContainer' => '<div class="form-group row input {{type}}{{required}}">{{content}}</div>', 'inputContainerError' => '<div class="form-group row input {{type}}{{required}} error">{{content}}{{error}}</div>', 'label' => '<label class="col-sm-4" {{attrs}}>{{text}}</label>', 'input' => '<input class="form-control" type="{{type}}" name="{{name}}"{{attrs}}>' ] $strategy = [ 'meta' => [ 'model' => 'traditional', 'target' => 'investors', 'title' => 'traditional', 'description' => 'Buy using financing, keep as investment.' ], 'calculation' => [ 'inputs' => [ (int) 0 => [ [maximum depth reached] ], (int) 1 => [ [maximum depth reached] ], (int) 2 => [ [maximum depth reached] ] ], 'results' => [ (int) 0 => [ [maximum depth reached] ], (int) 1 => [ [maximum depth reached] ] ] ] ] $class = 'tab-pane fade' $aria = 'false' $fieldset = [ 'name' => 'income', 'type' => 'number', 'label' => 'Rent income', 'value' => (int) 0, 'help' => 'All income' ]
Warning (2): Invalid argument supplied for foreach() [APP/Template/Calculations/calculate.ctp, line 82]Code Context <legend><?= $fieldset['name']; ?></legend> <?php foreach($fieldset['fields'] as $field) { ?> <?php $value = (null != ($this->request->getData($field['name']))) ? $this->request->getData($field['name']) : $field['value']; ?> $viewFile = '/var/www/live/agnieszka.realtor/src/Template/Calculations/calculate.ctp' $dataForView = [ 'target' => 'commercial', 'strat' => null, 'calculation' => [ 'meta' => [ 'model' => 'commercial', 'title' => 'Comercial Building', 'description' => 'Commercial buildings other than Apartments', 'image' => '5c30c4fae16b4-commercial.jpg' ], 'strategies' => [ 'traditional' => [ [maximum depth reached] ], 'BRRR' => [ [maximum depth reached] ] ] ], 'domain' => object(App\Model\Entity\Domain) { 'id' => (int) 1, 'mls_search_id' => (int) 11, 'name' => 'agnieszka.realtor', 'description' => '', 'maintenance' => false, 'title' => 'Agnieszka Realtor', 'intro' => '', 'layout' => 'default', 'theme' => 'Themes/Agency', 'container' => 'GTM-PXXMN48', 'created' => object(Cake\I18n\FrozenTime) {}, 'modified' => object(Cake\I18n\FrozenTime) {}, 'mls_searches' => [ [maximum depth reached] ], 'featured' => object(App\Model\Entity\MlsSearch) {}, 'communities' => [ [maximum depth reached] ], '[new]' => false, '[accessible]' => [ [maximum depth reached] ], '[dirty]' => [[maximum depth reached]], '[original]' => [[maximum depth reached]], '[virtual]' => [[maximum depth reached]], '[hasErrors]' => false, '[errors]' => [[maximum depth reached]], '[invalid]' => [[maximum depth reached]], '[repository]' => 'Domains' } ] $target = 'commercial' $strat = null $calculation = [ 'meta' => [ 'model' => 'commercial', 'title' => 'Comercial Building', 'description' => 'Commercial buildings other than Apartments', 'image' => '5c30c4fae16b4-commercial.jpg' ], 'strategies' => [ 'traditional' => [ 'meta' => [ [maximum depth reached] ], 'calculation' => [ [maximum depth reached] ] ], 'BRRR' => [ 'meta' => [ [maximum depth reached] ], 'calculation' => [ [maximum depth reached] ] ] ] ] $domain = object(App\Model\Entity\Domain) { 'id' => (int) 1, 'mls_search_id' => (int) 11, 'name' => 'agnieszka.realtor', 'description' => '', 'maintenance' => false, 'title' => 'Agnieszka Realtor', 'intro' => '', 'layout' => 'default', 'theme' => 'Themes/Agency', 'container' => 'GTM-PXXMN48', 'created' => object(Cake\I18n\FrozenTime) {}, 'modified' => object(Cake\I18n\FrozenTime) {}, 'mls_searches' => [ (int) 0 => object(App\Model\Entity\MlsSearch) {}, (int) 1 => object(App\Model\Entity\MlsSearch) {}, (int) 2 => object(App\Model\Entity\MlsSearch) {}, (int) 3 => object(App\Model\Entity\MlsSearch) {}, (int) 4 => object(App\Model\Entity\MlsSearch) {}, (int) 5 => object(App\Model\Entity\MlsSearch) {}, (int) 6 => object(App\Model\Entity\MlsSearch) {}, (int) 7 => object(App\Model\Entity\MlsSearch) {}, (int) 8 => object(App\Model\Entity\MlsSearch) {}, (int) 9 => object(App\Model\Entity\MlsSearch) {}, (int) 10 => object(App\Model\Entity\MlsSearch) {}, (int) 11 => object(App\Model\Entity\MlsSearch) {}, (int) 12 => object(App\Model\Entity\MlsSearch) {}, (int) 13 => object(App\Model\Entity\MlsSearch) {}, (int) 14 => object(App\Model\Entity\MlsSearch) {}, (int) 15 => object(App\Model\Entity\MlsSearch) {}, (int) 16 => object(App\Model\Entity\MlsSearch) {}, (int) 17 => object(App\Model\Entity\MlsSearch) {}, (int) 18 => object(App\Model\Entity\MlsSearch) {}, (int) 19 => object(App\Model\Entity\MlsSearch) {} ], 'featured' => object(App\Model\Entity\MlsSearch) {}, 'communities' => [ (int) 0 => object(App\Model\Entity\Community) {}, (int) 1 => object(App\Model\Entity\Community) {}, (int) 2 => object(App\Model\Entity\Community) {}, (int) 3 => object(App\Model\Entity\Community) {}, (int) 4 => object(App\Model\Entity\Community) {} ], '[new]' => false, '[accessible]' => [ '*' => true ], '[dirty]' => [], '[original]' => [], '[virtual]' => [], '[hasErrors]' => false, '[errors]' => [], '[invalid]' => [], '[repository]' => 'Domains' } $title = 'Comercial Building' $formTemplates = [ 'formGroup' => '{{label}}<div class="col-sm-8">{{input}}</div>', 'inputContainer' => '<div class="form-group row input {{type}}{{required}}">{{content}}</div>', 'inputContainerError' => '<div class="form-group row input {{type}}{{required}} error">{{content}}{{error}}</div>', 'label' => '<label class="col-sm-4" {{attrs}}>{{text}}</label>', 'input' => '<input class="form-control" type="{{type}}" name="{{name}}"{{attrs}}>' ] $strategy = [ 'meta' => [ 'model' => 'traditional', 'target' => 'investors', 'title' => 'traditional', 'description' => 'Buy using financing, keep as investment.' ], 'calculation' => [ 'inputs' => [ (int) 0 => [ [maximum depth reached] ], (int) 1 => [ [maximum depth reached] ], (int) 2 => [ [maximum depth reached] ] ], 'results' => [ (int) 0 => [ [maximum depth reached] ], (int) 1 => [ [maximum depth reached] ] ] ] ] $class = 'tab-pane fade' $aria = 'false' $fieldset = [ 'name' => 'income', 'type' => 'number', 'label' => 'Rent income', 'value' => (int) 0, 'help' => 'All income' ]include - APP/Template/Calculations/calculate.ctp, line 82 Cake\View\View::_evaluate() - CORE/src/View/View.php, line 1420 Cake\View\View::_render() - CORE/src/View/View.php, line 1381 Cake\View\View::render() - CORE/src/View/View.php, line 879 Cake\Controller\Controller::render() - CORE/src/Controller/Controller.php, line 795 Cake\Http\ActionDispatcher::_invoke() - CORE/src/Http/ActionDispatcher.php, line 126 Cake\Http\ActionDispatcher::dispatch() - CORE/src/Http/ActionDispatcher.php, line 94 Cake\Http\BaseApplication::__invoke() - CORE/src/Http/BaseApplication.php, line 234 Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65 Cake\Routing\Middleware\RoutingMiddleware::__invoke() - CORE/src/Routing/Middleware/RoutingMiddleware.php, line 164 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 96 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 97
Notice (8): Undefined index: fields [APP/Template/Calculations/calculate.ctp, line 82]Code Context <legend><?= $fieldset['name']; ?></legend> <?php foreach($fieldset['fields'] as $field) { ?> <?php $value = (null != ($this->request->getData($field['name']))) ? $this->request->getData($field['name']) : $field['value']; ?> $viewFile = '/var/www/live/agnieszka.realtor/src/Template/Calculations/calculate.ctp' $dataForView = [ 'target' => 'commercial', 'strat' => null, 'calculation' => [ 'meta' => [ 'model' => 'commercial', 'title' => 'Comercial Building', 'description' => 'Commercial buildings other than Apartments', 'image' => '5c30c4fae16b4-commercial.jpg' ], 'strategies' => [ 'traditional' => [ [maximum depth reached] ], 'BRRR' => [ [maximum depth reached] ] ] ], 'domain' => object(App\Model\Entity\Domain) { 'id' => (int) 1, 'mls_search_id' => (int) 11, 'name' => 'agnieszka.realtor', 'description' => '', 'maintenance' => false, 'title' => 'Agnieszka Realtor', 'intro' => '', 'layout' => 'default', 'theme' => 'Themes/Agency', 'container' => 'GTM-PXXMN48', 'created' => object(Cake\I18n\FrozenTime) {}, 'modified' => object(Cake\I18n\FrozenTime) {}, 'mls_searches' => [ [maximum depth reached] ], 'featured' => object(App\Model\Entity\MlsSearch) {}, 'communities' => [ [maximum depth reached] ], '[new]' => false, '[accessible]' => [ [maximum depth reached] ], '[dirty]' => [[maximum depth reached]], '[original]' => [[maximum depth reached]], '[virtual]' => [[maximum depth reached]], '[hasErrors]' => false, '[errors]' => [[maximum depth reached]], '[invalid]' => [[maximum depth reached]], '[repository]' => 'Domains' } ] $target = 'commercial' $strat = null $calculation = [ 'meta' => [ 'model' => 'commercial', 'title' => 'Comercial Building', 'description' => 'Commercial buildings other than Apartments', 'image' => '5c30c4fae16b4-commercial.jpg' ], 'strategies' => [ 'traditional' => [ 'meta' => [ [maximum depth reached] ], 'calculation' => [ [maximum depth reached] ] ], 'BRRR' => [ 'meta' => [ [maximum depth reached] ], 'calculation' => [ [maximum depth reached] ] ] ] ] $domain = object(App\Model\Entity\Domain) { 'id' => (int) 1, 'mls_search_id' => (int) 11, 'name' => 'agnieszka.realtor', 'description' => '', 'maintenance' => false, 'title' => 'Agnieszka Realtor', 'intro' => '', 'layout' => 'default', 'theme' => 'Themes/Agency', 'container' => 'GTM-PXXMN48', 'created' => object(Cake\I18n\FrozenTime) {}, 'modified' => object(Cake\I18n\FrozenTime) {}, 'mls_searches' => [ (int) 0 => object(App\Model\Entity\MlsSearch) {}, (int) 1 => object(App\Model\Entity\MlsSearch) {}, (int) 2 => object(App\Model\Entity\MlsSearch) {}, (int) 3 => object(App\Model\Entity\MlsSearch) {}, (int) 4 => object(App\Model\Entity\MlsSearch) {}, (int) 5 => object(App\Model\Entity\MlsSearch) {}, (int) 6 => object(App\Model\Entity\MlsSearch) {}, (int) 7 => object(App\Model\Entity\MlsSearch) {}, (int) 8 => object(App\Model\Entity\MlsSearch) {}, (int) 9 => object(App\Model\Entity\MlsSearch) {}, (int) 10 => object(App\Model\Entity\MlsSearch) {}, (int) 11 => object(App\Model\Entity\MlsSearch) {}, (int) 12 => object(App\Model\Entity\MlsSearch) {}, (int) 13 => object(App\Model\Entity\MlsSearch) {}, (int) 14 => object(App\Model\Entity\MlsSearch) {}, (int) 15 => object(App\Model\Entity\MlsSearch) {}, (int) 16 => object(App\Model\Entity\MlsSearch) {}, (int) 17 => object(App\Model\Entity\MlsSearch) {}, (int) 18 => object(App\Model\Entity\MlsSearch) {}, (int) 19 => object(App\Model\Entity\MlsSearch) {} ], 'featured' => object(App\Model\Entity\MlsSearch) {}, 'communities' => [ (int) 0 => object(App\Model\Entity\Community) {}, (int) 1 => object(App\Model\Entity\Community) {}, (int) 2 => object(App\Model\Entity\Community) {}, (int) 3 => object(App\Model\Entity\Community) {}, (int) 4 => object(App\Model\Entity\Community) {} ], '[new]' => false, '[accessible]' => [ '*' => true ], '[dirty]' => [], '[original]' => [], '[virtual]' => [], '[hasErrors]' => false, '[errors]' => [], '[invalid]' => [], '[repository]' => 'Domains' } $title = 'Comercial Building' $formTemplates = [ 'formGroup' => '{{label}}<div class="col-sm-8">{{input}}</div>', 'inputContainer' => '<div class="form-group row input {{type}}{{required}}">{{content}}</div>', 'inputContainerError' => '<div class="form-group row input {{type}}{{required}} error">{{content}}{{error}}</div>', 'label' => '<label class="col-sm-4" {{attrs}}>{{text}}</label>', 'input' => '<input class="form-control" type="{{type}}" name="{{name}}"{{attrs}}>' ] $strategy = [ 'meta' => [ 'model' => 'traditional', 'target' => 'investors', 'title' => 'traditional', 'description' => 'Buy using financing, keep as investment.' ], 'calculation' => [ 'inputs' => [ (int) 0 => [ [maximum depth reached] ], (int) 1 => [ [maximum depth reached] ], (int) 2 => [ [maximum depth reached] ] ], 'results' => [ (int) 0 => [ [maximum depth reached] ], (int) 1 => [ [maximum depth reached] ] ] ] ] $class = 'tab-pane fade' $aria = 'false' $fieldset = [ 'name' => 'expenses', 'type' => 'number', 'label' => 'Total of expenses', 'value' => (int) 0, 'help' => 'All expenses' ]include - APP/Template/Calculations/calculate.ctp, line 82 Cake\View\View::_evaluate() - CORE/src/View/View.php, line 1420 Cake\View\View::_render() - CORE/src/View/View.php, line 1381 Cake\View\View::render() - CORE/src/View/View.php, line 879 Cake\Controller\Controller::render() - CORE/src/Controller/Controller.php, line 795 Cake\Http\ActionDispatcher::_invoke() - CORE/src/Http/ActionDispatcher.php, line 126 Cake\Http\ActionDispatcher::dispatch() - CORE/src/Http/ActionDispatcher.php, line 94 Cake\Http\BaseApplication::__invoke() - CORE/src/Http/BaseApplication.php, line 234 Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65 Cake\Routing\Middleware\RoutingMiddleware::__invoke() - CORE/src/Routing/Middleware/RoutingMiddleware.php, line 164 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 96 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 97
$viewFile = '/var/www/live/agnieszka.realtor/src/Template/Calculations/calculate.ctp' $dataForView = [ 'target' => 'commercial', 'strat' => null, 'calculation' => [ 'meta' => [ 'model' => 'commercial', 'title' => 'Comercial Building', 'description' => 'Commercial buildings other than Apartments', 'image' => '5c30c4fae16b4-commercial.jpg' ], 'strategies' => [ 'traditional' => [ [maximum depth reached] ], 'BRRR' => [ [maximum depth reached] ] ] ], 'domain' => object(App\Model\Entity\Domain) { 'id' => (int) 1, 'mls_search_id' => (int) 11, 'name' => 'agnieszka.realtor', 'description' => '', 'maintenance' => false, 'title' => 'Agnieszka Realtor', 'intro' => '', 'layout' => 'default', 'theme' => 'Themes/Agency', 'container' => 'GTM-PXXMN48', 'created' => object(Cake\I18n\FrozenTime) {}, 'modified' => object(Cake\I18n\FrozenTime) {}, 'mls_searches' => [ [maximum depth reached] ], 'featured' => object(App\Model\Entity\MlsSearch) {}, 'communities' => [ [maximum depth reached] ], '[new]' => false, '[accessible]' => [ [maximum depth reached] ], '[dirty]' => [[maximum depth reached]], '[original]' => [[maximum depth reached]], '[virtual]' => [[maximum depth reached]], '[hasErrors]' => false, '[errors]' => [[maximum depth reached]], '[invalid]' => [[maximum depth reached]], '[repository]' => 'Domains' } ] $target = 'commercial' $strat = null $calculation = [ 'meta' => [ 'model' => 'commercial', 'title' => 'Comercial Building', 'description' => 'Commercial buildings other than Apartments', 'image' => '5c30c4fae16b4-commercial.jpg' ], 'strategies' => [ 'traditional' => [ 'meta' => [ [maximum depth reached] ], 'calculation' => [ [maximum depth reached] ] ], 'BRRR' => [ 'meta' => [ [maximum depth reached] ], 'calculation' => [ [maximum depth reached] ] ] ] ] $domain = object(App\Model\Entity\Domain) { 'id' => (int) 1, 'mls_search_id' => (int) 11, 'name' => 'agnieszka.realtor', 'description' => '', 'maintenance' => false, 'title' => 'Agnieszka Realtor', 'intro' => '', 'layout' => 'default', 'theme' => 'Themes/Agency', 'container' => 'GTM-PXXMN48', 'created' => object(Cake\I18n\FrozenTime) {}, 'modified' => object(Cake\I18n\FrozenTime) {}, 'mls_searches' => [ (int) 0 => object(App\Model\Entity\MlsSearch) {}, (int) 1 => object(App\Model\Entity\MlsSearch) {}, (int) 2 => object(App\Model\Entity\MlsSearch) {}, (int) 3 => object(App\Model\Entity\MlsSearch) {}, (int) 4 => object(App\Model\Entity\MlsSearch) {}, (int) 5 => object(App\Model\Entity\MlsSearch) {}, (int) 6 => object(App\Model\Entity\MlsSearch) {}, (int) 7 => object(App\Model\Entity\MlsSearch) {}, (int) 8 => object(App\Model\Entity\MlsSearch) {}, (int) 9 => object(App\Model\Entity\MlsSearch) {}, (int) 10 => object(App\Model\Entity\MlsSearch) {}, (int) 11 => object(App\Model\Entity\MlsSearch) {}, (int) 12 => object(App\Model\Entity\MlsSearch) {}, (int) 13 => object(App\Model\Entity\MlsSearch) {}, (int) 14 => object(App\Model\Entity\MlsSearch) {}, (int) 15 => object(App\Model\Entity\MlsSearch) {}, (int) 16 => object(App\Model\Entity\MlsSearch) {}, (int) 17 => object(App\Model\Entity\MlsSearch) {}, (int) 18 => object(App\Model\Entity\MlsSearch) {}, (int) 19 => object(App\Model\Entity\MlsSearch) {} ], 'featured' => object(App\Model\Entity\MlsSearch) {}, 'communities' => [ (int) 0 => object(App\Model\Entity\Community) {}, (int) 1 => object(App\Model\Entity\Community) {}, (int) 2 => object(App\Model\Entity\Community) {}, (int) 3 => object(App\Model\Entity\Community) {}, (int) 4 => object(App\Model\Entity\Community) {} ], '[new]' => false, '[accessible]' => [ '*' => true ], '[dirty]' => [], '[original]' => [], '[virtual]' => [], '[hasErrors]' => false, '[errors]' => [], '[invalid]' => [], '[repository]' => 'Domains' } $title = 'Comercial Building' $formTemplates = [ 'formGroup' => '{{label}}<div class="col-sm-8">{{input}}</div>', 'inputContainer' => '<div class="form-group row input {{type}}{{required}}">{{content}}</div>', 'inputContainerError' => '<div class="form-group row input {{type}}{{required}} error">{{content}}{{error}}</div>', 'label' => '<label class="col-sm-4" {{attrs}}>{{text}}</label>', 'input' => '<input class="form-control" type="{{type}}" name="{{name}}"{{attrs}}>' ] $strategy = [ 'meta' => [ 'model' => 'traditional', 'target' => 'investors', 'title' => 'traditional', 'description' => 'Buy using financing, keep as investment.' ], 'calculation' => [ 'inputs' => [ (int) 0 => [ [maximum depth reached] ], (int) 1 => [ [maximum depth reached] ], (int) 2 => [ [maximum depth reached] ] ], 'results' => [ (int) 0 => [ [maximum depth reached] ], (int) 1 => [ [maximum depth reached] ] ] ] ] $class = 'tab-pane fade' $aria = 'false' $fieldset = [ 'name' => 'expenses', 'type' => 'number', 'label' => 'Total of expenses', 'value' => (int) 0, 'help' => 'All expenses' ]
Warning (2): Invalid argument supplied for foreach() [APP/Template/Calculations/calculate.ctp, line 82]Code Context <legend><?= $fieldset['name']; ?></legend> <?php foreach($fieldset['fields'] as $field) { ?> <?php $value = (null != ($this->request->getData($field['name']))) ? $this->request->getData($field['name']) : $field['value']; ?> $viewFile = '/var/www/live/agnieszka.realtor/src/Template/Calculations/calculate.ctp' $dataForView = [ 'target' => 'commercial', 'strat' => null, 'calculation' => [ 'meta' => [ 'model' => 'commercial', 'title' => 'Comercial Building', 'description' => 'Commercial buildings other than Apartments', 'image' => '5c30c4fae16b4-commercial.jpg' ], 'strategies' => [ 'traditional' => [ [maximum depth reached] ], 'BRRR' => [ [maximum depth reached] ] ] ], 'domain' => object(App\Model\Entity\Domain) { 'id' => (int) 1, 'mls_search_id' => (int) 11, 'name' => 'agnieszka.realtor', 'description' => '', 'maintenance' => false, 'title' => 'Agnieszka Realtor', 'intro' => '', 'layout' => 'default', 'theme' => 'Themes/Agency', 'container' => 'GTM-PXXMN48', 'created' => object(Cake\I18n\FrozenTime) {}, 'modified' => object(Cake\I18n\FrozenTime) {}, 'mls_searches' => [ [maximum depth reached] ], 'featured' => object(App\Model\Entity\MlsSearch) {}, 'communities' => [ [maximum depth reached] ], '[new]' => false, '[accessible]' => [ [maximum depth reached] ], '[dirty]' => [[maximum depth reached]], '[original]' => [[maximum depth reached]], '[virtual]' => [[maximum depth reached]], '[hasErrors]' => false, '[errors]' => [[maximum depth reached]], '[invalid]' => [[maximum depth reached]], '[repository]' => 'Domains' } ] $target = 'commercial' $strat = null $calculation = [ 'meta' => [ 'model' => 'commercial', 'title' => 'Comercial Building', 'description' => 'Commercial buildings other than Apartments', 'image' => '5c30c4fae16b4-commercial.jpg' ], 'strategies' => [ 'traditional' => [ 'meta' => [ [maximum depth reached] ], 'calculation' => [ [maximum depth reached] ] ], 'BRRR' => [ 'meta' => [ [maximum depth reached] ], 'calculation' => [ [maximum depth reached] ] ] ] ] $domain = object(App\Model\Entity\Domain) { 'id' => (int) 1, 'mls_search_id' => (int) 11, 'name' => 'agnieszka.realtor', 'description' => '', 'maintenance' => false, 'title' => 'Agnieszka Realtor', 'intro' => '', 'layout' => 'default', 'theme' => 'Themes/Agency', 'container' => 'GTM-PXXMN48', 'created' => object(Cake\I18n\FrozenTime) {}, 'modified' => object(Cake\I18n\FrozenTime) {}, 'mls_searches' => [ (int) 0 => object(App\Model\Entity\MlsSearch) {}, (int) 1 => object(App\Model\Entity\MlsSearch) {}, (int) 2 => object(App\Model\Entity\MlsSearch) {}, (int) 3 => object(App\Model\Entity\MlsSearch) {}, (int) 4 => object(App\Model\Entity\MlsSearch) {}, (int) 5 => object(App\Model\Entity\MlsSearch) {}, (int) 6 => object(App\Model\Entity\MlsSearch) {}, (int) 7 => object(App\Model\Entity\MlsSearch) {}, (int) 8 => object(App\Model\Entity\MlsSearch) {}, (int) 9 => object(App\Model\Entity\MlsSearch) {}, (int) 10 => object(App\Model\Entity\MlsSearch) {}, (int) 11 => object(App\Model\Entity\MlsSearch) {}, (int) 12 => object(App\Model\Entity\MlsSearch) {}, (int) 13 => object(App\Model\Entity\MlsSearch) {}, (int) 14 => object(App\Model\Entity\MlsSearch) {}, (int) 15 => object(App\Model\Entity\MlsSearch) {}, (int) 16 => object(App\Model\Entity\MlsSearch) {}, (int) 17 => object(App\Model\Entity\MlsSearch) {}, (int) 18 => object(App\Model\Entity\MlsSearch) {}, (int) 19 => object(App\Model\Entity\MlsSearch) {} ], 'featured' => object(App\Model\Entity\MlsSearch) {}, 'communities' => [ (int) 0 => object(App\Model\Entity\Community) {}, (int) 1 => object(App\Model\Entity\Community) {}, (int) 2 => object(App\Model\Entity\Community) {}, (int) 3 => object(App\Model\Entity\Community) {}, (int) 4 => object(App\Model\Entity\Community) {} ], '[new]' => false, '[accessible]' => [ '*' => true ], '[dirty]' => [], '[original]' => [], '[virtual]' => [], '[hasErrors]' => false, '[errors]' => [], '[invalid]' => [], '[repository]' => 'Domains' } $title = 'Comercial Building' $formTemplates = [ 'formGroup' => '{{label}}<div class="col-sm-8">{{input}}</div>', 'inputContainer' => '<div class="form-group row input {{type}}{{required}}">{{content}}</div>', 'inputContainerError' => '<div class="form-group row input {{type}}{{required}} error">{{content}}{{error}}</div>', 'label' => '<label class="col-sm-4" {{attrs}}>{{text}}</label>', 'input' => '<input class="form-control" type="{{type}}" name="{{name}}"{{attrs}}>' ] $strategy = [ 'meta' => [ 'model' => 'traditional', 'target' => 'investors', 'title' => 'traditional', 'description' => 'Buy using financing, keep as investment.' ], 'calculation' => [ 'inputs' => [ (int) 0 => [ [maximum depth reached] ], (int) 1 => [ [maximum depth reached] ], (int) 2 => [ [maximum depth reached] ] ], 'results' => [ (int) 0 => [ [maximum depth reached] ], (int) 1 => [ [maximum depth reached] ] ] ] ] $class = 'tab-pane fade' $aria = 'false' $fieldset = [ 'name' => 'expenses', 'type' => 'number', 'label' => 'Total of expenses', 'value' => (int) 0, 'help' => 'All expenses' ]include - APP/Template/Calculations/calculate.ctp, line 82 Cake\View\View::_evaluate() - CORE/src/View/View.php, line 1420 Cake\View\View::_render() - CORE/src/View/View.php, line 1381 Cake\View\View::render() - CORE/src/View/View.php, line 879 Cake\Controller\Controller::render() - CORE/src/Controller/Controller.php, line 795 Cake\Http\ActionDispatcher::_invoke() - CORE/src/Http/ActionDispatcher.php, line 126 Cake\Http\ActionDispatcher::dispatch() - CORE/src/Http/ActionDispatcher.php, line 94 Cake\Http\BaseApplication::__invoke() - CORE/src/Http/BaseApplication.php, line 234 Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65 Cake\Routing\Middleware\RoutingMiddleware::__invoke() - CORE/src/Routing/Middleware/RoutingMiddleware.php, line 164 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 96 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 97
Strategy: Buy Outright, Rehab, Rent, Refinance and Keep as Investment, Repeat
Notice (8): Undefined index: fields [APP/Template/Calculations/calculate.ctp, line 82]Code Context <legend><?= $fieldset['name']; ?></legend> <?php foreach($fieldset['fields'] as $field) { ?> <?php $value = (null != ($this->request->getData($field['name']))) ? $this->request->getData($field['name']) : $field['value']; ?> $viewFile = '/var/www/live/agnieszka.realtor/src/Template/Calculations/calculate.ctp' $dataForView = [ 'target' => 'commercial', 'strat' => null, 'calculation' => [ 'meta' => [ 'model' => 'commercial', 'title' => 'Comercial Building', 'description' => 'Commercial buildings other than Apartments', 'image' => '5c30c4fae16b4-commercial.jpg' ], 'strategies' => [ 'traditional' => [ [maximum depth reached] ], 'BRRR' => [ [maximum depth reached] ] ] ], 'domain' => object(App\Model\Entity\Domain) { 'id' => (int) 1, 'mls_search_id' => (int) 11, 'name' => 'agnieszka.realtor', 'description' => '', 'maintenance' => false, 'title' => 'Agnieszka Realtor', 'intro' => '', 'layout' => 'default', 'theme' => 'Themes/Agency', 'container' => 'GTM-PXXMN48', 'created' => object(Cake\I18n\FrozenTime) {}, 'modified' => object(Cake\I18n\FrozenTime) {}, 'mls_searches' => [ [maximum depth reached] ], 'featured' => object(App\Model\Entity\MlsSearch) {}, 'communities' => [ [maximum depth reached] ], '[new]' => false, '[accessible]' => [ [maximum depth reached] ], '[dirty]' => [[maximum depth reached]], '[original]' => [[maximum depth reached]], '[virtual]' => [[maximum depth reached]], '[hasErrors]' => false, '[errors]' => [[maximum depth reached]], '[invalid]' => [[maximum depth reached]], '[repository]' => 'Domains' } ] $target = 'commercial' $strat = null $calculation = [ 'meta' => [ 'model' => 'commercial', 'title' => 'Comercial Building', 'description' => 'Commercial buildings other than Apartments', 'image' => '5c30c4fae16b4-commercial.jpg' ], 'strategies' => [ 'traditional' => [ 'meta' => [ [maximum depth reached] ], 'calculation' => [ [maximum depth reached] ] ], 'BRRR' => [ 'meta' => [ [maximum depth reached] ], 'calculation' => [ [maximum depth reached] ] ] ] ] $domain = object(App\Model\Entity\Domain) { 'id' => (int) 1, 'mls_search_id' => (int) 11, 'name' => 'agnieszka.realtor', 'description' => '', 'maintenance' => false, 'title' => 'Agnieszka Realtor', 'intro' => '', 'layout' => 'default', 'theme' => 'Themes/Agency', 'container' => 'GTM-PXXMN48', 'created' => object(Cake\I18n\FrozenTime) {}, 'modified' => object(Cake\I18n\FrozenTime) {}, 'mls_searches' => [ (int) 0 => object(App\Model\Entity\MlsSearch) {}, (int) 1 => object(App\Model\Entity\MlsSearch) {}, (int) 2 => object(App\Model\Entity\MlsSearch) {}, (int) 3 => object(App\Model\Entity\MlsSearch) {}, (int) 4 => object(App\Model\Entity\MlsSearch) {}, (int) 5 => object(App\Model\Entity\MlsSearch) {}, (int) 6 => object(App\Model\Entity\MlsSearch) {}, (int) 7 => object(App\Model\Entity\MlsSearch) {}, (int) 8 => object(App\Model\Entity\MlsSearch) {}, (int) 9 => object(App\Model\Entity\MlsSearch) {}, (int) 10 => object(App\Model\Entity\MlsSearch) {}, (int) 11 => object(App\Model\Entity\MlsSearch) {}, (int) 12 => object(App\Model\Entity\MlsSearch) {}, (int) 13 => object(App\Model\Entity\MlsSearch) {}, (int) 14 => object(App\Model\Entity\MlsSearch) {}, (int) 15 => object(App\Model\Entity\MlsSearch) {}, (int) 16 => object(App\Model\Entity\MlsSearch) {}, (int) 17 => object(App\Model\Entity\MlsSearch) {}, (int) 18 => object(App\Model\Entity\MlsSearch) {}, (int) 19 => object(App\Model\Entity\MlsSearch) {} ], 'featured' => object(App\Model\Entity\MlsSearch) {}, 'communities' => [ (int) 0 => object(App\Model\Entity\Community) {}, (int) 1 => object(App\Model\Entity\Community) {}, (int) 2 => object(App\Model\Entity\Community) {}, (int) 3 => object(App\Model\Entity\Community) {}, (int) 4 => object(App\Model\Entity\Community) {} ], '[new]' => false, '[accessible]' => [ '*' => true ], '[dirty]' => [], '[original]' => [], '[virtual]' => [], '[hasErrors]' => false, '[errors]' => [], '[invalid]' => [], '[repository]' => 'Domains' } $title = 'Comercial Building' $formTemplates = [ 'formGroup' => '{{label}}<div class="col-sm-8">{{input}}</div>', 'inputContainer' => '<div class="form-group row input {{type}}{{required}}">{{content}}</div>', 'inputContainerError' => '<div class="form-group row input {{type}}{{required}} error">{{content}}{{error}}</div>', 'label' => '<label class="col-sm-4" {{attrs}}>{{text}}</label>', 'input' => '<input class="form-control" type="{{type}}" name="{{name}}"{{attrs}}>' ] $strategy = [ 'meta' => [ 'model' => 'BRRR', 'target' => 'investors', 'title' => 'BRRRR', 'description' => 'Buy Outright, Rehab, Rent, Refinance and Keep as Investment, Repeat' ], 'calculation' => [ 'inputs' => [ (int) 0 => [ [maximum depth reached] ], (int) 1 => [ [maximum depth reached] ], (int) 2 => [ [maximum depth reached] ] ], 'results' => [ (int) 0 => [ [maximum depth reached] ], (int) 1 => [ [maximum depth reached] ] ] ] ] $class = 'tab-pane fade' $aria = 'false' $fieldset = [ 'name' => 'price', 'type' => 'number', 'label' => 'Acquisition price', 'value' => (int) 0, 'help' => 'Amount of money needed to acquire the property.' ] $result = [ 'name' => 'Cap Rate', 'type' => 'number', 'label' => 'Capitalization rate', 'value' => (int) 0, 'help' => 'Capitalization rate is the NOI divided by the price.', 'formula' => 'round(((income - expenses) / price) * 100,2)' ]include - APP/Template/Calculations/calculate.ctp, line 82 Cake\View\View::_evaluate() - CORE/src/View/View.php, line 1420 Cake\View\View::_render() - CORE/src/View/View.php, line 1381 Cake\View\View::render() - CORE/src/View/View.php, line 879 Cake\Controller\Controller::render() - CORE/src/Controller/Controller.php, line 795 Cake\Http\ActionDispatcher::_invoke() - CORE/src/Http/ActionDispatcher.php, line 126 Cake\Http\ActionDispatcher::dispatch() - CORE/src/Http/ActionDispatcher.php, line 94 Cake\Http\BaseApplication::__invoke() - CORE/src/Http/BaseApplication.php, line 234 Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65 Cake\Routing\Middleware\RoutingMiddleware::__invoke() - CORE/src/Routing/Middleware/RoutingMiddleware.php, line 164 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 96 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 97
$viewFile = '/var/www/live/agnieszka.realtor/src/Template/Calculations/calculate.ctp' $dataForView = [ 'target' => 'commercial', 'strat' => null, 'calculation' => [ 'meta' => [ 'model' => 'commercial', 'title' => 'Comercial Building', 'description' => 'Commercial buildings other than Apartments', 'image' => '5c30c4fae16b4-commercial.jpg' ], 'strategies' => [ 'traditional' => [ [maximum depth reached] ], 'BRRR' => [ [maximum depth reached] ] ] ], 'domain' => object(App\Model\Entity\Domain) { 'id' => (int) 1, 'mls_search_id' => (int) 11, 'name' => 'agnieszka.realtor', 'description' => '', 'maintenance' => false, 'title' => 'Agnieszka Realtor', 'intro' => '', 'layout' => 'default', 'theme' => 'Themes/Agency', 'container' => 'GTM-PXXMN48', 'created' => object(Cake\I18n\FrozenTime) {}, 'modified' => object(Cake\I18n\FrozenTime) {}, 'mls_searches' => [ [maximum depth reached] ], 'featured' => object(App\Model\Entity\MlsSearch) {}, 'communities' => [ [maximum depth reached] ], '[new]' => false, '[accessible]' => [ [maximum depth reached] ], '[dirty]' => [[maximum depth reached]], '[original]' => [[maximum depth reached]], '[virtual]' => [[maximum depth reached]], '[hasErrors]' => false, '[errors]' => [[maximum depth reached]], '[invalid]' => [[maximum depth reached]], '[repository]' => 'Domains' } ] $target = 'commercial' $strat = null $calculation = [ 'meta' => [ 'model' => 'commercial', 'title' => 'Comercial Building', 'description' => 'Commercial buildings other than Apartments', 'image' => '5c30c4fae16b4-commercial.jpg' ], 'strategies' => [ 'traditional' => [ 'meta' => [ [maximum depth reached] ], 'calculation' => [ [maximum depth reached] ] ], 'BRRR' => [ 'meta' => [ [maximum depth reached] ], 'calculation' => [ [maximum depth reached] ] ] ] ] $domain = object(App\Model\Entity\Domain) { 'id' => (int) 1, 'mls_search_id' => (int) 11, 'name' => 'agnieszka.realtor', 'description' => '', 'maintenance' => false, 'title' => 'Agnieszka Realtor', 'intro' => '', 'layout' => 'default', 'theme' => 'Themes/Agency', 'container' => 'GTM-PXXMN48', 'created' => object(Cake\I18n\FrozenTime) {}, 'modified' => object(Cake\I18n\FrozenTime) {}, 'mls_searches' => [ (int) 0 => object(App\Model\Entity\MlsSearch) {}, (int) 1 => object(App\Model\Entity\MlsSearch) {}, (int) 2 => object(App\Model\Entity\MlsSearch) {}, (int) 3 => object(App\Model\Entity\MlsSearch) {}, (int) 4 => object(App\Model\Entity\MlsSearch) {}, (int) 5 => object(App\Model\Entity\MlsSearch) {}, (int) 6 => object(App\Model\Entity\MlsSearch) {}, (int) 7 => object(App\Model\Entity\MlsSearch) {}, (int) 8 => object(App\Model\Entity\MlsSearch) {}, (int) 9 => object(App\Model\Entity\MlsSearch) {}, (int) 10 => object(App\Model\Entity\MlsSearch) {}, (int) 11 => object(App\Model\Entity\MlsSearch) {}, (int) 12 => object(App\Model\Entity\MlsSearch) {}, (int) 13 => object(App\Model\Entity\MlsSearch) {}, (int) 14 => object(App\Model\Entity\MlsSearch) {}, (int) 15 => object(App\Model\Entity\MlsSearch) {}, (int) 16 => object(App\Model\Entity\MlsSearch) {}, (int) 17 => object(App\Model\Entity\MlsSearch) {}, (int) 18 => object(App\Model\Entity\MlsSearch) {}, (int) 19 => object(App\Model\Entity\MlsSearch) {} ], 'featured' => object(App\Model\Entity\MlsSearch) {}, 'communities' => [ (int) 0 => object(App\Model\Entity\Community) {}, (int) 1 => object(App\Model\Entity\Community) {}, (int) 2 => object(App\Model\Entity\Community) {}, (int) 3 => object(App\Model\Entity\Community) {}, (int) 4 => object(App\Model\Entity\Community) {} ], '[new]' => false, '[accessible]' => [ '*' => true ], '[dirty]' => [], '[original]' => [], '[virtual]' => [], '[hasErrors]' => false, '[errors]' => [], '[invalid]' => [], '[repository]' => 'Domains' } $title = 'Comercial Building' $formTemplates = [ 'formGroup' => '{{label}}<div class="col-sm-8">{{input}}</div>', 'inputContainer' => '<div class="form-group row input {{type}}{{required}}">{{content}}</div>', 'inputContainerError' => '<div class="form-group row input {{type}}{{required}} error">{{content}}{{error}}</div>', 'label' => '<label class="col-sm-4" {{attrs}}>{{text}}</label>', 'input' => '<input class="form-control" type="{{type}}" name="{{name}}"{{attrs}}>' ] $strategy = [ 'meta' => [ 'model' => 'BRRR', 'target' => 'investors', 'title' => 'BRRRR', 'description' => 'Buy Outright, Rehab, Rent, Refinance and Keep as Investment, Repeat' ], 'calculation' => [ 'inputs' => [ (int) 0 => [ [maximum depth reached] ], (int) 1 => [ [maximum depth reached] ], (int) 2 => [ [maximum depth reached] ] ], 'results' => [ (int) 0 => [ [maximum depth reached] ], (int) 1 => [ [maximum depth reached] ] ] ] ] $class = 'tab-pane fade' $aria = 'false' $fieldset = [ 'name' => 'price', 'type' => 'number', 'label' => 'Acquisition price', 'value' => (int) 0, 'help' => 'Amount of money needed to acquire the property.' ] $result = [ 'name' => 'Cap Rate', 'type' => 'number', 'label' => 'Capitalization rate', 'value' => (int) 0, 'help' => 'Capitalization rate is the NOI divided by the price.', 'formula' => 'round(((income - expenses) / price) * 100,2)' ]
Warning (2): Invalid argument supplied for foreach() [APP/Template/Calculations/calculate.ctp, line 82]Code Context <legend><?= $fieldset['name']; ?></legend> <?php foreach($fieldset['fields'] as $field) { ?> <?php $value = (null != ($this->request->getData($field['name']))) ? $this->request->getData($field['name']) : $field['value']; ?> $viewFile = '/var/www/live/agnieszka.realtor/src/Template/Calculations/calculate.ctp' $dataForView = [ 'target' => 'commercial', 'strat' => null, 'calculation' => [ 'meta' => [ 'model' => 'commercial', 'title' => 'Comercial Building', 'description' => 'Commercial buildings other than Apartments', 'image' => '5c30c4fae16b4-commercial.jpg' ], 'strategies' => [ 'traditional' => [ [maximum depth reached] ], 'BRRR' => [ [maximum depth reached] ] ] ], 'domain' => object(App\Model\Entity\Domain) { 'id' => (int) 1, 'mls_search_id' => (int) 11, 'name' => 'agnieszka.realtor', 'description' => '', 'maintenance' => false, 'title' => 'Agnieszka Realtor', 'intro' => '', 'layout' => 'default', 'theme' => 'Themes/Agency', 'container' => 'GTM-PXXMN48', 'created' => object(Cake\I18n\FrozenTime) {}, 'modified' => object(Cake\I18n\FrozenTime) {}, 'mls_searches' => [ [maximum depth reached] ], 'featured' => object(App\Model\Entity\MlsSearch) {}, 'communities' => [ [maximum depth reached] ], '[new]' => false, '[accessible]' => [ [maximum depth reached] ], '[dirty]' => [[maximum depth reached]], '[original]' => [[maximum depth reached]], '[virtual]' => [[maximum depth reached]], '[hasErrors]' => false, '[errors]' => [[maximum depth reached]], '[invalid]' => [[maximum depth reached]], '[repository]' => 'Domains' } ] $target = 'commercial' $strat = null $calculation = [ 'meta' => [ 'model' => 'commercial', 'title' => 'Comercial Building', 'description' => 'Commercial buildings other than Apartments', 'image' => '5c30c4fae16b4-commercial.jpg' ], 'strategies' => [ 'traditional' => [ 'meta' => [ [maximum depth reached] ], 'calculation' => [ [maximum depth reached] ] ], 'BRRR' => [ 'meta' => [ [maximum depth reached] ], 'calculation' => [ [maximum depth reached] ] ] ] ] $domain = object(App\Model\Entity\Domain) { 'id' => (int) 1, 'mls_search_id' => (int) 11, 'name' => 'agnieszka.realtor', 'description' => '', 'maintenance' => false, 'title' => 'Agnieszka Realtor', 'intro' => '', 'layout' => 'default', 'theme' => 'Themes/Agency', 'container' => 'GTM-PXXMN48', 'created' => object(Cake\I18n\FrozenTime) {}, 'modified' => object(Cake\I18n\FrozenTime) {}, 'mls_searches' => [ (int) 0 => object(App\Model\Entity\MlsSearch) {}, (int) 1 => object(App\Model\Entity\MlsSearch) {}, (int) 2 => object(App\Model\Entity\MlsSearch) {}, (int) 3 => object(App\Model\Entity\MlsSearch) {}, (int) 4 => object(App\Model\Entity\MlsSearch) {}, (int) 5 => object(App\Model\Entity\MlsSearch) {}, (int) 6 => object(App\Model\Entity\MlsSearch) {}, (int) 7 => object(App\Model\Entity\MlsSearch) {}, (int) 8 => object(App\Model\Entity\MlsSearch) {}, (int) 9 => object(App\Model\Entity\MlsSearch) {}, (int) 10 => object(App\Model\Entity\MlsSearch) {}, (int) 11 => object(App\Model\Entity\MlsSearch) {}, (int) 12 => object(App\Model\Entity\MlsSearch) {}, (int) 13 => object(App\Model\Entity\MlsSearch) {}, (int) 14 => object(App\Model\Entity\MlsSearch) {}, (int) 15 => object(App\Model\Entity\MlsSearch) {}, (int) 16 => object(App\Model\Entity\MlsSearch) {}, (int) 17 => object(App\Model\Entity\MlsSearch) {}, (int) 18 => object(App\Model\Entity\MlsSearch) {}, (int) 19 => object(App\Model\Entity\MlsSearch) {} ], 'featured' => object(App\Model\Entity\MlsSearch) {}, 'communities' => [ (int) 0 => object(App\Model\Entity\Community) {}, (int) 1 => object(App\Model\Entity\Community) {}, (int) 2 => object(App\Model\Entity\Community) {}, (int) 3 => object(App\Model\Entity\Community) {}, (int) 4 => object(App\Model\Entity\Community) {} ], '[new]' => false, '[accessible]' => [ '*' => true ], '[dirty]' => [], '[original]' => [], '[virtual]' => [], '[hasErrors]' => false, '[errors]' => [], '[invalid]' => [], '[repository]' => 'Domains' } $title = 'Comercial Building' $formTemplates = [ 'formGroup' => '{{label}}<div class="col-sm-8">{{input}}</div>', 'inputContainer' => '<div class="form-group row input {{type}}{{required}}">{{content}}</div>', 'inputContainerError' => '<div class="form-group row input {{type}}{{required}} error">{{content}}{{error}}</div>', 'label' => '<label class="col-sm-4" {{attrs}}>{{text}}</label>', 'input' => '<input class="form-control" type="{{type}}" name="{{name}}"{{attrs}}>' ] $strategy = [ 'meta' => [ 'model' => 'BRRR', 'target' => 'investors', 'title' => 'BRRRR', 'description' => 'Buy Outright, Rehab, Rent, Refinance and Keep as Investment, Repeat' ], 'calculation' => [ 'inputs' => [ (int) 0 => [ [maximum depth reached] ], (int) 1 => [ [maximum depth reached] ], (int) 2 => [ [maximum depth reached] ] ], 'results' => [ (int) 0 => [ [maximum depth reached] ], (int) 1 => [ [maximum depth reached] ] ] ] ] $class = 'tab-pane fade' $aria = 'false' $fieldset = [ 'name' => 'price', 'type' => 'number', 'label' => 'Acquisition price', 'value' => (int) 0, 'help' => 'Amount of money needed to acquire the property.' ] $result = [ 'name' => 'Cap Rate', 'type' => 'number', 'label' => 'Capitalization rate', 'value' => (int) 0, 'help' => 'Capitalization rate is the NOI divided by the price.', 'formula' => 'round(((income - expenses) / price) * 100,2)' ]include - APP/Template/Calculations/calculate.ctp, line 82 Cake\View\View::_evaluate() - CORE/src/View/View.php, line 1420 Cake\View\View::_render() - CORE/src/View/View.php, line 1381 Cake\View\View::render() - CORE/src/View/View.php, line 879 Cake\Controller\Controller::render() - CORE/src/Controller/Controller.php, line 795 Cake\Http\ActionDispatcher::_invoke() - CORE/src/Http/ActionDispatcher.php, line 126 Cake\Http\ActionDispatcher::dispatch() - CORE/src/Http/ActionDispatcher.php, line 94 Cake\Http\BaseApplication::__invoke() - CORE/src/Http/BaseApplication.php, line 234 Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65 Cake\Routing\Middleware\RoutingMiddleware::__invoke() - CORE/src/Routing/Middleware/RoutingMiddleware.php, line 164 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 96 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 97
Notice (8): Undefined index: fields [APP/Template/Calculations/calculate.ctp, line 82]Code Context <legend><?= $fieldset['name']; ?></legend> <?php foreach($fieldset['fields'] as $field) { ?> <?php $value = (null != ($this->request->getData($field['name']))) ? $this->request->getData($field['name']) : $field['value']; ?> $viewFile = '/var/www/live/agnieszka.realtor/src/Template/Calculations/calculate.ctp' $dataForView = [ 'target' => 'commercial', 'strat' => null, 'calculation' => [ 'meta' => [ 'model' => 'commercial', 'title' => 'Comercial Building', 'description' => 'Commercial buildings other than Apartments', 'image' => '5c30c4fae16b4-commercial.jpg' ], 'strategies' => [ 'traditional' => [ [maximum depth reached] ], 'BRRR' => [ [maximum depth reached] ] ] ], 'domain' => object(App\Model\Entity\Domain) { 'id' => (int) 1, 'mls_search_id' => (int) 11, 'name' => 'agnieszka.realtor', 'description' => '', 'maintenance' => false, 'title' => 'Agnieszka Realtor', 'intro' => '', 'layout' => 'default', 'theme' => 'Themes/Agency', 'container' => 'GTM-PXXMN48', 'created' => object(Cake\I18n\FrozenTime) {}, 'modified' => object(Cake\I18n\FrozenTime) {}, 'mls_searches' => [ [maximum depth reached] ], 'featured' => object(App\Model\Entity\MlsSearch) {}, 'communities' => [ [maximum depth reached] ], '[new]' => false, '[accessible]' => [ [maximum depth reached] ], '[dirty]' => [[maximum depth reached]], '[original]' => [[maximum depth reached]], '[virtual]' => [[maximum depth reached]], '[hasErrors]' => false, '[errors]' => [[maximum depth reached]], '[invalid]' => [[maximum depth reached]], '[repository]' => 'Domains' } ] $target = 'commercial' $strat = null $calculation = [ 'meta' => [ 'model' => 'commercial', 'title' => 'Comercial Building', 'description' => 'Commercial buildings other than Apartments', 'image' => '5c30c4fae16b4-commercial.jpg' ], 'strategies' => [ 'traditional' => [ 'meta' => [ [maximum depth reached] ], 'calculation' => [ [maximum depth reached] ] ], 'BRRR' => [ 'meta' => [ [maximum depth reached] ], 'calculation' => [ [maximum depth reached] ] ] ] ] $domain = object(App\Model\Entity\Domain) { 'id' => (int) 1, 'mls_search_id' => (int) 11, 'name' => 'agnieszka.realtor', 'description' => '', 'maintenance' => false, 'title' => 'Agnieszka Realtor', 'intro' => '', 'layout' => 'default', 'theme' => 'Themes/Agency', 'container' => 'GTM-PXXMN48', 'created' => object(Cake\I18n\FrozenTime) {}, 'modified' => object(Cake\I18n\FrozenTime) {}, 'mls_searches' => [ (int) 0 => object(App\Model\Entity\MlsSearch) {}, (int) 1 => object(App\Model\Entity\MlsSearch) {}, (int) 2 => object(App\Model\Entity\MlsSearch) {}, (int) 3 => object(App\Model\Entity\MlsSearch) {}, (int) 4 => object(App\Model\Entity\MlsSearch) {}, (int) 5 => object(App\Model\Entity\MlsSearch) {}, (int) 6 => object(App\Model\Entity\MlsSearch) {}, (int) 7 => object(App\Model\Entity\MlsSearch) {}, (int) 8 => object(App\Model\Entity\MlsSearch) {}, (int) 9 => object(App\Model\Entity\MlsSearch) {}, (int) 10 => object(App\Model\Entity\MlsSearch) {}, (int) 11 => object(App\Model\Entity\MlsSearch) {}, (int) 12 => object(App\Model\Entity\MlsSearch) {}, (int) 13 => object(App\Model\Entity\MlsSearch) {}, (int) 14 => object(App\Model\Entity\MlsSearch) {}, (int) 15 => object(App\Model\Entity\MlsSearch) {}, (int) 16 => object(App\Model\Entity\MlsSearch) {}, (int) 17 => object(App\Model\Entity\MlsSearch) {}, (int) 18 => object(App\Model\Entity\MlsSearch) {}, (int) 19 => object(App\Model\Entity\MlsSearch) {} ], 'featured' => object(App\Model\Entity\MlsSearch) {}, 'communities' => [ (int) 0 => object(App\Model\Entity\Community) {}, (int) 1 => object(App\Model\Entity\Community) {}, (int) 2 => object(App\Model\Entity\Community) {}, (int) 3 => object(App\Model\Entity\Community) {}, (int) 4 => object(App\Model\Entity\Community) {} ], '[new]' => false, '[accessible]' => [ '*' => true ], '[dirty]' => [], '[original]' => [], '[virtual]' => [], '[hasErrors]' => false, '[errors]' => [], '[invalid]' => [], '[repository]' => 'Domains' } $title = 'Comercial Building' $formTemplates = [ 'formGroup' => '{{label}}<div class="col-sm-8">{{input}}</div>', 'inputContainer' => '<div class="form-group row input {{type}}{{required}}">{{content}}</div>', 'inputContainerError' => '<div class="form-group row input {{type}}{{required}} error">{{content}}{{error}}</div>', 'label' => '<label class="col-sm-4" {{attrs}}>{{text}}</label>', 'input' => '<input class="form-control" type="{{type}}" name="{{name}}"{{attrs}}>' ] $strategy = [ 'meta' => [ 'model' => 'BRRR', 'target' => 'investors', 'title' => 'BRRRR', 'description' => 'Buy Outright, Rehab, Rent, Refinance and Keep as Investment, Repeat' ], 'calculation' => [ 'inputs' => [ (int) 0 => [ [maximum depth reached] ], (int) 1 => [ [maximum depth reached] ], (int) 2 => [ [maximum depth reached] ] ], 'results' => [ (int) 0 => [ [maximum depth reached] ], (int) 1 => [ [maximum depth reached] ] ] ] ] $class = 'tab-pane fade' $aria = 'false' $fieldset = [ 'name' => 'income', 'type' => 'number', 'label' => 'Rent income', 'value' => (int) 0, 'help' => 'All income' ] $result = [ 'name' => 'Cap Rate', 'type' => 'number', 'label' => 'Capitalization rate', 'value' => (int) 0, 'help' => 'Capitalization rate is the NOI divided by the price.', 'formula' => 'round(((income - expenses) / price) * 100,2)' ]include - APP/Template/Calculations/calculate.ctp, line 82 Cake\View\View::_evaluate() - CORE/src/View/View.php, line 1420 Cake\View\View::_render() - CORE/src/View/View.php, line 1381 Cake\View\View::render() - CORE/src/View/View.php, line 879 Cake\Controller\Controller::render() - CORE/src/Controller/Controller.php, line 795 Cake\Http\ActionDispatcher::_invoke() - CORE/src/Http/ActionDispatcher.php, line 126 Cake\Http\ActionDispatcher::dispatch() - CORE/src/Http/ActionDispatcher.php, line 94 Cake\Http\BaseApplication::__invoke() - CORE/src/Http/BaseApplication.php, line 234 Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65 Cake\Routing\Middleware\RoutingMiddleware::__invoke() - CORE/src/Routing/Middleware/RoutingMiddleware.php, line 164 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 96 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 97
$viewFile = '/var/www/live/agnieszka.realtor/src/Template/Calculations/calculate.ctp' $dataForView = [ 'target' => 'commercial', 'strat' => null, 'calculation' => [ 'meta' => [ 'model' => 'commercial', 'title' => 'Comercial Building', 'description' => 'Commercial buildings other than Apartments', 'image' => '5c30c4fae16b4-commercial.jpg' ], 'strategies' => [ 'traditional' => [ [maximum depth reached] ], 'BRRR' => [ [maximum depth reached] ] ] ], 'domain' => object(App\Model\Entity\Domain) { 'id' => (int) 1, 'mls_search_id' => (int) 11, 'name' => 'agnieszka.realtor', 'description' => '', 'maintenance' => false, 'title' => 'Agnieszka Realtor', 'intro' => '', 'layout' => 'default', 'theme' => 'Themes/Agency', 'container' => 'GTM-PXXMN48', 'created' => object(Cake\I18n\FrozenTime) {}, 'modified' => object(Cake\I18n\FrozenTime) {}, 'mls_searches' => [ [maximum depth reached] ], 'featured' => object(App\Model\Entity\MlsSearch) {}, 'communities' => [ [maximum depth reached] ], '[new]' => false, '[accessible]' => [ [maximum depth reached] ], '[dirty]' => [[maximum depth reached]], '[original]' => [[maximum depth reached]], '[virtual]' => [[maximum depth reached]], '[hasErrors]' => false, '[errors]' => [[maximum depth reached]], '[invalid]' => [[maximum depth reached]], '[repository]' => 'Domains' } ] $target = 'commercial' $strat = null $calculation = [ 'meta' => [ 'model' => 'commercial', 'title' => 'Comercial Building', 'description' => 'Commercial buildings other than Apartments', 'image' => '5c30c4fae16b4-commercial.jpg' ], 'strategies' => [ 'traditional' => [ 'meta' => [ [maximum depth reached] ], 'calculation' => [ [maximum depth reached] ] ], 'BRRR' => [ 'meta' => [ [maximum depth reached] ], 'calculation' => [ [maximum depth reached] ] ] ] ] $domain = object(App\Model\Entity\Domain) { 'id' => (int) 1, 'mls_search_id' => (int) 11, 'name' => 'agnieszka.realtor', 'description' => '', 'maintenance' => false, 'title' => 'Agnieszka Realtor', 'intro' => '', 'layout' => 'default', 'theme' => 'Themes/Agency', 'container' => 'GTM-PXXMN48', 'created' => object(Cake\I18n\FrozenTime) {}, 'modified' => object(Cake\I18n\FrozenTime) {}, 'mls_searches' => [ (int) 0 => object(App\Model\Entity\MlsSearch) {}, (int) 1 => object(App\Model\Entity\MlsSearch) {}, (int) 2 => object(App\Model\Entity\MlsSearch) {}, (int) 3 => object(App\Model\Entity\MlsSearch) {}, (int) 4 => object(App\Model\Entity\MlsSearch) {}, (int) 5 => object(App\Model\Entity\MlsSearch) {}, (int) 6 => object(App\Model\Entity\MlsSearch) {}, (int) 7 => object(App\Model\Entity\MlsSearch) {}, (int) 8 => object(App\Model\Entity\MlsSearch) {}, (int) 9 => object(App\Model\Entity\MlsSearch) {}, (int) 10 => object(App\Model\Entity\MlsSearch) {}, (int) 11 => object(App\Model\Entity\MlsSearch) {}, (int) 12 => object(App\Model\Entity\MlsSearch) {}, (int) 13 => object(App\Model\Entity\MlsSearch) {}, (int) 14 => object(App\Model\Entity\MlsSearch) {}, (int) 15 => object(App\Model\Entity\MlsSearch) {}, (int) 16 => object(App\Model\Entity\MlsSearch) {}, (int) 17 => object(App\Model\Entity\MlsSearch) {}, (int) 18 => object(App\Model\Entity\MlsSearch) {}, (int) 19 => object(App\Model\Entity\MlsSearch) {} ], 'featured' => object(App\Model\Entity\MlsSearch) {}, 'communities' => [ (int) 0 => object(App\Model\Entity\Community) {}, (int) 1 => object(App\Model\Entity\Community) {}, (int) 2 => object(App\Model\Entity\Community) {}, (int) 3 => object(App\Model\Entity\Community) {}, (int) 4 => object(App\Model\Entity\Community) {} ], '[new]' => false, '[accessible]' => [ '*' => true ], '[dirty]' => [], '[original]' => [], '[virtual]' => [], '[hasErrors]' => false, '[errors]' => [], '[invalid]' => [], '[repository]' => 'Domains' } $title = 'Comercial Building' $formTemplates = [ 'formGroup' => '{{label}}<div class="col-sm-8">{{input}}</div>', 'inputContainer' => '<div class="form-group row input {{type}}{{required}}">{{content}}</div>', 'inputContainerError' => '<div class="form-group row input {{type}}{{required}} error">{{content}}{{error}}</div>', 'label' => '<label class="col-sm-4" {{attrs}}>{{text}}</label>', 'input' => '<input class="form-control" type="{{type}}" name="{{name}}"{{attrs}}>' ] $strategy = [ 'meta' => [ 'model' => 'BRRR', 'target' => 'investors', 'title' => 'BRRRR', 'description' => 'Buy Outright, Rehab, Rent, Refinance and Keep as Investment, Repeat' ], 'calculation' => [ 'inputs' => [ (int) 0 => [ [maximum depth reached] ], (int) 1 => [ [maximum depth reached] ], (int) 2 => [ [maximum depth reached] ] ], 'results' => [ (int) 0 => [ [maximum depth reached] ], (int) 1 => [ [maximum depth reached] ] ] ] ] $class = 'tab-pane fade' $aria = 'false' $fieldset = [ 'name' => 'income', 'type' => 'number', 'label' => 'Rent income', 'value' => (int) 0, 'help' => 'All income' ] $result = [ 'name' => 'Cap Rate', 'type' => 'number', 'label' => 'Capitalization rate', 'value' => (int) 0, 'help' => 'Capitalization rate is the NOI divided by the price.', 'formula' => 'round(((income - expenses) / price) * 100,2)' ]
Warning (2): Invalid argument supplied for foreach() [APP/Template/Calculations/calculate.ctp, line 82]Code Context <legend><?= $fieldset['name']; ?></legend> <?php foreach($fieldset['fields'] as $field) { ?> <?php $value = (null != ($this->request->getData($field['name']))) ? $this->request->getData($field['name']) : $field['value']; ?> $viewFile = '/var/www/live/agnieszka.realtor/src/Template/Calculations/calculate.ctp' $dataForView = [ 'target' => 'commercial', 'strat' => null, 'calculation' => [ 'meta' => [ 'model' => 'commercial', 'title' => 'Comercial Building', 'description' => 'Commercial buildings other than Apartments', 'image' => '5c30c4fae16b4-commercial.jpg' ], 'strategies' => [ 'traditional' => [ [maximum depth reached] ], 'BRRR' => [ [maximum depth reached] ] ] ], 'domain' => object(App\Model\Entity\Domain) { 'id' => (int) 1, 'mls_search_id' => (int) 11, 'name' => 'agnieszka.realtor', 'description' => '', 'maintenance' => false, 'title' => 'Agnieszka Realtor', 'intro' => '', 'layout' => 'default', 'theme' => 'Themes/Agency', 'container' => 'GTM-PXXMN48', 'created' => object(Cake\I18n\FrozenTime) {}, 'modified' => object(Cake\I18n\FrozenTime) {}, 'mls_searches' => [ [maximum depth reached] ], 'featured' => object(App\Model\Entity\MlsSearch) {}, 'communities' => [ [maximum depth reached] ], '[new]' => false, '[accessible]' => [ [maximum depth reached] ], '[dirty]' => [[maximum depth reached]], '[original]' => [[maximum depth reached]], '[virtual]' => [[maximum depth reached]], '[hasErrors]' => false, '[errors]' => [[maximum depth reached]], '[invalid]' => [[maximum depth reached]], '[repository]' => 'Domains' } ] $target = 'commercial' $strat = null $calculation = [ 'meta' => [ 'model' => 'commercial', 'title' => 'Comercial Building', 'description' => 'Commercial buildings other than Apartments', 'image' => '5c30c4fae16b4-commercial.jpg' ], 'strategies' => [ 'traditional' => [ 'meta' => [ [maximum depth reached] ], 'calculation' => [ [maximum depth reached] ] ], 'BRRR' => [ 'meta' => [ [maximum depth reached] ], 'calculation' => [ [maximum depth reached] ] ] ] ] $domain = object(App\Model\Entity\Domain) { 'id' => (int) 1, 'mls_search_id' => (int) 11, 'name' => 'agnieszka.realtor', 'description' => '', 'maintenance' => false, 'title' => 'Agnieszka Realtor', 'intro' => '', 'layout' => 'default', 'theme' => 'Themes/Agency', 'container' => 'GTM-PXXMN48', 'created' => object(Cake\I18n\FrozenTime) {}, 'modified' => object(Cake\I18n\FrozenTime) {}, 'mls_searches' => [ (int) 0 => object(App\Model\Entity\MlsSearch) {}, (int) 1 => object(App\Model\Entity\MlsSearch) {}, (int) 2 => object(App\Model\Entity\MlsSearch) {}, (int) 3 => object(App\Model\Entity\MlsSearch) {}, (int) 4 => object(App\Model\Entity\MlsSearch) {}, (int) 5 => object(App\Model\Entity\MlsSearch) {}, (int) 6 => object(App\Model\Entity\MlsSearch) {}, (int) 7 => object(App\Model\Entity\MlsSearch) {}, (int) 8 => object(App\Model\Entity\MlsSearch) {}, (int) 9 => object(App\Model\Entity\MlsSearch) {}, (int) 10 => object(App\Model\Entity\MlsSearch) {}, (int) 11 => object(App\Model\Entity\MlsSearch) {}, (int) 12 => object(App\Model\Entity\MlsSearch) {}, (int) 13 => object(App\Model\Entity\MlsSearch) {}, (int) 14 => object(App\Model\Entity\MlsSearch) {}, (int) 15 => object(App\Model\Entity\MlsSearch) {}, (int) 16 => object(App\Model\Entity\MlsSearch) {}, (int) 17 => object(App\Model\Entity\MlsSearch) {}, (int) 18 => object(App\Model\Entity\MlsSearch) {}, (int) 19 => object(App\Model\Entity\MlsSearch) {} ], 'featured' => object(App\Model\Entity\MlsSearch) {}, 'communities' => [ (int) 0 => object(App\Model\Entity\Community) {}, (int) 1 => object(App\Model\Entity\Community) {}, (int) 2 => object(App\Model\Entity\Community) {}, (int) 3 => object(App\Model\Entity\Community) {}, (int) 4 => object(App\Model\Entity\Community) {} ], '[new]' => false, '[accessible]' => [ '*' => true ], '[dirty]' => [], '[original]' => [], '[virtual]' => [], '[hasErrors]' => false, '[errors]' => [], '[invalid]' => [], '[repository]' => 'Domains' } $title = 'Comercial Building' $formTemplates = [ 'formGroup' => '{{label}}<div class="col-sm-8">{{input}}</div>', 'inputContainer' => '<div class="form-group row input {{type}}{{required}}">{{content}}</div>', 'inputContainerError' => '<div class="form-group row input {{type}}{{required}} error">{{content}}{{error}}</div>', 'label' => '<label class="col-sm-4" {{attrs}}>{{text}}</label>', 'input' => '<input class="form-control" type="{{type}}" name="{{name}}"{{attrs}}>' ] $strategy = [ 'meta' => [ 'model' => 'BRRR', 'target' => 'investors', 'title' => 'BRRRR', 'description' => 'Buy Outright, Rehab, Rent, Refinance and Keep as Investment, Repeat' ], 'calculation' => [ 'inputs' => [ (int) 0 => [ [maximum depth reached] ], (int) 1 => [ [maximum depth reached] ], (int) 2 => [ [maximum depth reached] ] ], 'results' => [ (int) 0 => [ [maximum depth reached] ], (int) 1 => [ [maximum depth reached] ] ] ] ] $class = 'tab-pane fade' $aria = 'false' $fieldset = [ 'name' => 'income', 'type' => 'number', 'label' => 'Rent income', 'value' => (int) 0, 'help' => 'All income' ] $result = [ 'name' => 'Cap Rate', 'type' => 'number', 'label' => 'Capitalization rate', 'value' => (int) 0, 'help' => 'Capitalization rate is the NOI divided by the price.', 'formula' => 'round(((income - expenses) / price) * 100,2)' ]include - APP/Template/Calculations/calculate.ctp, line 82 Cake\View\View::_evaluate() - CORE/src/View/View.php, line 1420 Cake\View\View::_render() - CORE/src/View/View.php, line 1381 Cake\View\View::render() - CORE/src/View/View.php, line 879 Cake\Controller\Controller::render() - CORE/src/Controller/Controller.php, line 795 Cake\Http\ActionDispatcher::_invoke() - CORE/src/Http/ActionDispatcher.php, line 126 Cake\Http\ActionDispatcher::dispatch() - CORE/src/Http/ActionDispatcher.php, line 94 Cake\Http\BaseApplication::__invoke() - CORE/src/Http/BaseApplication.php, line 234 Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65 Cake\Routing\Middleware\RoutingMiddleware::__invoke() - CORE/src/Routing/Middleware/RoutingMiddleware.php, line 164 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 96 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 97
Notice (8): Undefined index: fields [APP/Template/Calculations/calculate.ctp, line 82]Code Context <legend><?= $fieldset['name']; ?></legend> <?php foreach($fieldset['fields'] as $field) { ?> <?php $value = (null != ($this->request->getData($field['name']))) ? $this->request->getData($field['name']) : $field['value']; ?> $viewFile = '/var/www/live/agnieszka.realtor/src/Template/Calculations/calculate.ctp' $dataForView = [ 'target' => 'commercial', 'strat' => null, 'calculation' => [ 'meta' => [ 'model' => 'commercial', 'title' => 'Comercial Building', 'description' => 'Commercial buildings other than Apartments', 'image' => '5c30c4fae16b4-commercial.jpg' ], 'strategies' => [ 'traditional' => [ [maximum depth reached] ], 'BRRR' => [ [maximum depth reached] ] ] ], 'domain' => object(App\Model\Entity\Domain) { 'id' => (int) 1, 'mls_search_id' => (int) 11, 'name' => 'agnieszka.realtor', 'description' => '', 'maintenance' => false, 'title' => 'Agnieszka Realtor', 'intro' => '', 'layout' => 'default', 'theme' => 'Themes/Agency', 'container' => 'GTM-PXXMN48', 'created' => object(Cake\I18n\FrozenTime) {}, 'modified' => object(Cake\I18n\FrozenTime) {}, 'mls_searches' => [ [maximum depth reached] ], 'featured' => object(App\Model\Entity\MlsSearch) {}, 'communities' => [ [maximum depth reached] ], '[new]' => false, '[accessible]' => [ [maximum depth reached] ], '[dirty]' => [[maximum depth reached]], '[original]' => [[maximum depth reached]], '[virtual]' => [[maximum depth reached]], '[hasErrors]' => false, '[errors]' => [[maximum depth reached]], '[invalid]' => [[maximum depth reached]], '[repository]' => 'Domains' } ] $target = 'commercial' $strat = null $calculation = [ 'meta' => [ 'model' => 'commercial', 'title' => 'Comercial Building', 'description' => 'Commercial buildings other than Apartments', 'image' => '5c30c4fae16b4-commercial.jpg' ], 'strategies' => [ 'traditional' => [ 'meta' => [ [maximum depth reached] ], 'calculation' => [ [maximum depth reached] ] ], 'BRRR' => [ 'meta' => [ [maximum depth reached] ], 'calculation' => [ [maximum depth reached] ] ] ] ] $domain = object(App\Model\Entity\Domain) { 'id' => (int) 1, 'mls_search_id' => (int) 11, 'name' => 'agnieszka.realtor', 'description' => '', 'maintenance' => false, 'title' => 'Agnieszka Realtor', 'intro' => '', 'layout' => 'default', 'theme' => 'Themes/Agency', 'container' => 'GTM-PXXMN48', 'created' => object(Cake\I18n\FrozenTime) {}, 'modified' => object(Cake\I18n\FrozenTime) {}, 'mls_searches' => [ (int) 0 => object(App\Model\Entity\MlsSearch) {}, (int) 1 => object(App\Model\Entity\MlsSearch) {}, (int) 2 => object(App\Model\Entity\MlsSearch) {}, (int) 3 => object(App\Model\Entity\MlsSearch) {}, (int) 4 => object(App\Model\Entity\MlsSearch) {}, (int) 5 => object(App\Model\Entity\MlsSearch) {}, (int) 6 => object(App\Model\Entity\MlsSearch) {}, (int) 7 => object(App\Model\Entity\MlsSearch) {}, (int) 8 => object(App\Model\Entity\MlsSearch) {}, (int) 9 => object(App\Model\Entity\MlsSearch) {}, (int) 10 => object(App\Model\Entity\MlsSearch) {}, (int) 11 => object(App\Model\Entity\MlsSearch) {}, (int) 12 => object(App\Model\Entity\MlsSearch) {}, (int) 13 => object(App\Model\Entity\MlsSearch) {}, (int) 14 => object(App\Model\Entity\MlsSearch) {}, (int) 15 => object(App\Model\Entity\MlsSearch) {}, (int) 16 => object(App\Model\Entity\MlsSearch) {}, (int) 17 => object(App\Model\Entity\MlsSearch) {}, (int) 18 => object(App\Model\Entity\MlsSearch) {}, (int) 19 => object(App\Model\Entity\MlsSearch) {} ], 'featured' => object(App\Model\Entity\MlsSearch) {}, 'communities' => [ (int) 0 => object(App\Model\Entity\Community) {}, (int) 1 => object(App\Model\Entity\Community) {}, (int) 2 => object(App\Model\Entity\Community) {}, (int) 3 => object(App\Model\Entity\Community) {}, (int) 4 => object(App\Model\Entity\Community) {} ], '[new]' => false, '[accessible]' => [ '*' => true ], '[dirty]' => [], '[original]' => [], '[virtual]' => [], '[hasErrors]' => false, '[errors]' => [], '[invalid]' => [], '[repository]' => 'Domains' } $title = 'Comercial Building' $formTemplates = [ 'formGroup' => '{{label}}<div class="col-sm-8">{{input}}</div>', 'inputContainer' => '<div class="form-group row input {{type}}{{required}}">{{content}}</div>', 'inputContainerError' => '<div class="form-group row input {{type}}{{required}} error">{{content}}{{error}}</div>', 'label' => '<label class="col-sm-4" {{attrs}}>{{text}}</label>', 'input' => '<input class="form-control" type="{{type}}" name="{{name}}"{{attrs}}>' ] $strategy = [ 'meta' => [ 'model' => 'BRRR', 'target' => 'investors', 'title' => 'BRRRR', 'description' => 'Buy Outright, Rehab, Rent, Refinance and Keep as Investment, Repeat' ], 'calculation' => [ 'inputs' => [ (int) 0 => [ [maximum depth reached] ], (int) 1 => [ [maximum depth reached] ], (int) 2 => [ [maximum depth reached] ] ], 'results' => [ (int) 0 => [ [maximum depth reached] ], (int) 1 => [ [maximum depth reached] ] ] ] ] $class = 'tab-pane fade' $aria = 'false' $fieldset = [ 'name' => 'expenses', 'type' => 'number', 'label' => 'Total of expenses', 'value' => (int) 0, 'help' => 'All expenses' ] $result = [ 'name' => 'Cap Rate', 'type' => 'number', 'label' => 'Capitalization rate', 'value' => (int) 0, 'help' => 'Capitalization rate is the NOI divided by the price.', 'formula' => 'round(((income - expenses) / price) * 100,2)' ]include - APP/Template/Calculations/calculate.ctp, line 82 Cake\View\View::_evaluate() - CORE/src/View/View.php, line 1420 Cake\View\View::_render() - CORE/src/View/View.php, line 1381 Cake\View\View::render() - CORE/src/View/View.php, line 879 Cake\Controller\Controller::render() - CORE/src/Controller/Controller.php, line 795 Cake\Http\ActionDispatcher::_invoke() - CORE/src/Http/ActionDispatcher.php, line 126 Cake\Http\ActionDispatcher::dispatch() - CORE/src/Http/ActionDispatcher.php, line 94 Cake\Http\BaseApplication::__invoke() - CORE/src/Http/BaseApplication.php, line 234 Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65 Cake\Routing\Middleware\RoutingMiddleware::__invoke() - CORE/src/Routing/Middleware/RoutingMiddleware.php, line 164 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 96 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 97
$viewFile = '/var/www/live/agnieszka.realtor/src/Template/Calculations/calculate.ctp' $dataForView = [ 'target' => 'commercial', 'strat' => null, 'calculation' => [ 'meta' => [ 'model' => 'commercial', 'title' => 'Comercial Building', 'description' => 'Commercial buildings other than Apartments', 'image' => '5c30c4fae16b4-commercial.jpg' ], 'strategies' => [ 'traditional' => [ [maximum depth reached] ], 'BRRR' => [ [maximum depth reached] ] ] ], 'domain' => object(App\Model\Entity\Domain) { 'id' => (int) 1, 'mls_search_id' => (int) 11, 'name' => 'agnieszka.realtor', 'description' => '', 'maintenance' => false, 'title' => 'Agnieszka Realtor', 'intro' => '', 'layout' => 'default', 'theme' => 'Themes/Agency', 'container' => 'GTM-PXXMN48', 'created' => object(Cake\I18n\FrozenTime) {}, 'modified' => object(Cake\I18n\FrozenTime) {}, 'mls_searches' => [ [maximum depth reached] ], 'featured' => object(App\Model\Entity\MlsSearch) {}, 'communities' => [ [maximum depth reached] ], '[new]' => false, '[accessible]' => [ [maximum depth reached] ], '[dirty]' => [[maximum depth reached]], '[original]' => [[maximum depth reached]], '[virtual]' => [[maximum depth reached]], '[hasErrors]' => false, '[errors]' => [[maximum depth reached]], '[invalid]' => [[maximum depth reached]], '[repository]' => 'Domains' } ] $target = 'commercial' $strat = null $calculation = [ 'meta' => [ 'model' => 'commercial', 'title' => 'Comercial Building', 'description' => 'Commercial buildings other than Apartments', 'image' => '5c30c4fae16b4-commercial.jpg' ], 'strategies' => [ 'traditional' => [ 'meta' => [ [maximum depth reached] ], 'calculation' => [ [maximum depth reached] ] ], 'BRRR' => [ 'meta' => [ [maximum depth reached] ], 'calculation' => [ [maximum depth reached] ] ] ] ] $domain = object(App\Model\Entity\Domain) { 'id' => (int) 1, 'mls_search_id' => (int) 11, 'name' => 'agnieszka.realtor', 'description' => '', 'maintenance' => false, 'title' => 'Agnieszka Realtor', 'intro' => '', 'layout' => 'default', 'theme' => 'Themes/Agency', 'container' => 'GTM-PXXMN48', 'created' => object(Cake\I18n\FrozenTime) {}, 'modified' => object(Cake\I18n\FrozenTime) {}, 'mls_searches' => [ (int) 0 => object(App\Model\Entity\MlsSearch) {}, (int) 1 => object(App\Model\Entity\MlsSearch) {}, (int) 2 => object(App\Model\Entity\MlsSearch) {}, (int) 3 => object(App\Model\Entity\MlsSearch) {}, (int) 4 => object(App\Model\Entity\MlsSearch) {}, (int) 5 => object(App\Model\Entity\MlsSearch) {}, (int) 6 => object(App\Model\Entity\MlsSearch) {}, (int) 7 => object(App\Model\Entity\MlsSearch) {}, (int) 8 => object(App\Model\Entity\MlsSearch) {}, (int) 9 => object(App\Model\Entity\MlsSearch) {}, (int) 10 => object(App\Model\Entity\MlsSearch) {}, (int) 11 => object(App\Model\Entity\MlsSearch) {}, (int) 12 => object(App\Model\Entity\MlsSearch) {}, (int) 13 => object(App\Model\Entity\MlsSearch) {}, (int) 14 => object(App\Model\Entity\MlsSearch) {}, (int) 15 => object(App\Model\Entity\MlsSearch) {}, (int) 16 => object(App\Model\Entity\MlsSearch) {}, (int) 17 => object(App\Model\Entity\MlsSearch) {}, (int) 18 => object(App\Model\Entity\MlsSearch) {}, (int) 19 => object(App\Model\Entity\MlsSearch) {} ], 'featured' => object(App\Model\Entity\MlsSearch) {}, 'communities' => [ (int) 0 => object(App\Model\Entity\Community) {}, (int) 1 => object(App\Model\Entity\Community) {}, (int) 2 => object(App\Model\Entity\Community) {}, (int) 3 => object(App\Model\Entity\Community) {}, (int) 4 => object(App\Model\Entity\Community) {} ], '[new]' => false, '[accessible]' => [ '*' => true ], '[dirty]' => [], '[original]' => [], '[virtual]' => [], '[hasErrors]' => false, '[errors]' => [], '[invalid]' => [], '[repository]' => 'Domains' } $title = 'Comercial Building' $formTemplates = [ 'formGroup' => '{{label}}<div class="col-sm-8">{{input}}</div>', 'inputContainer' => '<div class="form-group row input {{type}}{{required}}">{{content}}</div>', 'inputContainerError' => '<div class="form-group row input {{type}}{{required}} error">{{content}}{{error}}</div>', 'label' => '<label class="col-sm-4" {{attrs}}>{{text}}</label>', 'input' => '<input class="form-control" type="{{type}}" name="{{name}}"{{attrs}}>' ] $strategy = [ 'meta' => [ 'model' => 'BRRR', 'target' => 'investors', 'title' => 'BRRRR', 'description' => 'Buy Outright, Rehab, Rent, Refinance and Keep as Investment, Repeat' ], 'calculation' => [ 'inputs' => [ (int) 0 => [ [maximum depth reached] ], (int) 1 => [ [maximum depth reached] ], (int) 2 => [ [maximum depth reached] ] ], 'results' => [ (int) 0 => [ [maximum depth reached] ], (int) 1 => [ [maximum depth reached] ] ] ] ] $class = 'tab-pane fade' $aria = 'false' $fieldset = [ 'name' => 'expenses', 'type' => 'number', 'label' => 'Total of expenses', 'value' => (int) 0, 'help' => 'All expenses' ] $result = [ 'name' => 'Cap Rate', 'type' => 'number', 'label' => 'Capitalization rate', 'value' => (int) 0, 'help' => 'Capitalization rate is the NOI divided by the price.', 'formula' => 'round(((income - expenses) / price) * 100,2)' ]
Warning (2): Invalid argument supplied for foreach() [APP/Template/Calculations/calculate.ctp, line 82]Code Context <legend><?= $fieldset['name']; ?></legend> <?php foreach($fieldset['fields'] as $field) { ?> <?php $value = (null != ($this->request->getData($field['name']))) ? $this->request->getData($field['name']) : $field['value']; ?> $viewFile = '/var/www/live/agnieszka.realtor/src/Template/Calculations/calculate.ctp' $dataForView = [ 'target' => 'commercial', 'strat' => null, 'calculation' => [ 'meta' => [ 'model' => 'commercial', 'title' => 'Comercial Building', 'description' => 'Commercial buildings other than Apartments', 'image' => '5c30c4fae16b4-commercial.jpg' ], 'strategies' => [ 'traditional' => [ [maximum depth reached] ], 'BRRR' => [ [maximum depth reached] ] ] ], 'domain' => object(App\Model\Entity\Domain) { 'id' => (int) 1, 'mls_search_id' => (int) 11, 'name' => 'agnieszka.realtor', 'description' => '', 'maintenance' => false, 'title' => 'Agnieszka Realtor', 'intro' => '', 'layout' => 'default', 'theme' => 'Themes/Agency', 'container' => 'GTM-PXXMN48', 'created' => object(Cake\I18n\FrozenTime) {}, 'modified' => object(Cake\I18n\FrozenTime) {}, 'mls_searches' => [ [maximum depth reached] ], 'featured' => object(App\Model\Entity\MlsSearch) {}, 'communities' => [ [maximum depth reached] ], '[new]' => false, '[accessible]' => [ [maximum depth reached] ], '[dirty]' => [[maximum depth reached]], '[original]' => [[maximum depth reached]], '[virtual]' => [[maximum depth reached]], '[hasErrors]' => false, '[errors]' => [[maximum depth reached]], '[invalid]' => [[maximum depth reached]], '[repository]' => 'Domains' } ] $target = 'commercial' $strat = null $calculation = [ 'meta' => [ 'model' => 'commercial', 'title' => 'Comercial Building', 'description' => 'Commercial buildings other than Apartments', 'image' => '5c30c4fae16b4-commercial.jpg' ], 'strategies' => [ 'traditional' => [ 'meta' => [ [maximum depth reached] ], 'calculation' => [ [maximum depth reached] ] ], 'BRRR' => [ 'meta' => [ [maximum depth reached] ], 'calculation' => [ [maximum depth reached] ] ] ] ] $domain = object(App\Model\Entity\Domain) { 'id' => (int) 1, 'mls_search_id' => (int) 11, 'name' => 'agnieszka.realtor', 'description' => '', 'maintenance' => false, 'title' => 'Agnieszka Realtor', 'intro' => '', 'layout' => 'default', 'theme' => 'Themes/Agency', 'container' => 'GTM-PXXMN48', 'created' => object(Cake\I18n\FrozenTime) {}, 'modified' => object(Cake\I18n\FrozenTime) {}, 'mls_searches' => [ (int) 0 => object(App\Model\Entity\MlsSearch) {}, (int) 1 => object(App\Model\Entity\MlsSearch) {}, (int) 2 => object(App\Model\Entity\MlsSearch) {}, (int) 3 => object(App\Model\Entity\MlsSearch) {}, (int) 4 => object(App\Model\Entity\MlsSearch) {}, (int) 5 => object(App\Model\Entity\MlsSearch) {}, (int) 6 => object(App\Model\Entity\MlsSearch) {}, (int) 7 => object(App\Model\Entity\MlsSearch) {}, (int) 8 => object(App\Model\Entity\MlsSearch) {}, (int) 9 => object(App\Model\Entity\MlsSearch) {}, (int) 10 => object(App\Model\Entity\MlsSearch) {}, (int) 11 => object(App\Model\Entity\MlsSearch) {}, (int) 12 => object(App\Model\Entity\MlsSearch) {}, (int) 13 => object(App\Model\Entity\MlsSearch) {}, (int) 14 => object(App\Model\Entity\MlsSearch) {}, (int) 15 => object(App\Model\Entity\MlsSearch) {}, (int) 16 => object(App\Model\Entity\MlsSearch) {}, (int) 17 => object(App\Model\Entity\MlsSearch) {}, (int) 18 => object(App\Model\Entity\MlsSearch) {}, (int) 19 => object(App\Model\Entity\MlsSearch) {} ], 'featured' => object(App\Model\Entity\MlsSearch) {}, 'communities' => [ (int) 0 => object(App\Model\Entity\Community) {}, (int) 1 => object(App\Model\Entity\Community) {}, (int) 2 => object(App\Model\Entity\Community) {}, (int) 3 => object(App\Model\Entity\Community) {}, (int) 4 => object(App\Model\Entity\Community) {} ], '[new]' => false, '[accessible]' => [ '*' => true ], '[dirty]' => [], '[original]' => [], '[virtual]' => [], '[hasErrors]' => false, '[errors]' => [], '[invalid]' => [], '[repository]' => 'Domains' } $title = 'Comercial Building' $formTemplates = [ 'formGroup' => '{{label}}<div class="col-sm-8">{{input}}</div>', 'inputContainer' => '<div class="form-group row input {{type}}{{required}}">{{content}}</div>', 'inputContainerError' => '<div class="form-group row input {{type}}{{required}} error">{{content}}{{error}}</div>', 'label' => '<label class="col-sm-4" {{attrs}}>{{text}}</label>', 'input' => '<input class="form-control" type="{{type}}" name="{{name}}"{{attrs}}>' ] $strategy = [ 'meta' => [ 'model' => 'BRRR', 'target' => 'investors', 'title' => 'BRRRR', 'description' => 'Buy Outright, Rehab, Rent, Refinance and Keep as Investment, Repeat' ], 'calculation' => [ 'inputs' => [ (int) 0 => [ [maximum depth reached] ], (int) 1 => [ [maximum depth reached] ], (int) 2 => [ [maximum depth reached] ] ], 'results' => [ (int) 0 => [ [maximum depth reached] ], (int) 1 => [ [maximum depth reached] ] ] ] ] $class = 'tab-pane fade' $aria = 'false' $fieldset = [ 'name' => 'expenses', 'type' => 'number', 'label' => 'Total of expenses', 'value' => (int) 0, 'help' => 'All expenses' ] $result = [ 'name' => 'Cap Rate', 'type' => 'number', 'label' => 'Capitalization rate', 'value' => (int) 0, 'help' => 'Capitalization rate is the NOI divided by the price.', 'formula' => 'round(((income - expenses) / price) * 100,2)' ]include - APP/Template/Calculations/calculate.ctp, line 82 Cake\View\View::_evaluate() - CORE/src/View/View.php, line 1420 Cake\View\View::_render() - CORE/src/View/View.php, line 1381 Cake\View\View::render() - CORE/src/View/View.php, line 879 Cake\Controller\Controller::render() - CORE/src/Controller/Controller.php, line 795 Cake\Http\ActionDispatcher::_invoke() - CORE/src/Http/ActionDispatcher.php, line 126 Cake\Http\ActionDispatcher::dispatch() - CORE/src/Http/ActionDispatcher.php, line 94 Cake\Http\BaseApplication::__invoke() - CORE/src/Http/BaseApplication.php, line 234 Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65 Cake\Routing\Middleware\RoutingMiddleware::__invoke() - CORE/src/Routing/Middleware/RoutingMiddleware.php, line 164 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 96 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 97