Notice (8): Trying to get property 'user' of non-object [ROOT/plugins/Portal/src/Template/Properties/developer.ctp, line 161]Code Context <div class="ml-auto">
<?php echo $this->Html->link(__('<i class="fa fa-phone"></i> Call Developer'), 'tel:' . $properties->developer->user->telephone_number, ['class' => 'btn btn-outline-primary', 'escape' => false, 'id' => 'caller']) ?>
<?= $this->Html->link('View Details', ['plugin' => 'Portal', 'controller' => 'properties', 'action' => 'details','slug' => $properties->slug], ['class' => 'btn btn-outline-primary']); ?>
$viewFile = '/var/www/html/hihome/plugins/Portal/src/Template/Properties/developer.ctp'
$dataForView = [
'developer' => object(App\Model\Entity\Developer) {
'id' => (int) 31,
'company_name' => 'Magna City Development Sdn Bhd',
'address' => 'Dataran Otomobil Shah Alam, Seksyen 15, Persiaran Selangor, Shah Alam, 40100, Shah Alam, Selangor',
'status' => (int) 1,
'officer_name' => 'Magna City Development Sdn Bhd',
'created' => object(Cake\I18n\FrozenTime) {},
'modified' => object(Cake\I18n\FrozenTime) {},
'logo' => '/uploads/developers/developers-Magna City Development Sdn Bhd.jpg',
'memo' => '',
'properties' => [
[maximum depth reached]
],
'user' => object(App\Model\Entity\User) {},
'[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]' => 'Developers'
},
'property' => object(Cake\ORM\ResultSet) {
'items' => [
[maximum depth reached]
]
},
'mobile' => false,
'cookieHelper' => object(Cake\Controller\Component\CookieComponent) {
'components' => [[maximum depth reached]],
'implementedEvents' => [[maximum depth reached]],
'_config' => [
[maximum depth reached]
]
}
]
$developer = object(App\Model\Entity\Developer) {
'id' => (int) 31,
'company_name' => 'Magna City Development Sdn Bhd',
'address' => 'Dataran Otomobil Shah Alam, Seksyen 15, Persiaran Selangor, Shah Alam, 40100, Shah Alam, Selangor',
'status' => (int) 1,
'officer_name' => 'Magna City Development Sdn Bhd',
'created' => object(Cake\I18n\FrozenTime) {},
'modified' => object(Cake\I18n\FrozenTime) {},
'logo' => '/uploads/developers/developers-Magna City Development Sdn Bhd.jpg',
'memo' => '',
'properties' => [
(int) 0 => object(App\Model\Entity\Property) {},
(int) 1 => object(App\Model\Entity\Property) {}
],
'user' => object(App\Model\Entity\User) {},
'[new]' => false,
'[accessible]' => [
'company_name' => true,
'address' => true,
'status' => true,
'officer_name' => true,
'logo' => true,
'memo' => true,
'created' => true,
'modified' => true,
'properties' => true,
'users' => true
],
'[dirty]' => [],
'[original]' => [],
'[virtual]' => [],
'[hasErrors]' => false,
'[errors]' => [],
'[invalid]' => [],
'[repository]' => 'Developers'
}
$property = object(Cake\ORM\ResultSet) {
'items' => [
(int) 0 => object(App\Model\Entity\Property) {},
(int) 1 => object(App\Model\Entity\Property) {},
(int) 2 => object(App\Model\Entity\Property) {},
(int) 3 => object(App\Model\Entity\Property) {},
(int) 4 => object(App\Model\Entity\Property) {},
(int) 5 => object(App\Model\Entity\Property) {}
]
}
$mobile = false
$cookieHelper = object(Cake\Controller\Component\CookieComponent) {
'components' => [],
'implementedEvents' => [],
'_config' => [
'path' => '/',
'domain' => '',
'secure' => false,
'key' => '@qgm@rq290i92q3fnverjfmwaeisvns[]m@vnersie9@jgf9034j0g@vns@09e34khairilnsgen4390jtgne@4f@nsenf[an@w4nth9048ngna@wnf8na8g2ivierni',
'httpOnly' => false,
'encryption' => 'aes',
'expires' => '+2 weeks'
]
}
$properties = object(App\Model\Entity\Property) {
'id' => (int) 103,
'name' => 'Taman Sungai Yu Indah',
'address' => 'Kuala Selangor',
'state_id' => (int) 10,
'unit_type' => 'Intermediate',
'tenure' => 'Freehold',
'furnishing' => '-',
'min_bath' => (int) 2,
'min_bed' => (int) 3,
'min_sqft' => (int) 700,
'occupancy' => 'Vacant',
'agent_id' => null,
'price' => (float) 42000,
'discount' => (int) 0,
'hoc_discount' => (int) 0,
'featured_list' => (int) 0,
'status' => (int) 1,
'max_price' => (float) 239000,
'max_bath' => (int) 2,
'max_bed' => (int) 3,
'max_sqft' => (int) 900,
'total_amount' => (float) 42000,
'latitude' => '3.366431',
'longitude' => '101.226813',
'land_title' => '-',
'facing_direction' => '-',
'maintenance_fee' => null,
'type_property' => '-',
'level' => 'publish',
'others' => null,
'slug' => '103-Taman-Sungai-Yu-Indah',
'rebate' => null,
'booking_fee' => null,
'norm_discount' => null,
'campaign' => (int) 0,
'type_id' => (int) 5,
'developer_id' => (int) 22,
'project_id' => (int) 21,
'created' => object(Cake\I18n\FrozenTime) {},
'modified' => object(Cake\I18n\FrozenTime) {},
'images' => [
(int) 0 => object(App\Model\Entity\Image) {},
(int) 1 => object(App\Model\Entity\Image) {},
(int) 2 => object(App\Model\Entity\Image) {}
],
'developer' => null,
'property_type' => object(App\Model\Entity\PropertyType) {},
'state' => object(App\Model\Entity\State) {},
'[new]' => false,
'[accessible]' => [
'name' => true,
'address' => true,
'state_id' => true,
'unit_type' => true,
'tenure' => true,
'furnishing' => true,
'min_bath' => true,
'max_bath' => true,
'min_bed' => true,
'max_bed' => true,
'min_sqft' => true,
'max_sqft' => true,
'occupancy' => true,
'type_id' => true,
'developer_id' => true,
'project_id' => true,
'agent_id' => true,
'price' => true,
'discount' => true,
'hoc_discount' => true,
'norm_discount' => true,
'rebate' => true,
'others' => true,
'total_amount' => true,
'status' => true,
'images' => true,
'max_price' => true,
'latitude' => true,
'longitude' => true,
'land_title' => true,
'facing_direction' => true,
'maintenance_fee' => true,
'type_property' => true,
'level' => true,
'slug' => true,
'booking_fee' => true,
'campaign' => true,
'featured_list' => true,
'created' => true,
'modified' => true,
'property_type' => true,
'developer' => true
],
'[dirty]' => [],
'[original]' => [],
'[virtual]' => [],
'[hasErrors]' => false,
'[errors]' => [],
'[invalid]' => [],
'[repository]' => 'Properties'
}
$i = (int) 3
$image = object(App\Model\Entity\Image) {
'id' => (int) 405,
'image_property' => '/uploads/properties/property-103-Taman Sungai Yu Indah 1.jpg',
'availability' => (int) 1,
'property_id' => (int) 103,
'created' => object(Cake\I18n\FrozenTime) {},
'modified' => object(Cake\I18n\FrozenTime) {},
'image_name' => 'property-103-Taman Sungai Yu Indah 1.jpg',
'[new]' => false,
'[accessible]' => [
'image_property' => true,
'availability' => true,
'property_id' => true,
'image_name' => true,
'created' => true,
'modified' => true,
'property' => true
],
'[dirty]' => [],
'[original]' => [],
'[virtual]' => [],
'[hasErrors]' => false,
'[errors]' => [],
'[invalid]' => [],
'[repository]' => 'Images'
}
include - ROOT/plugins/Portal/src/Template/Properties/developer.ctp, line 161
Cake\View\View::_evaluate() - CORE/src/View/View.php, line 1419
Cake\View\View::_render() - CORE/src/View/View.php, line 1380
Cake\View\View::render() - CORE/src/View/View.php, line 880
Cake\Controller\Controller::render() - CORE/src/Controller/Controller.php, line 791
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 235
Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65
Cake\Routing\Middleware\RoutingMiddleware::__invoke() - CORE/src/Routing/Middleware/RoutingMiddleware.php, line 162
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 98
Notice (8): Trying to get property 'telephone_number' of non-object [ROOT/plugins/Portal/src/Template/Properties/developer.ctp, line 161]Code Context <div class="ml-auto">
<?php echo $this->Html->link(__('<i class="fa fa-phone"></i> Call Developer'), 'tel:' . $properties->developer->user->telephone_number, ['class' => 'btn btn-outline-primary', 'escape' => false, 'id' => 'caller']) ?>
<?= $this->Html->link('View Details', ['plugin' => 'Portal', 'controller' => 'properties', 'action' => 'details','slug' => $properties->slug], ['class' => 'btn btn-outline-primary']); ?>
$viewFile = '/var/www/html/hihome/plugins/Portal/src/Template/Properties/developer.ctp'
$dataForView = [
'developer' => object(App\Model\Entity\Developer) {
'id' => (int) 31,
'company_name' => 'Magna City Development Sdn Bhd',
'address' => 'Dataran Otomobil Shah Alam, Seksyen 15, Persiaran Selangor, Shah Alam, 40100, Shah Alam, Selangor',
'status' => (int) 1,
'officer_name' => 'Magna City Development Sdn Bhd',
'created' => object(Cake\I18n\FrozenTime) {},
'modified' => object(Cake\I18n\FrozenTime) {},
'logo' => '/uploads/developers/developers-Magna City Development Sdn Bhd.jpg',
'memo' => '',
'properties' => [
[maximum depth reached]
],
'user' => object(App\Model\Entity\User) {},
'[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]' => 'Developers'
},
'property' => object(Cake\ORM\ResultSet) {
'items' => [
[maximum depth reached]
]
},
'mobile' => false,
'cookieHelper' => object(Cake\Controller\Component\CookieComponent) {
'components' => [[maximum depth reached]],
'implementedEvents' => [[maximum depth reached]],
'_config' => [
[maximum depth reached]
]
}
]
$developer = object(App\Model\Entity\Developer) {
'id' => (int) 31,
'company_name' => 'Magna City Development Sdn Bhd',
'address' => 'Dataran Otomobil Shah Alam, Seksyen 15, Persiaran Selangor, Shah Alam, 40100, Shah Alam, Selangor',
'status' => (int) 1,
'officer_name' => 'Magna City Development Sdn Bhd',
'created' => object(Cake\I18n\FrozenTime) {},
'modified' => object(Cake\I18n\FrozenTime) {},
'logo' => '/uploads/developers/developers-Magna City Development Sdn Bhd.jpg',
'memo' => '',
'properties' => [
(int) 0 => object(App\Model\Entity\Property) {},
(int) 1 => object(App\Model\Entity\Property) {}
],
'user' => object(App\Model\Entity\User) {},
'[new]' => false,
'[accessible]' => [
'company_name' => true,
'address' => true,
'status' => true,
'officer_name' => true,
'logo' => true,
'memo' => true,
'created' => true,
'modified' => true,
'properties' => true,
'users' => true
],
'[dirty]' => [],
'[original]' => [],
'[virtual]' => [],
'[hasErrors]' => false,
'[errors]' => [],
'[invalid]' => [],
'[repository]' => 'Developers'
}
$property = object(Cake\ORM\ResultSet) {
'items' => [
(int) 0 => object(App\Model\Entity\Property) {},
(int) 1 => object(App\Model\Entity\Property) {},
(int) 2 => object(App\Model\Entity\Property) {},
(int) 3 => object(App\Model\Entity\Property) {},
(int) 4 => object(App\Model\Entity\Property) {},
(int) 5 => object(App\Model\Entity\Property) {}
]
}
$mobile = false
$cookieHelper = object(Cake\Controller\Component\CookieComponent) {
'components' => [],
'implementedEvents' => [],
'_config' => [
'path' => '/',
'domain' => '',
'secure' => false,
'key' => '@qgm@rq290i92q3fnverjfmwaeisvns[]m@vnersie9@jgf9034j0g@vns@09e34khairilnsgen4390jtgne@4f@nsenf[an@w4nth9048ngna@wnf8na8g2ivierni',
'httpOnly' => false,
'encryption' => 'aes',
'expires' => '+2 weeks'
]
}
$properties = object(App\Model\Entity\Property) {
'id' => (int) 103,
'name' => 'Taman Sungai Yu Indah',
'address' => 'Kuala Selangor',
'state_id' => (int) 10,
'unit_type' => 'Intermediate',
'tenure' => 'Freehold',
'furnishing' => '-',
'min_bath' => (int) 2,
'min_bed' => (int) 3,
'min_sqft' => (int) 700,
'occupancy' => 'Vacant',
'agent_id' => null,
'price' => (float) 42000,
'discount' => (int) 0,
'hoc_discount' => (int) 0,
'featured_list' => (int) 0,
'status' => (int) 1,
'max_price' => (float) 239000,
'max_bath' => (int) 2,
'max_bed' => (int) 3,
'max_sqft' => (int) 900,
'total_amount' => (float) 42000,
'latitude' => '3.366431',
'longitude' => '101.226813',
'land_title' => '-',
'facing_direction' => '-',
'maintenance_fee' => null,
'type_property' => '-',
'level' => 'publish',
'others' => null,
'slug' => '103-Taman-Sungai-Yu-Indah',
'rebate' => null,
'booking_fee' => null,
'norm_discount' => null,
'campaign' => (int) 0,
'type_id' => (int) 5,
'developer_id' => (int) 22,
'project_id' => (int) 21,
'created' => object(Cake\I18n\FrozenTime) {},
'modified' => object(Cake\I18n\FrozenTime) {},
'images' => [
(int) 0 => object(App\Model\Entity\Image) {},
(int) 1 => object(App\Model\Entity\Image) {},
(int) 2 => object(App\Model\Entity\Image) {}
],
'developer' => null,
'property_type' => object(App\Model\Entity\PropertyType) {},
'state' => object(App\Model\Entity\State) {},
'[new]' => false,
'[accessible]' => [
'name' => true,
'address' => true,
'state_id' => true,
'unit_type' => true,
'tenure' => true,
'furnishing' => true,
'min_bath' => true,
'max_bath' => true,
'min_bed' => true,
'max_bed' => true,
'min_sqft' => true,
'max_sqft' => true,
'occupancy' => true,
'type_id' => true,
'developer_id' => true,
'project_id' => true,
'agent_id' => true,
'price' => true,
'discount' => true,
'hoc_discount' => true,
'norm_discount' => true,
'rebate' => true,
'others' => true,
'total_amount' => true,
'status' => true,
'images' => true,
'max_price' => true,
'latitude' => true,
'longitude' => true,
'land_title' => true,
'facing_direction' => true,
'maintenance_fee' => true,
'type_property' => true,
'level' => true,
'slug' => true,
'booking_fee' => true,
'campaign' => true,
'featured_list' => true,
'created' => true,
'modified' => true,
'property_type' => true,
'developer' => true
],
'[dirty]' => [],
'[original]' => [],
'[virtual]' => [],
'[hasErrors]' => false,
'[errors]' => [],
'[invalid]' => [],
'[repository]' => 'Properties'
}
$i = (int) 3
$image = object(App\Model\Entity\Image) {
'id' => (int) 405,
'image_property' => '/uploads/properties/property-103-Taman Sungai Yu Indah 1.jpg',
'availability' => (int) 1,
'property_id' => (int) 103,
'created' => object(Cake\I18n\FrozenTime) {},
'modified' => object(Cake\I18n\FrozenTime) {},
'image_name' => 'property-103-Taman Sungai Yu Indah 1.jpg',
'[new]' => false,
'[accessible]' => [
'image_property' => true,
'availability' => true,
'property_id' => true,
'image_name' => true,
'created' => true,
'modified' => true,
'property' => true
],
'[dirty]' => [],
'[original]' => [],
'[virtual]' => [],
'[hasErrors]' => false,
'[errors]' => [],
'[invalid]' => [],
'[repository]' => 'Images'
}
include - ROOT/plugins/Portal/src/Template/Properties/developer.ctp, line 161
Cake\View\View::_evaluate() - CORE/src/View/View.php, line 1419
Cake\View\View::_render() - CORE/src/View/View.php, line 1380
Cake\View\View::render() - CORE/src/View/View.php, line 880
Cake\Controller\Controller::render() - CORE/src/Controller/Controller.php, line 791
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 235
Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65
Cake\Routing\Middleware\RoutingMiddleware::__invoke() - CORE/src/Routing/Middleware/RoutingMiddleware.php, line 162
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 98
Call Developer View Details