Code Context// debug($avisClient->body());exit;
// $page['realisation']['avis'] = json_decode($avisClient->body(), true);
$avisClient = file_get_contents('https://www.reseau-proeco-energies.fr/services/realisations/getAvisByRealisationsId/' . $page['realisation']['reso_pro_eco_id'] . '.json');
$realisationId = '3456'
$page = [
'etablissement' => object(Cake\ORM\Entity) {
'id' => (int) 9,
'nom' => 'Boulevard des Energies',
'description' => 'Boulevard des Énergies, chauffagiste, frigoriste, climaticien présent depuis 15ans dans le département de la Corrèze (19). Notre seul objectif depuis ses quinze dernières années : votre satisfaction. Que se soit le jour de la mise en route de votre nouveau système de chauffage (pompe à chaleur, chaudière bois, granulé, ou gaz), climatisation, ou panneaux photovoltaïque, et toutes les années qui suivent. Nous sommes disponible pour vos entretiens et les dépannages. ',
'adresse' => 'ZAC les Rivières',
'adresse2' => '',
'cp' => '19240',
'cp2' => '',
'ville' => 'Allassac',
'ville2' => '',
'tel' => '05 87 09 06 70',
'tel2' => '',
'fax' => '',
'mobile' => '06.99.40.46.19',
'mail' => 'sh@boulevarddesenergies.com',
'logo' => 'website_logo_1136.png',
'lat' => (float) 45.26,
'lat2' => (float) 0,
'lng' => (float) 1.453394,
'lng2' => (float) 0,
'siret' => '51316347700039',
'capital_social' => '5000',
'tva' => 'FR48513163477',
'tarifs' => '',
'cgv' => null,
'formulaire_retractation' => null,
'mediateur_nom' => null,
'mediateur_url' => null,
'mediateur_adresse' => null,
'mediateur_mail' => null,
'facebook' => 'https://www.facebook.com/profile.php?id=61558702439995',
'twitter' => '',
'youtube' => '',
'instagram' => '',
'membre_id' => (int) 10,
'membre' => object(Cake\ORM\Entity) {},
'dpt' => 'Corrèze (19)',
'dptUrl' => 'corrèze-19',
'[new]' => false,
'[accessible]' => [
[maximum depth reached]
],
'[dirty]' => [
[maximum depth reached]
],
'[original]' => [[maximum depth reached]],
'[virtual]' => [[maximum depth reached]],
'[errors]' => [[maximum depth reached]],
'[invalid]' => [[maximum depth reached]],
'[repository]' => 'BaseSite.Etablissements'
},
'metiers' => [
(int) 22 => object(Cake\ORM\Entity) {},
(int) 16 => object(Cake\ORM\Entity) {},
(int) 8 => object(Cake\ORM\Entity) {},
(int) 119 => object(Cake\ORM\Entity) {},
(int) 65 => object(Cake\ORM\Entity) {},
(int) 131 => object(Cake\ORM\Entity) {},
(int) 240 => object(Cake\ORM\Entity) {},
(int) 162 => object(Cake\ORM\Entity) {},
(int) 191 => object(Cake\ORM\Entity) {},
(int) 10 => object(Cake\ORM\Entity) {},
(int) 13 => object(Cake\ORM\Entity) {},
(int) 20 => object(Cake\ORM\Entity) {},
(int) 264 => object(Cake\ORM\Entity) {},
(int) 192 => object(Cake\ORM\Entity) {},
(int) 98 => object(Cake\ORM\Entity) {},
(int) 280 => object(Cake\ORM\Entity) {}
],
'partenaires' => [
(int) 0 => object(Cake\ORM\Entity) {},
(int) 1 => object(Cake\ORM\Entity) {},
(int) 2 => object(Cake\ORM\Entity) {},
(int) 3 => object(Cake\ORM\Entity) {},
(int) 4 => object(Cake\ORM\Entity) {},
(int) 5 => object(Cake\ORM\Entity) {},
(int) 6 => object(Cake\ORM\Entity) {},
(int) 7 => object(Cake\ORM\Entity) {},
(int) 8 => object(Cake\ORM\Entity) {},
(int) 9 => object(Cake\ORM\Entity) {},
(int) 10 => object(Cake\ORM\Entity) {},
(int) 11 => object(Cake\ORM\Entity) {}
],
'avis_etablissement' => [
'avis' => [
'avis' => (int) 32,
'moy_note_avis' => (float) 4.9
]
],
'meta' => [
'title' => 'CHAUFFE EAU THERMODYNAMIQUE DE MARQUE ATLANTIC - Pazayac (24)',
'description' => 'Dans le cadre d'une réhabilitation d'une maison de village de 215m² , no...',
'postTitle' => 'Boulevard des Energies',
'postDescription' => 'Situés à Allassac (19240), nous intervenons dans les domaines suivants : Installation & mise en service d'une pompe à chaleur, Installation chaudière à granulés et bois, Installation & mise en service de climatisation, Installation de panneaux solaires photovoltaiques, Installation ou rénovation d'une salle de bain, Installation chaudière gaz, Installation, dépannage d'une pompe à chaleur géothermique, Installation & mise en service d'un chauffe eau thermodynamique (PAC), Pose de plancher chauffant et/ou refroidissant, Travaux d'électricité (neuf & rénovation), Installation de VMC et de système d'aération, Plomberie sanitaire, Rénovation globale, Désembouage du circuit de chauffage central, Installation chaudière fioul, Modification réseau de gaz.',
'others' => null
],
'realisation' => object(Cake\ORM\Entity) {
'id' => (int) 3456,
'lat' => (float) 0,
'lng' => (float) 0,
'titre' => 'CHAUFFE EAU THERMODYNAMIQUE DE MARQUE ATLANTIC',
'slug' => 'chauffe-eau-thermodynamique-de-marque-atlantic',
'annee' => '2017',
'caracteristiques' => '<p>Dans le cadre d'une réhabilitation d'une maison de village de 215m² , nous avons installé un <strong>chauffe eau Thermodynamique</strong> de 200 litres de marque <strong>ATLANTIC</strong>. Cet appareil de <strong>classe énergétique A </strong>permet de réaliser jusqu'à <strong>75% d'économie</strong> par rapport à un chauffe eau classique.</p>
<p>Il fournit l’eau chaude pour une famille de 4 personnes.</p>
',
'client_nom' => '',
'client_adresse' => '',
'client_cp' => '24120',
'client_ville' => 'Pazayac',
'client_mail' => '',
'client_tel' => '',
'client_autorisation' => false,
'departements' => [
[maximum depth reached]
],
'statut' => (int) 1,
'affichage_carte' => false,
'created' => object(Cake\I18n\FrozenTime) {},
'membre_id' => (int) 10,
'reso_pro_eco_id' => null,
'realisation_photos' => [
[maximum depth reached]
],
'metiers' => [
[maximum depth reached]
],
'departement' => 'Dordogne (24)',
'departementUrl' => 'dordogne-24',
'[new]' => false,
'[accessible]' => [
[maximum depth reached]
],
'[dirty]' => [
[maximum depth reached]
],
'[original]' => [
[maximum depth reached]
],
'[virtual]' => [[maximum depth reached]],
'[errors]' => [[maximum depth reached]],
'[invalid]' => [[maximum depth reached]],
'[repository]' => 'BaseSite.Realisations'
},
'selection' => [
(int) 0 => object(Cake\ORM\Entity) {},
(int) 1 => object(Cake\ORM\Entity) {},
(int) 2 => object(Cake\ORM\Entity) {},
(int) 3 => object(Cake\ORM\Entity) {},
(int) 4 => object(Cake\ORM\Entity) {},
(int) 5 => object(Cake\ORM\Entity) {},
(int) 6 => object(Cake\ORM\Entity) {},
(int) 7 => object(Cake\ORM\Entity) {}
]
]
$realisationsTable = object(BaseSite\Model\Table\RealisationsTable) {
'registryAlias' => 'BaseSite.Realisations',
'table' => 'realisations',
'alias' => 'Realisations',
'entityClass' => '\Cake\ORM\Entity',
'associations' => [
(int) 0 => 'membres',
(int) 1 => 'realisationselections',
(int) 2 => 'realisationphotos',
(int) 3 => 'metiers',
(int) 4 => 'metiersrealisations'
],
'behaviors' => [
(int) 0 => 'Webpage'
],
'defaultConnection' => 'default',
'connectionName' => 'default'
}
$realisationSelectionsTable = object(BaseSite\Model\Table\RealisationSelectionsTable) {
'registryAlias' => 'BaseSite.RealisationSelections',
'table' => 'realisation_selections',
'alias' => 'RealisationSelections',
'entityClass' => '\Cake\ORM\Entity',
'associations' => [
(int) 0 => 'pages',
(int) 1 => 'realisations'
],
'behaviors' => [
(int) 0 => 'Webpage'
],
'defaultConnection' => 'default',
'connectionName' => 'default'
}
$view = object(Cake\View\View) {
Blocks => object(Cake\View\ViewBlock) {}
plugin => null
name => null
passedArgs => []
helpers => []
templatePath => null
template => null
layout => 'default'
layoutPath => null
autoLayout => true
subDir => null
theme => null
hasRendered => false
uuids => []
request => object(Cake\Network\Request) {}
response => object(Cake\Network\Response) {}
elementCache => 'default'
viewClass => null
viewVars => []
Text => object(Cake\View\Helper\TextHelper) {}
[protected] _helpers => object(Cake\View\HelperRegistry) {}
[protected] _ext => '.ctp'
[protected] _passedVars => [
(int) 0 => 'viewVars',
(int) 1 => 'autoLayout',
(int) 2 => 'helpers',
(int) 3 => 'template',
(int) 4 => 'layout',
(int) 5 => 'name',
(int) 6 => 'theme',
(int) 7 => 'layoutPath',
(int) 8 => 'templatePath',
(int) 9 => 'plugin',
(int) 10 => 'passedArgs'
]
[protected] _paths => []
[protected] _pathsForPlugin => []
[protected] _parents => []
[protected] _current => null
[protected] _currentType => ''
[protected] _stack => []
[protected] _eventManager => object(Cake\Event\EventManager) {}
[protected] _eventClass => '\Cake\Event\Event'
[protected] _viewBuilder => null
}
$textHelper = object(Cake\View\Helper\TextHelper) {
'helpers' => [
(int) 0 => 'Html'
],
'theme' => null,
'plugin' => null,
'fieldset' => [],
'tags' => [],
'implementedEvents' => [],
'_config' => [
'engine' => 'Cake\Utility\Text'
]
}
$http_response_header = [
(int) 0 => 'HTTP/1.1 500 Internal Server Error',
(int) 1 => 'Date: Mon, 23 Dec 2024 01:28:20 GMT',
(int) 2 => 'Server: Apache',
(int) 3 => 'Content-Security-Policy: upgrade-insecure-requests',
(int) 4 => 'Connection: close',
(int) 5 => 'Content-Type: application/json; charset=UTF-8'
]
file_get_contents - [internal], line ??
Gb5V1\Controller\WebPagesController::realisation() - /home/resoproeco/www/core/plugins/Gb5V1/src/Controller/WebPagesController.php, line 100
App\Controller\PagesController::realisation() - APP/Controller/PagesController.php, line 46
Cake\Controller\Controller::invokeAction() - CORE/src/Controller/Controller.php, line 429
Cake\Routing\Dispatcher::_invoke() - CORE/src/Routing/Dispatcher.php, line 114
Cake\Routing\Dispatcher::dispatch() - CORE/src/Routing/Dispatcher.php, line 87
[main] - ROOT/webroot/index.php, line 36