Notice (8): Trying to access array offset on value of type bool [APP/Plugin/Property/Controller/PropertiesController.php, line 611]Code Context $are_friend = $this->Friend->areFriends($uid, $property['Property']['user_id']);
// candidate,admin, owner , approve
if ($property['Property']['status'] == P_STATUS_APPROVED || $uid == $property['User']['id'] || $viewer['Role']['is_admin']) {
$id = '5'
$property_id = (int) 5
$property = array(
'Property' => array(
'id' => '5',
'user_id' => '22',
'property_category_id' => '2',
'property_package_id' => '1',
'status' => '6',
'featured' => false,
'sponsored' => false,
'name' => 'test',
'description' => '<div>test</div>',
'price' => '2.00',
'location' => 'la Quinta, CA 92253',
'lat' => '33.663320966667',
'lng' => '-116.27803583333',
'expire_until' => '2021-06-29',
'expire_until_time' => '12:30',
'timezone' => 'Pacific/Kwajalein',
'thumbnail' => '',
'created' => '2021-06-28 02:58:37',
'modified' => '2021-07-18 03:01:02',
'privacy' => '1',
'property_contact_count' => '0',
'view_count' => '9',
'share_count' => '0',
'like_count' => '0',
'comment_count' => '0',
'dislike_count' => '0',
'moo_title' => 'test',
'moo_href' => '/properties/view/5/test',
'moo_plugin' => 'Property',
'moo_type' => 'Property_Property',
'moo_url' => '/properties/view/5/test',
'moo_privacy' => '1'
),
'PropertyCategory' => array(
'id' => '2',
'parent_id' => '0',
'lft' => '3',
'rght' => '4',
'name' => 'Hiç',
'property_count' => '1',
'order' => '0'
),
'PropertyPackage' => array(
'id' => '1',
'name' => 'Free Package ',
'description' => '<p>The Free Package</p>',
'price' => '0.00',
'valid_period' => '30',
'expiration_reminder' => '5',
'property_count' => '17',
'featured' => true,
'sponsored' => true,
'on_create' => true,
'on_upgrade' => true,
'active' => true,
'ordering' => '0',
'created' => '2021-01-26 23:06:22',
'modified' => '2021-08-12 16:53:24'
),
'User' => array(
'password' => '*****',
'id' => '22',
'name' => 'ThaiVM 2810',
'email' => 'thaivm2810@mailinator.com',
'salt' => '5f97',
'role_id' => '1',
'avatar' => '',
'photo' => '',
'created' => '2021-02-05 09:52:41',
'last_login' => '2024-07-07 18:56:27',
'photo_count' => '2',
'friend_count' => '1',
'notification_count' => '0',
'friend_request_count' => '0',
'blog_count' => '0',
'topic_count' => '0',
'group_count' => '0',
'event_count' => '0',
'conversation_user_count' => '0',
'video_count' => '5',
'gender' => 'Male',
'birthday' => '1994-02-05',
'active' => true,
'confirmed' => true,
'code' => 'f95004fd64064e8b50e5117fe37e3837',
'notification_email' => true,
'timezone' => '',
'ip_address' => '115.78.8.171',
'privacy' => '1',
'username' => '',
'about' => '',
'featured' => false,
'lang' => 'por',
'hide_online' => false,
'cover' => '',
'approved' => true,
'is_social' => false,
'has_active_subscription' => false,
'receive_message_from_non_friend' => true,
'send_email_when_send_message' => true,
'request_friend_email' => true,
'notification_setting' => null,
'profile_type_id' => '0',
'package_select' => '0',
'who_can_see_gender' => '0',
'darkmode' => false,
'phone' => null,
'phone_verified' => false,
'poked_email' => true,
'viewer_invisible' => '0',
'chat_count' => '0',
'chat_online_status' => 'active',
'signature' => '',
'show_signature' => '1',
'store_order_info' => null,
'lock_delete' => false,
'hide_profile_complete' => false,
'moo_title' => 'ThaiVM 2810',
'moo_href' => '/users/view/22',
'moo_plugin' => null,
'moo_type' => 'User',
'moo_url' => '/users/view/22',
'moo_thumb' => 'avatar'
)
)
$uid = null
$helper = object(PropertyHelper) {
friend_list => array()
helpers => array(
(int) 0 => 'Storage.Storage'
)
settings => array()
theme => null
request => object(CakeRequest) {}
plugin => null
fieldset => array()
tags => array()
[protected] _helperMap => array(
'Storage' => array(
[maximum depth reached]
)
)
[protected] _tainted => null
[protected] _cleaned => null
[protected] _View => object(MooView) {}
[protected] _fieldSuffixes => array(
(int) 0 => 'year',
(int) 1 => 'month',
(int) 2 => 'day',
(int) 3 => 'hour',
(int) 4 => 'min',
(int) 5 => 'second',
(int) 6 => 'meridian'
)
[protected] _modelScope => null
[protected] _association => null
[protected] _entityPath => null
[protected] _minimizedAttributes => array(
(int) 0 => 'allowfullscreen',
(int) 1 => 'async',
(int) 2 => 'autofocus',
(int) 3 => 'autoplay',
(int) 4 => 'checked',
(int) 5 => 'compact',
(int) 6 => 'controls',
(int) 7 => 'declare',
(int) 8 => 'default',
(int) 9 => 'defaultchecked',
(int) 10 => 'defaultmuted',
(int) 11 => 'defaultselected',
(int) 12 => 'defer',
(int) 13 => 'disabled',
(int) 14 => 'enabled',
(int) 15 => 'formnovalidate',
(int) 16 => 'hidden',
(int) 17 => 'indeterminate',
(int) 18 => 'inert',
(int) 19 => 'ismap',
(int) 20 => 'itemscope',
(int) 21 => 'loop',
(int) 22 => 'multiple',
(int) 23 => 'muted',
(int) 24 => 'nohref',
(int) 25 => 'noresize',
(int) 26 => 'noshade',
(int) 27 => 'novalidate',
(int) 28 => 'nowrap',
(int) 29 => 'open',
(int) 30 => 'pauseonexit',
(int) 31 => 'readonly',
(int) 32 => 'required',
(int) 33 => 'reversed',
(int) 34 => 'scoped',
(int) 35 => 'seamless',
(int) 36 => 'selected',
(int) 37 => 'sortable',
(int) 38 => 'spellcheck',
(int) 39 => 'truespeed',
(int) 40 => 'typemustmatch',
(int) 41 => 'visible'
)
[protected] _attributeFormat => '%s="%s"'
[protected] _minimizedAttributeFormat => '%s="%s"'
}
$viewer = false
$are_friend = (int) 0
PropertiesController::view() - APP/Plugin/Property/Controller/PropertiesController.php, line 611
ReflectionMethod::invokeArgs() - [internal], line ??
Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 499
Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 193
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 167
[main] - APP/webroot/index.php, line 80
Notice (8): Trying to access array offset on value of type null [APP/Plugin/Property/Controller/PropertiesController.php, line 611]Code Context $are_friend = $this->Friend->areFriends($uid, $property['Property']['user_id']);
// candidate,admin, owner , approve
if ($property['Property']['status'] == P_STATUS_APPROVED || $uid == $property['User']['id'] || $viewer['Role']['is_admin']) {
$id = '5'
$property_id = (int) 5
$property = array(
'Property' => array(
'id' => '5',
'user_id' => '22',
'property_category_id' => '2',
'property_package_id' => '1',
'status' => '6',
'featured' => false,
'sponsored' => false,
'name' => 'test',
'description' => '<div>test</div>',
'price' => '2.00',
'location' => 'la Quinta, CA 92253',
'lat' => '33.663320966667',
'lng' => '-116.27803583333',
'expire_until' => '2021-06-29',
'expire_until_time' => '12:30',
'timezone' => 'Pacific/Kwajalein',
'thumbnail' => '',
'created' => '2021-06-28 02:58:37',
'modified' => '2021-07-18 03:01:02',
'privacy' => '1',
'property_contact_count' => '0',
'view_count' => '9',
'share_count' => '0',
'like_count' => '0',
'comment_count' => '0',
'dislike_count' => '0',
'moo_title' => 'test',
'moo_href' => '/properties/view/5/test',
'moo_plugin' => 'Property',
'moo_type' => 'Property_Property',
'moo_url' => '/properties/view/5/test',
'moo_privacy' => '1'
),
'PropertyCategory' => array(
'id' => '2',
'parent_id' => '0',
'lft' => '3',
'rght' => '4',
'name' => 'Hiç',
'property_count' => '1',
'order' => '0'
),
'PropertyPackage' => array(
'id' => '1',
'name' => 'Free Package ',
'description' => '<p>The Free Package</p>',
'price' => '0.00',
'valid_period' => '30',
'expiration_reminder' => '5',
'property_count' => '17',
'featured' => true,
'sponsored' => true,
'on_create' => true,
'on_upgrade' => true,
'active' => true,
'ordering' => '0',
'created' => '2021-01-26 23:06:22',
'modified' => '2021-08-12 16:53:24'
),
'User' => array(
'password' => '*****',
'id' => '22',
'name' => 'ThaiVM 2810',
'email' => 'thaivm2810@mailinator.com',
'salt' => '5f97',
'role_id' => '1',
'avatar' => '',
'photo' => '',
'created' => '2021-02-05 09:52:41',
'last_login' => '2024-07-07 18:56:27',
'photo_count' => '2',
'friend_count' => '1',
'notification_count' => '0',
'friend_request_count' => '0',
'blog_count' => '0',
'topic_count' => '0',
'group_count' => '0',
'event_count' => '0',
'conversation_user_count' => '0',
'video_count' => '5',
'gender' => 'Male',
'birthday' => '1994-02-05',
'active' => true,
'confirmed' => true,
'code' => 'f95004fd64064e8b50e5117fe37e3837',
'notification_email' => true,
'timezone' => '',
'ip_address' => '115.78.8.171',
'privacy' => '1',
'username' => '',
'about' => '',
'featured' => false,
'lang' => 'por',
'hide_online' => false,
'cover' => '',
'approved' => true,
'is_social' => false,
'has_active_subscription' => false,
'receive_message_from_non_friend' => true,
'send_email_when_send_message' => true,
'request_friend_email' => true,
'notification_setting' => null,
'profile_type_id' => '0',
'package_select' => '0',
'who_can_see_gender' => '0',
'darkmode' => false,
'phone' => null,
'phone_verified' => false,
'poked_email' => true,
'viewer_invisible' => '0',
'chat_count' => '0',
'chat_online_status' => 'active',
'signature' => '',
'show_signature' => '1',
'store_order_info' => null,
'lock_delete' => false,
'hide_profile_complete' => false,
'moo_title' => 'ThaiVM 2810',
'moo_href' => '/users/view/22',
'moo_plugin' => null,
'moo_type' => 'User',
'moo_url' => '/users/view/22',
'moo_thumb' => 'avatar'
)
)
$uid = null
$helper = object(PropertyHelper) {
friend_list => array()
helpers => array(
(int) 0 => 'Storage.Storage'
)
settings => array()
theme => null
request => object(CakeRequest) {}
plugin => null
fieldset => array()
tags => array()
[protected] _helperMap => array(
'Storage' => array(
[maximum depth reached]
)
)
[protected] _tainted => null
[protected] _cleaned => null
[protected] _View => object(MooView) {}
[protected] _fieldSuffixes => array(
(int) 0 => 'year',
(int) 1 => 'month',
(int) 2 => 'day',
(int) 3 => 'hour',
(int) 4 => 'min',
(int) 5 => 'second',
(int) 6 => 'meridian'
)
[protected] _modelScope => null
[protected] _association => null
[protected] _entityPath => null
[protected] _minimizedAttributes => array(
(int) 0 => 'allowfullscreen',
(int) 1 => 'async',
(int) 2 => 'autofocus',
(int) 3 => 'autoplay',
(int) 4 => 'checked',
(int) 5 => 'compact',
(int) 6 => 'controls',
(int) 7 => 'declare',
(int) 8 => 'default',
(int) 9 => 'defaultchecked',
(int) 10 => 'defaultmuted',
(int) 11 => 'defaultselected',
(int) 12 => 'defer',
(int) 13 => 'disabled',
(int) 14 => 'enabled',
(int) 15 => 'formnovalidate',
(int) 16 => 'hidden',
(int) 17 => 'indeterminate',
(int) 18 => 'inert',
(int) 19 => 'ismap',
(int) 20 => 'itemscope',
(int) 21 => 'loop',
(int) 22 => 'multiple',
(int) 23 => 'muted',
(int) 24 => 'nohref',
(int) 25 => 'noresize',
(int) 26 => 'noshade',
(int) 27 => 'novalidate',
(int) 28 => 'nowrap',
(int) 29 => 'open',
(int) 30 => 'pauseonexit',
(int) 31 => 'readonly',
(int) 32 => 'required',
(int) 33 => 'reversed',
(int) 34 => 'scoped',
(int) 35 => 'seamless',
(int) 36 => 'selected',
(int) 37 => 'sortable',
(int) 38 => 'spellcheck',
(int) 39 => 'truespeed',
(int) 40 => 'typemustmatch',
(int) 41 => 'visible'
)
[protected] _attributeFormat => '%s="%s"'
[protected] _minimizedAttributeFormat => '%s="%s"'
}
$viewer = false
$are_friend = (int) 0
PropertiesController::view() - APP/Plugin/Property/Controller/PropertiesController.php, line 611
ReflectionMethod::invokeArgs() - [internal], line ??
Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 499
Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 193
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 167
[main] - APP/webroot/index.php, line 80