Notice (8) : Trying to access array offset on value of type null [APP/Controller/AppController.php , line 269 ]Code Context App :: uses ( 'Theme' , 'Model' );
$themeModel = ClassRegistry :: init ( 'Theme' );
$theme = $themeModel -> getTheme ( $residence [ 'theme' ]); $residenceModel = object(Residence) {
displayField => 'name'
validate => array(
'subdomain' => array(
[maximum depth reached]
),
'name' => array(
[maximum depth reached]
),
'status' => array(
[maximum depth reached]
)
)
useDbConfig => 'default'
useTable => 'residences'
id => false
data => array()
schemaName => null
table => 'residences'
primaryKey => 'id'
validationErrors => array()
validationDomain => null
plugin => null
name => 'Residence'
alias => 'Residence'
tableToModel => array(
'residences' => 'Residence'
)
cacheQueries => false
belongsTo => array()
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
)
[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
}
$residences = null
$userModel = object(User) {
validate => array(
'password' => '*****',
'id' => array(
[maximum depth reached]
),
'email' => array(
[maximum depth reached]
),
'gender' => array(
[maximum depth reached]
),
'name' => array(
[maximum depth reached]
),
'display_name' => array(
[maximum depth reached]
),
'dob' => array(
[maximum depth reached]
)
)
useDbConfig => 'default'
useTable => 'users'
id => false
data => array()
schemaName => null
table => 'users'
primaryKey => 'id'
validationErrors => array()
validationDomain => null
plugin => null
name => 'User'
alias => 'User'
tableToModel => array(
'users' => 'User'
)
cacheQueries => false
belongsTo => array()
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
)
[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
}
$current_residence_id = null
$residence = null
$themeModel = object(Theme) {
displayField => 'name'
validate => array(
'name' => array(
[maximum depth reached]
),
'json' => array(
[maximum depth reached]
),
'status' => array(
[maximum depth reached]
)
)
useDbConfig => 'default'
useTable => 'themes'
id => false
data => array()
schemaName => null
table => 'themes'
primaryKey => 'id'
validationErrors => array()
validationDomain => null
plugin => null
name => 'Theme'
alias => 'Theme'
tableToModel => array(
'themes' => 'Theme'
)
cacheQueries => false
belongsTo => array()
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
)
[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::beforeRender() - APP/Controller/AppController.php, line 269
CakeEventManager::dispatch() - CORE/Cake/Event/CakeEventManager.php, line 244
Controller::render() - CORE/Cake/Controller/Controller.php, line 941
AppController::render() - APP/Controller/AppController.php, line 487
ExceptionRenderer::_outputMessage() - CORE/Cake/Error/ExceptionRenderer.php, line 292
ExceptionRenderer::_cakeError() - CORE/Cake/Error/ExceptionRenderer.php, line 213
ExceptionRenderer::render() - CORE/Cake/Error/ExceptionRenderer.php, line 190
ErrorHandler::handleException() - CORE/Cake/Error/ErrorHandler.php, line 127
[main] - [internal], line ?? Warning (2) : Cannot modify header information - headers already sent by (output started at /home/proresidence/proresidence/lib/Cake/Utility/Debugger.php:797) [CORE/Cake/Network/CakeResponse.php , line 458 ]Code Context setcookie (
$name , $c [ 'value' ], $c [ 'expire' ], $c [ 'path' ],
$c [ 'domain' ], $c [ 'secure' ], $c [ 'httpOnly' ] $c = array(
'name' => 'CakeCookie[lc]',
'value' => 'o6tBxW3RbgqsRd17K3aEXnV6ggYmZWZVhPYIxmGy3SrvzWB2w3xHFebJJ3uVU6mI',
'expire' => '2080672202',
'path' => '/',
'domain' => '.accounting.terrifk.com',
'secure' => false,
'httpOnly' => false
)
$name = 'CakeCookie[lc]' setcookie - [internal], line ??
CakeResponse::_setCookies() - CORE/Cake/Network/CakeResponse.php, line 458
CakeResponse::send() - CORE/Cake/Network/CakeResponse.php, line 429
ExceptionRenderer::_outputMessage() - CORE/Cake/Error/ExceptionRenderer.php, line 294
ExceptionRenderer::_cakeError() - CORE/Cake/Error/ExceptionRenderer.php, line 213
ExceptionRenderer::render() - CORE/Cake/Error/ExceptionRenderer.php, line 190
ErrorHandler::handleException() - CORE/Cake/Error/ErrorHandler.php, line 127
[main] - [internal], line ??
CakePHP: the rapid development php framework:
Proresidence.com :
Missing Controller
Error:
Sitemap.xmlController could not be found.
Error:
Create the class Sitemap.xmlController below in file: app/Controller/Sitemap.xmlController.php
<?php
class Sitemap.xmlController extends AppController {
}
Notice:
If you want to customize this error message, create app/View/Errors/missing_controller.ctp
Stack Trace