Notice (8): Trying to get property 'id_installateur' of non-object [APP/Controller/RealisationsController.php, line 481]Code Context //artisans (header)
$artisanHeader = $listeTable->artisanHeader($realisation->id_installateur);
$artisanId = '1103'
$realisationId = '16986'
$references2Table = object(App\Model\Table\References2Table) {
'registryAlias' => 'References2',
'table' => 'references2',
'alias' => 'References2',
'entityClass' => '\Cake\ORM\Entity',
'associations' => [
(int) 0 => 'referencesfavoris',
(int) 1 => 'liste',
(int) 2 => 'clients',
(int) 3 => 'avisrealisations',
(int) 4 => 'fabricants'
],
'behaviors' => [],
'defaultConnection' => 'default',
'connectionName' => 'default'
}
$listeTable = object(App\Model\Table\ListesTable) {
'registryAlias' => 'Listes',
'table' => 'liste',
'alias' => 'Listes',
'entityClass' => 'App\Model\Entity\Liste',
'associations' => [
(int) 0 => 'parrains',
(int) 1 => 'references2',
(int) 2 => 'countreferences2',
(int) 3 => 'lastphotoreferences2',
(int) 4 => 'reseauxlocaux',
(int) 5 => 'fellowships',
(int) 6 => 'users',
(int) 7 => 'dirigeant',
(int) 8 => 'adresses',
(int) 9 => 'avisrealisations',
(int) 10 => 'regions',
(int) 11 => 'commissions',
(int) 12 => 'membresforum',
(int) 13 => 'membrescoms',
(int) 14 => 'banks',
(int) 15 => 'interactions',
(int) 16 => 'activites'
],
'behaviors' => [],
'defaultConnection' => 'default',
'connectionName' => 'default'
}
$avisRealisationsTable = object(App\Model\Table\AvisRealisationsTable) {
'registryAlias' => 'AvisRealisations',
'table' => 'avis_realisations',
'alias' => 'AvisRealisations',
'entityClass' => '\Cake\ORM\Entity',
'associations' => [
(int) 0 => 'references2',
(int) 1 => 'clients',
(int) 2 => 'liste',
(int) 3 => 'reponse'
],
'behaviors' => [],
'defaultConnection' => 'default',
'connectionName' => 'default'
}
$TTsTable = object(App\Model\Table\MetiersTable) {
'registryAlias' => 'Metiers',
'table' => 'metiers',
'alias' => 'Metiers',
'entityClass' => '\Cake\ORM\Entity',
'associations' => [
(int) 0 => 'professions'
],
'behaviors' => [],
'defaultConnection' => 'default',
'connectionName' => 'default'
}
$certificationsTable = object(App\Model\Table\CertificationsTable) {
'registryAlias' => 'Certifications',
'table' => 'certifications',
'alias' => 'Certifications',
'entityClass' => '\Cake\ORM\Entity',
'associations' => [
(int) 0 => 'professions'
],
'behaviors' => [],
'defaultConnection' => 'default',
'connectionName' => 'default'
}
$realisation = null
App\Controller\RealisationsController::show() - APP/Controller/RealisationsController.php, line 481
Cake\Controller\Controller::invokeAction() - CORE/src/Controller/Controller.php, line 440
Cake\Http\ActionDispatcher::_invoke() - CORE/src/Http/ActionDispatcher.php, line 119
Cake\Http\ActionDispatcher::dispatch() - CORE/src/Http/ActionDispatcher.php, line 93
Cake\Http\BaseApplication::__invoke() - CORE/src/Http/BaseApplication.php, line 109
Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65
Cake\Routing\Middleware\RoutingMiddleware::__invoke() - CORE/src/Routing/Middleware/RoutingMiddleware.php, line 104
Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65
Cake\Routing\Middleware\AssetMiddleware::__invoke() - CORE/src/Routing/Middleware/AssetMiddleware.php, line 88
Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65
Cake\Error\Middleware\ErrorHandlerMiddleware::__invoke() - CORE/src/Error/Middleware/ErrorHandlerMiddleware.php, line 98
Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65
Cake\Http\Runner::run() - CORE/src/Http/Runner.php, line 51
Cake\Http\Server::run() - CORE/src/Http/Server.php, line 81
[main] - ROOT/webroot/index.php, line 37
Warning (512): Unable to emit headers. Headers sent in file=/home/reseauec/www/vendor/cakephp/cakephp/src/Error/Debugger.php line=850 [CORE/src/Http/ResponseEmitter.php, line 48]Code Context if (Configure::read('debug')) {
trigger_error($message, E_USER_WARNING);
} else {
$response = object(Cake\Http\Response) {
'status' => (int) 302,
'contentType' => 'text/html',
'headers' => [
'Content-Type' => [
[maximum depth reached]
],
'Location' => [
[maximum depth reached]
]
],
'file' => null,
'fileRange' => [],
'cookies' => object(Cake\Http\Cookie\CookieCollection) {},
'cacheDirectives' => [],
'body' => ''
}
$maxBufferLength = (int) 8192
$file = '/home/reseauec/www/vendor/cakephp/cakephp/src/Error/Debugger.php'
$line = (int) 850
$message = 'Unable to emit headers. Headers sent in file=/home/reseauec/www/vendor/cakephp/cakephp/src/Error/Debugger.php line=850'
Cake\Http\ResponseEmitter::emit() - CORE/src/Http/ResponseEmitter.php, line 48
Cake\Http\Server::emit() - CORE/src/Http/Server.php, line 106
[main] - ROOT/webroot/index.php, line 37
Warning (2): Cannot modify header information - headers already sent by (output started at /home/reseauec/www/vendor/cakephp/cakephp/src/Error/Debugger.php:850) [CORE/src/Http/ResponseEmitter.php, line 148]Code Context $response->getStatusCode(),
($reasonPhrase ? ' ' . $reasonPhrase : '')
));
$response = object(Cake\Http\Response) {
'status' => (int) 302,
'contentType' => 'text/html',
'headers' => [
'Content-Type' => [
[maximum depth reached]
],
'Location' => [
[maximum depth reached]
]
],
'file' => null,
'fileRange' => [],
'cookies' => object(Cake\Http\Cookie\CookieCollection) {},
'cacheDirectives' => [],
'body' => ''
}
$reasonPhrase = 'Found'
header - [internal], line ??
Cake\Http\ResponseEmitter::emitStatusLine() - CORE/src/Http/ResponseEmitter.php, line 148
Cake\Http\ResponseEmitter::emit() - CORE/src/Http/ResponseEmitter.php, line 54
Cake\Http\Server::emit() - CORE/src/Http/Server.php, line 106
[main] - ROOT/webroot/index.php, line 37
Warning (2): Cannot modify header information - headers already sent by (output started at /home/reseauec/www/vendor/cakephp/cakephp/src/Error/Debugger.php:850) [CORE/src/Http/ResponseEmitter.php, line 177]Code Context foreach ($values as $value) {
header(sprintf(
'%s: %s',
$response = object(Cake\Http\Response) {
'status' => (int) 302,
'contentType' => 'text/html',
'headers' => [
'Content-Type' => [
[maximum depth reached]
],
'Location' => [
[maximum depth reached]
]
],
'file' => null,
'fileRange' => [],
'cookies' => object(Cake\Http\Cookie\CookieCollection) {},
'cacheDirectives' => [],
'body' => ''
}
$cookies = []
$values = [
(int) 0 => 'text/html; charset=UTF-8'
]
$name = 'Content-Type'
$first = true
$value = 'text/html; charset=UTF-8'
header - [internal], line ??
Cake\Http\ResponseEmitter::emitHeaders() - CORE/src/Http/ResponseEmitter.php, line 177
Cake\Http\ResponseEmitter::emit() - CORE/src/Http/ResponseEmitter.php, line 55
Cake\Http\Server::emit() - CORE/src/Http/Server.php, line 106
[main] - ROOT/webroot/index.php, line 37
Warning (2): Cannot modify header information - headers already sent by (output started at /home/reseauec/www/vendor/cakephp/cakephp/src/Error/Debugger.php:850) [CORE/src/Http/ResponseEmitter.php, line 177]Code Context foreach ($values as $value) {
header(sprintf(
'%s: %s',
$response = object(Cake\Http\Response) {
'status' => (int) 302,
'contentType' => 'text/html',
'headers' => [
'Content-Type' => [
[maximum depth reached]
],
'Location' => [
[maximum depth reached]
]
],
'file' => null,
'fileRange' => [],
'cookies' => object(Cake\Http\Cookie\CookieCollection) {},
'cacheDirectives' => [],
'body' => ''
}
$cookies = []
$values = [
(int) 0 => 'https://www.reseau-proeco-energies.fr/trouver-un-artisan'
]
$name = 'Location'
$first = true
$value = 'https://www.reseau-proeco-energies.fr/trouver-un-artisan'
header - [internal], line ??
Cake\Http\ResponseEmitter::emitHeaders() - CORE/src/Http/ResponseEmitter.php, line 177
Cake\Http\ResponseEmitter::emit() - CORE/src/Http/ResponseEmitter.php, line 55
Cake\Http\Server::emit() - CORE/src/Http/Server.php, line 106
[main] - ROOT/webroot/index.php, line 37