Notice (8): Undefined index: User [APP/Controller/AppController.php, line 41]Code Context $this->_setLanguage();
$this->userAuth();
$this->US_ER = $_SESSION['UserAuth']['User'];
AppController::beforeFilter() - APP/Controller/AppController.php, line 41
UserMgmtAppController::beforeFilter() - APP/Plugin/Usermgmt/Controller/UserMgmtAppController.php, line 24
UsersController::beforeFilter() - APP/Plugin/Usermgmt/Controller/UsersController.php, line 42
CakeEventManager::dispatch() - APP/cakephp/lib/Cake/Event/CakeEventManager.php, line 243
Controller::startupProcess() - APP/cakephp/lib/Cake/Controller/Controller.php, line 677
Dispatcher::_invoke() - APP/cakephp/lib/Cake/Routing/Dispatcher.php, line 189
Dispatcher::dispatch() - APP/cakephp/lib/Cake/Routing/Dispatcher.php, line 167
[main] - APP/webroot/index.php, line 102
Notice (8): Undefined index: User [APP/Controller/AppController.php, line 49]Code Context ));
$usComo = $UserCompany->find('all', array(
'conditions' => array('UserCompany.user_id' => $_SESSION['UserAuth']['User']['id'])
$UserCompany = object(UserCompany) {
belongsTo => array(
'Company' => array(
[maximum depth reached]
)
)
useDbConfig => 'default'
useTable => 'user_companies'
id => false
data => array()
schemaName => null
table => 'user_companies'
primaryKey => 'id'
validate => array()
validationErrors => array()
validationDomain => null
plugin => null
name => 'UserCompany'
alias => 'UserCompany'
tableToModel => array(
'user_companies' => 'UserCompany'
)
cacheQueries => false
hasOne => array()
hasMany => array()
hasAndBelongsToMany => array()
actsAs => null
Behaviors => object(BehaviorCollection) {}
whitelist => array()
cacheSources => true
findQueryType => null
recursive => (int) 1
order => null
virtualFields => array()
__backAssociation => array(
'belongsTo' => array(
[maximum depth reached]
)
)
__backInnerAssociation => array()
__backOriginalAssociation => array()
__backContainableAssociation => array()
__safeUpdateMode => false
useConsistentAfterFind => true
findMethods => array(
'all' => true,
'first' => true,
'count' => true,
'neighbors' => true,
'list' => true,
'threaded' => true
)
[protected] _schema => null
[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 => false
[protected] _eventManager => null
[protected] _validator => null
}AppController::beforeFilter() - APP/Controller/AppController.php, line 49
UserMgmtAppController::beforeFilter() - APP/Plugin/Usermgmt/Controller/UserMgmtAppController.php, line 24
UsersController::beforeFilter() - APP/Plugin/Usermgmt/Controller/UsersController.php, line 42
CakeEventManager::dispatch() - APP/cakephp/lib/Cake/Event/CakeEventManager.php, line 243
Controller::startupProcess() - APP/cakephp/lib/Cake/Controller/Controller.php, line 677
Dispatcher::_invoke() - APP/cakephp/lib/Cake/Routing/Dispatcher.php, line 189
Dispatcher::dispatch() - APP/cakephp/lib/Cake/Routing/Dispatcher.php, line 167
[main] - APP/webroot/index.php, line 102
Notice (8): Trying to access array offset on value of type null [APP/Controller/AppController.php, line 49]Code Context ));
$usComo = $UserCompany->find('all', array(
'conditions' => array('UserCompany.user_id' => $_SESSION['UserAuth']['User']['id'])
$UserCompany = object(UserCompany) {
belongsTo => array(
'Company' => array(
[maximum depth reached]
)
)
useDbConfig => 'default'
useTable => 'user_companies'
id => false
data => array()
schemaName => null
table => 'user_companies'
primaryKey => 'id'
validate => array()
validationErrors => array()
validationDomain => null
plugin => null
name => 'UserCompany'
alias => 'UserCompany'
tableToModel => array(
'user_companies' => 'UserCompany'
)
cacheQueries => false
hasOne => array()
hasMany => array()
hasAndBelongsToMany => array()
actsAs => null
Behaviors => object(BehaviorCollection) {}
whitelist => array()
cacheSources => true
findQueryType => null
recursive => (int) 1
order => null
virtualFields => array()
__backAssociation => array(
'belongsTo' => array(
[maximum depth reached]
)
)
__backInnerAssociation => array()
__backOriginalAssociation => array()
__backContainableAssociation => array()
__safeUpdateMode => false
useConsistentAfterFind => true
findMethods => array(
'all' => true,
'first' => true,
'count' => true,
'neighbors' => true,
'list' => true,
'threaded' => true
)
[protected] _schema => null
[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 => false
[protected] _eventManager => null
[protected] _validator => null
}AppController::beforeFilter() - APP/Controller/AppController.php, line 49
UserMgmtAppController::beforeFilter() - APP/Plugin/Usermgmt/Controller/UserMgmtAppController.php, line 24
UsersController::beforeFilter() - APP/Plugin/Usermgmt/Controller/UsersController.php, line 42
CakeEventManager::dispatch() - APP/cakephp/lib/Cake/Event/CakeEventManager.php, line 243
Controller::startupProcess() - APP/cakephp/lib/Cake/Controller/Controller.php, line 677
Dispatcher::_invoke() - APP/cakephp/lib/Cake/Routing/Dispatcher.php, line 189
Dispatcher::dispatch() - APP/cakephp/lib/Cake/Routing/Dispatcher.php, line 167
[main] - APP/webroot/index.php, line 102
Notice (8): Undefined index: Company [APP/Controller/AppController.php, line 52]Code Context ));
$this->set('Commpp', $usComo);
$this->US_Company = $_SESSION['UserAuth']['Company'];
$UserCompany = object(UserCompany) {
belongsTo => array(
'User' => array(
[maximum depth reached]
),
'Company' => array(
[maximum depth reached]
)
)
useDbConfig => 'default'
useTable => 'user_companies'
id => false
data => array()
schemaName => 'moqawalatmasone_signature'
table => 'user_companies'
primaryKey => 'id'
validate => array()
validationErrors => array()
validationDomain => null
tablePrefix => ''
plugin => null
name => 'UserCompany'
alias => 'UserCompany'
tableToModel => array(
'user_companies' => 'UserCompany',
'companies' => 'Company'
)
cacheQueries => false
hasOne => array()
hasMany => array()
hasAndBelongsToMany => array()
actsAs => null
Behaviors => object(BehaviorCollection) {}
whitelist => array()
cacheSources => true
findQueryType => null
recursive => (int) 1
order => null
virtualFields => array()
__backAssociation => array()
__backInnerAssociation => array()
__backOriginalAssociation => array()
__backContainableAssociation => array()
__safeUpdateMode => false
useConsistentAfterFind => true
findMethods => array(
'all' => true,
'first' => true,
'count' => true,
'neighbors' => true,
'list' => true,
'threaded' => true
)
Company => object(Company) {}
[protected] _schema => array(
'id' => array(
[maximum depth reached]
),
'user_id' => array(
[maximum depth reached]
),
'company_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
}
$usComo = array()AppController::beforeFilter() - APP/Controller/AppController.php, line 52
UserMgmtAppController::beforeFilter() - APP/Plugin/Usermgmt/Controller/UserMgmtAppController.php, line 24
UsersController::beforeFilter() - APP/Plugin/Usermgmt/Controller/UsersController.php, line 42
CakeEventManager::dispatch() - APP/cakephp/lib/Cake/Event/CakeEventManager.php, line 243
Controller::startupProcess() - APP/cakephp/lib/Cake/Controller/Controller.php, line 677
Dispatcher::_invoke() - APP/cakephp/lib/Cake/Routing/Dispatcher.php, line 189
Dispatcher::dispatch() - APP/cakephp/lib/Cake/Routing/Dispatcher.php, line 167
[main] - APP/webroot/index.php, line 102