Warning (2): Trying to access array offset on value of type bool [APP/Plugin/Property/Controller/PropertiesController.php, line 662]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']) {
PropertiesController::view() - APP/Plugin/Property/Controller/PropertiesController.php, line 662
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
Warning (2): Trying to access array offset on value of type null [APP/Plugin/Property/Controller/PropertiesController.php, line 662]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']) {
PropertiesController::view() - APP/Plugin/Property/Controller/PropertiesController.php, line 662
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