Notice (8) : Trying to access array offset on value of type bool [APP/Model/Activity.php , line 347 ]Code Context $friend = MooCore :: getInstance ()-> getModel ( 'Friend' );
$friends = $friend -> getFriends ( $param );
if ( $viewer [ 'Role' ][ 'is_admin' ]) {
$type = 'everyone'
$param = false
$param2 = null
$param3 = null
$cond = array()
$viewer = false
$uid = false
$params = array(
(int) 0 => 'blog_view',
(int) 1 => 'album_view',
(int) 2 => 'event_view',
(int) 3 => 'photo_view',
(int) 4 => 'topic_view',
(int) 5 => 'video_share',
(int) 6 => 'video_view',
(int) 7 => 'attachment_download',
(int) 8 => 'accommodation_view',
(int) 9 => 'attraction_view',
(int) 10 => 'embassy_view',
(int) 11 => 'flight_view',
(int) 12 => 'moneyexchange_view',
(int) 13 => 'restaurant_view',
(int) 14 => 'tourism_view',
(int) 15 => 'transportation_view',
(int) 16 => 'travel_view',
(int) 17 => 'travelnew_view',
(int) 18 => 'translation_tool_can_translate_newsfeed',
(int) 19 => 'translation_tool_can_translate_newsfeed_comment',
(int) 20 => 'translation_tool_can_translate_article'
)
$friend = object(Friend) {
belongsTo => array(
'User' => array(
[maximum depth reached]
)
)
listFriends => array(
(int) 0 => array([maximum depth reached])
)
findMethods => array(
'all' => true,
'first' => true,
'count' => true,
'neighbors' => true,
'list' => true,
'threaded' => true,
'translated' => true
)
mooFields => array()
recursive => (int) 0
useDbConfig => 'default'
useTable => 'friends'
id => false
data => array()
schemaName => 'kingdom_cambodia_db'
table => 'friends'
primaryKey => 'id'
validate => array()
validationErrors => array()
validationDomain => null
tablePrefix => ''
plugin => null
name => 'Friend'
alias => 'Friend'
tableToModel => array(
'friends' => 'Friend'
)
cacheQueries => false
hasOne => array()
hasMany => array()
hasAndBelongsToMany => array()
actsAs => null
Behaviors => object(BehaviorCollection) {}
whitelist => array()
cacheSources => true
findQueryType => null
order => null
virtualFields => array()
__backAssociation => array()
__backInnerAssociation => array()
__backOriginalAssociation => array()
__backContainableAssociation => array()
__safeUpdateMode => false
useConsistentAfterFind => true
[protected] _schema => array(
'id' => array(
[maximum depth reached]
),
'user_id' => array(
[maximum depth reached]
),
'friend_id' => array(
[maximum depth reached]
)
)
[protected] _associationKeys => array(
'belongsTo' => array(
[maximum depth reached]
),
'hasOne' => array(
[maximum depth reached]
),
'hasMany' => array(
[maximum depth reached]
),
'hasAndBelongsToMany' => array(
[maximum depth reached]
)
)
[protected] _associations => array(
(int) 0 => 'belongsTo',
(int) 1 => 'hasOne',
(int) 2 => 'hasMany',
(int) 3 => 'hasAndBelongsToMany'
)
[protected] _insertID => null
[protected] _sourceConfigured => true
[protected] _eventManager => object(CakeEventManager) {}
[protected] _validator => null
}
$friends = array() Activity::getConditon() - APP/Model/Activity.php, line 347
Activity::getActivityHashtags() - APP/Model/Activity.php, line 920
SearchController::hashtags() - APP/Controller/SearchController.php, line 216
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/Model/Activity.php , line 347 ]Code Context $friend = MooCore :: getInstance ()-> getModel ( 'Friend' );
$friends = $friend -> getFriends ( $param );
if ( $viewer [ 'Role' ][ 'is_admin' ]) {
$type = 'everyone'
$param = false
$param2 = null
$param3 = null
$cond = array()
$viewer = false
$uid = false
$params = array(
(int) 0 => 'blog_view',
(int) 1 => 'album_view',
(int) 2 => 'event_view',
(int) 3 => 'photo_view',
(int) 4 => 'topic_view',
(int) 5 => 'video_share',
(int) 6 => 'video_view',
(int) 7 => 'attachment_download',
(int) 8 => 'accommodation_view',
(int) 9 => 'attraction_view',
(int) 10 => 'embassy_view',
(int) 11 => 'flight_view',
(int) 12 => 'moneyexchange_view',
(int) 13 => 'restaurant_view',
(int) 14 => 'tourism_view',
(int) 15 => 'transportation_view',
(int) 16 => 'travel_view',
(int) 17 => 'travelnew_view',
(int) 18 => 'translation_tool_can_translate_newsfeed',
(int) 19 => 'translation_tool_can_translate_newsfeed_comment',
(int) 20 => 'translation_tool_can_translate_article'
)
$friend = object(Friend) {
belongsTo => array(
'User' => array(
[maximum depth reached]
)
)
listFriends => array(
(int) 0 => array([maximum depth reached])
)
findMethods => array(
'all' => true,
'first' => true,
'count' => true,
'neighbors' => true,
'list' => true,
'threaded' => true,
'translated' => true
)
mooFields => array()
recursive => (int) 0
useDbConfig => 'default'
useTable => 'friends'
id => false
data => array()
schemaName => 'kingdom_cambodia_db'
table => 'friends'
primaryKey => 'id'
validate => array()
validationErrors => array()
validationDomain => null
tablePrefix => ''
plugin => null
name => 'Friend'
alias => 'Friend'
tableToModel => array(
'friends' => 'Friend'
)
cacheQueries => false
hasOne => array()
hasMany => array()
hasAndBelongsToMany => array()
actsAs => null
Behaviors => object(BehaviorCollection) {}
whitelist => array()
cacheSources => true
findQueryType => null
order => null
virtualFields => array()
__backAssociation => array()
__backInnerAssociation => array()
__backOriginalAssociation => array()
__backContainableAssociation => array()
__safeUpdateMode => false
useConsistentAfterFind => true
[protected] _schema => array(
'id' => array(
[maximum depth reached]
),
'user_id' => array(
[maximum depth reached]
),
'friend_id' => array(
[maximum depth reached]
)
)
[protected] _associationKeys => array(
'belongsTo' => array(
[maximum depth reached]
),
'hasOne' => array(
[maximum depth reached]
),
'hasMany' => array(
[maximum depth reached]
),
'hasAndBelongsToMany' => array(
[maximum depth reached]
)
)
[protected] _associations => array(
(int) 0 => 'belongsTo',
(int) 1 => 'hasOne',
(int) 2 => 'hasMany',
(int) 3 => 'hasAndBelongsToMany'
)
[protected] _insertID => null
[protected] _sourceConfigured => true
[protected] _eventManager => object(CakeEventManager) {}
[protected] _validator => null
}
$friends = array() Activity::getConditon() - APP/Model/Activity.php, line 347
Activity::getActivityHashtags() - APP/Model/Activity.php, line 920
SearchController::hashtags() - APP/Controller/SearchController.php, line 216
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
Search | Cambodia Kingdom Of Wonder - Official site of Cambodia Ministry of Tourism