Notice (8): Undefined index: la-maison [APP/Controller/AppController.php, line 110]Code Context foreach ($settingsDB as $key => $s) {
$settings[$s->meta_key] = $s->_translations[$this->getCurrentLocale()]->meta_value;
$titles[$s->meta_key] = $s->_translations[$this->getCurrentLocale()]->name;
$locales = [
(int) 0 => object(App\Model\Entity\Locale) {
'id' => 'c79e08dd-4b98-40da-812f-166a5627cafe',
'locale' => 'fr',
'name' => 'French',
'position' => (int) 1,
'active' => true,
'flag' => 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgBAMAAACBVGfHAAAAA3NCSVQICAjb4U/gAAAACXBIWXMAAADdAAAA3QFwU6IHAAAAGXRFWHRTb2Z0d2FyZQB3d3cuaW5rc2NhcGUub3Jnm+48GgAAACdQTFRF////QUib/0tUh4y+/XiAQkab9PT0/0pVkpTC/mRtQUeb9fX1/0tVpPINxQAAAAp0Uk5TAFJSamp4eHjGxmzCt2wAAAArSURBVCjPY2RAA4zUEBB1AJIPDYDEP2Eg8ZtxFQOKAMOoAOUCGIFMi6gEAD39PvX2T/ZKAAAAAElFTkSuQmCC',
'front' => true,
'[new]' => false,
'[accessible]' => [
[maximum depth reached]
],
'[dirty]' => [[maximum depth reached]],
'[original]' => [[maximum depth reached]],
'[virtual]' => [[maximum depth reached]],
'[hasErrors]' => false,
'[errors]' => [[maximum depth reached]],
'[invalid]' => [[maximum depth reached]],
'[repository]' => 'Locales'
},
(int) 1 => object(App\Model\Entity\Locale) {
'id' => '073aae08-53c1-11e9-bb3d-7054d219d6c5',
'locale' => 'es',
'name' => 'Español',
'position' => (int) 0,
'active' => true,
'flag' => 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAMAAABEpIrGAAAAA3NCSVQICAjb4U/gAAAACXBIWXMAAADdAAAA3QFwU6IHAAAAGXRFWHRTb2Z0d2FyZQB3d3cuaW5rc2NhcGUub3Jnm+48GgAAARpQTFRF////x0FLyEJKgXaZoI6wuKV1watwyEFLy0pLzntc0rZn1GJZ1WVW1bhm1mxd13JW13Vx2nFQ229L23JN23xM3IyF3I+V3JKY3Y2G3nVJ33dJ34Zs4JOA4XhH4X9Q4ZV845Bk5JJi5LG15aWL5btz5b185pFh5pRk5pZs5px558Nc6ItI6KR16cFp6pBI66lx7ZxQ7aNO7q1h7rR17tjW76BO78BX8KpP8LJk8buC8stZ9LhX9Net9PPz9efR9fHz9fX198BY98dz98xX99/s9+Lt9+3R+MVe+N2d+dOA+deU+eat+sBQ+stf+8hm+8xZ+9Bw/Lzd/MtQ/N2E/N6G/dlx/sxP/s5R/tRa/tZk/tdp/9JQ/9JR/9NThpihEAAAAAN0Uk5TAFJ4LCUCBgAAAKRJREFUOI1jYBgKgJEJL2BkYCcAqKCAgwBgiCYAYApiQ/xCY/AoiLGR4Vb2wKkgyDxaUVhI0CjaEIcCH1N3aTVLL+9wgzDsCoLtdLS1lQJdoxwisCvQF+WTFWFxsVcQs8auwFjCSY6TmZ/HQtwRuwJPtwApKU09SV9bf+wKdFWc1TVMBOStVM2wK2Bj1YqODI6I5mXlwq4AHyAcWXRIMAQT7VAAACQKgMq9uRSqAAAAAElFTkSuQmCC',
'front' => true,
'[new]' => false,
'[accessible]' => [
[maximum depth reached]
],
'[dirty]' => [[maximum depth reached]],
'[original]' => [[maximum depth reached]],
'[virtual]' => [[maximum depth reached]],
'[hasErrors]' => false,
'[errors]' => [[maximum depth reached]],
'[invalid]' => [[maximum depth reached]],
'[repository]' => 'Locales'
},
(int) 2 => object(App\Model\Entity\Locale) {
'id' => '99c33239-48e4-4692-adb0-30a7c352e556',
'locale' => 'en',
'name' => 'English',
'position' => (int) 0,
'active' => true,
'flag' => 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAAA3QAAAN0BcFOiBwAAABl0RVh0U29mdHdhcmUAd3d3Lmlua3NjYXBlLm9yZ5vuPBoAAATuSURBVFiF7ZdrUNRlFMZ/+2dhXVoW5DJcAgTjamopziiWYuhMYpHGRUk0Gs1gIshboIYMoWNqahQyig41hJLXcgSvQ6VyS2WE1IBABRSZ5b673BZYdvtQ4QUYHb7QB55v7zlz5nnOvO+c57wivV7PSEIYUfZRAf8HAeJL65MbJ8UuvSQ2EveVPewy3naqxkPZ0SsZqmD+KxYPI9+0u9/iH+n9eNw8K6Uw5UKd4/k/ml98FqmrjVQd/65DhTg1015suzvFsuHM+SDV6nA8Q3xIWeHCrqxaUnPq6NbqBhR7jTdxBLx7coueTjk2tvWQW64aktja1IiNixxZ0ldDh1/CRM3tSgR1oD/CnWrGRsRQ89YnNBf9ReJiJ4q+9CJ4hhUi0bP6eTakRgIx/g4UhZmxMHk7qoBotOX3MF4ZiJDptwz1qTQ0Pt5I8q8jXfghle8nIGlt5eBH7vwS9yoz3UyHRSyIIPR1a4rXOhP56yE6fMPozilEMn8WlgWZyHfHICSdrcXvmJqL0bG0pu2hz9MFk9Pn0M8OoXRdMu5mcHbDJDKjPHG1kT43ue/LZuTFerKj/jdEc96jK+M0hpPdMM/ex9gju1Db2bMh8x4iArL7R6GLjZSEwHE45ediuf97qKsHK3OaVoXhuSYYvYFAVYMGVxspCrPpTxDaKK+ScKKaizdb2RrkyIziXNq3HUBX34yBvQ2yzRFIF89Ho9WTmlPH7uxa1F3aJwX8B283OYnv2GF8+CcsM46iV7ejc3VGGb2KCcvnAgwqoKpBg23JDdrjk9GW30MklyFbG4ZxRAhIjDh+tZEtJ6t50NzdXyc6kVs1qBkIgoiZrnI661tQXLn1iMhnMub2FoMK0LWo6L1R2h8znOKJYGEGQF1rN6W1nQN4REqlclhuNJiA4UBUjvuI2uGIj+JRASP+CMU5t1oHBCfYG2M39h9D1DUr6S0u688ZTp2AYD74aG6pbUZx+eYjUbMnYWxtTkGlGp1u8D7FQV//2X9wsJCwOdAJWzMJek0PnfuP0L4nHb26HbHHeGSJUdRoJTgP0Y25vQUKnQ6zbw8iVFbRK5dxd/kSTEIDiD9TR2GFekCNACCXivki2Inr27xYPN0SzbFzNE0Lpi0hBZFUgvybjdw8sBffPCnpVxRD0EOlogu3UF+sCw7TtGkNeokRFilpOASt4CvjuxyK9MDlKT8RIubZUbJjGp/62SNcLaH5jQ9QhSega1Ehi11JU1YGy5pcCEgqo7S2Y0hygMN59XjH3eDCbSUTY0IwuXaclpXLECnVWMZvZ0r0GjK8NOwMfQkLmSHw7yPUVlTTFr+X7vO5IAhIQ9+mK2oFW/La+TG/nsevb/UCexKCnIY0o6SztQDMdDNl6xJnpjrLaLijQJW4H5PsC6DTofHxpuezcDIVUsTqdTvpTD8F2j4k87wRx31McpWE5D1VdPUM3IieFwUVKuZuLSFouhXxgU64/pBAVW4wwvZ9jLlcyJj8ayxduABxZ9pJxBNdeSExiqMG4/gy/T71qp5hEz8OvR6O/97I6aJmwufZsd7fHfmZvZQduYxpUiryk1mIZXER17ThS2s///mBW6WiUe5mK8XNdujFw8rE6CFw32jWNO+nUoVWJkaOszxMB11Ki6vbiPzuTvemRePKPUN8OrUBrxnc2pE5RzT6NRsVMNIC/gaY0PLtJgQJ0gAAAABJRU5ErkJggg==',
'front' => true,
'[new]' => false,
'[accessible]' => [
[maximum depth reached]
],
'[dirty]' => [[maximum depth reached]],
'[original]' => [[maximum depth reached]],
'[virtual]' => [[maximum depth reached]],
'[hasErrors]' => false,
'[errors]' => [[maximum depth reached]],
'[invalid]' => [[maximum depth reached]],
'[repository]' => 'Locales'
},
(int) 3 => object(App\Model\Entity\Locale) {
'id' => 'a20c3c73-53c0-11e9-bb3d-7054d219d6c5',
'locale' => 'de',
'name' => 'Deutsch',
'position' => (int) 0,
'active' => true,
'flag' => 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgBAMAAACBVGfHAAAAA3NCSVQICAjb4U/gAAAACXBIWXMAAADdAAAA3QFwU6IHAAAAGXRFWHRTb2Z0d2FyZQB3d3cuaW5rc2NhcGUub3Jnm+48GgAAAB5QTFRF////SEhU/+BaRkZV/+FZwUlV/31WRkZV/0tV/+FagNv1tgAAAAd0Uk5TAFJSeHjAwPIGe2oAAAAqSURBVCjPY2FAAyzUEBBWQOH/Y0mhhS0YAvfQBYyHs7Xd6IF85w71bQEAwy4HmS9PAQYAAAAASUVORK5CYII=',
'front' => true,
'[new]' => false,
'[accessible]' => [
[maximum depth reached]
],
'[dirty]' => [[maximum depth reached]],
'[original]' => [[maximum depth reached]],
'[virtual]' => [[maximum depth reached]],
'[hasErrors]' => false,
'[errors]' => [[maximum depth reached]],
'[invalid]' => [[maximum depth reached]],
'[repository]' => 'Locales'
}
]
$session = object(Cake\Http\Session) {
[protected] _engine => null
[protected] _started => true
[protected] _lifetime => (int) 86400
[protected] _isCLI => false
}
$lng = 'la-maison'
$currentLocal = 'la-maison'
$settingsDB = object(SoftDelete\ORM\Query) {
'(help)' => 'This is a Query object, to get the results execute or iterate it.',
'sql' => 'SELECT Settings.id AS `Settings__id`, Settings.meta_key AS `Settings__meta_key`, Settings.meta_value AS `Settings__meta_value`, Settings.name AS `Settings__name`, Settings.description AS `Settings__description`, Settings.deleted AS `Settings__deleted`, Settings_meta_value_translation.id AS `Settings_meta_value_translation__id`, Settings_meta_value_translation.locale AS `Settings_meta_value_translation__locale`, Settings_meta_value_translation.model AS `Settings_meta_value_translation__model`, Settings_meta_value_translation.foreign_key AS `Settings_meta_value_translation__foreign_key`, Settings_meta_value_translation.field AS `Settings_meta_value_translation__field`, Settings_meta_value_translation.content AS `Settings_meta_value_translation__content`, Settings_name_translation.id AS `Settings_name_translation__id`, Settings_name_translation.locale AS `Settings_name_translation__locale`, Settings_name_translation.model AS `Settings_name_translation__model`, Settings_name_translation.foreign_key AS `Settings_name_translation__foreign_key`, Settings_name_translation.field AS `Settings_name_translation__field`, Settings_name_translation.content AS `Settings_name_translation__content`, Settings_description_translation.id AS `Settings_description_translation__id`, Settings_description_translation.locale AS `Settings_description_translation__locale`, Settings_description_translation.model AS `Settings_description_translation__model`, Settings_description_translation.foreign_key AS `Settings_description_translation__foreign_key`, Settings_description_translation.field AS `Settings_description_translation__field`, Settings_description_translation.content AS `Settings_description_translation__content` FROM settings Settings LEFT JOIN i18n Settings_meta_value_translation ON (Settings_meta_value_translation.model = :c0 AND Settings_meta_value_translation.field = :c1 AND Settings_meta_value_translation.locale = :c2 AND Settings.id = (Settings_meta_value_translation.foreign_key)) LEFT JOIN i18n Settings_name_translation ON (Settings_name_translation.model = :c3 AND Settings_name_translation.field = :c4 AND Settings_name_translation.locale = :c5 AND Settings.id = (Settings_name_translation.foreign_key)) LEFT JOIN i18n Settings_description_translation ON (Settings_description_translation.model = :c6 AND Settings_description_translation.field = :c7 AND Settings_description_translation.locale = :c8 AND Settings.id = (Settings_description_translation.foreign_key)) WHERE Settings.deleted IS NULL',
'params' => [
':c0' => [
[maximum depth reached]
],
':c1' => [
[maximum depth reached]
],
':c2' => [
[maximum depth reached]
],
':c3' => [
[maximum depth reached]
],
':c4' => [
[maximum depth reached]
],
':c5' => [
[maximum depth reached]
],
':c6' => [
[maximum depth reached]
],
':c7' => [
[maximum depth reached]
],
':c8' => [
[maximum depth reached]
]
],
'defaultTypes' => [
'Settings__id' => 'uuid',
'Settings.id' => 'uuid',
'id' => 'uuid',
'Settings__meta_key' => 'string',
'Settings.meta_key' => 'string',
'meta_key' => 'string',
'Settings__meta_value' => 'text',
'Settings.meta_value' => 'text',
'meta_value' => 'text',
'Settings__name' => 'string',
'Settings.name' => 'string',
'name' => 'string',
'Settings__description' => 'text',
'Settings.description' => 'text',
'description' => 'text',
'Settings__deleted' => 'datetime',
'Settings.deleted' => 'datetime',
'deleted' => 'datetime',
'I18n__id' => 'integer',
'I18n.id' => 'integer',
'I18n__locale' => 'string',
'I18n.locale' => 'string',
'locale' => 'string',
'I18n__model' => 'string',
'I18n.model' => 'string',
'model' => 'string',
'I18n__foreign_key' => 'uuid',
'I18n.foreign_key' => 'uuid',
'foreign_key' => 'uuid',
'I18n__field' => 'string',
'I18n.field' => 'string',
'field' => 'string',
'I18n__content' => 'text',
'I18n.content' => 'text',
'content' => 'text',
'Settings_meta_value_translation__id' => 'integer',
'Settings_meta_value_translation.id' => 'integer',
'Settings_meta_value_translation__locale' => 'string',
'Settings_meta_value_translation.locale' => 'string',
'Settings_meta_value_translation__model' => 'string',
'Settings_meta_value_translation.model' => 'string',
'Settings_meta_value_translation__foreign_key' => 'uuid',
'Settings_meta_value_translation.foreign_key' => 'uuid',
'Settings_meta_value_translation__field' => 'string',
'Settings_meta_value_translation.field' => 'string',
'Settings_meta_value_translation__content' => 'text',
'Settings_meta_value_translation.content' => 'text',
'Settings_name_translation__id' => 'integer',
'Settings_name_translation.id' => 'integer',
'Settings_name_translation__locale' => 'string',
'Settings_name_translation.locale' => 'string',
'Settings_name_translation__model' => 'string',
'Settings_name_translation.model' => 'string',
'Settings_name_translation__foreign_key' => 'uuid',
'Settings_name_translation.foreign_key' => 'uuid',
'Settings_name_translation__field' => 'string',
'Settings_name_translation.field' => 'string',
'Settings_name_translation__content' => 'text',
'Settings_name_translation.content' => 'text',
'Settings_description_translation__id' => 'integer',
'Settings_description_translation.id' => 'integer',
'Settings_description_translation__locale' => 'string',
'Settings_description_translation.locale' => 'string',
'Settings_description_translation__model' => 'string',
'Settings_description_translation.model' => 'string',
'Settings_description_translation__foreign_key' => 'uuid',
'Settings_description_translation.foreign_key' => 'uuid',
'Settings_description_translation__field' => 'string',
'Settings_description_translation.field' => 'string',
'Settings_description_translation__content' => 'text',
'Settings_description_translation.content' => 'text'
],
'decorators' => (int) 0,
'executed' => true,
'hydrate' => true,
'buffered' => true,
'formatters' => (int) 2,
'mapReducers' => (int) 0,
'contain' => [
'I18n' => [
[maximum depth reached]
],
'Settings_meta_value_translation' => [
[maximum depth reached]
],
'Settings_name_translation' => [
[maximum depth reached]
],
'Settings_description_translation' => [
[maximum depth reached]
]
],
'matching' => [],
'extraOptions' => [],
'repository' => object(App\Model\Table\SettingsTable) {}
}
$settings = []
$titles = []
$key = (int) 0
$s = object(App\Model\Entity\Setting) {
'id' => '025eb996-f41e-4588-88c6-e4eaaebf14e9',
'meta_key' => 'copyright',
'meta_value' => '',
'name' => 'Champagne Jean-Paul Deville - tous droits réservés',
'description' => '',
'deleted' => null,
'_locale' => 'la-maison',
'_translations' => [
'fr' => object(App\Model\Entity\Setting) {},
'en' => object(App\Model\Entity\Setting) {},
'es' => object(App\Model\Entity\Setting) {},
'pt' => object(App\Model\Entity\Setting) {},
'de' => object(App\Model\Entity\Setting) {},
'it' => object(App\Model\Entity\Setting) {}
],
'[new]' => false,
'[accessible]' => [
'meta_key' => true,
'meta_value' => true,
'name' => true,
'description' => true
],
'[dirty]' => [],
'[original]' => [],
'[virtual]' => [],
'[hasErrors]' => false,
'[errors]' => [],
'[invalid]' => [],
'[repository]' => 'Settings'
}
App\Controller\AppController::initialize() - APP/Controller/AppController.php, line 110
App\Controller\PagesController::initialize() - APP/Controller/PagesController.php, line 38
Cake\Controller\Controller::__construct() - CORE/src/Controller/Controller.php, line 273
ReflectionClass::newInstance() - [internal], line ??
Cake\Http\ControllerFactory::create() - CORE/src/Http/ControllerFactory.php, line 47
Cake\Http\ActionDispatcher::dispatch() - CORE/src/Http/ActionDispatcher.php, line 91
Cake\Http\BaseApplication::__invoke() - CORE/src/Http/BaseApplication.php, line 235
Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65
Cake\Routing\Middleware\RoutingMiddleware::__invoke() - CORE/src/Routing/Middleware/RoutingMiddleware.php, line 162
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 96
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 98
[main] - ROOT/webroot/index.php, line 40
Notice (8): Trying to get property of non-object [APP/Controller/AppController.php, line 110]Code Context foreach ($settingsDB as $key => $s) {
$settings[$s->meta_key] = $s->_translations[$this->getCurrentLocale()]->meta_value;
$titles[$s->meta_key] = $s->_translations[$this->getCurrentLocale()]->name;
$locales = [
(int) 0 => object(App\Model\Entity\Locale) {
'id' => 'c79e08dd-4b98-40da-812f-166a5627cafe',
'locale' => 'fr',
'name' => 'French',
'position' => (int) 1,
'active' => true,
'flag' => 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgBAMAAACBVGfHAAAAA3NCSVQICAjb4U/gAAAACXBIWXMAAADdAAAA3QFwU6IHAAAAGXRFWHRTb2Z0d2FyZQB3d3cuaW5rc2NhcGUub3Jnm+48GgAAACdQTFRF////QUib/0tUh4y+/XiAQkab9PT0/0pVkpTC/mRtQUeb9fX1/0tVpPINxQAAAAp0Uk5TAFJSamp4eHjGxmzCt2wAAAArSURBVCjPY2RAA4zUEBB1AJIPDYDEP2Eg8ZtxFQOKAMOoAOUCGIFMi6gEAD39PvX2T/ZKAAAAAElFTkSuQmCC',
'front' => true,
'[new]' => false,
'[accessible]' => [
[maximum depth reached]
],
'[dirty]' => [[maximum depth reached]],
'[original]' => [[maximum depth reached]],
'[virtual]' => [[maximum depth reached]],
'[hasErrors]' => false,
'[errors]' => [[maximum depth reached]],
'[invalid]' => [[maximum depth reached]],
'[repository]' => 'Locales'
},
(int) 1 => object(App\Model\Entity\Locale) {
'id' => '073aae08-53c1-11e9-bb3d-7054d219d6c5',
'locale' => 'es',
'name' => 'Español',
'position' => (int) 0,
'active' => true,
'flag' => 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAMAAABEpIrGAAAAA3NCSVQICAjb4U/gAAAACXBIWXMAAADdAAAA3QFwU6IHAAAAGXRFWHRTb2Z0d2FyZQB3d3cuaW5rc2NhcGUub3Jnm+48GgAAARpQTFRF////x0FLyEJKgXaZoI6wuKV1watwyEFLy0pLzntc0rZn1GJZ1WVW1bhm1mxd13JW13Vx2nFQ229L23JN23xM3IyF3I+V3JKY3Y2G3nVJ33dJ34Zs4JOA4XhH4X9Q4ZV845Bk5JJi5LG15aWL5btz5b185pFh5pRk5pZs5px558Nc6ItI6KR16cFp6pBI66lx7ZxQ7aNO7q1h7rR17tjW76BO78BX8KpP8LJk8buC8stZ9LhX9Net9PPz9efR9fHz9fX198BY98dz98xX99/s9+Lt9+3R+MVe+N2d+dOA+deU+eat+sBQ+stf+8hm+8xZ+9Bw/Lzd/MtQ/N2E/N6G/dlx/sxP/s5R/tRa/tZk/tdp/9JQ/9JR/9NThpihEAAAAAN0Uk5TAFJ4LCUCBgAAAKRJREFUOI1jYBgKgJEJL2BkYCcAqKCAgwBgiCYAYApiQ/xCY/AoiLGR4Vb2wKkgyDxaUVhI0CjaEIcCH1N3aTVLL+9wgzDsCoLtdLS1lQJdoxwisCvQF+WTFWFxsVcQs8auwFjCSY6TmZ/HQtwRuwJPtwApKU09SV9bf+wKdFWc1TVMBOStVM2wK2Bj1YqODI6I5mXlwq4AHyAcWXRIMAQT7VAAACQKgMq9uRSqAAAAAElFTkSuQmCC',
'front' => true,
'[new]' => false,
'[accessible]' => [
[maximum depth reached]
],
'[dirty]' => [[maximum depth reached]],
'[original]' => [[maximum depth reached]],
'[virtual]' => [[maximum depth reached]],
'[hasErrors]' => false,
'[errors]' => [[maximum depth reached]],
'[invalid]' => [[maximum depth reached]],
'[repository]' => 'Locales'
},
(int) 2 => object(App\Model\Entity\Locale) {
'id' => '99c33239-48e4-4692-adb0-30a7c352e556',
'locale' => 'en',
'name' => 'English',
'position' => (int) 0,
'active' => true,
'flag' => 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAAA3QAAAN0BcFOiBwAAABl0RVh0U29mdHdhcmUAd3d3Lmlua3NjYXBlLm9yZ5vuPBoAAATuSURBVFiF7ZdrUNRlFMZ/+2dhXVoW5DJcAgTjamopziiWYuhMYpHGRUk0Gs1gIshboIYMoWNqahQyig41hJLXcgSvQ6VyS2WE1IBABRSZ5b673BZYdvtQ4QUYHb7QB55v7zlz5nnOvO+c57wivV7PSEIYUfZRAf8HAeJL65MbJ8UuvSQ2EveVPewy3naqxkPZ0SsZqmD+KxYPI9+0u9/iH+n9eNw8K6Uw5UKd4/k/ml98FqmrjVQd/65DhTg1015suzvFsuHM+SDV6nA8Q3xIWeHCrqxaUnPq6NbqBhR7jTdxBLx7coueTjk2tvWQW64aktja1IiNixxZ0ldDh1/CRM3tSgR1oD/CnWrGRsRQ89YnNBf9ReJiJ4q+9CJ4hhUi0bP6eTakRgIx/g4UhZmxMHk7qoBotOX3MF4ZiJDptwz1qTQ0Pt5I8q8jXfghle8nIGlt5eBH7vwS9yoz3UyHRSyIIPR1a4rXOhP56yE6fMPozilEMn8WlgWZyHfHICSdrcXvmJqL0bG0pu2hz9MFk9Pn0M8OoXRdMu5mcHbDJDKjPHG1kT43ue/LZuTFerKj/jdEc96jK+M0hpPdMM/ex9gju1Db2bMh8x4iArL7R6GLjZSEwHE45ediuf97qKsHK3OaVoXhuSYYvYFAVYMGVxspCrPpTxDaKK+ScKKaizdb2RrkyIziXNq3HUBX34yBvQ2yzRFIF89Ho9WTmlPH7uxa1F3aJwX8B283OYnv2GF8+CcsM46iV7ejc3VGGb2KCcvnAgwqoKpBg23JDdrjk9GW30MklyFbG4ZxRAhIjDh+tZEtJ6t50NzdXyc6kVs1qBkIgoiZrnI661tQXLn1iMhnMub2FoMK0LWo6L1R2h8znOKJYGEGQF1rN6W1nQN4REqlclhuNJiA4UBUjvuI2uGIj+JRASP+CMU5t1oHBCfYG2M39h9D1DUr6S0u688ZTp2AYD74aG6pbUZx+eYjUbMnYWxtTkGlGp1u8D7FQV//2X9wsJCwOdAJWzMJek0PnfuP0L4nHb26HbHHeGSJUdRoJTgP0Y25vQUKnQ6zbw8iVFbRK5dxd/kSTEIDiD9TR2GFekCNACCXivki2Inr27xYPN0SzbFzNE0Lpi0hBZFUgvybjdw8sBffPCnpVxRD0EOlogu3UF+sCw7TtGkNeokRFilpOASt4CvjuxyK9MDlKT8RIubZUbJjGp/62SNcLaH5jQ9QhSega1Ehi11JU1YGy5pcCEgqo7S2Y0hygMN59XjH3eDCbSUTY0IwuXaclpXLECnVWMZvZ0r0GjK8NOwMfQkLmSHw7yPUVlTTFr+X7vO5IAhIQ9+mK2oFW/La+TG/nsevb/UCexKCnIY0o6SztQDMdDNl6xJnpjrLaLijQJW4H5PsC6DTofHxpuezcDIVUsTqdTvpTD8F2j4k87wRx31McpWE5D1VdPUM3IieFwUVKuZuLSFouhXxgU64/pBAVW4wwvZ9jLlcyJj8ayxduABxZ9pJxBNdeSExiqMG4/gy/T71qp5hEz8OvR6O/97I6aJmwufZsd7fHfmZvZQduYxpUiryk1mIZXER17ThS2s///mBW6WiUe5mK8XNdujFw8rE6CFw32jWNO+nUoVWJkaOszxMB11Ki6vbiPzuTvemRePKPUN8OrUBrxnc2pE5RzT6NRsVMNIC/gaY0PLtJgQJ0gAAAABJRU5ErkJggg==',
'front' => true,
'[new]' => false,
'[accessible]' => [
[maximum depth reached]
],
'[dirty]' => [[maximum depth reached]],
'[original]' => [[maximum depth reached]],
'[virtual]' => [[maximum depth reached]],
'[hasErrors]' => false,
'[errors]' => [[maximum depth reached]],
'[invalid]' => [[maximum depth reached]],
'[repository]' => 'Locales'
},
(int) 3 => object(App\Model\Entity\Locale) {
'id' => 'a20c3c73-53c0-11e9-bb3d-7054d219d6c5',
'locale' => 'de',
'name' => 'Deutsch',
'position' => (int) 0,
'active' => true,
'flag' => 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgBAMAAACBVGfHAAAAA3NCSVQICAjb4U/gAAAACXBIWXMAAADdAAAA3QFwU6IHAAAAGXRFWHRTb2Z0d2FyZQB3d3cuaW5rc2NhcGUub3Jnm+48GgAAAB5QTFRF////SEhU/+BaRkZV/+FZwUlV/31WRkZV/0tV/+FagNv1tgAAAAd0Uk5TAFJSeHjAwPIGe2oAAAAqSURBVCjPY2FAAyzUEBBWQOH/Y0mhhS0YAvfQBYyHs7Xd6IF85w71bQEAwy4HmS9PAQYAAAAASUVORK5CYII=',
'front' => true,
'[new]' => false,
'[accessible]' => [
[maximum depth reached]
],
'[dirty]' => [[maximum depth reached]],
'[original]' => [[maximum depth reached]],
'[virtual]' => [[maximum depth reached]],
'[hasErrors]' => false,
'[errors]' => [[maximum depth reached]],
'[invalid]' => [[maximum depth reached]],
'[repository]' => 'Locales'
}
]
$session = object(Cake\Http\Session) {
[protected] _engine => null
[protected] _started => true
[protected] _lifetime => (int) 86400
[protected] _isCLI => false
}
$lng = 'la-maison'
$currentLocal = 'la-maison'
$settingsDB = object(SoftDelete\ORM\Query) {
'(help)' => 'This is a Query object, to get the results execute or iterate it.',
'sql' => 'SELECT Settings.id AS `Settings__id`, Settings.meta_key AS `Settings__meta_key`, Settings.meta_value AS `Settings__meta_value`, Settings.name AS `Settings__name`, Settings.description AS `Settings__description`, Settings.deleted AS `Settings__deleted`, Settings_meta_value_translation.id AS `Settings_meta_value_translation__id`, Settings_meta_value_translation.locale AS `Settings_meta_value_translation__locale`, Settings_meta_value_translation.model AS `Settings_meta_value_translation__model`, Settings_meta_value_translation.foreign_key AS `Settings_meta_value_translation__foreign_key`, Settings_meta_value_translation.field AS `Settings_meta_value_translation__field`, Settings_meta_value_translation.content AS `Settings_meta_value_translation__content`, Settings_name_translation.id AS `Settings_name_translation__id`, Settings_name_translation.locale AS `Settings_name_translation__locale`, Settings_name_translation.model AS `Settings_name_translation__model`, Settings_name_translation.foreign_key AS `Settings_name_translation__foreign_key`, Settings_name_translation.field AS `Settings_name_translation__field`, Settings_name_translation.content AS `Settings_name_translation__content`, Settings_description_translation.id AS `Settings_description_translation__id`, Settings_description_translation.locale AS `Settings_description_translation__locale`, Settings_description_translation.model AS `Settings_description_translation__model`, Settings_description_translation.foreign_key AS `Settings_description_translation__foreign_key`, Settings_description_translation.field AS `Settings_description_translation__field`, Settings_description_translation.content AS `Settings_description_translation__content` FROM settings Settings LEFT JOIN i18n Settings_meta_value_translation ON (Settings_meta_value_translation.model = :c0 AND Settings_meta_value_translation.field = :c1 AND Settings_meta_value_translation.locale = :c2 AND Settings.id = (Settings_meta_value_translation.foreign_key)) LEFT JOIN i18n Settings_name_translation ON (Settings_name_translation.model = :c3 AND Settings_name_translation.field = :c4 AND Settings_name_translation.locale = :c5 AND Settings.id = (Settings_name_translation.foreign_key)) LEFT JOIN i18n Settings_description_translation ON (Settings_description_translation.model = :c6 AND Settings_description_translation.field = :c7 AND Settings_description_translation.locale = :c8 AND Settings.id = (Settings_description_translation.foreign_key)) WHERE Settings.deleted IS NULL',
'params' => [
':c0' => [
[maximum depth reached]
],
':c1' => [
[maximum depth reached]
],
':c2' => [
[maximum depth reached]
],
':c3' => [
[maximum depth reached]
],
':c4' => [
[maximum depth reached]
],
':c5' => [
[maximum depth reached]
],
':c6' => [
[maximum depth reached]
],
':c7' => [
[maximum depth reached]
],
':c8' => [
[maximum depth reached]
]
],
'defaultTypes' => [
'Settings__id' => 'uuid',
'Settings.id' => 'uuid',
'id' => 'uuid',
'Settings__meta_key' => 'string',
'Settings.meta_key' => 'string',
'meta_key' => 'string',
'Settings__meta_value' => 'text',
'Settings.meta_value' => 'text',
'meta_value' => 'text',
'Settings__name' => 'string',
'Settings.name' => 'string',
'name' => 'string',
'Settings__description' => 'text',
'Settings.description' => 'text',
'description' => 'text',
'Settings__deleted' => 'datetime',
'Settings.deleted' => 'datetime',
'deleted' => 'datetime',
'I18n__id' => 'integer',
'I18n.id' => 'integer',
'I18n__locale' => 'string',
'I18n.locale' => 'string',
'locale' => 'string',
'I18n__model' => 'string',
'I18n.model' => 'string',
'model' => 'string',
'I18n__foreign_key' => 'uuid',
'I18n.foreign_key' => 'uuid',
'foreign_key' => 'uuid',
'I18n__field' => 'string',
'I18n.field' => 'string',
'field' => 'string',
'I18n__content' => 'text',
'I18n.content' => 'text',
'content' => 'text',
'Settings_meta_value_translation__id' => 'integer',
'Settings_meta_value_translation.id' => 'integer',
'Settings_meta_value_translation__locale' => 'string',
'Settings_meta_value_translation.locale' => 'string',
'Settings_meta_value_translation__model' => 'string',
'Settings_meta_value_translation.model' => 'string',
'Settings_meta_value_translation__foreign_key' => 'uuid',
'Settings_meta_value_translation.foreign_key' => 'uuid',
'Settings_meta_value_translation__field' => 'string',
'Settings_meta_value_translation.field' => 'string',
'Settings_meta_value_translation__content' => 'text',
'Settings_meta_value_translation.content' => 'text',
'Settings_name_translation__id' => 'integer',
'Settings_name_translation.id' => 'integer',
'Settings_name_translation__locale' => 'string',
'Settings_name_translation.locale' => 'string',
'Settings_name_translation__model' => 'string',
'Settings_name_translation.model' => 'string',
'Settings_name_translation__foreign_key' => 'uuid',
'Settings_name_translation.foreign_key' => 'uuid',
'Settings_name_translation__field' => 'string',
'Settings_name_translation.field' => 'string',
'Settings_name_translation__content' => 'text',
'Settings_name_translation.content' => 'text',
'Settings_description_translation__id' => 'integer',
'Settings_description_translation.id' => 'integer',
'Settings_description_translation__locale' => 'string',
'Settings_description_translation.locale' => 'string',
'Settings_description_translation__model' => 'string',
'Settings_description_translation.model' => 'string',
'Settings_description_translation__foreign_key' => 'uuid',
'Settings_description_translation.foreign_key' => 'uuid',
'Settings_description_translation__field' => 'string',
'Settings_description_translation.field' => 'string',
'Settings_description_translation__content' => 'text',
'Settings_description_translation.content' => 'text'
],
'decorators' => (int) 0,
'executed' => true,
'hydrate' => true,
'buffered' => true,
'formatters' => (int) 2,
'mapReducers' => (int) 0,
'contain' => [
'I18n' => [
[maximum depth reached]
],
'Settings_meta_value_translation' => [
[maximum depth reached]
],
'Settings_name_translation' => [
[maximum depth reached]
],
'Settings_description_translation' => [
[maximum depth reached]
]
],
'matching' => [],
'extraOptions' => [],
'repository' => object(App\Model\Table\SettingsTable) {}
}
$settings = []
$titles = []
$key = (int) 0
$s = object(App\Model\Entity\Setting) {
'id' => '025eb996-f41e-4588-88c6-e4eaaebf14e9',
'meta_key' => 'copyright',
'meta_value' => '',
'name' => 'Champagne Jean-Paul Deville - tous droits réservés',
'description' => '',
'deleted' => null,
'_locale' => 'la-maison',
'_translations' => [
'fr' => object(App\Model\Entity\Setting) {},
'en' => object(App\Model\Entity\Setting) {},
'es' => object(App\Model\Entity\Setting) {},
'pt' => object(App\Model\Entity\Setting) {},
'de' => object(App\Model\Entity\Setting) {},
'it' => object(App\Model\Entity\Setting) {}
],
'[new]' => false,
'[accessible]' => [
'meta_key' => true,
'meta_value' => true,
'name' => true,
'description' => true
],
'[dirty]' => [],
'[original]' => [],
'[virtual]' => [],
'[hasErrors]' => false,
'[errors]' => [],
'[invalid]' => [],
'[repository]' => 'Settings'
}
App\Controller\AppController::initialize() - APP/Controller/AppController.php, line 110
App\Controller\PagesController::initialize() - APP/Controller/PagesController.php, line 38
Cake\Controller\Controller::__construct() - CORE/src/Controller/Controller.php, line 273
ReflectionClass::newInstance() - [internal], line ??
Cake\Http\ControllerFactory::create() - CORE/src/Http/ControllerFactory.php, line 47
Cake\Http\ActionDispatcher::dispatch() - CORE/src/Http/ActionDispatcher.php, line 91
Cake\Http\BaseApplication::__invoke() - CORE/src/Http/BaseApplication.php, line 235
Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65
Cake\Routing\Middleware\RoutingMiddleware::__invoke() - CORE/src/Routing/Middleware/RoutingMiddleware.php, line 162
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 96
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 98
[main] - ROOT/webroot/index.php, line 40
Notice (8): Undefined index: la-maison [APP/Controller/AppController.php, line 111]Code Context $settings[$s->meta_key] = $s->_translations[$this->getCurrentLocale()]->meta_value;
$titles[$s->meta_key] = $s->_translations[$this->getCurrentLocale()]->name;
}
$locales = [
(int) 0 => object(App\Model\Entity\Locale) {
'id' => 'c79e08dd-4b98-40da-812f-166a5627cafe',
'locale' => 'fr',
'name' => 'French',
'position' => (int) 1,
'active' => true,
'flag' => 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgBAMAAACBVGfHAAAAA3NCSVQICAjb4U/gAAAACXBIWXMAAADdAAAA3QFwU6IHAAAAGXRFWHRTb2Z0d2FyZQB3d3cuaW5rc2NhcGUub3Jnm+48GgAAACdQTFRF////QUib/0tUh4y+/XiAQkab9PT0/0pVkpTC/mRtQUeb9fX1/0tVpPINxQAAAAp0Uk5TAFJSamp4eHjGxmzCt2wAAAArSURBVCjPY2RAA4zUEBB1AJIPDYDEP2Eg8ZtxFQOKAMOoAOUCGIFMi6gEAD39PvX2T/ZKAAAAAElFTkSuQmCC',
'front' => true,
'[new]' => false,
'[accessible]' => [
[maximum depth reached]
],
'[dirty]' => [[maximum depth reached]],
'[original]' => [[maximum depth reached]],
'[virtual]' => [[maximum depth reached]],
'[hasErrors]' => false,
'[errors]' => [[maximum depth reached]],
'[invalid]' => [[maximum depth reached]],
'[repository]' => 'Locales'
},
(int) 1 => object(App\Model\Entity\Locale) {
'id' => '073aae08-53c1-11e9-bb3d-7054d219d6c5',
'locale' => 'es',
'name' => 'Español',
'position' => (int) 0,
'active' => true,
'flag' => 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAMAAABEpIrGAAAAA3NCSVQICAjb4U/gAAAACXBIWXMAAADdAAAA3QFwU6IHAAAAGXRFWHRTb2Z0d2FyZQB3d3cuaW5rc2NhcGUub3Jnm+48GgAAARpQTFRF////x0FLyEJKgXaZoI6wuKV1watwyEFLy0pLzntc0rZn1GJZ1WVW1bhm1mxd13JW13Vx2nFQ229L23JN23xM3IyF3I+V3JKY3Y2G3nVJ33dJ34Zs4JOA4XhH4X9Q4ZV845Bk5JJi5LG15aWL5btz5b185pFh5pRk5pZs5px558Nc6ItI6KR16cFp6pBI66lx7ZxQ7aNO7q1h7rR17tjW76BO78BX8KpP8LJk8buC8stZ9LhX9Net9PPz9efR9fHz9fX198BY98dz98xX99/s9+Lt9+3R+MVe+N2d+dOA+deU+eat+sBQ+stf+8hm+8xZ+9Bw/Lzd/MtQ/N2E/N6G/dlx/sxP/s5R/tRa/tZk/tdp/9JQ/9JR/9NThpihEAAAAAN0Uk5TAFJ4LCUCBgAAAKRJREFUOI1jYBgKgJEJL2BkYCcAqKCAgwBgiCYAYApiQ/xCY/AoiLGR4Vb2wKkgyDxaUVhI0CjaEIcCH1N3aTVLL+9wgzDsCoLtdLS1lQJdoxwisCvQF+WTFWFxsVcQs8auwFjCSY6TmZ/HQtwRuwJPtwApKU09SV9bf+wKdFWc1TVMBOStVM2wK2Bj1YqODI6I5mXlwq4AHyAcWXRIMAQT7VAAACQKgMq9uRSqAAAAAElFTkSuQmCC',
'front' => true,
'[new]' => false,
'[accessible]' => [
[maximum depth reached]
],
'[dirty]' => [[maximum depth reached]],
'[original]' => [[maximum depth reached]],
'[virtual]' => [[maximum depth reached]],
'[hasErrors]' => false,
'[errors]' => [[maximum depth reached]],
'[invalid]' => [[maximum depth reached]],
'[repository]' => 'Locales'
},
(int) 2 => object(App\Model\Entity\Locale) {
'id' => '99c33239-48e4-4692-adb0-30a7c352e556',
'locale' => 'en',
'name' => 'English',
'position' => (int) 0,
'active' => true,
'flag' => 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAAA3QAAAN0BcFOiBwAAABl0RVh0U29mdHdhcmUAd3d3Lmlua3NjYXBlLm9yZ5vuPBoAAATuSURBVFiF7ZdrUNRlFMZ/+2dhXVoW5DJcAgTjamopziiWYuhMYpHGRUk0Gs1gIshboIYMoWNqahQyig41hJLXcgSvQ6VyS2WE1IBABRSZ5b673BZYdvtQ4QUYHb7QB55v7zlz5nnOvO+c57wivV7PSEIYUfZRAf8HAeJL65MbJ8UuvSQ2EveVPewy3naqxkPZ0SsZqmD+KxYPI9+0u9/iH+n9eNw8K6Uw5UKd4/k/ml98FqmrjVQd/65DhTg1015suzvFsuHM+SDV6nA8Q3xIWeHCrqxaUnPq6NbqBhR7jTdxBLx7coueTjk2tvWQW64aktja1IiNixxZ0ldDh1/CRM3tSgR1oD/CnWrGRsRQ89YnNBf9ReJiJ4q+9CJ4hhUi0bP6eTakRgIx/g4UhZmxMHk7qoBotOX3MF4ZiJDptwz1qTQ0Pt5I8q8jXfghle8nIGlt5eBH7vwS9yoz3UyHRSyIIPR1a4rXOhP56yE6fMPozilEMn8WlgWZyHfHICSdrcXvmJqL0bG0pu2hz9MFk9Pn0M8OoXRdMu5mcHbDJDKjPHG1kT43ue/LZuTFerKj/jdEc96jK+M0hpPdMM/ex9gju1Db2bMh8x4iArL7R6GLjZSEwHE45ediuf97qKsHK3OaVoXhuSYYvYFAVYMGVxspCrPpTxDaKK+ScKKaizdb2RrkyIziXNq3HUBX34yBvQ2yzRFIF89Ho9WTmlPH7uxa1F3aJwX8B283OYnv2GF8+CcsM46iV7ejc3VGGb2KCcvnAgwqoKpBg23JDdrjk9GW30MklyFbG4ZxRAhIjDh+tZEtJ6t50NzdXyc6kVs1qBkIgoiZrnI661tQXLn1iMhnMub2FoMK0LWo6L1R2h8znOKJYGEGQF1rN6W1nQN4REqlclhuNJiA4UBUjvuI2uGIj+JRASP+CMU5t1oHBCfYG2M39h9D1DUr6S0u688ZTp2AYD74aG6pbUZx+eYjUbMnYWxtTkGlGp1u8D7FQV//2X9wsJCwOdAJWzMJek0PnfuP0L4nHb26HbHHeGSJUdRoJTgP0Y25vQUKnQ6zbw8iVFbRK5dxd/kSTEIDiD9TR2GFekCNACCXivki2Inr27xYPN0SzbFzNE0Lpi0hBZFUgvybjdw8sBffPCnpVxRD0EOlogu3UF+sCw7TtGkNeokRFilpOASt4CvjuxyK9MDlKT8RIubZUbJjGp/62SNcLaH5jQ9QhSega1Ehi11JU1YGy5pcCEgqo7S2Y0hygMN59XjH3eDCbSUTY0IwuXaclpXLECnVWMZvZ0r0GjK8NOwMfQkLmSHw7yPUVlTTFr+X7vO5IAhIQ9+mK2oFW/La+TG/nsevb/UCexKCnIY0o6SztQDMdDNl6xJnpjrLaLijQJW4H5PsC6DTofHxpuezcDIVUsTqdTvpTD8F2j4k87wRx31McpWE5D1VdPUM3IieFwUVKuZuLSFouhXxgU64/pBAVW4wwvZ9jLlcyJj8ayxduABxZ9pJxBNdeSExiqMG4/gy/T71qp5hEz8OvR6O/97I6aJmwufZsd7fHfmZvZQduYxpUiryk1mIZXER17ThS2s///mBW6WiUe5mK8XNdujFw8rE6CFw32jWNO+nUoVWJkaOszxMB11Ki6vbiPzuTvemRePKPUN8OrUBrxnc2pE5RzT6NRsVMNIC/gaY0PLtJgQJ0gAAAABJRU5ErkJggg==',
'front' => true,
'[new]' => false,
'[accessible]' => [
[maximum depth reached]
],
'[dirty]' => [[maximum depth reached]],
'[original]' => [[maximum depth reached]],
'[virtual]' => [[maximum depth reached]],
'[hasErrors]' => false,
'[errors]' => [[maximum depth reached]],
'[invalid]' => [[maximum depth reached]],
'[repository]' => 'Locales'
},
(int) 3 => object(App\Model\Entity\Locale) {
'id' => 'a20c3c73-53c0-11e9-bb3d-7054d219d6c5',
'locale' => 'de',
'name' => 'Deutsch',
'position' => (int) 0,
'active' => true,
'flag' => 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgBAMAAACBVGfHAAAAA3NCSVQICAjb4U/gAAAACXBIWXMAAADdAAAA3QFwU6IHAAAAGXRFWHRTb2Z0d2FyZQB3d3cuaW5rc2NhcGUub3Jnm+48GgAAAB5QTFRF////SEhU/+BaRkZV/+FZwUlV/31WRkZV/0tV/+FagNv1tgAAAAd0Uk5TAFJSeHjAwPIGe2oAAAAqSURBVCjPY2FAAyzUEBBWQOH/Y0mhhS0YAvfQBYyHs7Xd6IF85w71bQEAwy4HmS9PAQYAAAAASUVORK5CYII=',
'front' => true,
'[new]' => false,
'[accessible]' => [
[maximum depth reached]
],
'[dirty]' => [[maximum depth reached]],
'[original]' => [[maximum depth reached]],
'[virtual]' => [[maximum depth reached]],
'[hasErrors]' => false,
'[errors]' => [[maximum depth reached]],
'[invalid]' => [[maximum depth reached]],
'[repository]' => 'Locales'
}
]
$session = object(Cake\Http\Session) {
[protected] _engine => null
[protected] _started => true
[protected] _lifetime => (int) 86400
[protected] _isCLI => false
}
$lng = 'la-maison'
$currentLocal = 'la-maison'
$settingsDB = object(SoftDelete\ORM\Query) {
'(help)' => 'This is a Query object, to get the results execute or iterate it.',
'sql' => 'SELECT Settings.id AS `Settings__id`, Settings.meta_key AS `Settings__meta_key`, Settings.meta_value AS `Settings__meta_value`, Settings.name AS `Settings__name`, Settings.description AS `Settings__description`, Settings.deleted AS `Settings__deleted`, Settings_meta_value_translation.id AS `Settings_meta_value_translation__id`, Settings_meta_value_translation.locale AS `Settings_meta_value_translation__locale`, Settings_meta_value_translation.model AS `Settings_meta_value_translation__model`, Settings_meta_value_translation.foreign_key AS `Settings_meta_value_translation__foreign_key`, Settings_meta_value_translation.field AS `Settings_meta_value_translation__field`, Settings_meta_value_translation.content AS `Settings_meta_value_translation__content`, Settings_name_translation.id AS `Settings_name_translation__id`, Settings_name_translation.locale AS `Settings_name_translation__locale`, Settings_name_translation.model AS `Settings_name_translation__model`, Settings_name_translation.foreign_key AS `Settings_name_translation__foreign_key`, Settings_name_translation.field AS `Settings_name_translation__field`, Settings_name_translation.content AS `Settings_name_translation__content`, Settings_description_translation.id AS `Settings_description_translation__id`, Settings_description_translation.locale AS `Settings_description_translation__locale`, Settings_description_translation.model AS `Settings_description_translation__model`, Settings_description_translation.foreign_key AS `Settings_description_translation__foreign_key`, Settings_description_translation.field AS `Settings_description_translation__field`, Settings_description_translation.content AS `Settings_description_translation__content` FROM settings Settings LEFT JOIN i18n Settings_meta_value_translation ON (Settings_meta_value_translation.model = :c0 AND Settings_meta_value_translation.field = :c1 AND Settings_meta_value_translation.locale = :c2 AND Settings.id = (Settings_meta_value_translation.foreign_key)) LEFT JOIN i18n Settings_name_translation ON (Settings_name_translation.model = :c3 AND Settings_name_translation.field = :c4 AND Settings_name_translation.locale = :c5 AND Settings.id = (Settings_name_translation.foreign_key)) LEFT JOIN i18n Settings_description_translation ON (Settings_description_translation.model = :c6 AND Settings_description_translation.field = :c7 AND Settings_description_translation.locale = :c8 AND Settings.id = (Settings_description_translation.foreign_key)) WHERE Settings.deleted IS NULL',
'params' => [
':c0' => [
[maximum depth reached]
],
':c1' => [
[maximum depth reached]
],
':c2' => [
[maximum depth reached]
],
':c3' => [
[maximum depth reached]
],
':c4' => [
[maximum depth reached]
],
':c5' => [
[maximum depth reached]
],
':c6' => [
[maximum depth reached]
],
':c7' => [
[maximum depth reached]
],
':c8' => [
[maximum depth reached]
]
],
'defaultTypes' => [
'Settings__id' => 'uuid',
'Settings.id' => 'uuid',
'id' => 'uuid',
'Settings__meta_key' => 'string',
'Settings.meta_key' => 'string',
'meta_key' => 'string',
'Settings__meta_value' => 'text',
'Settings.meta_value' => 'text',
'meta_value' => 'text',
'Settings__name' => 'string',
'Settings.name' => 'string',
'name' => 'string',
'Settings__description' => 'text',
'Settings.description' => 'text',
'description' => 'text',
'Settings__deleted' => 'datetime',
'Settings.deleted' => 'datetime',
'deleted' => 'datetime',
'I18n__id' => 'integer',
'I18n.id' => 'integer',
'I18n__locale' => 'string',
'I18n.locale' => 'string',
'locale' => 'string',
'I18n__model' => 'string',
'I18n.model' => 'string',
'model' => 'string',
'I18n__foreign_key' => 'uuid',
'I18n.foreign_key' => 'uuid',
'foreign_key' => 'uuid',
'I18n__field' => 'string',
'I18n.field' => 'string',
'field' => 'string',
'I18n__content' => 'text',
'I18n.content' => 'text',
'content' => 'text',
'Settings_meta_value_translation__id' => 'integer',
'Settings_meta_value_translation.id' => 'integer',
'Settings_meta_value_translation__locale' => 'string',
'Settings_meta_value_translation.locale' => 'string',
'Settings_meta_value_translation__model' => 'string',
'Settings_meta_value_translation.model' => 'string',
'Settings_meta_value_translation__foreign_key' => 'uuid',
'Settings_meta_value_translation.foreign_key' => 'uuid',
'Settings_meta_value_translation__field' => 'string',
'Settings_meta_value_translation.field' => 'string',
'Settings_meta_value_translation__content' => 'text',
'Settings_meta_value_translation.content' => 'text',
'Settings_name_translation__id' => 'integer',
'Settings_name_translation.id' => 'integer',
'Settings_name_translation__locale' => 'string',
'Settings_name_translation.locale' => 'string',
'Settings_name_translation__model' => 'string',
'Settings_name_translation.model' => 'string',
'Settings_name_translation__foreign_key' => 'uuid',
'Settings_name_translation.foreign_key' => 'uuid',
'Settings_name_translation__field' => 'string',
'Settings_name_translation.field' => 'string',
'Settings_name_translation__content' => 'text',
'Settings_name_translation.content' => 'text',
'Settings_description_translation__id' => 'integer',
'Settings_description_translation.id' => 'integer',
'Settings_description_translation__locale' => 'string',
'Settings_description_translation.locale' => 'string',
'Settings_description_translation__model' => 'string',
'Settings_description_translation.model' => 'string',
'Settings_description_translation__foreign_key' => 'uuid',
'Settings_description_translation.foreign_key' => 'uuid',
'Settings_description_translation__field' => 'string',
'Settings_description_translation.field' => 'string',
'Settings_description_translation__content' => 'text',
'Settings_description_translation.content' => 'text'
],
'decorators' => (int) 0,
'executed' => true,
'hydrate' => true,
'buffered' => true,
'formatters' => (int) 2,
'mapReducers' => (int) 0,
'contain' => [
'I18n' => [
[maximum depth reached]
],
'Settings_meta_value_translation' => [
[maximum depth reached]
],
'Settings_name_translation' => [
[maximum depth reached]
],
'Settings_description_translation' => [
[maximum depth reached]
]
],
'matching' => [],
'extraOptions' => [],
'repository' => object(App\Model\Table\SettingsTable) {}
}
$settings = [
'copyright' => null
]
$titles = []
$key = (int) 0
$s = object(App\Model\Entity\Setting) {
'id' => '025eb996-f41e-4588-88c6-e4eaaebf14e9',
'meta_key' => 'copyright',
'meta_value' => '',
'name' => 'Champagne Jean-Paul Deville - tous droits réservés',
'description' => '',
'deleted' => null,
'_locale' => 'la-maison',
'_translations' => [
'fr' => object(App\Model\Entity\Setting) {},
'en' => object(App\Model\Entity\Setting) {},
'es' => object(App\Model\Entity\Setting) {},
'pt' => object(App\Model\Entity\Setting) {},
'de' => object(App\Model\Entity\Setting) {},
'it' => object(App\Model\Entity\Setting) {}
],
'[new]' => false,
'[accessible]' => [
'meta_key' => true,
'meta_value' => true,
'name' => true,
'description' => true
],
'[dirty]' => [],
'[original]' => [],
'[virtual]' => [],
'[hasErrors]' => false,
'[errors]' => [],
'[invalid]' => [],
'[repository]' => 'Settings'
}
App\Controller\AppController::initialize() - APP/Controller/AppController.php, line 111
App\Controller\PagesController::initialize() - APP/Controller/PagesController.php, line 38
Cake\Controller\Controller::__construct() - CORE/src/Controller/Controller.php, line 273
ReflectionClass::newInstance() - [internal], line ??
Cake\Http\ControllerFactory::create() - CORE/src/Http/ControllerFactory.php, line 47
Cake\Http\ActionDispatcher::dispatch() - CORE/src/Http/ActionDispatcher.php, line 91
Cake\Http\BaseApplication::__invoke() - CORE/src/Http/BaseApplication.php, line 235
Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65
Cake\Routing\Middleware\RoutingMiddleware::__invoke() - CORE/src/Routing/Middleware/RoutingMiddleware.php, line 162
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 96
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 98
[main] - ROOT/webroot/index.php, line 40
Notice (8): Trying to get property of non-object [APP/Controller/AppController.php, line 111]Code Context $settings[$s->meta_key] = $s->_translations[$this->getCurrentLocale()]->meta_value;
$titles[$s->meta_key] = $s->_translations[$this->getCurrentLocale()]->name;
}
$locales = [
(int) 0 => object(App\Model\Entity\Locale) {
'id' => 'c79e08dd-4b98-40da-812f-166a5627cafe',
'locale' => 'fr',
'name' => 'French',
'position' => (int) 1,
'active' => true,
'flag' => 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgBAMAAACBVGfHAAAAA3NCSVQICAjb4U/gAAAACXBIWXMAAADdAAAA3QFwU6IHAAAAGXRFWHRTb2Z0d2FyZQB3d3cuaW5rc2NhcGUub3Jnm+48GgAAACdQTFRF////QUib/0tUh4y+/XiAQkab9PT0/0pVkpTC/mRtQUeb9fX1/0tVpPINxQAAAAp0Uk5TAFJSamp4eHjGxmzCt2wAAAArSURBVCjPY2RAA4zUEBB1AJIPDYDEP2Eg8ZtxFQOKAMOoAOUCGIFMi6gEAD39PvX2T/ZKAAAAAElFTkSuQmCC',
'front' => true,
'[new]' => false,
'[accessible]' => [
[maximum depth reached]
],
'[dirty]' => [[maximum depth reached]],
'[original]' => [[maximum depth reached]],
'[virtual]' => [[maximum depth reached]],
'[hasErrors]' => false,
'[errors]' => [[maximum depth reached]],
'[invalid]' => [[maximum depth reached]],
'[repository]' => 'Locales'
},
(int) 1 => object(App\Model\Entity\Locale) {
'id' => '073aae08-53c1-11e9-bb3d-7054d219d6c5',
'locale' => 'es',
'name' => 'Español',
'position' => (int) 0,
'active' => true,
'flag' => 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAMAAABEpIrGAAAAA3NCSVQICAjb4U/gAAAACXBIWXMAAADdAAAA3QFwU6IHAAAAGXRFWHRTb2Z0d2FyZQB3d3cuaW5rc2NhcGUub3Jnm+48GgAAARpQTFRF////x0FLyEJKgXaZoI6wuKV1watwyEFLy0pLzntc0rZn1GJZ1WVW1bhm1mxd13JW13Vx2nFQ229L23JN23xM3IyF3I+V3JKY3Y2G3nVJ33dJ34Zs4JOA4XhH4X9Q4ZV845Bk5JJi5LG15aWL5btz5b185pFh5pRk5pZs5px558Nc6ItI6KR16cFp6pBI66lx7ZxQ7aNO7q1h7rR17tjW76BO78BX8KpP8LJk8buC8stZ9LhX9Net9PPz9efR9fHz9fX198BY98dz98xX99/s9+Lt9+3R+MVe+N2d+dOA+deU+eat+sBQ+stf+8hm+8xZ+9Bw/Lzd/MtQ/N2E/N6G/dlx/sxP/s5R/tRa/tZk/tdp/9JQ/9JR/9NThpihEAAAAAN0Uk5TAFJ4LCUCBgAAAKRJREFUOI1jYBgKgJEJL2BkYCcAqKCAgwBgiCYAYApiQ/xCY/AoiLGR4Vb2wKkgyDxaUVhI0CjaEIcCH1N3aTVLL+9wgzDsCoLtdLS1lQJdoxwisCvQF+WTFWFxsVcQs8auwFjCSY6TmZ/HQtwRuwJPtwApKU09SV9bf+wKdFWc1TVMBOStVM2wK2Bj1YqODI6I5mXlwq4AHyAcWXRIMAQT7VAAACQKgMq9uRSqAAAAAElFTkSuQmCC',
'front' => true,
'[new]' => false,
'[accessible]' => [
[maximum depth reached]
],
'[dirty]' => [[maximum depth reached]],
'[original]' => [[maximum depth reached]],
'[virtual]' => [[maximum depth reached]],
'[hasErrors]' => false,
'[errors]' => [[maximum depth reached]],
'[invalid]' => [[maximum depth reached]],
'[repository]' => 'Locales'
},
(int) 2 => object(App\Model\Entity\Locale) {
'id' => '99c33239-48e4-4692-adb0-30a7c352e556',
'locale' => 'en',
'name' => 'English',
'position' => (int) 0,
'active' => true,
'flag' => 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAAA3QAAAN0BcFOiBwAAABl0RVh0U29mdHdhcmUAd3d3Lmlua3NjYXBlLm9yZ5vuPBoAAATuSURBVFiF7ZdrUNRlFMZ/+2dhXVoW5DJcAgTjamopziiWYuhMYpHGRUk0Gs1gIshboIYMoWNqahQyig41hJLXcgSvQ6VyS2WE1IBABRSZ5b673BZYdvtQ4QUYHb7QB55v7zlz5nnOvO+c57wivV7PSEIYUfZRAf8HAeJL65MbJ8UuvSQ2EveVPewy3naqxkPZ0SsZqmD+KxYPI9+0u9/iH+n9eNw8K6Uw5UKd4/k/ml98FqmrjVQd/65DhTg1015suzvFsuHM+SDV6nA8Q3xIWeHCrqxaUnPq6NbqBhR7jTdxBLx7coueTjk2tvWQW64aktja1IiNixxZ0ldDh1/CRM3tSgR1oD/CnWrGRsRQ89YnNBf9ReJiJ4q+9CJ4hhUi0bP6eTakRgIx/g4UhZmxMHk7qoBotOX3MF4ZiJDptwz1qTQ0Pt5I8q8jXfghle8nIGlt5eBH7vwS9yoz3UyHRSyIIPR1a4rXOhP56yE6fMPozilEMn8WlgWZyHfHICSdrcXvmJqL0bG0pu2hz9MFk9Pn0M8OoXRdMu5mcHbDJDKjPHG1kT43ue/LZuTFerKj/jdEc96jK+M0hpPdMM/ex9gju1Db2bMh8x4iArL7R6GLjZSEwHE45ediuf97qKsHK3OaVoXhuSYYvYFAVYMGVxspCrPpTxDaKK+ScKKaizdb2RrkyIziXNq3HUBX34yBvQ2yzRFIF89Ho9WTmlPH7uxa1F3aJwX8B283OYnv2GF8+CcsM46iV7ejc3VGGb2KCcvnAgwqoKpBg23JDdrjk9GW30MklyFbG4ZxRAhIjDh+tZEtJ6t50NzdXyc6kVs1qBkIgoiZrnI661tQXLn1iMhnMub2FoMK0LWo6L1R2h8znOKJYGEGQF1rN6W1nQN4REqlclhuNJiA4UBUjvuI2uGIj+JRASP+CMU5t1oHBCfYG2M39h9D1DUr6S0u688ZTp2AYD74aG6pbUZx+eYjUbMnYWxtTkGlGp1u8D7FQV//2X9wsJCwOdAJWzMJek0PnfuP0L4nHb26HbHHeGSJUdRoJTgP0Y25vQUKnQ6zbw8iVFbRK5dxd/kSTEIDiD9TR2GFekCNACCXivki2Inr27xYPN0SzbFzNE0Lpi0hBZFUgvybjdw8sBffPCnpVxRD0EOlogu3UF+sCw7TtGkNeokRFilpOASt4CvjuxyK9MDlKT8RIubZUbJjGp/62SNcLaH5jQ9QhSega1Ehi11JU1YGy5pcCEgqo7S2Y0hygMN59XjH3eDCbSUTY0IwuXaclpXLECnVWMZvZ0r0GjK8NOwMfQkLmSHw7yPUVlTTFr+X7vO5IAhIQ9+mK2oFW/La+TG/nsevb/UCexKCnIY0o6SztQDMdDNl6xJnpjrLaLijQJW4H5PsC6DTofHxpuezcDIVUsTqdTvpTD8F2j4k87wRx31McpWE5D1VdPUM3IieFwUVKuZuLSFouhXxgU64/pBAVW4wwvZ9jLlcyJj8ayxduABxZ9pJxBNdeSExiqMG4/gy/T71qp5hEz8OvR6O/97I6aJmwufZsd7fHfmZvZQduYxpUiryk1mIZXER17ThS2s///mBW6WiUe5mK8XNdujFw8rE6CFw32jWNO+nUoVWJkaOszxMB11Ki6vbiPzuTvemRePKPUN8OrUBrxnc2pE5RzT6NRsVMNIC/gaY0PLtJgQJ0gAAAABJRU5ErkJggg==',
'front' => true,
'[new]' => false,
'[accessible]' => [
[maximum depth reached]
],
'[dirty]' => [[maximum depth reached]],
'[original]' => [[maximum depth reached]],
'[virtual]' => [[maximum depth reached]],
'[hasErrors]' => false,
'[errors]' => [[maximum depth reached]],
'[invalid]' => [[maximum depth reached]],
'[repository]' => 'Locales'
},
(int) 3 => object(App\Model\Entity\Locale) {
'id' => 'a20c3c73-53c0-11e9-bb3d-7054d219d6c5',
'locale' => 'de',
'name' => 'Deutsch',
'position' => (int) 0,
'active' => true,
'flag' => 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgBAMAAACBVGfHAAAAA3NCSVQICAjb4U/gAAAACXBIWXMAAADdAAAA3QFwU6IHAAAAGXRFWHRTb2Z0d2FyZQB3d3cuaW5rc2NhcGUub3Jnm+48GgAAAB5QTFRF////SEhU/+BaRkZV/+FZwUlV/31WRkZV/0tV/+FagNv1tgAAAAd0Uk5TAFJSeHjAwPIGe2oAAAAqSURBVCjPY2FAAyzUEBBWQOH/Y0mhhS0YAvfQBYyHs7Xd6IF85w71bQEAwy4HmS9PAQYAAAAASUVORK5CYII=',
'front' => true,
'[new]' => false,
'[accessible]' => [
[maximum depth reached]
],
'[dirty]' => [[maximum depth reached]],
'[original]' => [[maximum depth reached]],
'[virtual]' => [[maximum depth reached]],
'[hasErrors]' => false,
'[errors]' => [[maximum depth reached]],
'[invalid]' => [[maximum depth reached]],
'[repository]' => 'Locales'
}
]
$session = object(Cake\Http\Session) {
[protected] _engine => null
[protected] _started => true
[protected] _lifetime => (int) 86400
[protected] _isCLI => false
}
$lng = 'la-maison'
$currentLocal = 'la-maison'
$settingsDB = object(SoftDelete\ORM\Query) {
'(help)' => 'This is a Query object, to get the results execute or iterate it.',
'sql' => 'SELECT Settings.id AS `Settings__id`, Settings.meta_key AS `Settings__meta_key`, Settings.meta_value AS `Settings__meta_value`, Settings.name AS `Settings__name`, Settings.description AS `Settings__description`, Settings.deleted AS `Settings__deleted`, Settings_meta_value_translation.id AS `Settings_meta_value_translation__id`, Settings_meta_value_translation.locale AS `Settings_meta_value_translation__locale`, Settings_meta_value_translation.model AS `Settings_meta_value_translation__model`, Settings_meta_value_translation.foreign_key AS `Settings_meta_value_translation__foreign_key`, Settings_meta_value_translation.field AS `Settings_meta_value_translation__field`, Settings_meta_value_translation.content AS `Settings_meta_value_translation__content`, Settings_name_translation.id AS `Settings_name_translation__id`, Settings_name_translation.locale AS `Settings_name_translation__locale`, Settings_name_translation.model AS `Settings_name_translation__model`, Settings_name_translation.foreign_key AS `Settings_name_translation__foreign_key`, Settings_name_translation.field AS `Settings_name_translation__field`, Settings_name_translation.content AS `Settings_name_translation__content`, Settings_description_translation.id AS `Settings_description_translation__id`, Settings_description_translation.locale AS `Settings_description_translation__locale`, Settings_description_translation.model AS `Settings_description_translation__model`, Settings_description_translation.foreign_key AS `Settings_description_translation__foreign_key`, Settings_description_translation.field AS `Settings_description_translation__field`, Settings_description_translation.content AS `Settings_description_translation__content` FROM settings Settings LEFT JOIN i18n Settings_meta_value_translation ON (Settings_meta_value_translation.model = :c0 AND Settings_meta_value_translation.field = :c1 AND Settings_meta_value_translation.locale = :c2 AND Settings.id = (Settings_meta_value_translation.foreign_key)) LEFT JOIN i18n Settings_name_translation ON (Settings_name_translation.model = :c3 AND Settings_name_translation.field = :c4 AND Settings_name_translation.locale = :c5 AND Settings.id = (Settings_name_translation.foreign_key)) LEFT JOIN i18n Settings_description_translation ON (Settings_description_translation.model = :c6 AND Settings_description_translation.field = :c7 AND Settings_description_translation.locale = :c8 AND Settings.id = (Settings_description_translation.foreign_key)) WHERE Settings.deleted IS NULL',
'params' => [
':c0' => [
[maximum depth reached]
],
':c1' => [
[maximum depth reached]
],
':c2' => [
[maximum depth reached]
],
':c3' => [
[maximum depth reached]
],
':c4' => [
[maximum depth reached]
],
':c5' => [
[maximum depth reached]
],
':c6' => [
[maximum depth reached]
],
':c7' => [
[maximum depth reached]
],
':c8' => [
[maximum depth reached]
]
],
'defaultTypes' => [
'Settings__id' => 'uuid',
'Settings.id' => 'uuid',
'id' => 'uuid',
'Settings__meta_key' => 'string',
'Settings.meta_key' => 'string',
'meta_key' => 'string',
'Settings__meta_value' => 'text',
'Settings.meta_value' => 'text',
'meta_value' => 'text',
'Settings__name' => 'string',
'Settings.name' => 'string',
'name' => 'string',
'Settings__description' => 'text',
'Settings.description' => 'text',
'description' => 'text',
'Settings__deleted' => 'datetime',
'Settings.deleted' => 'datetime',
'deleted' => 'datetime',
'I18n__id' => 'integer',
'I18n.id' => 'integer',
'I18n__locale' => 'string',
'I18n.locale' => 'string',
'locale' => 'string',
'I18n__model' => 'string',
'I18n.model' => 'string',
'model' => 'string',
'I18n__foreign_key' => 'uuid',
'I18n.foreign_key' => 'uuid',
'foreign_key' => 'uuid',
'I18n__field' => 'string',
'I18n.field' => 'string',
'field' => 'string',
'I18n__content' => 'text',
'I18n.content' => 'text',
'content' => 'text',
'Settings_meta_value_translation__id' => 'integer',
'Settings_meta_value_translation.id' => 'integer',
'Settings_meta_value_translation__locale' => 'string',
'Settings_meta_value_translation.locale' => 'string',
'Settings_meta_value_translation__model' => 'string',
'Settings_meta_value_translation.model' => 'string',
'Settings_meta_value_translation__foreign_key' => 'uuid',
'Settings_meta_value_translation.foreign_key' => 'uuid',
'Settings_meta_value_translation__field' => 'string',
'Settings_meta_value_translation.field' => 'string',
'Settings_meta_value_translation__content' => 'text',
'Settings_meta_value_translation.content' => 'text',
'Settings_name_translation__id' => 'integer',
'Settings_name_translation.id' => 'integer',
'Settings_name_translation__locale' => 'string',
'Settings_name_translation.locale' => 'string',
'Settings_name_translation__model' => 'string',
'Settings_name_translation.model' => 'string',
'Settings_name_translation__foreign_key' => 'uuid',
'Settings_name_translation.foreign_key' => 'uuid',
'Settings_name_translation__field' => 'string',
'Settings_name_translation.field' => 'string',
'Settings_name_translation__content' => 'text',
'Settings_name_translation.content' => 'text',
'Settings_description_translation__id' => 'integer',
'Settings_description_translation.id' => 'integer',
'Settings_description_translation__locale' => 'string',
'Settings_description_translation.locale' => 'string',
'Settings_description_translation__model' => 'string',
'Settings_description_translation.model' => 'string',
'Settings_description_translation__foreign_key' => 'uuid',
'Settings_description_translation.foreign_key' => 'uuid',
'Settings_description_translation__field' => 'string',
'Settings_description_translation.field' => 'string',
'Settings_description_translation__content' => 'text',
'Settings_description_translation.content' => 'text'
],
'decorators' => (int) 0,
'executed' => true,
'hydrate' => true,
'buffered' => true,
'formatters' => (int) 2,
'mapReducers' => (int) 0,
'contain' => [
'I18n' => [
[maximum depth reached]
],
'Settings_meta_value_translation' => [
[maximum depth reached]
],
'Settings_name_translation' => [
[maximum depth reached]
],
'Settings_description_translation' => [
[maximum depth reached]
]
],
'matching' => [],
'extraOptions' => [],
'repository' => object(App\Model\Table\SettingsTable) {}
}
$settings = [
'copyright' => null
]
$titles = []
$key = (int) 0
$s = object(App\Model\Entity\Setting) {
'id' => '025eb996-f41e-4588-88c6-e4eaaebf14e9',
'meta_key' => 'copyright',
'meta_value' => '',
'name' => 'Champagne Jean-Paul Deville - tous droits réservés',
'description' => '',
'deleted' => null,
'_locale' => 'la-maison',
'_translations' => [
'fr' => object(App\Model\Entity\Setting) {},
'en' => object(App\Model\Entity\Setting) {},
'es' => object(App\Model\Entity\Setting) {},
'pt' => object(App\Model\Entity\Setting) {},
'de' => object(App\Model\Entity\Setting) {},
'it' => object(App\Model\Entity\Setting) {}
],
'[new]' => false,
'[accessible]' => [
'meta_key' => true,
'meta_value' => true,
'name' => true,
'description' => true
],
'[dirty]' => [],
'[original]' => [],
'[virtual]' => [],
'[hasErrors]' => false,
'[errors]' => [],
'[invalid]' => [],
'[repository]' => 'Settings'
}
App\Controller\AppController::initialize() - APP/Controller/AppController.php, line 111
App\Controller\PagesController::initialize() - APP/Controller/PagesController.php, line 38
Cake\Controller\Controller::__construct() - CORE/src/Controller/Controller.php, line 273
ReflectionClass::newInstance() - [internal], line ??
Cake\Http\ControllerFactory::create() - CORE/src/Http/ControllerFactory.php, line 47
Cake\Http\ActionDispatcher::dispatch() - CORE/src/Http/ActionDispatcher.php, line 91
Cake\Http\BaseApplication::__invoke() - CORE/src/Http/BaseApplication.php, line 235
Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65
Cake\Routing\Middleware\RoutingMiddleware::__invoke() - CORE/src/Routing/Middleware/RoutingMiddleware.php, line 162
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 96
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 98
[main] - ROOT/webroot/index.php, line 40
Notice (8): Undefined index: la-maison [APP/Controller/AppController.php, line 110]Code Context foreach ($settingsDB as $key => $s) {
$settings[$s->meta_key] = $s->_translations[$this->getCurrentLocale()]->meta_value;
$titles[$s->meta_key] = $s->_translations[$this->getCurrentLocale()]->name;
$locales = [
(int) 0 => object(App\Model\Entity\Locale) {
'id' => 'c79e08dd-4b98-40da-812f-166a5627cafe',
'locale' => 'fr',
'name' => 'French',
'position' => (int) 1,
'active' => true,
'flag' => 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgBAMAAACBVGfHAAAAA3NCSVQICAjb4U/gAAAACXBIWXMAAADdAAAA3QFwU6IHAAAAGXRFWHRTb2Z0d2FyZQB3d3cuaW5rc2NhcGUub3Jnm+48GgAAACdQTFRF////QUib/0tUh4y+/XiAQkab9PT0/0pVkpTC/mRtQUeb9fX1/0tVpPINxQAAAAp0Uk5TAFJSamp4eHjGxmzCt2wAAAArSURBVCjPY2RAA4zUEBB1AJIPDYDEP2Eg8ZtxFQOKAMOoAOUCGIFMi6gEAD39PvX2T/ZKAAAAAElFTkSuQmCC',
'front' => true,
'[new]' => false,
'[accessible]' => [
[maximum depth reached]
],
'[dirty]' => [[maximum depth reached]],
'[original]' => [[maximum depth reached]],
'[virtual]' => [[maximum depth reached]],
'[hasErrors]' => false,
'[errors]' => [[maximum depth reached]],
'[invalid]' => [[maximum depth reached]],
'[repository]' => 'Locales'
},
(int) 1 => object(App\Model\Entity\Locale) {
'id' => '073aae08-53c1-11e9-bb3d-7054d219d6c5',
'locale' => 'es',
'name' => 'Español',
'position' => (int) 0,
'active' => true,
'flag' => 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAMAAABEpIrGAAAAA3NCSVQICAjb4U/gAAAACXBIWXMAAADdAAAA3QFwU6IHAAAAGXRFWHRTb2Z0d2FyZQB3d3cuaW5rc2NhcGUub3Jnm+48GgAAARpQTFRF////x0FLyEJKgXaZoI6wuKV1watwyEFLy0pLzntc0rZn1GJZ1WVW1bhm1mxd13JW13Vx2nFQ229L23JN23xM3IyF3I+V3JKY3Y2G3nVJ33dJ34Zs4JOA4XhH4X9Q4ZV845Bk5JJi5LG15aWL5btz5b185pFh5pRk5pZs5px558Nc6ItI6KR16cFp6pBI66lx7ZxQ7aNO7q1h7rR17tjW76BO78BX8KpP8LJk8buC8stZ9LhX9Net9PPz9efR9fHz9fX198BY98dz98xX99/s9+Lt9+3R+MVe+N2d+dOA+deU+eat+sBQ+stf+8hm+8xZ+9Bw/Lzd/MtQ/N2E/N6G/dlx/sxP/s5R/tRa/tZk/tdp/9JQ/9JR/9NThpihEAAAAAN0Uk5TAFJ4LCUCBgAAAKRJREFUOI1jYBgKgJEJL2BkYCcAqKCAgwBgiCYAYApiQ/xCY/AoiLGR4Vb2wKkgyDxaUVhI0CjaEIcCH1N3aTVLL+9wgzDsCoLtdLS1lQJdoxwisCvQF+WTFWFxsVcQs8auwFjCSY6TmZ/HQtwRuwJPtwApKU09SV9bf+wKdFWc1TVMBOStVM2wK2Bj1YqODI6I5mXlwq4AHyAcWXRIMAQT7VAAACQKgMq9uRSqAAAAAElFTkSuQmCC',
'front' => true,
'[new]' => false,
'[accessible]' => [
[maximum depth reached]
],
'[dirty]' => [[maximum depth reached]],
'[original]' => [[maximum depth reached]],
'[virtual]' => [[maximum depth reached]],
'[hasErrors]' => false,
'[errors]' => [[maximum depth reached]],
'[invalid]' => [[maximum depth reached]],
'[repository]' => 'Locales'
},
(int) 2 => object(App\Model\Entity\Locale) {
'id' => '99c33239-48e4-4692-adb0-30a7c352e556',
'locale' => 'en',
'name' => 'English',
'position' => (int) 0,
'active' => true,
'flag' => 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAAA3QAAAN0BcFOiBwAAABl0RVh0U29mdHdhcmUAd3d3Lmlua3NjYXBlLm9yZ5vuPBoAAATuSURBVFiF7ZdrUNRlFMZ/+2dhXVoW5DJcAgTjamopziiWYuhMYpHGRUk0Gs1gIshboIYMoWNqahQyig41hJLXcgSvQ6VyS2WE1IBABRSZ5b673BZYdvtQ4QUYHb7QB55v7zlz5nnOvO+c57wivV7PSEIYUfZRAf8HAeJL65MbJ8UuvSQ2EveVPewy3naqxkPZ0SsZqmD+KxYPI9+0u9/iH+n9eNw8K6Uw5UKd4/k/ml98FqmrjVQd/65DhTg1015suzvFsuHM+SDV6nA8Q3xIWeHCrqxaUnPq6NbqBhR7jTdxBLx7coueTjk2tvWQW64aktja1IiNixxZ0ldDh1/CRM3tSgR1oD/CnWrGRsRQ89YnNBf9ReJiJ4q+9CJ4hhUi0bP6eTakRgIx/g4UhZmxMHk7qoBotOX3MF4ZiJDptwz1qTQ0Pt5I8q8jXfghle8nIGlt5eBH7vwS9yoz3UyHRSyIIPR1a4rXOhP56yE6fMPozilEMn8WlgWZyHfHICSdrcXvmJqL0bG0pu2hz9MFk9Pn0M8OoXRdMu5mcHbDJDKjPHG1kT43ue/LZuTFerKj/jdEc96jK+M0hpPdMM/ex9gju1Db2bMh8x4iArL7R6GLjZSEwHE45ediuf97qKsHK3OaVoXhuSYYvYFAVYMGVxspCrPpTxDaKK+ScKKaizdb2RrkyIziXNq3HUBX34yBvQ2yzRFIF89Ho9WTmlPH7uxa1F3aJwX8B283OYnv2GF8+CcsM46iV7ejc3VGGb2KCcvnAgwqoKpBg23JDdrjk9GW30MklyFbG4ZxRAhIjDh+tZEtJ6t50NzdXyc6kVs1qBkIgoiZrnI661tQXLn1iMhnMub2FoMK0LWo6L1R2h8znOKJYGEGQF1rN6W1nQN4REqlclhuNJiA4UBUjvuI2uGIj+JRASP+CMU5t1oHBCfYG2M39h9D1DUr6S0u688ZTp2AYD74aG6pbUZx+eYjUbMnYWxtTkGlGp1u8D7FQV//2X9wsJCwOdAJWzMJek0PnfuP0L4nHb26HbHHeGSJUdRoJTgP0Y25vQUKnQ6zbw8iVFbRK5dxd/kSTEIDiD9TR2GFekCNACCXivki2Inr27xYPN0SzbFzNE0Lpi0hBZFUgvybjdw8sBffPCnpVxRD0EOlogu3UF+sCw7TtGkNeokRFilpOASt4CvjuxyK9MDlKT8RIubZUbJjGp/62SNcLaH5jQ9QhSega1Ehi11JU1YGy5pcCEgqo7S2Y0hygMN59XjH3eDCbSUTY0IwuXaclpXLECnVWMZvZ0r0GjK8NOwMfQkLmSHw7yPUVlTTFr+X7vO5IAhIQ9+mK2oFW/La+TG/nsevb/UCexKCnIY0o6SztQDMdDNl6xJnpjrLaLijQJW4H5PsC6DTofHxpuezcDIVUsTqdTvpTD8F2j4k87wRx31McpWE5D1VdPUM3IieFwUVKuZuLSFouhXxgU64/pBAVW4wwvZ9jLlcyJj8ayxduABxZ9pJxBNdeSExiqMG4/gy/T71qp5hEz8OvR6O/97I6aJmwufZsd7fHfmZvZQduYxpUiryk1mIZXER17ThS2s///mBW6WiUe5mK8XNdujFw8rE6CFw32jWNO+nUoVWJkaOszxMB11Ki6vbiPzuTvemRePKPUN8OrUBrxnc2pE5RzT6NRsVMNIC/gaY0PLtJgQJ0gAAAABJRU5ErkJggg==',
'front' => true,
'[new]' => false,
'[accessible]' => [
[maximum depth reached]
],
'[dirty]' => [[maximum depth reached]],
'[original]' => [[maximum depth reached]],
'[virtual]' => [[maximum depth reached]],
'[hasErrors]' => false,
'[errors]' => [[maximum depth reached]],
'[invalid]' => [[maximum depth reached]],
'[repository]' => 'Locales'
},
(int) 3 => object(App\Model\Entity\Locale) {
'id' => 'a20c3c73-53c0-11e9-bb3d-7054d219d6c5',
'locale' => 'de',
'name' => 'Deutsch',
'position' => (int) 0,
'active' => true,
'flag' => 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgBAMAAACBVGfHAAAAA3NCSVQICAjb4U/gAAAACXBIWXMAAADdAAAA3QFwU6IHAAAAGXRFWHRTb2Z0d2FyZQB3d3cuaW5rc2NhcGUub3Jnm+48GgAAAB5QTFRF////SEhU/+BaRkZV/+FZwUlV/31WRkZV/0tV/+FagNv1tgAAAAd0Uk5TAFJSeHjAwPIGe2oAAAAqSURBVCjPY2FAAyzUEBBWQOH/Y0mhhS0YAvfQBYyHs7Xd6IF85w71bQEAwy4HmS9PAQYAAAAASUVORK5CYII=',
'front' => true,
'[new]' => false,
'[accessible]' => [
[maximum depth reached]
],
'[dirty]' => [[maximum depth reached]],
'[original]' => [[maximum depth reached]],
'[virtual]' => [[maximum depth reached]],
'[hasErrors]' => false,
'[errors]' => [[maximum depth reached]],
'[invalid]' => [[maximum depth reached]],
'[repository]' => 'Locales'
}
]
$session = object(Cake\Http\Session) {
[protected] _engine => null
[protected] _started => true
[protected] _lifetime => (int) 86400
[protected] _isCLI => false
}
$lng = 'la-maison'
$currentLocal = 'la-maison'
$settingsDB = object(SoftDelete\ORM\Query) {
'(help)' => 'This is a Query object, to get the results execute or iterate it.',
'sql' => 'SELECT Settings.id AS `Settings__id`, Settings.meta_key AS `Settings__meta_key`, Settings.meta_value AS `Settings__meta_value`, Settings.name AS `Settings__name`, Settings.description AS `Settings__description`, Settings.deleted AS `Settings__deleted`, Settings_meta_value_translation.id AS `Settings_meta_value_translation__id`, Settings_meta_value_translation.locale AS `Settings_meta_value_translation__locale`, Settings_meta_value_translation.model AS `Settings_meta_value_translation__model`, Settings_meta_value_translation.foreign_key AS `Settings_meta_value_translation__foreign_key`, Settings_meta_value_translation.field AS `Settings_meta_value_translation__field`, Settings_meta_value_translation.content AS `Settings_meta_value_translation__content`, Settings_name_translation.id AS `Settings_name_translation__id`, Settings_name_translation.locale AS `Settings_name_translation__locale`, Settings_name_translation.model AS `Settings_name_translation__model`, Settings_name_translation.foreign_key AS `Settings_name_translation__foreign_key`, Settings_name_translation.field AS `Settings_name_translation__field`, Settings_name_translation.content AS `Settings_name_translation__content`, Settings_description_translation.id AS `Settings_description_translation__id`, Settings_description_translation.locale AS `Settings_description_translation__locale`, Settings_description_translation.model AS `Settings_description_translation__model`, Settings_description_translation.foreign_key AS `Settings_description_translation__foreign_key`, Settings_description_translation.field AS `Settings_description_translation__field`, Settings_description_translation.content AS `Settings_description_translation__content` FROM settings Settings LEFT JOIN i18n Settings_meta_value_translation ON (Settings_meta_value_translation.model = :c0 AND Settings_meta_value_translation.field = :c1 AND Settings_meta_value_translation.locale = :c2 AND Settings.id = (Settings_meta_value_translation.foreign_key)) LEFT JOIN i18n Settings_name_translation ON (Settings_name_translation.model = :c3 AND Settings_name_translation.field = :c4 AND Settings_name_translation.locale = :c5 AND Settings.id = (Settings_name_translation.foreign_key)) LEFT JOIN i18n Settings_description_translation ON (Settings_description_translation.model = :c6 AND Settings_description_translation.field = :c7 AND Settings_description_translation.locale = :c8 AND Settings.id = (Settings_description_translation.foreign_key)) WHERE Settings.deleted IS NULL',
'params' => [
':c0' => [
[maximum depth reached]
],
':c1' => [
[maximum depth reached]
],
':c2' => [
[maximum depth reached]
],
':c3' => [
[maximum depth reached]
],
':c4' => [
[maximum depth reached]
],
':c5' => [
[maximum depth reached]
],
':c6' => [
[maximum depth reached]
],
':c7' => [
[maximum depth reached]
],
':c8' => [
[maximum depth reached]
]
],
'defaultTypes' => [
'Settings__id' => 'uuid',
'Settings.id' => 'uuid',
'id' => 'uuid',
'Settings__meta_key' => 'string',
'Settings.meta_key' => 'string',
'meta_key' => 'string',
'Settings__meta_value' => 'text',
'Settings.meta_value' => 'text',
'meta_value' => 'text',
'Settings__name' => 'string',
'Settings.name' => 'string',
'name' => 'string',
'Settings__description' => 'text',
'Settings.description' => 'text',
'description' => 'text',
'Settings__deleted' => 'datetime',
'Settings.deleted' => 'datetime',
'deleted' => 'datetime',
'I18n__id' => 'integer',
'I18n.id' => 'integer',
'I18n__locale' => 'string',
'I18n.locale' => 'string',
'locale' => 'string',
'I18n__model' => 'string',
'I18n.model' => 'string',
'model' => 'string',
'I18n__foreign_key' => 'uuid',
'I18n.foreign_key' => 'uuid',
'foreign_key' => 'uuid',
'I18n__field' => 'string',
'I18n.field' => 'string',
'field' => 'string',
'I18n__content' => 'text',
'I18n.content' => 'text',
'content' => 'text',
'Settings_meta_value_translation__id' => 'integer',
'Settings_meta_value_translation.id' => 'integer',
'Settings_meta_value_translation__locale' => 'string',
'Settings_meta_value_translation.locale' => 'string',
'Settings_meta_value_translation__model' => 'string',
'Settings_meta_value_translation.model' => 'string',
'Settings_meta_value_translation__foreign_key' => 'uuid',
'Settings_meta_value_translation.foreign_key' => 'uuid',
'Settings_meta_value_translation__field' => 'string',
'Settings_meta_value_translation.field' => 'string',
'Settings_meta_value_translation__content' => 'text',
'Settings_meta_value_translation.content' => 'text',
'Settings_name_translation__id' => 'integer',
'Settings_name_translation.id' => 'integer',
'Settings_name_translation__locale' => 'string',
'Settings_name_translation.locale' => 'string',
'Settings_name_translation__model' => 'string',
'Settings_name_translation.model' => 'string',
'Settings_name_translation__foreign_key' => 'uuid',
'Settings_name_translation.foreign_key' => 'uuid',
'Settings_name_translation__field' => 'string',
'Settings_name_translation.field' => 'string',
'Settings_name_translation__content' => 'text',
'Settings_name_translation.content' => 'text',
'Settings_description_translation__id' => 'integer',
'Settings_description_translation.id' => 'integer',
'Settings_description_translation__locale' => 'string',
'Settings_description_translation.locale' => 'string',
'Settings_description_translation__model' => 'string',
'Settings_description_translation.model' => 'string',
'Settings_description_translation__foreign_key' => 'uuid',
'Settings_description_translation.foreign_key' => 'uuid',
'Settings_description_translation__field' => 'string',
'Settings_description_translation.field' => 'string',
'Settings_description_translation__content' => 'text',
'Settings_description_translation.content' => 'text'
],
'decorators' => (int) 0,
'executed' => true,
'hydrate' => true,
'buffered' => true,
'formatters' => (int) 2,
'mapReducers' => (int) 0,
'contain' => [
'I18n' => [
[maximum depth reached]
],
'Settings_meta_value_translation' => [
[maximum depth reached]
],
'Settings_name_translation' => [
[maximum depth reached]
],
'Settings_description_translation' => [
[maximum depth reached]
]
],
'matching' => [],
'extraOptions' => [],
'repository' => object(App\Model\Table\SettingsTable) {}
}
$settings = [
'copyright' => null
]
$titles = [
'copyright' => null
]
$key = (int) 1
$s = object(App\Model\Entity\Setting) {
'id' => '06d725a6-2ee1-4e48-9276-99ba7ab66e73',
'meta_key' => 'facebook',
'meta_value' => '',
'name' => 'https://www.facebook.com/ChampagneDeville/',
'description' => '',
'deleted' => null,
'_locale' => 'la-maison',
'_translations' => [
'fr' => object(App\Model\Entity\Setting) {},
'en' => object(App\Model\Entity\Setting) {},
'es' => object(App\Model\Entity\Setting) {},
'pt' => object(App\Model\Entity\Setting) {},
'de' => object(App\Model\Entity\Setting) {},
'it' => object(App\Model\Entity\Setting) {}
],
'[new]' => false,
'[accessible]' => [
'meta_key' => true,
'meta_value' => true,
'name' => true,
'description' => true
],
'[dirty]' => [],
'[original]' => [],
'[virtual]' => [],
'[hasErrors]' => false,
'[errors]' => [],
'[invalid]' => [],
'[repository]' => 'Settings'
}
App\Controller\AppController::initialize() - APP/Controller/AppController.php, line 110
App\Controller\PagesController::initialize() - APP/Controller/PagesController.php, line 38
Cake\Controller\Controller::__construct() - CORE/src/Controller/Controller.php, line 273
ReflectionClass::newInstance() - [internal], line ??
Cake\Http\ControllerFactory::create() - CORE/src/Http/ControllerFactory.php, line 47
Cake\Http\ActionDispatcher::dispatch() - CORE/src/Http/ActionDispatcher.php, line 91
Cake\Http\BaseApplication::__invoke() - CORE/src/Http/BaseApplication.php, line 235
Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65
Cake\Routing\Middleware\RoutingMiddleware::__invoke() - CORE/src/Routing/Middleware/RoutingMiddleware.php, line 162
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 96
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 98
[main] - ROOT/webroot/index.php, line 40
Notice (8): Trying to get property of non-object [APP/Controller/AppController.php, line 110]Code Context foreach ($settingsDB as $key => $s) {
$settings[$s->meta_key] = $s->_translations[$this->getCurrentLocale()]->meta_value;
$titles[$s->meta_key] = $s->_translations[$this->getCurrentLocale()]->name;
$locales = [
(int) 0 => object(App\Model\Entity\Locale) {
'id' => 'c79e08dd-4b98-40da-812f-166a5627cafe',
'locale' => 'fr',
'name' => 'French',
'position' => (int) 1,
'active' => true,
'flag' => 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgBAMAAACBVGfHAAAAA3NCSVQICAjb4U/gAAAACXBIWXMAAADdAAAA3QFwU6IHAAAAGXRFWHRTb2Z0d2FyZQB3d3cuaW5rc2NhcGUub3Jnm+48GgAAACdQTFRF////QUib/0tUh4y+/XiAQkab9PT0/0pVkpTC/mRtQUeb9fX1/0tVpPINxQAAAAp0Uk5TAFJSamp4eHjGxmzCt2wAAAArSURBVCjPY2RAA4zUEBB1AJIPDYDEP2Eg8ZtxFQOKAMOoAOUCGIFMi6gEAD39PvX2T/ZKAAAAAElFTkSuQmCC',
'front' => true,
'[new]' => false,
'[accessible]' => [
[maximum depth reached]
],
'[dirty]' => [[maximum depth reached]],
'[original]' => [[maximum depth reached]],
'[virtual]' => [[maximum depth reached]],
'[hasErrors]' => false,
'[errors]' => [[maximum depth reached]],
'[invalid]' => [[maximum depth reached]],
'[repository]' => 'Locales'
},
(int) 1 => object(App\Model\Entity\Locale) {
'id' => '073aae08-53c1-11e9-bb3d-7054d219d6c5',
'locale' => 'es',
'name' => 'Español',
'position' => (int) 0,
'active' => true,
'flag' => 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAMAAABEpIrGAAAAA3NCSVQICAjb4U/gAAAACXBIWXMAAADdAAAA3QFwU6IHAAAAGXRFWHRTb2Z0d2FyZQB3d3cuaW5rc2NhcGUub3Jnm+48GgAAARpQTFRF////x0FLyEJKgXaZoI6wuKV1watwyEFLy0pLzntc0rZn1GJZ1WVW1bhm1mxd13JW13Vx2nFQ229L23JN23xM3IyF3I+V3JKY3Y2G3nVJ33dJ34Zs4JOA4XhH4X9Q4ZV845Bk5JJi5LG15aWL5btz5b185pFh5pRk5pZs5px558Nc6ItI6KR16cFp6pBI66lx7ZxQ7aNO7q1h7rR17tjW76BO78BX8KpP8LJk8buC8stZ9LhX9Net9PPz9efR9fHz9fX198BY98dz98xX99/s9+Lt9+3R+MVe+N2d+dOA+deU+eat+sBQ+stf+8hm+8xZ+9Bw/Lzd/MtQ/N2E/N6G/dlx/sxP/s5R/tRa/tZk/tdp/9JQ/9JR/9NThpihEAAAAAN0Uk5TAFJ4LCUCBgAAAKRJREFUOI1jYBgKgJEJL2BkYCcAqKCAgwBgiCYAYApiQ/xCY/AoiLGR4Vb2wKkgyDxaUVhI0CjaEIcCH1N3aTVLL+9wgzDsCoLtdLS1lQJdoxwisCvQF+WTFWFxsVcQs8auwFjCSY6TmZ/HQtwRuwJPtwApKU09SV9bf+wKdFWc1TVMBOStVM2wK2Bj1YqODI6I5mXlwq4AHyAcWXRIMAQT7VAAACQKgMq9uRSqAAAAAElFTkSuQmCC',
'front' => true,
'[new]' => false,
'[accessible]' => [
[maximum depth reached]
],
'[dirty]' => [[maximum depth reached]],
'[original]' => [[maximum depth reached]],
'[virtual]' => [[maximum depth reached]],
'[hasErrors]' => false,
'[errors]' => [[maximum depth reached]],
'[invalid]' => [[maximum depth reached]],
'[repository]' => 'Locales'
},
(int) 2 => object(App\Model\Entity\Locale) {
'id' => '99c33239-48e4-4692-adb0-30a7c352e556',
'locale' => 'en',
'name' => 'English',
'position' => (int) 0,
'active' => true,
'flag' => 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAAA3QAAAN0BcFOiBwAAABl0RVh0U29mdHdhcmUAd3d3Lmlua3NjYXBlLm9yZ5vuPBoAAATuSURBVFiF7ZdrUNRlFMZ/+2dhXVoW5DJcAgTjamopziiWYuhMYpHGRUk0Gs1gIshboIYMoWNqahQyig41hJLXcgSvQ6VyS2WE1IBABRSZ5b673BZYdvtQ4QUYHb7QB55v7zlz5nnOvO+c57wivV7PSEIYUfZRAf8HAeJL65MbJ8UuvSQ2EveVPewy3naqxkPZ0SsZqmD+KxYPI9+0u9/iH+n9eNw8K6Uw5UKd4/k/ml98FqmrjVQd/65DhTg1015suzvFsuHM+SDV6nA8Q3xIWeHCrqxaUnPq6NbqBhR7jTdxBLx7coueTjk2tvWQW64aktja1IiNixxZ0ldDh1/CRM3tSgR1oD/CnWrGRsRQ89YnNBf9ReJiJ4q+9CJ4hhUi0bP6eTakRgIx/g4UhZmxMHk7qoBotOX3MF4ZiJDptwz1qTQ0Pt5I8q8jXfghle8nIGlt5eBH7vwS9yoz3UyHRSyIIPR1a4rXOhP56yE6fMPozilEMn8WlgWZyHfHICSdrcXvmJqL0bG0pu2hz9MFk9Pn0M8OoXRdMu5mcHbDJDKjPHG1kT43ue/LZuTFerKj/jdEc96jK+M0hpPdMM/ex9gju1Db2bMh8x4iArL7R6GLjZSEwHE45ediuf97qKsHK3OaVoXhuSYYvYFAVYMGVxspCrPpTxDaKK+ScKKaizdb2RrkyIziXNq3HUBX34yBvQ2yzRFIF89Ho9WTmlPH7uxa1F3aJwX8B283OYnv2GF8+CcsM46iV7ejc3VGGb2KCcvnAgwqoKpBg23JDdrjk9GW30MklyFbG4ZxRAhIjDh+tZEtJ6t50NzdXyc6kVs1qBkIgoiZrnI661tQXLn1iMhnMub2FoMK0LWo6L1R2h8znOKJYGEGQF1rN6W1nQN4REqlclhuNJiA4UBUjvuI2uGIj+JRASP+CMU5t1oHBCfYG2M39h9D1DUr6S0u688ZTp2AYD74aG6pbUZx+eYjUbMnYWxtTkGlGp1u8D7FQV//2X9wsJCwOdAJWzMJek0PnfuP0L4nHb26HbHHeGSJUdRoJTgP0Y25vQUKnQ6zbw8iVFbRK5dxd/kSTEIDiD9TR2GFekCNACCXivki2Inr27xYPN0SzbFzNE0Lpi0hBZFUgvybjdw8sBffPCnpVxRD0EOlogu3UF+sCw7TtGkNeokRFilpOASt4CvjuxyK9MDlKT8RIubZUbJjGp/62SNcLaH5jQ9QhSega1Ehi11JU1YGy5pcCEgqo7S2Y0hygMN59XjH3eDCbSUTY0IwuXaclpXLECnVWMZvZ0r0GjK8NOwMfQkLmSHw7yPUVlTTFr+X7vO5IAhIQ9+mK2oFW/La+TG/nsevb/UCexKCnIY0o6SztQDMdDNl6xJnpjrLaLijQJW4H5PsC6DTofHxpuezcDIVUsTqdTvpTD8F2j4k87wRx31McpWE5D1VdPUM3IieFwUVKuZuLSFouhXxgU64/pBAVW4wwvZ9jLlcyJj8ayxduABxZ9pJxBNdeSExiqMG4/gy/T71qp5hEz8OvR6O/97I6aJmwufZsd7fHfmZvZQduYxpUiryk1mIZXER17ThS2s///mBW6WiUe5mK8XNdujFw8rE6CFw32jWNO+nUoVWJkaOszxMB11Ki6vbiPzuTvemRePKPUN8OrUBrxnc2pE5RzT6NRsVMNIC/gaY0PLtJgQJ0gAAAABJRU5ErkJggg==',
'front' => true,
'[new]' => false,
'[accessible]' => [
[maximum depth reached]
],
'[dirty]' => [[maximum depth reached]],
'[original]' => [[maximum depth reached]],
'[virtual]' => [[maximum depth reached]],
'[hasErrors]' => false,
'[errors]' => [[maximum depth reached]],
'[invalid]' => [[maximum depth reached]],
'[repository]' => 'Locales'
},
(int) 3 => object(App\Model\Entity\Locale) {
'id' => 'a20c3c73-53c0-11e9-bb3d-7054d219d6c5',
'locale' => 'de',
'name' => 'Deutsch',
'position' => (int) 0,
'active' => true,
'flag' => 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgBAMAAACBVGfHAAAAA3NCSVQICAjb4U/gAAAACXBIWXMAAADdAAAA3QFwU6IHAAAAGXRFWHRTb2Z0d2FyZQB3d3cuaW5rc2NhcGUub3Jnm+48GgAAAB5QTFRF////SEhU/+BaRkZV/+FZwUlV/31WRkZV/0tV/+FagNv1tgAAAAd0Uk5TAFJSeHjAwPIGe2oAAAAqSURBVCjPY2FAAyzUEBBWQOH/Y0mhhS0YAvfQBYyHs7Xd6IF85w71bQEAwy4HmS9PAQYAAAAASUVORK5CYII=',
'front' => true,
'[new]' => false,
'[accessible]' => [
[maximum depth reached]
],
'[dirty]' => [[maximum depth reached]],
'[original]' => [[maximum depth reached]],
'[virtual]' => [[maximum depth reached]],
'[hasErrors]' => false,
'[errors]' => [[maximum depth reached]],
'[invalid]' => [[maximum depth reached]],
'[repository]' => 'Locales'
}
]
$session = object(Cake\Http\Session) {
[protected] _engine => null
[protected] _started => true
[protected] _lifetime => (int) 86400
[protected] _isCLI => false
}
$lng = 'la-maison'
$currentLocal = 'la-maison'
$settingsDB = object(SoftDelete\ORM\Query) {
'(help)' => 'This is a Query object, to get the results execute or iterate it.',
'sql' => 'SELECT Settings.id AS `Settings__id`, Settings.meta_key AS `Settings__meta_key`, Settings.meta_value AS `Settings__meta_value`, Settings.name AS `Settings__name`, Settings.description AS `Settings__description`, Settings.deleted AS `Settings__deleted`, Settings_meta_value_translation.id AS `Settings_meta_value_translation__id`, Settings_meta_value_translation.locale AS `Settings_meta_value_translation__locale`, Settings_meta_value_translation.model AS `Settings_meta_value_translation__model`, Settings_meta_value_translation.foreign_key AS `Settings_meta_value_translation__foreign_key`, Settings_meta_value_translation.field AS `Settings_meta_value_translation__field`, Settings_meta_value_translation.content AS `Settings_meta_value_translation__content`, Settings_name_translation.id AS `Settings_name_translation__id`, Settings_name_translation.locale AS `Settings_name_translation__locale`, Settings_name_translation.model AS `Settings_name_translation__model`, Settings_name_translation.foreign_key AS `Settings_name_translation__foreign_key`, Settings_name_translation.field AS `Settings_name_translation__field`, Settings_name_translation.content AS `Settings_name_translation__content`, Settings_description_translation.id AS `Settings_description_translation__id`, Settings_description_translation.locale AS `Settings_description_translation__locale`, Settings_description_translation.model AS `Settings_description_translation__model`, Settings_description_translation.foreign_key AS `Settings_description_translation__foreign_key`, Settings_description_translation.field AS `Settings_description_translation__field`, Settings_description_translation.content AS `Settings_description_translation__content` FROM settings Settings LEFT JOIN i18n Settings_meta_value_translation ON (Settings_meta_value_translation.model = :c0 AND Settings_meta_value_translation.field = :c1 AND Settings_meta_value_translation.locale = :c2 AND Settings.id = (Settings_meta_value_translation.foreign_key)) LEFT JOIN i18n Settings_name_translation ON (Settings_name_translation.model = :c3 AND Settings_name_translation.field = :c4 AND Settings_name_translation.locale = :c5 AND Settings.id = (Settings_name_translation.foreign_key)) LEFT JOIN i18n Settings_description_translation ON (Settings_description_translation.model = :c6 AND Settings_description_translation.field = :c7 AND Settings_description_translation.locale = :c8 AND Settings.id = (Settings_description_translation.foreign_key)) WHERE Settings.deleted IS NULL',
'params' => [
':c0' => [
[maximum depth reached]
],
':c1' => [
[maximum depth reached]
],
':c2' => [
[maximum depth reached]
],
':c3' => [
[maximum depth reached]
],
':c4' => [
[maximum depth reached]
],
':c5' => [
[maximum depth reached]
],
':c6' => [
[maximum depth reached]
],
':c7' => [
[maximum depth reached]
],
':c8' => [
[maximum depth reached]
]
],
'defaultTypes' => [
'Settings__id' => 'uuid',
'Settings.id' => 'uuid',
'id' => 'uuid',
'Settings__meta_key' => 'string',
'Settings.meta_key' => 'string',
'meta_key' => 'string',
'Settings__meta_value' => 'text',
'Settings.meta_value' => 'text',
'meta_value' => 'text',
'Settings__name' => 'string',
'Settings.name' => 'string',
'name' => 'string',
'Settings__description' => 'text',
'Settings.description' => 'text',
'description' => 'text',
'Settings__deleted' => 'datetime',
'Settings.deleted' => 'datetime',
'deleted' => 'datetime',
'I18n__id' => 'integer',
'I18n.id' => 'integer',
'I18n__locale' => 'string',
'I18n.locale' => 'string',
'locale' => 'string',
'I18n__model' => 'string',
'I18n.model' => 'string',
'model' => 'string',
'I18n__foreign_key' => 'uuid',
'I18n.foreign_key' => 'uuid',
'foreign_key' => 'uuid',
'I18n__field' => 'string',
'I18n.field' => 'string',
'field' => 'string',
'I18n__content' => 'text',
'I18n.content' => 'text',
'content' => 'text',
'Settings_meta_value_translation__id' => 'integer',
'Settings_meta_value_translation.id' => 'integer',
'Settings_meta_value_translation__locale' => 'string',
'Settings_meta_value_translation.locale' => 'string',
'Settings_meta_value_translation__model' => 'string',
'Settings_meta_value_translation.model' => 'string',
'Settings_meta_value_translation__foreign_key' => 'uuid',
'Settings_meta_value_translation.foreign_key' => 'uuid',
'Settings_meta_value_translation__field' => 'string',
'Settings_meta_value_translation.field' => 'string',
'Settings_meta_value_translation__content' => 'text',
'Settings_meta_value_translation.content' => 'text',
'Settings_name_translation__id' => 'integer',
'Settings_name_translation.id' => 'integer',
'Settings_name_translation__locale' => 'string',
'Settings_name_translation.locale' => 'string',
'Settings_name_translation__model' => 'string',
'Settings_name_translation.model' => 'string',
'Settings_name_translation__foreign_key' => 'uuid',
'Settings_name_translation.foreign_key' => 'uuid',
'Settings_name_translation__field' => 'string',
'Settings_name_translation.field' => 'string',
'Settings_name_translation__content' => 'text',
'Settings_name_translation.content' => 'text',
'Settings_description_translation__id' => 'integer',
'Settings_description_translation.id' => 'integer',
'Settings_description_translation__locale' => 'string',
'Settings_description_translation.locale' => 'string',
'Settings_description_translation__model' => 'string',
'Settings_description_translation.model' => 'string',
'Settings_description_translation__foreign_key' => 'uuid',
'Settings_description_translation.foreign_key' => 'uuid',
'Settings_description_translation__field' => 'string',
'Settings_description_translation.field' => 'string',
'Settings_description_translation__content' => 'text',
'Settings_description_translation.content' => 'text'
],
'decorators' => (int) 0,
'executed' => true,
'hydrate' => true,
'buffered' => true,
'formatters' => (int) 2,
'mapReducers' => (int) 0,
'contain' => [
'I18n' => [
[maximum depth reached]
],
'Settings_meta_value_translation' => [
[maximum depth reached]
],
'Settings_name_translation' => [
[maximum depth reached]
],
'Settings_description_translation' => [
[maximum depth reached]
]
],
'matching' => [],
'extraOptions' => [],
'repository' => object(App\Model\Table\SettingsTable) {}
}
$settings = [
'copyright' => null
]
$titles = [
'copyright' => null
]
$key = (int) 1
$s = object(App\Model\Entity\Setting) {
'id' => '06d725a6-2ee1-4e48-9276-99ba7ab66e73',
'meta_key' => 'facebook',
'meta_value' => '',
'name' => 'https://www.facebook.com/ChampagneDeville/',
'description' => '',
'deleted' => null,
'_locale' => 'la-maison',
'_translations' => [
'fr' => object(App\Model\Entity\Setting) {},
'en' => object(App\Model\Entity\Setting) {},
'es' => object(App\Model\Entity\Setting) {},
'pt' => object(App\Model\Entity\Setting) {},
'de' => object(App\Model\Entity\Setting) {},
'it' => object(App\Model\Entity\Setting) {}
],
'[new]' => false,
'[accessible]' => [
'meta_key' => true,
'meta_value' => true,
'name' => true,
'description' => true
],
'[dirty]' => [],
'[original]' => [],
'[virtual]' => [],
'[hasErrors]' => false,
'[errors]' => [],
'[invalid]' => [],
'[repository]' => 'Settings'
}
App\Controller\AppController::initialize() - APP/Controller/AppController.php, line 110
App\Controller\PagesController::initialize() - APP/Controller/PagesController.php, line 38
Cake\Controller\Controller::__construct() - CORE/src/Controller/Controller.php, line 273
ReflectionClass::newInstance() - [internal], line ??
Cake\Http\ControllerFactory::create() - CORE/src/Http/ControllerFactory.php, line 47
Cake\Http\ActionDispatcher::dispatch() - CORE/src/Http/ActionDispatcher.php, line 91
Cake\Http\BaseApplication::__invoke() - CORE/src/Http/BaseApplication.php, line 235
Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65
Cake\Routing\Middleware\RoutingMiddleware::__invoke() - CORE/src/Routing/Middleware/RoutingMiddleware.php, line 162
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 96
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 98
[main] - ROOT/webroot/index.php, line 40
Notice (8): Undefined index: la-maison [APP/Controller/AppController.php, line 111]Code Context $settings[$s->meta_key] = $s->_translations[$this->getCurrentLocale()]->meta_value;
$titles[$s->meta_key] = $s->_translations[$this->getCurrentLocale()]->name;
}
$locales = [
(int) 0 => object(App\Model\Entity\Locale) {
'id' => 'c79e08dd-4b98-40da-812f-166a5627cafe',
'locale' => 'fr',
'name' => 'French',
'position' => (int) 1,
'active' => true,
'flag' => 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgBAMAAACBVGfHAAAAA3NCSVQICAjb4U/gAAAACXBIWXMAAADdAAAA3QFwU6IHAAAAGXRFWHRTb2Z0d2FyZQB3d3cuaW5rc2NhcGUub3Jnm+48GgAAACdQTFRF////QUib/0tUh4y+/XiAQkab9PT0/0pVkpTC/mRtQUeb9fX1/0tVpPINxQAAAAp0Uk5TAFJSamp4eHjGxmzCt2wAAAArSURBVCjPY2RAA4zUEBB1AJIPDYDEP2Eg8ZtxFQOKAMOoAOUCGIFMi6gEAD39PvX2T/ZKAAAAAElFTkSuQmCC',
'front' => true,
'[new]' => false,
'[accessible]' => [
[maximum depth reached]
],
'[dirty]' => [[maximum depth reached]],
'[original]' => [[maximum depth reached]],
'[virtual]' => [[maximum depth reached]],
'[hasErrors]' => false,
'[errors]' => [[maximum depth reached]],
'[invalid]' => [[maximum depth reached]],
'[repository]' => 'Locales'
},
(int) 1 => object(App\Model\Entity\Locale) {
'id' => '073aae08-53c1-11e9-bb3d-7054d219d6c5',
'locale' => 'es',
'name' => 'Español',
'position' => (int) 0,
'active' => true,
'flag' => 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAMAAABEpIrGAAAAA3NCSVQICAjb4U/gAAAACXBIWXMAAADdAAAA3QFwU6IHAAAAGXRFWHRTb2Z0d2FyZQB3d3cuaW5rc2NhcGUub3Jnm+48GgAAARpQTFRF////x0FLyEJKgXaZoI6wuKV1watwyEFLy0pLzntc0rZn1GJZ1WVW1bhm1mxd13JW13Vx2nFQ229L23JN23xM3IyF3I+V3JKY3Y2G3nVJ33dJ34Zs4JOA4XhH4X9Q4ZV845Bk5JJi5LG15aWL5btz5b185pFh5pRk5pZs5px558Nc6ItI6KR16cFp6pBI66lx7ZxQ7aNO7q1h7rR17tjW76BO78BX8KpP8LJk8buC8stZ9LhX9Net9PPz9efR9fHz9fX198BY98dz98xX99/s9+Lt9+3R+MVe+N2d+dOA+deU+eat+sBQ+stf+8hm+8xZ+9Bw/Lzd/MtQ/N2E/N6G/dlx/sxP/s5R/tRa/tZk/tdp/9JQ/9JR/9NThpihEAAAAAN0Uk5TAFJ4LCUCBgAAAKRJREFUOI1jYBgKgJEJL2BkYCcAqKCAgwBgiCYAYApiQ/xCY/AoiLGR4Vb2wKkgyDxaUVhI0CjaEIcCH1N3aTVLL+9wgzDsCoLtdLS1lQJdoxwisCvQF+WTFWFxsVcQs8auwFjCSY6TmZ/HQtwRuwJPtwApKU09SV9bf+wKdFWc1TVMBOStVM2wK2Bj1YqODI6I5mXlwq4AHyAcWXRIMAQT7VAAACQKgMq9uRSqAAAAAElFTkSuQmCC',
'front' => true,
'[new]' => false,
'[accessible]' => [
[maximum depth reached]
],
'[dirty]' => [[maximum depth reached]],
'[original]' => [[maximum depth reached]],
'[virtual]' => [[maximum depth reached]],
'[hasErrors]' => false,
'[errors]' => [[maximum depth reached]],
'[invalid]' => [[maximum depth reached]],
'[repository]' => 'Locales'
},
(int) 2 => object(App\Model\Entity\Locale) {
'id' => '99c33239-48e4-4692-adb0-30a7c352e556',
'locale' => 'en',
'name' => 'English',
'position' => (int) 0,
'active' => true,
'flag' => 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAAA3QAAAN0BcFOiBwAAABl0RVh0U29mdHdhcmUAd3d3Lmlua3NjYXBlLm9yZ5vuPBoAAATuSURBVFiF7ZdrUNRlFMZ/+2dhXVoW5DJcAgTjamopziiWYuhMYpHGRUk0Gs1gIshboIYMoWNqahQyig41hJLXcgSvQ6VyS2WE1IBABRSZ5b673BZYdvtQ4QUYHb7QB55v7zlz5nnOvO+c57wivV7PSEIYUfZRAf8HAeJL65MbJ8UuvSQ2EveVPewy3naqxkPZ0SsZqmD+KxYPI9+0u9/iH+n9eNw8K6Uw5UKd4/k/ml98FqmrjVQd/65DhTg1015suzvFsuHM+SDV6nA8Q3xIWeHCrqxaUnPq6NbqBhR7jTdxBLx7coueTjk2tvWQW64aktja1IiNixxZ0ldDh1/CRM3tSgR1oD/CnWrGRsRQ89YnNBf9ReJiJ4q+9CJ4hhUi0bP6eTakRgIx/g4UhZmxMHk7qoBotOX3MF4ZiJDptwz1qTQ0Pt5I8q8jXfghle8nIGlt5eBH7vwS9yoz3UyHRSyIIPR1a4rXOhP56yE6fMPozilEMn8WlgWZyHfHICSdrcXvmJqL0bG0pu2hz9MFk9Pn0M8OoXRdMu5mcHbDJDKjPHG1kT43ue/LZuTFerKj/jdEc96jK+M0hpPdMM/ex9gju1Db2bMh8x4iArL7R6GLjZSEwHE45ediuf97qKsHK3OaVoXhuSYYvYFAVYMGVxspCrPpTxDaKK+ScKKaizdb2RrkyIziXNq3HUBX34yBvQ2yzRFIF89Ho9WTmlPH7uxa1F3aJwX8B283OYnv2GF8+CcsM46iV7ejc3VGGb2KCcvnAgwqoKpBg23JDdrjk9GW30MklyFbG4ZxRAhIjDh+tZEtJ6t50NzdXyc6kVs1qBkIgoiZrnI661tQXLn1iMhnMub2FoMK0LWo6L1R2h8znOKJYGEGQF1rN6W1nQN4REqlclhuNJiA4UBUjvuI2uGIj+JRASP+CMU5t1oHBCfYG2M39h9D1DUr6S0u688ZTp2AYD74aG6pbUZx+eYjUbMnYWxtTkGlGp1u8D7FQV//2X9wsJCwOdAJWzMJek0PnfuP0L4nHb26HbHHeGSJUdRoJTgP0Y25vQUKnQ6zbw8iVFbRK5dxd/kSTEIDiD9TR2GFekCNACCXivki2Inr27xYPN0SzbFzNE0Lpi0hBZFUgvybjdw8sBffPCnpVxRD0EOlogu3UF+sCw7TtGkNeokRFilpOASt4CvjuxyK9MDlKT8RIubZUbJjGp/62SNcLaH5jQ9QhSega1Ehi11JU1YGy5pcCEgqo7S2Y0hygMN59XjH3eDCbSUTY0IwuXaclpXLECnVWMZvZ0r0GjK8NOwMfQkLmSHw7yPUVlTTFr+X7vO5IAhIQ9+mK2oFW/La+TG/nsevb/UCexKCnIY0o6SztQDMdDNl6xJnpjrLaLijQJW4H5PsC6DTofHxpuezcDIVUsTqdTvpTD8F2j4k87wRx31McpWE5D1VdPUM3IieFwUVKuZuLSFouhXxgU64/pBAVW4wwvZ9jLlcyJj8ayxduABxZ9pJxBNdeSExiqMG4/gy/T71qp5hEz8OvR6O/97I6aJmwufZsd7fHfmZvZQduYxpUiryk1mIZXER17ThS2s///mBW6WiUe5mK8XNdujFw8rE6CFw32jWNO+nUoVWJkaOszxMB11Ki6vbiPzuTvemRePKPUN8OrUBrxnc2pE5RzT6NRsVMNIC/gaY0PLtJgQJ0gAAAABJRU5ErkJggg==',
'front' => true,
'[new]' => false,
'[accessible]' => [
[maximum depth reached]
],
'[dirty]' => [[maximum depth reached]],
'[original]' => [[maximum depth reached]],
'[virtual]' => [[maximum depth reached]],
'[hasErrors]' => false,
'[errors]' => [[maximum depth reached]],
'[invalid]' => [[maximum depth reached]],
'[repository]' => 'Locales'
},
(int) 3 => object(App\Model\Entity\Locale) {
'id' => 'a20c3c73-53c0-11e9-bb3d-7054d219d6c5',
'locale' => 'de',
'name' => 'Deutsch',
'position' => (int) 0,
'active' => true,
'flag' => 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgBAMAAACBVGfHAAAAA3NCSVQICAjb4U/gAAAACXBIWXMAAADdAAAA3QFwU6IHAAAAGXRFWHRTb2Z0d2FyZQB3d3cuaW5rc2NhcGUub3Jnm+48GgAAAB5QTFRF////SEhU/+BaRkZV/+FZwUlV/31WRkZV/0tV/+FagNv1tgAAAAd0Uk5TAFJSeHjAwPIGe2oAAAAqSURBVCjPY2FAAyzUEBBWQOH/Y0mhhS0YAvfQBYyHs7Xd6IF85w71bQEAwy4HmS9PAQYAAAAASUVORK5CYII=',
'front' => true,
'[new]' => false,
'[accessible]' => [
[maximum depth reached]
],
'[dirty]' => [[maximum depth reached]],
'[original]' => [[maximum depth reached]],
'[virtual]' => [[maximum depth reached]],
'[hasErrors]' => false,
'[errors]' => [[maximum depth reached]],
'[invalid]' => [[maximum depth reached]],
'[repository]' => 'Locales'
}
]
$session = object(Cake\Http\Session) {
[protected] _engine => null
[protected] _started => true
[protected] _lifetime => (int) 86400
[protected] _isCLI => false
}
$lng = 'la-maison'
$currentLocal = 'la-maison'
$settingsDB = object(SoftDelete\ORM\Query) {
'(help)' => 'This is a Query object, to get the results execute or iterate it.',
'sql' => 'SELECT Settings.id AS `Settings__id`, Settings.meta_key AS `Settings__meta_key`, Settings.meta_value AS `Settings__meta_value`, Settings.name AS `Settings__name`, Settings.description AS `Settings__description`, Settings.deleted AS `Settings__deleted`, Settings_meta_value_translation.id AS `Settings_meta_value_translation__id`, Settings_meta_value_translation.locale AS `Settings_meta_value_translation__locale`, Settings_meta_value_translation.model AS `Settings_meta_value_translation__model`, Settings_meta_value_translation.foreign_key AS `Settings_meta_value_translation__foreign_key`, Settings_meta_value_translation.field AS `Settings_meta_value_translation__field`, Settings_meta_value_translation.content AS `Settings_meta_value_translation__content`, Settings_name_translation.id AS `Settings_name_translation__id`, Settings_name_translation.locale AS `Settings_name_translation__locale`, Settings_name_translation.model AS `Settings_name_translation__model`, Settings_name_translation.foreign_key AS `Settings_name_translation__foreign_key`, Settings_name_translation.field AS `Settings_name_translation__field`, Settings_name_translation.content AS `Settings_name_translation__content`, Settings_description_translation.id AS `Settings_description_translation__id`, Settings_description_translation.locale AS `Settings_description_translation__locale`, Settings_description_translation.model AS `Settings_description_translation__model`, Settings_description_translation.foreign_key AS `Settings_description_translation__foreign_key`, Settings_description_translation.field AS `Settings_description_translation__field`, Settings_description_translation.content AS `Settings_description_translation__content` FROM settings Settings LEFT JOIN i18n Settings_meta_value_translation ON (Settings_meta_value_translation.model = :c0 AND Settings_meta_value_translation.field = :c1 AND Settings_meta_value_translation.locale = :c2 AND Settings.id = (Settings_meta_value_translation.foreign_key)) LEFT JOIN i18n Settings_name_translation ON (Settings_name_translation.model = :c3 AND Settings_name_translation.field = :c4 AND Settings_name_translation.locale = :c5 AND Settings.id = (Settings_name_translation.foreign_key)) LEFT JOIN i18n Settings_description_translation ON (Settings_description_translation.model = :c6 AND Settings_description_translation.field = :c7 AND Settings_description_translation.locale = :c8 AND Settings.id = (Settings_description_translation.foreign_key)) WHERE Settings.deleted IS NULL',
'params' => [
':c0' => [
[maximum depth reached]
],
':c1' => [
[maximum depth reached]
],
':c2' => [
[maximum depth reached]
],
':c3' => [
[maximum depth reached]
],
':c4' => [
[maximum depth reached]
],
':c5' => [
[maximum depth reached]
],
':c6' => [
[maximum depth reached]
],
':c7' => [
[maximum depth reached]
],
':c8' => [
[maximum depth reached]
]
],
'defaultTypes' => [
'Settings__id' => 'uuid',
'Settings.id' => 'uuid',
'id' => 'uuid',
'Settings__meta_key' => 'string',
'Settings.meta_key' => 'string',
'meta_key' => 'string',
'Settings__meta_value' => 'text',
'Settings.meta_value' => 'text',
'meta_value' => 'text',
'Settings__name' => 'string',
'Settings.name' => 'string',
'name' => 'string',
'Settings__description' => 'text',
'Settings.description' => 'text',
'description' => 'text',
'Settings__deleted' => 'datetime',
'Settings.deleted' => 'datetime',
'deleted' => 'datetime',
'I18n__id' => 'integer',
'I18n.id' => 'integer',
'I18n__locale' => 'string',
'I18n.locale' => 'string',
'locale' => 'string',
'I18n__model' => 'string',
'I18n.model' => 'string',
'model' => 'string',
'I18n__foreign_key' => 'uuid',
'I18n.foreign_key' => 'uuid',
'foreign_key' => 'uuid',
'I18n__field' => 'string',
'I18n.field' => 'string',
'field' => 'string',
'I18n__content' => 'text',
'I18n.content' => 'text',
'content' => 'text',
'Settings_meta_value_translation__id' => 'integer',
'Settings_meta_value_translation.id' => 'integer',
'Settings_meta_value_translation__locale' => 'string',
'Settings_meta_value_translation.locale' => 'string',
'Settings_meta_value_translation__model' => 'string',
'Settings_meta_value_translation.model' => 'string',
'Settings_meta_value_translation__foreign_key' => 'uuid',
'Settings_meta_value_translation.foreign_key' => 'uuid',
'Settings_meta_value_translation__field' => 'string',
'Settings_meta_value_translation.field' => 'string',
'Settings_meta_value_translation__content' => 'text',
'Settings_meta_value_translation.content' => 'text',
'Settings_name_translation__id' => 'integer',
'Settings_name_translation.id' => 'integer',
'Settings_name_translation__locale' => 'string',
'Settings_name_translation.locale' => 'string',
'Settings_name_translation__model' => 'string',
'Settings_name_translation.model' => 'string',
'Settings_name_translation__foreign_key' => 'uuid',
'Settings_name_translation.foreign_key' => 'uuid',
'Settings_name_translation__field' => 'string',
'Settings_name_translation.field' => 'string',
'Settings_name_translation__content' => 'text',
'Settings_name_translation.content' => 'text',
'Settings_description_translation__id' => 'integer',
'Settings_description_translation.id' => 'integer',
'Settings_description_translation__locale' => 'string',
'Settings_description_translation.locale' => 'string',
'Settings_description_translation__model' => 'string',
'Settings_description_translation.model' => 'string',
'Settings_description_translation__foreign_key' => 'uuid',
'Settings_description_translation.foreign_key' => 'uuid',
'Settings_description_translation__field' => 'string',
'Settings_description_translation.field' => 'string',
'Settings_description_translation__content' => 'text',
'Settings_description_translation.content' => 'text'
],
'decorators' => (int) 0,
'executed' => true,
'hydrate' => true,
'buffered' => true,
'formatters' => (int) 2,
'mapReducers' => (int) 0,
'contain' => [
'I18n' => [
[maximum depth reached]
],
'Settings_meta_value_translation' => [
[maximum depth reached]
],
'Settings_name_translation' => [
[maximum depth reached]
],
'Settings_description_translation' => [
[maximum depth reached]
]
],
'matching' => [],
'extraOptions' => [],
'repository' => object(App\Model\Table\SettingsTable) {}
}
$settings = [
'copyright' => null,
'facebook' => null
]
$titles = [
'copyright' => null
]
$key = (int) 1
$s = object(App\Model\Entity\Setting) {
'id' => '06d725a6-2ee1-4e48-9276-99ba7ab66e73',
'meta_key' => 'facebook',
'meta_value' => '',
'name' => 'https://www.facebook.com/ChampagneDeville/',
'description' => '',
'deleted' => null,
'_locale' => 'la-maison',
'_translations' => [
'fr' => object(App\Model\Entity\Setting) {},
'en' => object(App\Model\Entity\Setting) {},
'es' => object(App\Model\Entity\Setting) {},
'pt' => object(App\Model\Entity\Setting) {},
'de' => object(App\Model\Entity\Setting) {},
'it' => object(App\Model\Entity\Setting) {}
],
'[new]' => false,
'[accessible]' => [
'meta_key' => true,
'meta_value' => true,
'name' => true,
'description' => true
],
'[dirty]' => [],
'[original]' => [],
'[virtual]' => [],
'[hasErrors]' => false,
'[errors]' => [],
'[invalid]' => [],
'[repository]' => 'Settings'
}
App\Controller\AppController::initialize() - APP/Controller/AppController.php, line 111
App\Controller\PagesController::initialize() - APP/Controller/PagesController.php, line 38
Cake\Controller\Controller::__construct() - CORE/src/Controller/Controller.php, line 273
ReflectionClass::newInstance() - [internal], line ??
Cake\Http\ControllerFactory::create() - CORE/src/Http/ControllerFactory.php, line 47
Cake\Http\ActionDispatcher::dispatch() - CORE/src/Http/ActionDispatcher.php, line 91
Cake\Http\BaseApplication::__invoke() - CORE/src/Http/BaseApplication.php, line 235
Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65
Cake\Routing\Middleware\RoutingMiddleware::__invoke() - CORE/src/Routing/Middleware/RoutingMiddleware.php, line 162
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 96
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 98
[main] - ROOT/webroot/index.php, line 40
Notice (8): Trying to get property of non-object [APP/Controller/AppController.php, line 111]Code Context $settings[$s->meta_key] = $s->_translations[$this->getCurrentLocale()]->meta_value;
$titles[$s->meta_key] = $s->_translations[$this->getCurrentLocale()]->name;
}
$locales = [
(int) 0 => object(App\Model\Entity\Locale) {
'id' => 'c79e08dd-4b98-40da-812f-166a5627cafe',
'locale' => 'fr',
'name' => 'French',
'position' => (int) 1,
'active' => true,
'flag' => 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgBAMAAACBVGfHAAAAA3NCSVQICAjb4U/gAAAACXBIWXMAAADdAAAA3QFwU6IHAAAAGXRFWHRTb2Z0d2FyZQB3d3cuaW5rc2NhcGUub3Jnm+48GgAAACdQTFRF////QUib/0tUh4y+/XiAQkab9PT0/0pVkpTC/mRtQUeb9fX1/0tVpPINxQAAAAp0Uk5TAFJSamp4eHjGxmzCt2wAAAArSURBVCjPY2RAA4zUEBB1AJIPDYDEP2Eg8ZtxFQOKAMOoAOUCGIFMi6gEAD39PvX2T/ZKAAAAAElFTkSuQmCC',
'front' => true,
'[new]' => false,
'[accessible]' => [
[maximum depth reached]
],
'[dirty]' => [[maximum depth reached]],
'[original]' => [[maximum depth reached]],
'[virtual]' => [[maximum depth reached]],
'[hasErrors]' => false,
'[errors]' => [[maximum depth reached]],
'[invalid]' => [[maximum depth reached]],
'[repository]' => 'Locales'
},
(int) 1 => object(App\Model\Entity\Locale) {
'id' => '073aae08-53c1-11e9-bb3d-7054d219d6c5',
'locale' => 'es',
'name' => 'Español',
'position' => (int) 0,
'active' => true,
'flag' => 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAMAAABEpIrGAAAAA3NCSVQICAjb4U/gAAAACXBIWXMAAADdAAAA3QFwU6IHAAAAGXRFWHRTb2Z0d2FyZQB3d3cuaW5rc2NhcGUub3Jnm+48GgAAARpQTFRF////x0FLyEJKgXaZoI6wuKV1watwyEFLy0pLzntc0rZn1GJZ1WVW1bhm1mxd13JW13Vx2nFQ229L23JN23xM3IyF3I+V3JKY3Y2G3nVJ33dJ34Zs4JOA4XhH4X9Q4ZV845Bk5JJi5LG15aWL5btz5b185pFh5pRk5pZs5px558Nc6ItI6KR16cFp6pBI66lx7ZxQ7aNO7q1h7rR17tjW76BO78BX8KpP8LJk8buC8stZ9LhX9Net9PPz9efR9fHz9fX198BY98dz98xX99/s9+Lt9+3R+MVe+N2d+dOA+deU+eat+sBQ+stf+8hm+8xZ+9Bw/Lzd/MtQ/N2E/N6G/dlx/sxP/s5R/tRa/tZk/tdp/9JQ/9JR/9NThpihEAAAAAN0Uk5TAFJ4LCUCBgAAAKRJREFUOI1jYBgKgJEJL2BkYCcAqKCAgwBgiCYAYApiQ/xCY/AoiLGR4Vb2wKkgyDxaUVhI0CjaEIcCH1N3aTVLL+9wgzDsCoLtdLS1lQJdoxwisCvQF+WTFWFxsVcQs8auwFjCSY6TmZ/HQtwRuwJPtwApKU09SV9bf+wKdFWc1TVMBOStVM2wK2Bj1YqODI6I5mXlwq4AHyAcWXRIMAQT7VAAACQKgMq9uRSqAAAAAElFTkSuQmCC',
'front' => true,
'[new]' => false,
'[accessible]' => [
[maximum depth reached]
],
'[dirty]' => [[maximum depth reached]],
'[original]' => [[maximum depth reached]],
'[virtual]' => [[maximum depth reached]],
'[hasErrors]' => false,
'[errors]' => [[maximum depth reached]],
'[invalid]' => [[maximum depth reached]],
'[repository]' => 'Locales'
},
(int) 2 => object(App\Model\Entity\Locale) {
'id' => '99c33239-48e4-4692-adb0-30a7c352e556',
'locale' => 'en',
'name' => 'English',
'position' => (int) 0,
'active' => true,
'flag' => 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAAA3QAAAN0BcFOiBwAAABl0RVh0U29mdHdhcmUAd3d3Lmlua3NjYXBlLm9yZ5vuPBoAAATuSURBVFiF7ZdrUNRlFMZ/+2dhXVoW5DJcAgTjamopziiWYuhMYpHGRUk0Gs1gIshboIYMoWNqahQyig41hJLXcgSvQ6VyS2WE1IBABRSZ5b673BZYdvtQ4QUYHb7QB55v7zlz5nnOvO+c57wivV7PSEIYUfZRAf8HAeJL65MbJ8UuvSQ2EveVPewy3naqxkPZ0SsZqmD+KxYPI9+0u9/iH+n9eNw8K6Uw5UKd4/k/ml98FqmrjVQd/65DhTg1015suzvFsuHM+SDV6nA8Q3xIWeHCrqxaUnPq6NbqBhR7jTdxBLx7coueTjk2tvWQW64aktja1IiNixxZ0ldDh1/CRM3tSgR1oD/CnWrGRsRQ89YnNBf9ReJiJ4q+9CJ4hhUi0bP6eTakRgIx/g4UhZmxMHk7qoBotOX3MF4ZiJDptwz1qTQ0Pt5I8q8jXfghle8nIGlt5eBH7vwS9yoz3UyHRSyIIPR1a4rXOhP56yE6fMPozilEMn8WlgWZyHfHICSdrcXvmJqL0bG0pu2hz9MFk9Pn0M8OoXRdMu5mcHbDJDKjPHG1kT43ue/LZuTFerKj/jdEc96jK+M0hpPdMM/ex9gju1Db2bMh8x4iArL7R6GLjZSEwHE45ediuf97qKsHK3OaVoXhuSYYvYFAVYMGVxspCrPpTxDaKK+ScKKaizdb2RrkyIziXNq3HUBX34yBvQ2yzRFIF89Ho9WTmlPH7uxa1F3aJwX8B283OYnv2GF8+CcsM46iV7ejc3VGGb2KCcvnAgwqoKpBg23JDdrjk9GW30MklyFbG4ZxRAhIjDh+tZEtJ6t50NzdXyc6kVs1qBkIgoiZrnI661tQXLn1iMhnMub2FoMK0LWo6L1R2h8znOKJYGEGQF1rN6W1nQN4REqlclhuNJiA4UBUjvuI2uGIj+JRASP+CMU5t1oHBCfYG2M39h9D1DUr6S0u688ZTp2AYD74aG6pbUZx+eYjUbMnYWxtTkGlGp1u8D7FQV//2X9wsJCwOdAJWzMJek0PnfuP0L4nHb26HbHHeGSJUdRoJTgP0Y25vQUKnQ6zbw8iVFbRK5dxd/kSTEIDiD9TR2GFekCNACCXivki2Inr27xYPN0SzbFzNE0Lpi0hBZFUgvybjdw8sBffPCnpVxRD0EOlogu3UF+sCw7TtGkNeokRFilpOASt4CvjuxyK9MDlKT8RIubZUbJjGp/62SNcLaH5jQ9QhSega1Ehi11JU1YGy5pcCEgqo7S2Y0hygMN59XjH3eDCbSUTY0IwuXaclpXLECnVWMZvZ0r0GjK8NOwMfQkLmSHw7yPUVlTTFr+X7vO5IAhIQ9+mK2oFW/La+TG/nsevb/UCexKCnIY0o6SztQDMdDNl6xJnpjrLaLijQJW4H5PsC6DTofHxpuezcDIVUsTqdTvpTD8F2j4k87wRx31McpWE5D1VdPUM3IieFwUVKuZuLSFouhXxgU64/pBAVW4wwvZ9jLlcyJj8ayxduABxZ9pJxBNdeSExiqMG4/gy/T71qp5hEz8OvR6O/97I6aJmwufZsd7fHfmZvZQduYxpUiryk1mIZXER17ThS2s///mBW6WiUe5mK8XNdujFw8rE6CFw32jWNO+nUoVWJkaOszxMB11Ki6vbiPzuTvemRePKPUN8OrUBrxnc2pE5RzT6NRsVMNIC/gaY0PLtJgQJ0gAAAABJRU5ErkJggg==',
'front' => true,
'[new]' => false,
'[accessible]' => [
[maximum depth reached]
],
'[dirty]' => [[maximum depth reached]],
'[original]' => [[maximum depth reached]],
'[virtual]' => [[maximum depth reached]],
'[hasErrors]' => false,
'[errors]' => [[maximum depth reached]],
'[invalid]' => [[maximum depth reached]],
'[repository]' => 'Locales'
},
(int) 3 => object(App\Model\Entity\Locale) {
'id' => 'a20c3c73-53c0-11e9-bb3d-7054d219d6c5',
'locale' => 'de',
'name' => 'Deutsch',
'position' => (int) 0,
'active' => true,
'flag' => 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgBAMAAACBVGfHAAAAA3NCSVQICAjb4U/gAAAACXBIWXMAAADdAAAA3QFwU6IHAAAAGXRFWHRTb2Z0d2FyZQB3d3cuaW5rc2NhcGUub3Jnm+48GgAAAB5QTFRF////SEhU/+BaRkZV/+FZwUlV/31WRkZV/0tV/+FagNv1tgAAAAd0Uk5TAFJSeHjAwPIGe2oAAAAqSURBVCjPY2FAAyzUEBBWQOH/Y0mhhS0YAvfQBYyHs7Xd6IF85w71bQEAwy4HmS9PAQYAAAAASUVORK5CYII=',
'front' => true,
'[new]' => false,
'[accessible]' => [
[maximum depth reached]
],
'[dirty]' => [[maximum depth reached]],
'[original]' => [[maximum depth reached]],
'[virtual]' => [[maximum depth reached]],
'[hasErrors]' => false,
'[errors]' => [[maximum depth reached]],
'[invalid]' => [[maximum depth reached]],
'[repository]' => 'Locales'
}
]
$session = object(Cake\Http\Session) {
[protected] _engine => null
[protected] _started => true
[protected] _lifetime => (int) 86400
[protected] _isCLI => false
}
$lng = 'la-maison'
$currentLocal = 'la-maison'
$settingsDB = object(SoftDelete\ORM\Query) {
'(help)' => 'This is a Query object, to get the results execute or iterate it.',
'sql' => 'SELECT Settings.id AS `Settings__id`, Settings.meta_key AS `Settings__meta_key`, Settings.meta_value AS `Settings__meta_value`, Settings.name AS `Settings__name`, Settings.description AS `Settings__description`, Settings.deleted AS `Settings__deleted`, Settings_meta_value_translation.id AS `Settings_meta_value_translation__id`, Settings_meta_value_translation.locale AS `Settings_meta_value_translation__locale`, Settings_meta_value_translation.model AS `Settings_meta_value_translation__model`, Settings_meta_value_translation.foreign_key AS `Settings_meta_value_translation__foreign_key`, Settings_meta_value_translation.field AS `Settings_meta_value_translation__field`, Settings_meta_value_translation.content AS `Settings_meta_value_translation__content`, Settings_name_translation.id AS `Settings_name_translation__id`, Settings_name_translation.locale AS `Settings_name_translation__locale`, Settings_name_translation.model AS `Settings_name_translation__model`, Settings_name_translation.foreign_key AS `Settings_name_translation__foreign_key`, Settings_name_translation.field AS `Settings_name_translation__field`, Settings_name_translation.content AS `Settings_name_translation__content`, Settings_description_translation.id AS `Settings_description_translation__id`, Settings_description_translation.locale AS `Settings_description_translation__locale`, Settings_description_translation.model AS `Settings_description_translation__model`, Settings_description_translation.foreign_key AS `Settings_description_translation__foreign_key`, Settings_description_translation.field AS `Settings_description_translation__field`, Settings_description_translation.content AS `Settings_description_translation__content` FROM settings Settings LEFT JOIN i18n Settings_meta_value_translation ON (Settings_meta_value_translation.model = :c0 AND Settings_meta_value_translation.field = :c1 AND Settings_meta_value_translation.locale = :c2 AND Settings.id = (Settings_meta_value_translation.foreign_key)) LEFT JOIN i18n Settings_name_translation ON (Settings_name_translation.model = :c3 AND Settings_name_translation.field = :c4 AND Settings_name_translation.locale = :c5 AND Settings.id = (Settings_name_translation.foreign_key)) LEFT JOIN i18n Settings_description_translation ON (Settings_description_translation.model = :c6 AND Settings_description_translation.field = :c7 AND Settings_description_translation.locale = :c8 AND Settings.id = (Settings_description_translation.foreign_key)) WHERE Settings.deleted IS NULL',
'params' => [
':c0' => [
[maximum depth reached]
],
':c1' => [
[maximum depth reached]
],
':c2' => [
[maximum depth reached]
],
':c3' => [
[maximum depth reached]
],
':c4' => [
[maximum depth reached]
],
':c5' => [
[maximum depth reached]
],
':c6' => [
[maximum depth reached]
],
':c7' => [
[maximum depth reached]
],
':c8' => [
[maximum depth reached]
]
],
'defaultTypes' => [
'Settings__id' => 'uuid',
'Settings.id' => 'uuid',
'id' => 'uuid',
'Settings__meta_key' => 'string',
'Settings.meta_key' => 'string',
'meta_key' => 'string',
'Settings__meta_value' => 'text',
'Settings.meta_value' => 'text',
'meta_value' => 'text',
'Settings__name' => 'string',
'Settings.name' => 'string',
'name' => 'string',
'Settings__description' => 'text',
'Settings.description' => 'text',
'description' => 'text',
'Settings__deleted' => 'datetime',
'Settings.deleted' => 'datetime',
'deleted' => 'datetime',
'I18n__id' => 'integer',
'I18n.id' => 'integer',
'I18n__locale' => 'string',
'I18n.locale' => 'string',
'locale' => 'string',
'I18n__model' => 'string',
'I18n.model' => 'string',
'model' => 'string',
'I18n__foreign_key' => 'uuid',
'I18n.foreign_key' => 'uuid',
'foreign_key' => 'uuid',
'I18n__field' => 'string',
'I18n.field' => 'string',
'field' => 'string',
'I18n__content' => 'text',
'I18n.content' => 'text',
'content' => 'text',
'Settings_meta_value_translation__id' => 'integer',
'Settings_meta_value_translation.id' => 'integer',
'Settings_meta_value_translation__locale' => 'string',
'Settings_meta_value_translation.locale' => 'string',
'Settings_meta_value_translation__model' => 'string',
'Settings_meta_value_translation.model' => 'string',
'Settings_meta_value_translation__foreign_key' => 'uuid',
'Settings_meta_value_translation.foreign_key' => 'uuid',
'Settings_meta_value_translation__field' => 'string',
'Settings_meta_value_translation.field' => 'string',
'Settings_meta_value_translation__content' => 'text',
'Settings_meta_value_translation.content' => 'text',
'Settings_name_translation__id' => 'integer',
'Settings_name_translation.id' => 'integer',
'Settings_name_translation__locale' => 'string',
'Settings_name_translation.locale' => 'string',
'Settings_name_translation__model' => 'string',
'Settings_name_translation.model' => 'string',
'Settings_name_translation__foreign_key' => 'uuid',
'Settings_name_translation.foreign_key' => 'uuid',
'Settings_name_translation__field' => 'string',
'Settings_name_translation.field' => 'string',
'Settings_name_translation__content' => 'text',
'Settings_name_translation.content' => 'text',
'Settings_description_translation__id' => 'integer',
'Settings_description_translation.id' => 'integer',
'Settings_description_translation__locale' => 'string',
'Settings_description_translation.locale' => 'string',
'Settings_description_translation__model' => 'string',
'Settings_description_translation.model' => 'string',
'Settings_description_translation__foreign_key' => 'uuid',
'Settings_description_translation.foreign_key' => 'uuid',
'Settings_description_translation__field' => 'string',
'Settings_description_translation.field' => 'string',
'Settings_description_translation__content' => 'text',
'Settings_description_translation.content' => 'text'
],
'decorators' => (int) 0,
'executed' => true,
'hydrate' => true,
'buffered' => true,
'formatters' => (int) 2,
'mapReducers' => (int) 0,
'contain' => [
'I18n' => [
[maximum depth reached]
],
'Settings_meta_value_translation' => [
[maximum depth reached]
],
'Settings_name_translation' => [
[maximum depth reached]
],
'Settings_description_translation' => [
[maximum depth reached]
]
],
'matching' => [],
'extraOptions' => [],
'repository' => object(App\Model\Table\SettingsTable) {}
}
$settings = [
'copyright' => null,
'facebook' => null
]
$titles = [
'copyright' => null
]
$key = (int) 1
$s = object(App\Model\Entity\Setting) {
'id' => '06d725a6-2ee1-4e48-9276-99ba7ab66e73',
'meta_key' => 'facebook',
'meta_value' => '',
'name' => 'https://www.facebook.com/ChampagneDeville/',
'description' => '',
'deleted' => null,
'_locale' => 'la-maison',
'_translations' => [
'fr' => object(App\Model\Entity\Setting) {},
'en' => object(App\Model\Entity\Setting) {},
'es' => object(App\Model\Entity\Setting) {},
'pt' => object(App\Model\Entity\Setting) {},
'de' => object(App\Model\Entity\Setting) {},
'it' => object(App\Model\Entity\Setting) {}
],
'[new]' => false,
'[accessible]' => [
'meta_key' => true,
'meta_value' => true,
'name' => true,
'description' => true
],
'[dirty]' => [],
'[original]' => [],
'[virtual]' => [],
'[hasErrors]' => false,
'[errors]' => [],
'[invalid]' => [],
'[repository]' => 'Settings'
}
App\Controller\AppController::initialize() - APP/Controller/AppController.php, line 111
App\Controller\PagesController::initialize() - APP/Controller/PagesController.php, line 38
Cake\Controller\Controller::__construct() - CORE/src/Controller/Controller.php, line 273
ReflectionClass::newInstance() - [internal], line ??
Cake\Http\ControllerFactory::create() - CORE/src/Http/ControllerFactory.php, line 47
Cake\Http\ActionDispatcher::dispatch() - CORE/src/Http/ActionDispatcher.php, line 91
Cake\Http\BaseApplication::__invoke() - CORE/src/Http/BaseApplication.php, line 235
Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65
Cake\Routing\Middleware\RoutingMiddleware::__invoke() - CORE/src/Routing/Middleware/RoutingMiddleware.php, line 162
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 96
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 98
[main] - ROOT/webroot/index.php, line 40
Notice (8): Undefined index: la-maison [APP/Controller/AppController.php, line 110]Code Context foreach ($settingsDB as $key => $s) {
$settings[$s->meta_key] = $s->_translations[$this->getCurrentLocale()]->meta_value;
$titles[$s->meta_key] = $s->_translations[$this->getCurrentLocale()]->name;
$locales = [
(int) 0 => object(App\Model\Entity\Locale) {
'id' => 'c79e08dd-4b98-40da-812f-166a5627cafe',
'locale' => 'fr',
'name' => 'French',
'position' => (int) 1,
'active' => true,
'flag' => 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgBAMAAACBVGfHAAAAA3NCSVQICAjb4U/gAAAACXBIWXMAAADdAAAA3QFwU6IHAAAAGXRFWHRTb2Z0d2FyZQB3d3cuaW5rc2NhcGUub3Jnm+48GgAAACdQTFRF////QUib/0tUh4y+/XiAQkab9PT0/0pVkpTC/mRtQUeb9fX1/0tVpPINxQAAAAp0Uk5TAFJSamp4eHjGxmzCt2wAAAArSURBVCjPY2RAA4zUEBB1AJIPDYDEP2Eg8ZtxFQOKAMOoAOUCGIFMi6gEAD39PvX2T/ZKAAAAAElFTkSuQmCC',
'front' => true,
'[new]' => false,
'[accessible]' => [
[maximum depth reached]
],
'[dirty]' => [[maximum depth reached]],
'[original]' => [[maximum depth reached]],
'[virtual]' => [[maximum depth reached]],
'[hasErrors]' => false,
'[errors]' => [[maximum depth reached]],
'[invalid]' => [[maximum depth reached]],
'[repository]' => 'Locales'
},
(int) 1 => object(App\Model\Entity\Locale) {
'id' => '073aae08-53c1-11e9-bb3d-7054d219d6c5',
'locale' => 'es',
'name' => 'Español',
'position' => (int) 0,
'active' => true,
'flag' => 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAMAAABEpIrGAAAAA3NCSVQICAjb4U/gAAAACXBIWXMAAADdAAAA3QFwU6IHAAAAGXRFWHRTb2Z0d2FyZQB3d3cuaW5rc2NhcGUub3Jnm+48GgAAARpQTFRF////x0FLyEJKgXaZoI6wuKV1watwyEFLy0pLzntc0rZn1GJZ1WVW1bhm1mxd13JW13Vx2nFQ229L23JN23xM3IyF3I+V3JKY3Y2G3nVJ33dJ34Zs4JOA4XhH4X9Q4ZV845Bk5JJi5LG15aWL5btz5b185pFh5pRk5pZs5px558Nc6ItI6KR16cFp6pBI66lx7ZxQ7aNO7q1h7rR17tjW76BO78BX8KpP8LJk8buC8stZ9LhX9Net9PPz9efR9fHz9fX198BY98dz98xX99/s9+Lt9+3R+MVe+N2d+dOA+deU+eat+sBQ+stf+8hm+8xZ+9Bw/Lzd/MtQ/N2E/N6G/dlx/sxP/s5R/tRa/tZk/tdp/9JQ/9JR/9NThpihEAAAAAN0Uk5TAFJ4LCUCBgAAAKRJREFUOI1jYBgKgJEJL2BkYCcAqKCAgwBgiCYAYApiQ/xCY/AoiLGR4Vb2wKkgyDxaUVhI0CjaEIcCH1N3aTVLL+9wgzDsCoLtdLS1lQJdoxwisCvQF+WTFWFxsVcQs8auwFjCSY6TmZ/HQtwRuwJPtwApKU09SV9bf+wKdFWc1TVMBOStVM2wK2Bj1YqODI6I5mXlwq4AHyAcWXRIMAQT7VAAACQKgMq9uRSqAAAAAElFTkSuQmCC',
'front' => true,
'[new]' => false,
'[accessible]' => [
[maximum depth reached]
],
'[dirty]' => [[maximum depth reached]],
'[original]' => [[maximum depth reached]],
'[virtual]' => [[maximum depth reached]],
'[hasErrors]' => false,
'[errors]' => [[maximum depth reached]],
'[invalid]' => [[maximum depth reached]],
'[repository]' => 'Locales'
},
(int) 2 => object(App\Model\Entity\Locale) {
'id' => '99c33239-48e4-4692-adb0-30a7c352e556',
'locale' => 'en',
'name' => 'English',
'position' => (int) 0,
'active' => true,
'flag' => 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAAA3QAAAN0BcFOiBwAAABl0RVh0U29mdHdhcmUAd3d3Lmlua3NjYXBlLm9yZ5vuPBoAAATuSURBVFiF7ZdrUNRlFMZ/+2dhXVoW5DJcAgTjamopziiWYuhMYpHGRUk0Gs1gIshboIYMoWNqahQyig41hJLXcgSvQ6VyS2WE1IBABRSZ5b673BZYdvtQ4QUYHb7QB55v7zlz5nnOvO+c57wivV7PSEIYUfZRAf8HAeJL65MbJ8UuvSQ2EveVPewy3naqxkPZ0SsZqmD+KxYPI9+0u9/iH+n9eNw8K6Uw5UKd4/k/ml98FqmrjVQd/65DhTg1015suzvFsuHM+SDV6nA8Q3xIWeHCrqxaUnPq6NbqBhR7jTdxBLx7coueTjk2tvWQW64aktja1IiNixxZ0ldDh1/CRM3tSgR1oD/CnWrGRsRQ89YnNBf9ReJiJ4q+9CJ4hhUi0bP6eTakRgIx/g4UhZmxMHk7qoBotOX3MF4ZiJDptwz1qTQ0Pt5I8q8jXfghle8nIGlt5eBH7vwS9yoz3UyHRSyIIPR1a4rXOhP56yE6fMPozilEMn8WlgWZyHfHICSdrcXvmJqL0bG0pu2hz9MFk9Pn0M8OoXRdMu5mcHbDJDKjPHG1kT43ue/LZuTFerKj/jdEc96jK+M0hpPdMM/ex9gju1Db2bMh8x4iArL7R6GLjZSEwHE45ediuf97qKsHK3OaVoXhuSYYvYFAVYMGVxspCrPpTxDaKK+ScKKaizdb2RrkyIziXNq3HUBX34yBvQ2yzRFIF89Ho9WTmlPH7uxa1F3aJwX8B283OYnv2GF8+CcsM46iV7ejc3VGGb2KCcvnAgwqoKpBg23JDdrjk9GW30MklyFbG4ZxRAhIjDh+tZEtJ6t50NzdXyc6kVs1qBkIgoiZrnI661tQXLn1iMhnMub2FoMK0LWo6L1R2h8znOKJYGEGQF1rN6W1nQN4REqlclhuNJiA4UBUjvuI2uGIj+JRASP+CMU5t1oHBCfYG2M39h9D1DUr6S0u688ZTp2AYD74aG6pbUZx+eYjUbMnYWxtTkGlGp1u8D7FQV//2X9wsJCwOdAJWzMJek0PnfuP0L4nHb26HbHHeGSJUdRoJTgP0Y25vQUKnQ6zbw8iVFbRK5dxd/kSTEIDiD9TR2GFekCNACCXivki2Inr27xYPN0SzbFzNE0Lpi0hBZFUgvybjdw8sBffPCnpVxRD0EOlogu3UF+sCw7TtGkNeokRFilpOASt4CvjuxyK9MDlKT8RIubZUbJjGp/62SNcLaH5jQ9QhSega1Ehi11JU1YGy5pcCEgqo7S2Y0hygMN59XjH3eDCbSUTY0IwuXaclpXLECnVWMZvZ0r0GjK8NOwMfQkLmSHw7yPUVlTTFr+X7vO5IAhIQ9+mK2oFW/La+TG/nsevb/UCexKCnIY0o6SztQDMdDNl6xJnpjrLaLijQJW4H5PsC6DTofHxpuezcDIVUsTqdTvpTD8F2j4k87wRx31McpWE5D1VdPUM3IieFwUVKuZuLSFouhXxgU64/pBAVW4wwvZ9jLlcyJj8ayxduABxZ9pJxBNdeSExiqMG4/gy/T71qp5hEz8OvR6O/97I6aJmwufZsd7fHfmZvZQduYxpUiryk1mIZXER17ThS2s///mBW6WiUe5mK8XNdujFw8rE6CFw32jWNO+nUoVWJkaOszxMB11Ki6vbiPzuTvemRePKPUN8OrUBrxnc2pE5RzT6NRsVMNIC/gaY0PLtJgQJ0gAAAABJRU5ErkJggg==',
'front' => true,
'[new]' => false,
'[accessible]' => [
[maximum depth reached]
],
'[dirty]' => [[maximum depth reached]],
'[original]' => [[maximum depth reached]],
'[virtual]' => [[maximum depth reached]],
'[hasErrors]' => false,
'[errors]' => [[maximum depth reached]],
'[invalid]' => [[maximum depth reached]],
'[repository]' => 'Locales'
},
(int) 3 => object(App\Model\Entity\Locale) {
'id' => 'a20c3c73-53c0-11e9-bb3d-7054d219d6c5',
'locale' => 'de',
'name' => 'Deutsch',
'position' => (int) 0,
'active' => true,
'flag' => 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgBAMAAACBVGfHAAAAA3NCSVQICAjb4U/gAAAACXBIWXMAAADdAAAA3QFwU6IHAAAAGXRFWHRTb2Z0d2FyZQB3d3cuaW5rc2NhcGUub3Jnm+48GgAAAB5QTFRF////SEhU/+BaRkZV/+FZwUlV/31WRkZV/0tV/+FagNv1tgAAAAd0Uk5TAFJSeHjAwPIGe2oAAAAqSURBVCjPY2FAAyzUEBBWQOH/Y0mhhS0YAvfQBYyHs7Xd6IF85w71bQEAwy4HmS9PAQYAAAAASUVORK5CYII=',
'front' => true,
'[new]' => false,
'[accessible]' => [
[maximum depth reached]
],
'[dirty]' => [[maximum depth reached]],
'[original]' => [[maximum depth reached]],
'[virtual]' => [[maximum depth reached]],
'[hasErrors]' => false,
'[errors]' => [[maximum depth reached]],
'[invalid]' => [[maximum depth reached]],
'[repository]' => 'Locales'
}
]
$session = object(Cake\Http\Session) {
[protected] _engine => null
[protected] _started => true
[protected] _lifetime => (int) 86400
[protected] _isCLI => false
}
$lng = 'la-maison'
$currentLocal = 'la-maison'
$settingsDB = object(SoftDelete\ORM\Query) {
'(help)' => 'This is a Query object, to get the results execute or iterate it.',
'sql' => 'SELECT Settings.id AS `Settings__id`, Settings.meta_key AS `Settings__meta_key`, Settings.meta_value AS `Settings__meta_value`, Settings.name AS `Settings__name`, Settings.description AS `Settings__description`, Settings.deleted AS `Settings__deleted`, Settings_meta_value_translation.id AS `Settings_meta_value_translation__id`, Settings_meta_value_translation.locale AS `Settings_meta_value_translation__locale`, Settings_meta_value_translation.model AS `Settings_meta_value_translation__model`, Settings_meta_value_translation.foreign_key AS `Settings_meta_value_translation__foreign_key`, Settings_meta_value_translation.field AS `Settings_meta_value_translation__field`, Settings_meta_value_translation.content AS `Settings_meta_value_translation__content`, Settings_name_translation.id AS `Settings_name_translation__id`, Settings_name_translation.locale AS `Settings_name_translation__locale`, Settings_name_translation.model AS `Settings_name_translation__model`, Settings_name_translation.foreign_key AS `Settings_name_translation__foreign_key`, Settings_name_translation.field AS `Settings_name_translation__field`, Settings_name_translation.content AS `Settings_name_translation__content`, Settings_description_translation.id AS `Settings_description_translation__id`, Settings_description_translation.locale AS `Settings_description_translation__locale`, Settings_description_translation.model AS `Settings_description_translation__model`, Settings_description_translation.foreign_key AS `Settings_description_translation__foreign_key`, Settings_description_translation.field AS `Settings_description_translation__field`, Settings_description_translation.content AS `Settings_description_translation__content` FROM settings Settings LEFT JOIN i18n Settings_meta_value_translation ON (Settings_meta_value_translation.model = :c0 AND Settings_meta_value_translation.field = :c1 AND Settings_meta_value_translation.locale = :c2 AND Settings.id = (Settings_meta_value_translation.foreign_key)) LEFT JOIN i18n Settings_name_translation ON (Settings_name_translation.model = :c3 AND Settings_name_translation.field = :c4 AND Settings_name_translation.locale = :c5 AND Settings.id = (Settings_name_translation.foreign_key)) LEFT JOIN i18n Settings_description_translation ON (Settings_description_translation.model = :c6 AND Settings_description_translation.field = :c7 AND Settings_description_translation.locale = :c8 AND Settings.id = (Settings_description_translation.foreign_key)) WHERE Settings.deleted IS NULL',
'params' => [
':c0' => [
[maximum depth reached]
],
':c1' => [
[maximum depth reached]
],
':c2' => [
[maximum depth reached]
],
':c3' => [
[maximum depth reached]
],
':c4' => [
[maximum depth reached]
],
':c5' => [
[maximum depth reached]
],
':c6' => [
[maximum depth reached]
],
':c7' => [
[maximum depth reached]
],
':c8' => [
[maximum depth reached]
]
],
'defaultTypes' => [
'Settings__id' => 'uuid',
'Settings.id' => 'uuid',
'id' => 'uuid',
'Settings__meta_key' => 'string',
'Settings.meta_key' => 'string',
'meta_key' => 'string',
'Settings__meta_value' => 'text',
'Settings.meta_value' => 'text',
'meta_value' => 'text',
'Settings__name' => 'string',
'Settings.name' => 'string',
'name' => 'string',
'Settings__description' => 'text',
'Settings.description' => 'text',
'description' => 'text',
'Settings__deleted' => 'datetime',
'Settings.deleted' => 'datetime',
'deleted' => 'datetime',
'I18n__id' => 'integer',
'I18n.id' => 'integer',
'I18n__locale' => 'string',
'I18n.locale' => 'string',
'locale' => 'string',
'I18n__model' => 'string',
'I18n.model' => 'string',
'model' => 'string',
'I18n__foreign_key' => 'uuid',
'I18n.foreign_key' => 'uuid',
'foreign_key' => 'uuid',
'I18n__field' => 'string',
'I18n.field' => 'string',
'field' => 'string',
'I18n__content' => 'text',
'I18n.content' => 'text',
'content' => 'text',
'Settings_meta_value_translation__id' => 'integer',
'Settings_meta_value_translation.id' => 'integer',
'Settings_meta_value_translation__locale' => 'string',
'Settings_meta_value_translation.locale' => 'string',
'Settings_meta_value_translation__model' => 'string',
'Settings_meta_value_translation.model' => 'string',
'Settings_meta_value_translation__foreign_key' => 'uuid',
'Settings_meta_value_translation.foreign_key' => 'uuid',
'Settings_meta_value_translation__field' => 'string',
'Settings_meta_value_translation.field' => 'string',
'Settings_meta_value_translation__content' => 'text',
'Settings_meta_value_translation.content' => 'text',
'Settings_name_translation__id' => 'integer',
'Settings_name_translation.id' => 'integer',
'Settings_name_translation__locale' => 'string',
'Settings_name_translation.locale' => 'string',
'Settings_name_translation__model' => 'string',
'Settings_name_translation.model' => 'string',
'Settings_name_translation__foreign_key' => 'uuid',
'Settings_name_translation.foreign_key' => 'uuid',
'Settings_name_translation__field' => 'string',
'Settings_name_translation.field' => 'string',
'Settings_name_translation__content' => 'text',
'Settings_name_translation.content' => 'text',
'Settings_description_translation__id' => 'integer',
'Settings_description_translation.id' => 'integer',
'Settings_description_translation__locale' => 'string',
'Settings_description_translation.locale' => 'string',
'Settings_description_translation__model' => 'string',
'Settings_description_translation.model' => 'string',
'Settings_description_translation__foreign_key' => 'uuid',
'Settings_description_translation.foreign_key' => 'uuid',
'Settings_description_translation__field' => 'string',
'Settings_description_translation.field' => 'string',
'Settings_description_translation__content' => 'text',
'Settings_description_translation.content' => 'text'
],
'decorators' => (int) 0,
'executed' => true,
'hydrate' => true,
'buffered' => true,
'formatters' => (int) 2,
'mapReducers' => (int) 0,
'contain' => [
'I18n' => [
[maximum depth reached]
],
'Settings_meta_value_translation' => [
[maximum depth reached]
],
'Settings_name_translation' => [
[maximum depth reached]
],
'Settings_description_translation' => [
[maximum depth reached]
]
],
'matching' => [],
'extraOptions' => [],
'repository' => object(App\Model\Table\SettingsTable) {}
}
$settings = [
'copyright' => null,
'facebook' => null
]
$titles = [
'copyright' => null,
'facebook' => null
]
$key = (int) 2
$s = object(App\Model\Entity\Setting) {
'id' => '0f69a236-490d-4c7e-ac87-f42e2c4f39da',
'meta_key' => 'title_faq',
'meta_value' => '',
'name' => 'FAQ',
'description' => '',
'deleted' => null,
'_locale' => 'la-maison',
'_translations' => [
'fr' => object(App\Model\Entity\Setting) {},
'en' => object(App\Model\Entity\Setting) {},
'es' => object(App\Model\Entity\Setting) {},
'pt' => object(App\Model\Entity\Setting) {},
'de' => object(App\Model\Entity\Setting) {},
'it' => object(App\Model\Entity\Setting) {}
],
'[new]' => false,
'[accessible]' => [
'meta_key' => true,
'meta_value' => true,
'name' => true,
'description' => true
],
'[dirty]' => [],
'[original]' => [],
'[virtual]' => [],
'[hasErrors]' => false,
'[errors]' => [],
'[invalid]' => [],
'[repository]' => 'Settings'
}
App\Controller\AppController::initialize() - APP/Controller/AppController.php, line 110
App\Controller\PagesController::initialize() - APP/Controller/PagesController.php, line 38
Cake\Controller\Controller::__construct() - CORE/src/Controller/Controller.php, line 273
ReflectionClass::newInstance() - [internal], line ??
Cake\Http\ControllerFactory::create() - CORE/src/Http/ControllerFactory.php, line 47
Cake\Http\ActionDispatcher::dispatch() - CORE/src/Http/ActionDispatcher.php, line 91
Cake\Http\BaseApplication::__invoke() - CORE/src/Http/BaseApplication.php, line 235
Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65
Cake\Routing\Middleware\RoutingMiddleware::__invoke() - CORE/src/Routing/Middleware/RoutingMiddleware.php, line 162
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 96
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 98
[main] - ROOT/webroot/index.php, line 40
Notice (8): Trying to get property of non-object [APP/Controller/AppController.php, line 110]Code Context foreach ($settingsDB as $key => $s) {
$settings[$s->meta_key] = $s->_translations[$this->getCurrentLocale()]->meta_value;
$titles[$s->meta_key] = $s->_translations[$this->getCurrentLocale()]->name;
$locales = [
(int) 0 => object(App\Model\Entity\Locale) {
'id' => 'c79e08dd-4b98-40da-812f-166a5627cafe',
'locale' => 'fr',
'name' => 'French',
'position' => (int) 1,
'active' => true,
'flag' => 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgBAMAAACBVGfHAAAAA3NCSVQICAjb4U/gAAAACXBIWXMAAADdAAAA3QFwU6IHAAAAGXRFWHRTb2Z0d2FyZQB3d3cuaW5rc2NhcGUub3Jnm+48GgAAACdQTFRF////QUib/0tUh4y+/XiAQkab9PT0/0pVkpTC/mRtQUeb9fX1/0tVpPINxQAAAAp0Uk5TAFJSamp4eHjGxmzCt2wAAAArSURBVCjPY2RAA4zUEBB1AJIPDYDEP2Eg8ZtxFQOKAMOoAOUCGIFMi6gEAD39PvX2T/ZKAAAAAElFTkSuQmCC',
'front' => true,
'[new]' => false,
'[accessible]' => [
[maximum depth reached]
],
'[dirty]' => [[maximum depth reached]],
'[original]' => [[maximum depth reached]],
'[virtual]' => [[maximum depth reached]],
'[hasErrors]' => false,
'[errors]' => [[maximum depth reached]],
'[invalid]' => [[maximum depth reached]],
'[repository]' => 'Locales'
},
(int) 1 => object(App\Model\Entity\Locale) {
'id' => '073aae08-53c1-11e9-bb3d-7054d219d6c5',
'locale' => 'es',
'name' => 'Español',
'position' => (int) 0,
'active' => true,
'flag' => 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAMAAABEpIrGAAAAA3NCSVQICAjb4U/gAAAACXBIWXMAAADdAAAA3QFwU6IHAAAAGXRFWHRTb2Z0d2FyZQB3d3cuaW5rc2NhcGUub3Jnm+48GgAAARpQTFRF////x0FLyEJKgXaZoI6wuKV1watwyEFLy0pLzntc0rZn1GJZ1WVW1bhm1mxd13JW13Vx2nFQ229L23JN23xM3IyF3I+V3JKY3Y2G3nVJ33dJ34Zs4JOA4XhH4X9Q4ZV845Bk5JJi5LG15aWL5btz5b185pFh5pRk5pZs5px558Nc6ItI6KR16cFp6pBI66lx7ZxQ7aNO7q1h7rR17tjW76BO78BX8KpP8LJk8buC8stZ9LhX9Net9PPz9efR9fHz9fX198BY98dz98xX99/s9+Lt9+3R+MVe+N2d+dOA+deU+eat+sBQ+stf+8hm+8xZ+9Bw/Lzd/MtQ/N2E/N6G/dlx/sxP/s5R/tRa/tZk/tdp/9JQ/9JR/9NThpihEAAAAAN0Uk5TAFJ4LCUCBgAAAKRJREFUOI1jYBgKgJEJL2BkYCcAqKCAgwBgiCYAYApiQ/xCY/AoiLGR4Vb2wKkgyDxaUVhI0CjaEIcCH1N3aTVLL+9wgzDsCoLtdLS1lQJdoxwisCvQF+WTFWFxsVcQs8auwFjCSY6TmZ/HQtwRuwJPtwApKU09SV9bf+wKdFWc1TVMBOStVM2wK2Bj1YqODI6I5mXlwq4AHyAcWXRIMAQT7VAAACQKgMq9uRSqAAAAAElFTkSuQmCC',
'front' => true,
'[new]' => false,
'[accessible]' => [
[maximum depth reached]
],
'[dirty]' => [[maximum depth reached]],
'[original]' => [[maximum depth reached]],
'[virtual]' => [[maximum depth reached]],
'[hasErrors]' => false,
'[errors]' => [[maximum depth reached]],
'[invalid]' => [[maximum depth reached]],
'[repository]' => 'Locales'
},
(int) 2 => object(App\Model\Entity\Locale) {
'id' => '99c33239-48e4-4692-adb0-30a7c352e556',
'locale' => 'en',
'name' => 'English',
'position' => (int) 0,
'active' => true,
'flag' => 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAAA3QAAAN0BcFOiBwAAABl0RVh0U29mdHdhcmUAd3d3Lmlua3NjYXBlLm9yZ5vuPBoAAATuSURBVFiF7ZdrUNRlFMZ/+2dhXVoW5DJcAgTjamopziiWYuhMYpHGRUk0Gs1gIshboIYMoWNqahQyig41hJLXcgSvQ6VyS2WE1IBABRSZ5b673BZYdvtQ4QUYHb7QB55v7zlz5nnOvO+c57wivV7PSEIYUfZRAf8HAeJL65MbJ8UuvSQ2EveVPewy3naqxkPZ0SsZqmD+KxYPI9+0u9/iH+n9eNw8K6Uw5UKd4/k/ml98FqmrjVQd/65DhTg1015suzvFsuHM+SDV6nA8Q3xIWeHCrqxaUnPq6NbqBhR7jTdxBLx7coueTjk2tvWQW64aktja1IiNixxZ0ldDh1/CRM3tSgR1oD/CnWrGRsRQ89YnNBf9ReJiJ4q+9CJ4hhUi0bP6eTakRgIx/g4UhZmxMHk7qoBotOX3MF4ZiJDptwz1qTQ0Pt5I8q8jXfghle8nIGlt5eBH7vwS9yoz3UyHRSyIIPR1a4rXOhP56yE6fMPozilEMn8WlgWZyHfHICSdrcXvmJqL0bG0pu2hz9MFk9Pn0M8OoXRdMu5mcHbDJDKjPHG1kT43ue/LZuTFerKj/jdEc96jK+M0hpPdMM/ex9gju1Db2bMh8x4iArL7R6GLjZSEwHE45ediuf97qKsHK3OaVoXhuSYYvYFAVYMGVxspCrPpTxDaKK+ScKKaizdb2RrkyIziXNq3HUBX34yBvQ2yzRFIF89Ho9WTmlPH7uxa1F3aJwX8B283OYnv2GF8+CcsM46iV7ejc3VGGb2KCcvnAgwqoKpBg23JDdrjk9GW30MklyFbG4ZxRAhIjDh+tZEtJ6t50NzdXyc6kVs1qBkIgoiZrnI661tQXLn1iMhnMub2FoMK0LWo6L1R2h8znOKJYGEGQF1rN6W1nQN4REqlclhuNJiA4UBUjvuI2uGIj+JRASP+CMU5t1oHBCfYG2M39h9D1DUr6S0u688ZTp2AYD74aG6pbUZx+eYjUbMnYWxtTkGlGp1u8D7FQV//2X9wsJCwOdAJWzMJek0PnfuP0L4nHb26HbHHeGSJUdRoJTgP0Y25vQUKnQ6zbw8iVFbRK5dxd/kSTEIDiD9TR2GFekCNACCXivki2Inr27xYPN0SzbFzNE0Lpi0hBZFUgvybjdw8sBffPCnpVxRD0EOlogu3UF+sCw7TtGkNeokRFilpOASt4CvjuxyK9MDlKT8RIubZUbJjGp/62SNcLaH5jQ9QhSega1Ehi11JU1YGy5pcCEgqo7S2Y0hygMN59XjH3eDCbSUTY0IwuXaclpXLECnVWMZvZ0r0GjK8NOwMfQkLmSHw7yPUVlTTFr+X7vO5IAhIQ9+mK2oFW/La+TG/nsevb/UCexKCnIY0o6SztQDMdDNl6xJnpjrLaLijQJW4H5PsC6DTofHxpuezcDIVUsTqdTvpTD8F2j4k87wRx31McpWE5D1VdPUM3IieFwUVKuZuLSFouhXxgU64/pBAVW4wwvZ9jLlcyJj8ayxduABxZ9pJxBNdeSExiqMG4/gy/T71qp5hEz8OvR6O/97I6aJmwufZsd7fHfmZvZQduYxpUiryk1mIZXER17ThS2s///mBW6WiUe5mK8XNdujFw8rE6CFw32jWNO+nUoVWJkaOszxMB11Ki6vbiPzuTvemRePKPUN8OrUBrxnc2pE5RzT6NRsVMNIC/gaY0PLtJgQJ0gAAAABJRU5ErkJggg==',
'front' => true,
'[new]' => false,
'[accessible]' => [
[maximum depth reached]
],
'[dirty]' => [[maximum depth reached]],
'[original]' => [[maximum depth reached]],
'[virtual]' => [[maximum depth reached]],
'[hasErrors]' => false,
'[errors]' => [[maximum depth reached]],
'[invalid]' => [[maximum depth reached]],
'[repository]' => 'Locales'
},
(int) 3 => object(App\Model\Entity\Locale) {
'id' => 'a20c3c73-53c0-11e9-bb3d-7054d219d6c5',
'locale' => 'de',
'name' => 'Deutsch',
'position' => (int) 0,
'active' => true,
'flag' => 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgBAMAAACBVGfHAAAAA3NCSVQICAjb4U/gAAAACXBIWXMAAADdAAAA3QFwU6IHAAAAGXRFWHRTb2Z0d2FyZQB3d3cuaW5rc2NhcGUub3Jnm+48GgAAAB5QTFRF////SEhU/+BaRkZV/+FZwUlV/31WRkZV/0tV/+FagNv1tgAAAAd0Uk5TAFJSeHjAwPIGe2oAAAAqSURBVCjPY2FAAyzUEBBWQOH/Y0mhhS0YAvfQBYyHs7Xd6IF85w71bQEAwy4HmS9PAQYAAAAASUVORK5CYII=',
'front' => true,
'[new]' => false,
'[accessible]' => [
[maximum depth reached]
],
'[dirty]' => [[maximum depth reached]],
'[original]' => [[maximum depth reached]],
'[virtual]' => [[maximum depth reached]],
'[hasErrors]' => false,
'[errors]' => [[maximum depth reached]],
'[invalid]' => [[maximum depth reached]],
'[repository]' => 'Locales'
}
]
$session = object(Cake\Http\Session) {
[protected] _engine => null
[protected] _started => true
[protected] _lifetime => (int) 86400
[protected] _isCLI => false
}
$lng = 'la-maison'
$currentLocal = 'la-maison'
$settingsDB = object(SoftDelete\ORM\Query) {
'(help)' => 'This is a Query object, to get the results execute or iterate it.',
'sql' => 'SELECT Settings.id AS `Settings__id`, Settings.meta_key AS `Settings__meta_key`, Settings.meta_value AS `Settings__meta_value`, Settings.name AS `Settings__name`, Settings.description AS `Settings__description`, Settings.deleted AS `Settings__deleted`, Settings_meta_value_translation.id AS `Settings_meta_value_translation__id`, Settings_meta_value_translation.locale AS `Settings_meta_value_translation__locale`, Settings_meta_value_translation.model AS `Settings_meta_value_translation__model`, Settings_meta_value_translation.foreign_key AS `Settings_meta_value_translation__foreign_key`, Settings_meta_value_translation.field AS `Settings_meta_value_translation__field`, Settings_meta_value_translation.content AS `Settings_meta_value_translation__content`, Settings_name_translation.id AS `Settings_name_translation__id`, Settings_name_translation.locale AS `Settings_name_translation__locale`, Settings_name_translation.model AS `Settings_name_translation__model`, Settings_name_translation.foreign_key AS `Settings_name_translation__foreign_key`, Settings_name_translation.field AS `Settings_name_translation__field`, Settings_name_translation.content AS `Settings_name_translation__content`, Settings_description_translation.id AS `Settings_description_translation__id`, Settings_description_translation.locale AS `Settings_description_translation__locale`, Settings_description_translation.model AS `Settings_description_translation__model`, Settings_description_translation.foreign_key AS `Settings_description_translation__foreign_key`, Settings_description_translation.field AS `Settings_description_translation__field`, Settings_description_translation.content AS `Settings_description_translation__content` FROM settings Settings LEFT JOIN i18n Settings_meta_value_translation ON (Settings_meta_value_translation.model = :c0 AND Settings_meta_value_translation.field = :c1 AND Settings_meta_value_translation.locale = :c2 AND Settings.id = (Settings_meta_value_translation.foreign_key)) LEFT JOIN i18n Settings_name_translation ON (Settings_name_translation.model = :c3 AND Settings_name_translation.field = :c4 AND Settings_name_translation.locale = :c5 AND Settings.id = (Settings_name_translation.foreign_key)) LEFT JOIN i18n Settings_description_translation ON (Settings_description_translation.model = :c6 AND Settings_description_translation.field = :c7 AND Settings_description_translation.locale = :c8 AND Settings.id = (Settings_description_translation.foreign_key)) WHERE Settings.deleted IS NULL',
'params' => [
':c0' => [
[maximum depth reached]
],
':c1' => [
[maximum depth reached]
],
':c2' => [
[maximum depth reached]
],
':c3' => [
[maximum depth reached]
],
':c4' => [
[maximum depth reached]
],
':c5' => [
[maximum depth reached]
],
':c6' => [
[maximum depth reached]
],
':c7' => [
[maximum depth reached]
],
':c8' => [
[maximum depth reached]
]
],
'defaultTypes' => [
'Settings__id' => 'uuid',
'Settings.id' => 'uuid',
'id' => 'uuid',
'Settings__meta_key' => 'string',
'Settings.meta_key' => 'string',
'meta_key' => 'string',
'Settings__meta_value' => 'text',
'Settings.meta_value' => 'text',
'meta_value' => 'text',
'Settings__name' => 'string',
'Settings.name' => 'string',
'name' => 'string',
'Settings__description' => 'text',
'Settings.description' => 'text',
'description' => 'text',
'Settings__deleted' => 'datetime',
'Settings.deleted' => 'datetime',
'deleted' => 'datetime',
'I18n__id' => 'integer',
'I18n.id' => 'integer',
'I18n__locale' => 'string',
'I18n.locale' => 'string',
'locale' => 'string',
'I18n__model' => 'string',
'I18n.model' => 'string',
'model' => 'string',
'I18n__foreign_key' => 'uuid',
'I18n.foreign_key' => 'uuid',
'foreign_key' => 'uuid',
'I18n__field' => 'string',
'I18n.field' => 'string',
'field' => 'string',
'I18n__content' => 'text',
'I18n.content' => 'text',
'content' => 'text',
'Settings_meta_value_translation__id' => 'integer',
'Settings_meta_value_translation.id' => 'integer',
'Settings_meta_value_translation__locale' => 'string',
'Settings_meta_value_translation.locale' => 'string',
'Settings_meta_value_translation__model' => 'string',
'Settings_meta_value_translation.model' => 'string',
'Settings_meta_value_translation__foreign_key' => 'uuid',
'Settings_meta_value_translation.foreign_key' => 'uuid',
'Settings_meta_value_translation__field' => 'string',
'Settings_meta_value_translation.field' => 'string',
'Settings_meta_value_translation__content' => 'text',
'Settings_meta_value_translation.content' => 'text',
'Settings_name_translation__id' => 'integer',
'Settings_name_translation.id' => 'integer',
'Settings_name_translation__locale' => 'string',
'Settings_name_translation.locale' => 'string',
'Settings_name_translation__model' => 'string',
'Settings_name_translation.model' => 'string',
'Settings_name_translation__foreign_key' => 'uuid',
'Settings_name_translation.foreign_key' => 'uuid',
'Settings_name_translation__field' => 'string',
'Settings_name_translation.field' => 'string',
'Settings_name_translation__content' => 'text',
'Settings_name_translation.content' => 'text',
'Settings_description_translation__id' => 'integer',
'Settings_description_translation.id' => 'integer',
'Settings_description_translation__locale' => 'string',
'Settings_description_translation.locale' => 'string',
'Settings_description_translation__model' => 'string',
'Settings_description_translation.model' => 'string',
'Settings_description_translation__foreign_key' => 'uuid',
'Settings_description_translation.foreign_key' => 'uuid',
'Settings_description_translation__field' => 'string',
'Settings_description_translation.field' => 'string',
'Settings_description_translation__content' => 'text',
'Settings_description_translation.content' => 'text'
],
'decorators' => (int) 0,
'executed' => true,
'hydrate' => true,
'buffered' => true,
'formatters' => (int) 2,
'mapReducers' => (int) 0,
'contain' => [
'I18n' => [
[maximum depth reached]
],
'Settings_meta_value_translation' => [
[maximum depth reached]
],
'Settings_name_translation' => [
[maximum depth reached]
],
'Settings_description_translation' => [
[maximum depth reached]
]
],
'matching' => [],
'extraOptions' => [],
'repository' => object(App\Model\Table\SettingsTable) {}
}
$settings = [
'copyright' => null,
'facebook' => null
]
$titles = [
'copyright' => null,
'facebook' => null
]
$key = (int) 2
$s = object(App\Model\Entity\Setting) {
'id' => '0f69a236-490d-4c7e-ac87-f42e2c4f39da',
'meta_key' => 'title_faq',
'meta_value' => '',
'name' => 'FAQ',
'description' => '',
'deleted' => null,
'_locale' => 'la-maison',
'_translations' => [
'fr' => object(App\Model\Entity\Setting) {},
'en' => object(App\Model\Entity\Setting) {},
'es' => object(App\Model\Entity\Setting) {},
'pt' => object(App\Model\Entity\Setting) {},
'de' => object(App\Model\Entity\Setting) {},
'it' => object(App\Model\Entity\Setting) {}
],
'[new]' => false,
'[accessible]' => [
'meta_key' => true,
'meta_value' => true,
'name' => true,
'description' => true
],
'[dirty]' => [],
'[original]' => [],
'[virtual]' => [],
'[hasErrors]' => false,
'[errors]' => [],
'[invalid]' => [],
'[repository]' => 'Settings'
}
App\Controller\AppController::initialize() - APP/Controller/AppController.php, line 110
App\Controller\PagesController::initialize() - APP/Controller/PagesController.php, line 38
Cake\Controller\Controller::__construct() - CORE/src/Controller/Controller.php, line 273
ReflectionClass::newInstance() - [internal], line ??
Cake\Http\ControllerFactory::create() - CORE/src/Http/ControllerFactory.php, line 47
Cake\Http\ActionDispatcher::dispatch() - CORE/src/Http/ActionDispatcher.php, line 91
Cake\Http\BaseApplication::__invoke() - CORE/src/Http/BaseApplication.php, line 235
Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65
Cake\Routing\Middleware\RoutingMiddleware::__invoke() - CORE/src/Routing/Middleware/RoutingMiddleware.php, line 162
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 96
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 98
[main] - ROOT/webroot/index.php, line 40
Notice (8): Undefined index: la-maison [APP/Controller/AppController.php, line 111]Code Context $settings[$s->meta_key] = $s->_translations[$this->getCurrentLocale()]->meta_value;
$titles[$s->meta_key] = $s->_translations[$this->getCurrentLocale()]->name;
}
$locales = [
(int) 0 => object(App\Model\Entity\Locale) {
'id' => 'c79e08dd-4b98-40da-812f-166a5627cafe',
'locale' => 'fr',
'name' => 'French',
'position' => (int) 1,
'active' => true,
'flag' => 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgBAMAAACBVGfHAAAAA3NCSVQICAjb4U/gAAAACXBIWXMAAADdAAAA3QFwU6IHAAAAGXRFWHRTb2Z0d2FyZQB3d3cuaW5rc2NhcGUub3Jnm+48GgAAACdQTFRF////QUib/0tUh4y+/XiAQkab9PT0/0pVkpTC/mRtQUeb9fX1/0tVpPINxQAAAAp0Uk5TAFJSamp4eHjGxmzCt2wAAAArSURBVCjPY2RAA4zUEBB1AJIPDYDEP2Eg8ZtxFQOKAMOoAOUCGIFMi6gEAD39PvX2T/ZKAAAAAElFTkSuQmCC',
'front' => true,
'[new]' => false,
'[accessible]' => [
[maximum depth reached]
],
'[dirty]' => [[maximum depth reached]],
'[original]' => [[maximum depth reached]],
'[virtual]' => [[maximum depth reached]],
'[hasErrors]' => false,
'[errors]' => [[maximum depth reached]],
'[invalid]' => [[maximum depth reached]],
'[repository]' => 'Locales'
},
(int) 1 => object(App\Model\Entity\Locale) {
'id' => '073aae08-53c1-11e9-bb3d-7054d219d6c5',
'locale' => 'es',
'name' => 'Español',
'position' => (int) 0,
'active' => true,
'flag' => 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAMAAABEpIrGAAAAA3NCSVQICAjb4U/gAAAACXBIWXMAAADdAAAA3QFwU6IHAAAAGXRFWHRTb2Z0d2FyZQB3d3cuaW5rc2NhcGUub3Jnm+48GgAAARpQTFRF////x0FLyEJKgXaZoI6wuKV1watwyEFLy0pLzntc0rZn1GJZ1WVW1bhm1mxd13JW13Vx2nFQ229L23JN23xM3IyF3I+V3JKY3Y2G3nVJ33dJ34Zs4JOA4XhH4X9Q4ZV845Bk5JJi5LG15aWL5btz5b185pFh5pRk5pZs5px558Nc6ItI6KR16cFp6pBI66lx7ZxQ7aNO7q1h7rR17tjW76BO78BX8KpP8LJk8buC8stZ9LhX9Net9PPz9efR9fHz9fX198BY98dz98xX99/s9+Lt9+3R+MVe+N2d+dOA+deU+eat+sBQ+stf+8hm+8xZ+9Bw/Lzd/MtQ/N2E/N6G/dlx/sxP/s5R/tRa/tZk/tdp/9JQ/9JR/9NThpihEAAAAAN0Uk5TAFJ4LCUCBgAAAKRJREFUOI1jYBgKgJEJL2BkYCcAqKCAgwBgiCYAYApiQ/xCY/AoiLGR4Vb2wKkgyDxaUVhI0CjaEIcCH1N3aTVLL+9wgzDsCoLtdLS1lQJdoxwisCvQF+WTFWFxsVcQs8auwFjCSY6TmZ/HQtwRuwJPtwApKU09SV9bf+wKdFWc1TVMBOStVM2wK2Bj1YqODI6I5mXlwq4AHyAcWXRIMAQT7VAAACQKgMq9uRSqAAAAAElFTkSuQmCC',
'front' => true,
'[new]' => false,
'[accessible]' => [
[maximum depth reached]
],
'[dirty]' => [[maximum depth reached]],
'[original]' => [[maximum depth reached]],
'[virtual]' => [[maximum depth reached]],
'[hasErrors]' => false,
'[errors]' => [[maximum depth reached]],
'[invalid]' => [[maximum depth reached]],
'[repository]' => 'Locales'
},
(int) 2 => object(App\Model\Entity\Locale) {
'id' => '99c33239-48e4-4692-adb0-30a7c352e556',
'locale' => 'en',
'name' => 'English',
'position' => (int) 0,
'active' => true,
'flag' => 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAAA3QAAAN0BcFOiBwAAABl0RVh0U29mdHdhcmUAd3d3Lmlua3NjYXBlLm9yZ5vuPBoAAATuSURBVFiF7ZdrUNRlFMZ/+2dhXVoW5DJcAgTjamopziiWYuhMYpHGRUk0Gs1gIshboIYMoWNqahQyig41hJLXcgSvQ6VyS2WE1IBABRSZ5b673BZYdvtQ4QUYHb7QB55v7zlz5nnOvO+c57wivV7PSEIYUfZRAf8HAeJL65MbJ8UuvSQ2EveVPewy3naqxkPZ0SsZqmD+KxYPI9+0u9/iH+n9eNw8K6Uw5UKd4/k/ml98FqmrjVQd/65DhTg1015suzvFsuHM+SDV6nA8Q3xIWeHCrqxaUnPq6NbqBhR7jTdxBLx7coueTjk2tvWQW64aktja1IiNixxZ0ldDh1/CRM3tSgR1oD/CnWrGRsRQ89YnNBf9ReJiJ4q+9CJ4hhUi0bP6eTakRgIx/g4UhZmxMHk7qoBotOX3MF4ZiJDptwz1qTQ0Pt5I8q8jXfghle8nIGlt5eBH7vwS9yoz3UyHRSyIIPR1a4rXOhP56yE6fMPozilEMn8WlgWZyHfHICSdrcXvmJqL0bG0pu2hz9MFk9Pn0M8OoXRdMu5mcHbDJDKjPHG1kT43ue/LZuTFerKj/jdEc96jK+M0hpPdMM/ex9gju1Db2bMh8x4iArL7R6GLjZSEwHE45ediuf97qKsHK3OaVoXhuSYYvYFAVYMGVxspCrPpTxDaKK+ScKKaizdb2RrkyIziXNq3HUBX34yBvQ2yzRFIF89Ho9WTmlPH7uxa1F3aJwX8B283OYnv2GF8+CcsM46iV7ejc3VGGb2KCcvnAgwqoKpBg23JDdrjk9GW30MklyFbG4ZxRAhIjDh+tZEtJ6t50NzdXyc6kVs1qBkIgoiZrnI661tQXLn1iMhnMub2FoMK0LWo6L1R2h8znOKJYGEGQF1rN6W1nQN4REqlclhuNJiA4UBUjvuI2uGIj+JRASP+CMU5t1oHBCfYG2M39h9D1DUr6S0u688ZTp2AYD74aG6pbUZx+eYjUbMnYWxtTkGlGp1u8D7FQV//2X9wsJCwOdAJWzMJek0PnfuP0L4nHb26HbHHeGSJUdRoJTgP0Y25vQUKnQ6zbw8iVFbRK5dxd/kSTEIDiD9TR2GFekCNACCXivki2Inr27xYPN0SzbFzNE0Lpi0hBZFUgvybjdw8sBffPCnpVxRD0EOlogu3UF+sCw7TtGkNeokRFilpOASt4CvjuxyK9MDlKT8RIubZUbJjGp/62SNcLaH5jQ9QhSega1Ehi11JU1YGy5pcCEgqo7S2Y0hygMN59XjH3eDCbSUTY0IwuXaclpXLECnVWMZvZ0r0GjK8NOwMfQkLmSHw7yPUVlTTFr+X7vO5IAhIQ9+mK2oFW/La+TG/nsevb/UCexKCnIY0o6SztQDMdDNl6xJnpjrLaLijQJW4H5PsC6DTofHxpuezcDIVUsTqdTvpTD8F2j4k87wRx31McpWE5D1VdPUM3IieFwUVKuZuLSFouhXxgU64/pBAVW4wwvZ9jLlcyJj8ayxduABxZ9pJxBNdeSExiqMG4/gy/T71qp5hEz8OvR6O/97I6aJmwufZsd7fHfmZvZQduYxpUiryk1mIZXER17ThS2s///mBW6WiUe5mK8XNdujFw8rE6CFw32jWNO+nUoVWJkaOszxMB11Ki6vbiPzuTvemRePKPUN8OrUBrxnc2pE5RzT6NRsVMNIC/gaY0PLtJgQJ0gAAAABJRU5ErkJggg==',
'front' => true,
'[new]' => false,
'[accessible]' => [
[maximum depth reached]
],
'[dirty]' => [[maximum depth reached]],
'[original]' => [[maximum depth reached]],
'[virtual]' => [[maximum depth reached]],
'[hasErrors]' => false,
'[errors]' => [[maximum depth reached]],
'[invalid]' => [[maximum depth reached]],
'[repository]' => 'Locales'
},
(int) 3 => object(App\Model\Entity\Locale) {
'id' => 'a20c3c73-53c0-11e9-bb3d-7054d219d6c5',
'locale' => 'de',
'name' => 'Deutsch',
'position' => (int) 0,
'active' => true,
'flag' => 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgBAMAAACBVGfHAAAAA3NCSVQICAjb4U/gAAAACXBIWXMAAADdAAAA3QFwU6IHAAAAGXRFWHRTb2Z0d2FyZQB3d3cuaW5rc2NhcGUub3Jnm+48GgAAAB5QTFRF////SEhU/+BaRkZV/+FZwUlV/31WRkZV/0tV/+FagNv1tgAAAAd0Uk5TAFJSeHjAwPIGe2oAAAAqSURBVCjPY2FAAyzUEBBWQOH/Y0mhhS0YAvfQBYyHs7Xd6IF85w71bQEAwy4HmS9PAQYAAAAASUVORK5CYII=',
'front' => true,
'[new]' => false,
'[accessible]' => [
[maximum depth reached]
],
'[dirty]' => [[maximum depth reached]],
'[original]' => [[maximum depth reached]],
'[virtual]' => [[maximum depth reached]],
'[hasErrors]' => false,
'[errors]' => [[maximum depth reached]],
'[invalid]' => [[maximum depth reached]],
'[repository]' => 'Locales'
}
]
$session = object(Cake\Http\Session) {
[protected] _engine => null
[protected] _started => true
[protected] _lifetime => (int) 86400
[protected] _isCLI => false
}
$lng = 'la-maison'
$currentLocal = 'la-maison'
$settingsDB = object(SoftDelete\ORM\Query) {
'(help)' => 'This is a Query object, to get the results execute or iterate it.',
'sql' => 'SELECT Settings.id AS `Settings__id`, Settings.meta_key AS `Settings__meta_key`, Settings.meta_value AS `Settings__meta_value`, Settings.name AS `Settings__name`, Settings.description AS `Settings__description`, Settings.deleted AS `Settings__deleted`, Settings_meta_value_translation.id AS `Settings_meta_value_translation__id`, Settings_meta_value_translation.locale AS `Settings_meta_value_translation__locale`, Settings_meta_value_translation.model AS `Settings_meta_value_translation__model`, Settings_meta_value_translation.foreign_key AS `Settings_meta_value_translation__foreign_key`, Settings_meta_value_translation.field AS `Settings_meta_value_translation__field`, Settings_meta_value_translation.content AS `Settings_meta_value_translation__content`, Settings_name_translation.id AS `Settings_name_translation__id`, Settings_name_translation.locale AS `Settings_name_translation__locale`, Settings_name_translation.model AS `Settings_name_translation__model`, Settings_name_translation.foreign_key AS `Settings_name_translation__foreign_key`, Settings_name_translation.field AS `Settings_name_translation__field`, Settings_name_translation.content AS `Settings_name_translation__content`, Settings_description_translation.id AS `Settings_description_translation__id`, Settings_description_translation.locale AS `Settings_description_translation__locale`, Settings_description_translation.model AS `Settings_description_translation__model`, Settings_description_translation.foreign_key AS `Settings_description_translation__foreign_key`, Settings_description_translation.field AS `Settings_description_translation__field`, Settings_description_translation.content AS `Settings_description_translation__content` FROM settings Settings LEFT JOIN i18n Settings_meta_value_translation ON (Settings_meta_value_translation.model = :c0 AND Settings_meta_value_translation.field = :c1 AND Settings_meta_value_translation.locale = :c2 AND Settings.id = (Settings_meta_value_translation.foreign_key)) LEFT JOIN i18n Settings_name_translation ON (Settings_name_translation.model = :c3 AND Settings_name_translation.field = :c4 AND Settings_name_translation.locale = :c5 AND Settings.id = (Settings_name_translation.foreign_key)) LEFT JOIN i18n Settings_description_translation ON (Settings_description_translation.model = :c6 AND Settings_description_translation.field = :c7 AND Settings_description_translation.locale = :c8 AND Settings.id = (Settings_description_translation.foreign_key)) WHERE Settings.deleted IS NULL',
'params' => [
':c0' => [
[maximum depth reached]
],
':c1' => [
[maximum depth reached]
],
':c2' => [
[maximum depth reached]
],
':c3' => [
[maximum depth reached]
],
':c4' => [
[maximum depth reached]
],
':c5' => [
[maximum depth reached]
],
':c6' => [
[maximum depth reached]
],
':c7' => [
[maximum depth reached]
],
':c8' => [
[maximum depth reached]
]
],
'defaultTypes' => [
'Settings__id' => 'uuid',
'Settings.id' => 'uuid',
'id' => 'uuid',
'Settings__meta_key' => 'string',
'Settings.meta_key' => 'string',
'meta_key' => 'string',
'Settings__meta_value' => 'text',
'Settings.meta_value' => 'text',
'meta_value' => 'text',
'Settings__name' => 'string',
'Settings.name' => 'string',
'name' => 'string',
'Settings__description' => 'text',
'Settings.description' => 'text',
'description' => 'text',
'Settings__deleted' => 'datetime',
'Settings.deleted' => 'datetime',
'deleted' => 'datetime',
'I18n__id' => 'integer',
'I18n.id' => 'integer',
'I18n__locale' => 'string',
'I18n.locale' => 'string',
'locale' => 'string',
'I18n__model' => 'string',
'I18n.model' => 'string',
'model' => 'string',
'I18n__foreign_key' => 'uuid',
'I18n.foreign_key' => 'uuid',
'foreign_key' => 'uuid',
'I18n__field' => 'string',
'I18n.field' => 'string',
'field' => 'string',
'I18n__content' => 'text',
'I18n.content' => 'text',
'content' => 'text',
'Settings_meta_value_translation__id' => 'integer',
'Settings_meta_value_translation.id' => 'integer',
'Settings_meta_value_translation__locale' => 'string',
'Settings_meta_value_translation.locale' => 'string',
'Settings_meta_value_translation__model' => 'string',
'Settings_meta_value_translation.model' => 'string',
'Settings_meta_value_translation__foreign_key' => 'uuid',
'Settings_meta_value_translation.foreign_key' => 'uuid',
'Settings_meta_value_translation__field' => 'string',
'Settings_meta_value_translation.field' => 'string',
'Settings_meta_value_translation__content' => 'text',
'Settings_meta_value_translation.content' => 'text',
'Settings_name_translation__id' => 'integer',
'Settings_name_translation.id' => 'integer',
'Settings_name_translation__locale' => 'string',
'Settings_name_translation.locale' => 'string',
'Settings_name_translation__model' => 'string',
'Settings_name_translation.model' => 'string',
'Settings_name_translation__foreign_key' => 'uuid',
'Settings_name_translation.foreign_key' => 'uuid',
'Settings_name_translation__field' => 'string',
'Settings_name_translation.field' => 'string',
'Settings_name_translation__content' => 'text',
'Settings_name_translation.content' => 'text',
'Settings_description_translation__id' => 'integer',
'Settings_description_translation.id' => 'integer',
'Settings_description_translation__locale' => 'string',
'Settings_description_translation.locale' => 'string',
'Settings_description_translation__model' => 'string',
'Settings_description_translation.model' => 'string',
'Settings_description_translation__foreign_key' => 'uuid',
'Settings_description_translation.foreign_key' => 'uuid',
'Settings_description_translation__field' => 'string',
'Settings_description_translation.field' => 'string',
'Settings_description_translation__content' => 'text',
'Settings_description_translation.content' => 'text'
],
'decorators' => (int) 0,
'executed' => true,
'hydrate' => true,
'buffered' => true,
'formatters' => (int) 2,
'mapReducers' => (int) 0,
'contain' => [
'I18n' => [
[maximum depth reached]
],
'Settings_meta_value_translation' => [
[maximum depth reached]
],
'Settings_name_translation' => [
[maximum depth reached]
],
'Settings_description_translation' => [
[maximum depth reached]
]
],
'matching' => [],
'extraOptions' => [],
'repository' => object(App\Model\Table\SettingsTable) {}
}
$settings = [
'copyright' => null,
'facebook' => null,
'title_faq' => null
]
$titles = [
'copyright' => null,
'facebook' => null
]
$key = (int) 2
$s = object(App\Model\Entity\Setting) {
'id' => '0f69a236-490d-4c7e-ac87-f42e2c4f39da',
'meta_key' => 'title_faq',
'meta_value' => '',
'name' => 'FAQ',
'description' => '',
'deleted' => null,
'_locale' => 'la-maison',
'_translations' => [
'fr' => object(App\Model\Entity\Setting) {},
'en' => object(App\Model\Entity\Setting) {},
'es' => object(App\Model\Entity\Setting) {},
'pt' => object(App\Model\Entity\Setting) {},
'de' => object(App\Model\Entity\Setting) {},
'it' => object(App\Model\Entity\Setting) {}
],
'[new]' => false,
'[accessible]' => [
'meta_key' => true,
'meta_value' => true,
'name' => true,
'description' => true
],
'[dirty]' => [],
'[original]' => [],
'[virtual]' => [],
'[hasErrors]' => false,
'[errors]' => [],
'[invalid]' => [],
'[repository]' => 'Settings'
}
App\Controller\AppController::initialize() - APP/Controller/AppController.php, line 111
App\Controller\PagesController::initialize() - APP/Controller/PagesController.php, line 38
Cake\Controller\Controller::__construct() - CORE/src/Controller/Controller.php, line 273
ReflectionClass::newInstance() - [internal], line ??
Cake\Http\ControllerFactory::create() - CORE/src/Http/ControllerFactory.php, line 47
Cake\Http\ActionDispatcher::dispatch() - CORE/src/Http/ActionDispatcher.php, line 91
Cake\Http\BaseApplication::__invoke() - CORE/src/Http/BaseApplication.php, line 235
Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65
Cake\Routing\Middleware\RoutingMiddleware::__invoke() - CORE/src/Routing/Middleware/RoutingMiddleware.php, line 162
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 96
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 98
[main] - ROOT/webroot/index.php, line 40
Notice (8): Trying to get property of non-object [APP/Controller/AppController.php, line 111]Code Context $settings[$s->meta_key] = $s->_translations[$this->getCurrentLocale()]->meta_value;
$titles[$s->meta_key] = $s->_translations[$this->getCurrentLocale()]->name;
}
$locales = [
(int) 0 => object(App\Model\Entity\Locale) {
'id' => 'c79e08dd-4b98-40da-812f-166a5627cafe',
'locale' => 'fr',
'name' => 'French',
'position' => (int) 1,
'active' => true,
'flag' => 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgBAMAAACBVGfHAAAAA3NCSVQICAjb4U/gAAAACXBIWXMAAADdAAAA3QFwU6IHAAAAGXRFWHRTb2Z0d2FyZQB3d3cuaW5rc2NhcGUub3Jnm+48GgAAACdQTFRF////QUib/0tUh4y+/XiAQkab9PT0/0pVkpTC/mRtQUeb9fX1/0tVpPINxQAAAAp0Uk5TAFJSamp4eHjGxmzCt2wAAAArSURBVCjPY2RAA4zUEBB1AJIPDYDEP2Eg8ZtxFQOKAMOoAOUCGIFMi6gEAD39PvX2T/ZKAAAAAElFTkSuQmCC',
'front' => true,
'[new]' => false,
'[accessible]' => [
[maximum depth reached]
],
'[dirty]' => [[maximum depth reached]],
'[original]' => [[maximum depth reached]],
'[virtual]' => [[maximum depth reached]],
'[hasErrors]' => false,
'[errors]' => [[maximum depth reached]],
'[invalid]' => [[maximum depth reached]],
'[repository]' => 'Locales'
},
(int) 1 => object(App\Model\Entity\Locale) {
'id' => '073aae08-53c1-11e9-bb3d-7054d219d6c5',
'locale' => 'es',
'name' => 'Español',
'position' => (int) 0,
'active' => true,
'flag' => 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAMAAABEpIrGAAAAA3NCSVQICAjb4U/gAAAACXBIWXMAAADdAAAA3QFwU6IHAAAAGXRFWHRTb2Z0d2FyZQB3d3cuaW5rc2NhcGUub3Jnm+48GgAAARpQTFRF////x0FLyEJKgXaZoI6wuKV1watwyEFLy0pLzntc0rZn1GJZ1WVW1bhm1mxd13JW13Vx2nFQ229L23JN23xM3IyF3I+V3JKY3Y2G3nVJ33dJ34Zs4JOA4XhH4X9Q4ZV845Bk5JJi5LG15aWL5btz5b185pFh5pRk5pZs5px558Nc6ItI6KR16cFp6pBI66lx7ZxQ7aNO7q1h7rR17tjW76BO78BX8KpP8LJk8buC8stZ9LhX9Net9PPz9efR9fHz9fX198BY98dz98xX99/s9+Lt9+3R+MVe+N2d+dOA+deU+eat+sBQ+stf+8hm+8xZ+9Bw/Lzd/MtQ/N2E/N6G/dlx/sxP/s5R/tRa/tZk/tdp/9JQ/9JR/9NThpihEAAAAAN0Uk5TAFJ4LCUCBgAAAKRJREFUOI1jYBgKgJEJL2BkYCcAqKCAgwBgiCYAYApiQ/xCY/AoiLGR4Vb2wKkgyDxaUVhI0CjaEIcCH1N3aTVLL+9wgzDsCoLtdLS1lQJdoxwisCvQF+WTFWFxsVcQs8auwFjCSY6TmZ/HQtwRuwJPtwApKU09SV9bf+wKdFWc1TVMBOStVM2wK2Bj1YqODI6I5mXlwq4AHyAcWXRIMAQT7VAAACQKgMq9uRSqAAAAAElFTkSuQmCC',
'front' => true,
'[new]' => false,
'[accessible]' => [
[maximum depth reached]
],
'[dirty]' => [[maximum depth reached]],
'[original]' => [[maximum depth reached]],
'[virtual]' => [[maximum depth reached]],
'[hasErrors]' => false,
'[errors]' => [[maximum depth reached]],
'[invalid]' => [[maximum depth reached]],
'[repository]' => 'Locales'
},
(int) 2 => object(App\Model\Entity\Locale) {
'id' => '99c33239-48e4-4692-adb0-30a7c352e556',
'locale' => 'en',
'name' => 'English',
'position' => (int) 0,
'active' => true,
'flag' => 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAAA3QAAAN0BcFOiBwAAABl0RVh0U29mdHdhcmUAd3d3Lmlua3NjYXBlLm9yZ5vuPBoAAATuSURBVFiF7ZdrUNRlFMZ/+2dhXVoW5DJcAgTjamopziiWYuhMYpHGRUk0Gs1gIshboIYMoWNqahQyig41hJLXcgSvQ6VyS2WE1IBABRSZ5b673BZYdvtQ4QUYHb7QB55v7zlz5nnOvO+c57wivV7PSEIYUfZRAf8HAeJL65MbJ8UuvSQ2EveVPewy3naqxkPZ0SsZqmD+KxYPI9+0u9/iH+n9eNw8K6Uw5UKd4/k/ml98FqmrjVQd/65DhTg1015suzvFsuHM+SDV6nA8Q3xIWeHCrqxaUnPq6NbqBhR7jTdxBLx7coueTjk2tvWQW64aktja1IiNixxZ0ldDh1/CRM3tSgR1oD/CnWrGRsRQ89YnNBf9ReJiJ4q+9CJ4hhUi0bP6eTakRgIx/g4UhZmxMHk7qoBotOX3MF4ZiJDptwz1qTQ0Pt5I8q8jXfghle8nIGlt5eBH7vwS9yoz3UyHRSyIIPR1a4rXOhP56yE6fMPozilEMn8WlgWZyHfHICSdrcXvmJqL0bG0pu2hz9MFk9Pn0M8OoXRdMu5mcHbDJDKjPHG1kT43ue/LZuTFerKj/jdEc96jK+M0hpPdMM/ex9gju1Db2bMh8x4iArL7R6GLjZSEwHE45ediuf97qKsHK3OaVoXhuSYYvYFAVYMGVxspCrPpTxDaKK+ScKKaizdb2RrkyIziXNq3HUBX34yBvQ2yzRFIF89Ho9WTmlPH7uxa1F3aJwX8B283OYnv2GF8+CcsM46iV7ejc3VGGb2KCcvnAgwqoKpBg23JDdrjk9GW30MklyFbG4ZxRAhIjDh+tZEtJ6t50NzdXyc6kVs1qBkIgoiZrnI661tQXLn1iMhnMub2FoMK0LWo6L1R2h8znOKJYGEGQF1rN6W1nQN4REqlclhuNJiA4UBUjvuI2uGIj+JRASP+CMU5t1oHBCfYG2M39h9D1DUr6S0u688ZTp2AYD74aG6pbUZx+eYjUbMnYWxtTkGlGp1u8D7FQV//2X9wsJCwOdAJWzMJek0PnfuP0L4nHb26HbHHeGSJUdRoJTgP0Y25vQUKnQ6zbw8iVFbRK5dxd/kSTEIDiD9TR2GFekCNACCXivki2Inr27xYPN0SzbFzNE0Lpi0hBZFUgvybjdw8sBffPCnpVxRD0EOlogu3UF+sCw7TtGkNeokRFilpOASt4CvjuxyK9MDlKT8RIubZUbJjGp/62SNcLaH5jQ9QhSega1Ehi11JU1YGy5pcCEgqo7S2Y0hygMN59XjH3eDCbSUTY0IwuXaclpXLECnVWMZvZ0r0GjK8NOwMfQkLmSHw7yPUVlTTFr+X7vO5IAhIQ9+mK2oFW/La+TG/nsevb/UCexKCnIY0o6SztQDMdDNl6xJnpjrLaLijQJW4H5PsC6DTofHxpuezcDIVUsTqdTvpTD8F2j4k87wRx31McpWE5D1VdPUM3IieFwUVKuZuLSFouhXxgU64/pBAVW4wwvZ9jLlcyJj8ayxduABxZ9pJxBNdeSExiqMG4/gy/T71qp5hEz8OvR6O/97I6aJmwufZsd7fHfmZvZQduYxpUiryk1mIZXER17ThS2s///mBW6WiUe5mK8XNdujFw8rE6CFw32jWNO+nUoVWJkaOszxMB11Ki6vbiPzuTvemRePKPUN8OrUBrxnc2pE5RzT6NRsVMNIC/gaY0PLtJgQJ0gAAAABJRU5ErkJggg==',
'front' => true,
'[new]' => false,
'[accessible]' => [
[maximum depth reached]
],
'[dirty]' => [[maximum depth reached]],
'[original]' => [[maximum depth reached]],
'[virtual]' => [[maximum depth reached]],
'[hasErrors]' => false,
'[errors]' => [[maximum depth reached]],
'[invalid]' => [[maximum depth reached]],
'[repository]' => 'Locales'
},
(int) 3 => object(App\Model\Entity\Locale) {
'id' => 'a20c3c73-53c0-11e9-bb3d-7054d219d6c5',
'locale' => 'de',
'name' => 'Deutsch',
'position' => (int) 0,
'active' => true,
'flag' => 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgBAMAAACBVGfHAAAAA3NCSVQICAjb4U/gAAAACXBIWXMAAADdAAAA3QFwU6IHAAAAGXRFWHRTb2Z0d2FyZQB3d3cuaW5rc2NhcGUub3Jnm+48GgAAAB5QTFRF////SEhU/+BaRkZV/+FZwUlV/31WRkZV/0tV/+FagNv1tgAAAAd0Uk5TAFJSeHjAwPIGe2oAAAAqSURBVCjPY2FAAyzUEBBWQOH/Y0mhhS0YAvfQBYyHs7Xd6IF85w71bQEAwy4HmS9PAQYAAAAASUVORK5CYII=',
'front' => true,
'[new]' => false,
'[accessible]' => [
[maximum depth reached]
],
'[dirty]' => [[maximum depth reached]],
'[original]' => [[maximum depth reached]],
'[virtual]' => [[maximum depth reached]],
'[hasErrors]' => false,
'[errors]' => [[maximum depth reached]],
'[invalid]' => [[maximum depth reached]],
'[repository]' => 'Locales'
}
]
$session = object(Cake\Http\Session) {
[protected] _engine => null
[protected] _started => true
[protected] _lifetime => (int) 86400
[protected] _isCLI => false
}
$lng = 'la-maison'
$currentLocal = 'la-maison'
$settingsDB = object(SoftDelete\ORM\Query) {
'(help)' => 'This is a Query object, to get the results execute or iterate it.',
'sql' => 'SELECT Settings.id AS `Settings__id`, Settings.meta_key AS `Settings__meta_key`, Settings.meta_value AS `Settings__meta_value`, Settings.name AS `Settings__name`, Settings.description AS `Settings__description`, Settings.deleted AS `Settings__deleted`, Settings_meta_value_translation.id AS `Settings_meta_value_translation__id`, Settings_meta_value_translation.locale AS `Settings_meta_value_translation__locale`, Settings_meta_value_translation.model AS `Settings_meta_value_translation__model`, Settings_meta_value_translation.foreign_key AS `Settings_meta_value_translation__foreign_key`, Settings_meta_value_translation.field AS `Settings_meta_value_translation__field`, Settings_meta_value_translation.content AS `Settings_meta_value_translation__content`, Settings_name_translation.id AS `Settings_name_translation__id`, Settings_name_translation.locale AS `Settings_name_translation__locale`, Settings_name_translation.model AS `Settings_name_translation__model`, Settings_name_translation.foreign_key AS `Settings_name_translation__foreign_key`, Settings_name_translation.field AS `Settings_name_translation__field`, Settings_name_translation.content AS `Settings_name_translation__content`, Settings_description_translation.id AS `Settings_description_translation__id`, Settings_description_translation.locale AS `Settings_description_translation__locale`, Settings_description_translation.model AS `Settings_description_translation__model`, Settings_description_translation.foreign_key AS `Settings_description_translation__foreign_key`, Settings_description_translation.field AS `Settings_description_translation__field`, Settings_description_translation.content AS `Settings_description_translation__content` FROM settings Settings LEFT JOIN i18n Settings_meta_value_translation ON (Settings_meta_value_translation.model = :c0 AND Settings_meta_value_translation.field = :c1 AND Settings_meta_value_translation.locale = :c2 AND Settings.id = (Settings_meta_value_translation.foreign_key)) LEFT JOIN i18n Settings_name_translation ON (Settings_name_translation.model = :c3 AND Settings_name_translation.field = :c4 AND Settings_name_translation.locale = :c5 AND Settings.id = (Settings_name_translation.foreign_key)) LEFT JOIN i18n Settings_description_translation ON (Settings_description_translation.model = :c6 AND Settings_description_translation.field = :c7 AND Settings_description_translation.locale = :c8 AND Settings.id = (Settings_description_translation.foreign_key)) WHERE Settings.deleted IS NULL',
'params' => [
':c0' => [
[maximum depth reached]
],
':c1' => [
[maximum depth reached]
],
':c2' => [
[maximum depth reached]
],
':c3' => [
[maximum depth reached]
],
':c4' => [
[maximum depth reached]
],
':c5' => [
[maximum depth reached]
],
':c6' => [
[maximum depth reached]
],
':c7' => [
[maximum depth reached]
],
':c8' => [
[maximum depth reached]
]
],
'defaultTypes' => [
'Settings__id' => 'uuid',
'Settings.id' => 'uuid',
'id' => 'uuid',
'Settings__meta_key' => 'string',
'Settings.meta_key' => 'string',
'meta_key' => 'string',
'Settings__meta_value' => 'text',
'Settings.meta_value' => 'text',
'meta_value' => 'text',
'Settings__name' => 'string',
'Settings.name' => 'string',
'name' => 'string',
'Settings__description' => 'text',
'Settings.description' => 'text',
'description' => 'text',
'Settings__deleted' => 'datetime',
'Settings.deleted' => 'datetime',
'deleted' => 'datetime',
'I18n__id' => 'integer',
'I18n.id' => 'integer',
'I18n__locale' => 'string',
'I18n.locale' => 'string',
'locale' => 'string',
'I18n__model' => 'string',
'I18n.model' => 'string',
'model' => 'string',
'I18n__foreign_key' => 'uuid',
'I18n.foreign_key' => 'uuid',
'foreign_key' => 'uuid',
'I18n__field' => 'string',
'I18n.field' => 'string',
'field' => 'string',
'I18n__content' => 'text',
'I18n.content' => 'text',
'content' => 'text',
'Settings_meta_value_translation__id' => 'integer',
'Settings_meta_value_translation.id' => 'integer',
'Settings_meta_value_translation__locale' => 'string',
'Settings_meta_value_translation.locale' => 'string',
'Settings_meta_value_translation__model' => 'string',
'Settings_meta_value_translation.model' => 'string',
'Settings_meta_value_translation__foreign_key' => 'uuid',
'Settings_meta_value_translation.foreign_key' => 'uuid',
'Settings_meta_value_translation__field' => 'string',
'Settings_meta_value_translation.field' => 'string',
'Settings_meta_value_translation__content' => 'text',
'Settings_meta_value_translation.content' => 'text',
'Settings_name_translation__id' => 'integer',
'Settings_name_translation.id' => 'integer',
'Settings_name_translation__locale' => 'string',
'Settings_name_translation.locale' => 'string',
'Settings_name_translation__model' => 'string',
'Settings_name_translation.model' => 'string',
'Settings_name_translation__foreign_key' => 'uuid',
'Settings_name_translation.foreign_key' => 'uuid',
'Settings_name_translation__field' => 'string',
'Settings_name_translation.field' => 'string',
'Settings_name_translation__content' => 'text',
'Settings_name_translation.content' => 'text',
'Settings_description_translation__id' => 'integer',
'Settings_description_translation.id' => 'integer',
'Settings_description_translation__locale' => 'string',
'Settings_description_translation.locale' => 'string',
'Settings_description_translation__model' => 'string',
'Settings_description_translation.model' => 'string',
'Settings_description_translation__foreign_key' => 'uuid',
'Settings_description_translation.foreign_key' => 'uuid',
'Settings_description_translation__field' => 'string',
'Settings_description_translation.field' => 'string',
'Settings_description_translation__content' => 'text',
'Settings_description_translation.content' => 'text'
],
'decorators' => (int) 0,
'executed' => true,
'hydrate' => true,
'buffered' => true,
'formatters' => (int) 2,
'mapReducers' => (int) 0,
'contain' => [
'I18n' => [
[maximum depth reached]
],
'Settings_meta_value_translation' => [
[maximum depth reached]
],
'Settings_name_translation' => [
[maximum depth reached]
],
'Settings_description_translation' => [
[maximum depth reached]
]
],
'matching' => [],
'extraOptions' => [],
'repository' => object(App\Model\Table\SettingsTable) {}
}
$settings = [
'copyright' => null,
'facebook' => null,
'title_faq' => null
]
$titles = [
'copyright' => null,
'facebook' => null
]
$key = (int) 2
$s = object(App\Model\Entity\Setting) {
'id' => '0f69a236-490d-4c7e-ac87-f42e2c4f39da',
'meta_key' => 'title_faq',
'meta_value' => '',
'name' => 'FAQ',
'description' => '',
'deleted' => null,
'_locale' => 'la-maison',
'_translations' => [
'fr' => object(App\Model\Entity\Setting) {},
'en' => object(App\Model\Entity\Setting) {},
'es' => object(App\Model\Entity\Setting) {},
'pt' => object(App\Model\Entity\Setting) {},
'de' => object(App\Model\Entity\Setting) {},
'it' => object(App\Model\Entity\Setting) {}
],
'[new]' => false,
'[accessible]' => [
'meta_key' => true,
'meta_value' => true,
'name' => true,
'description' => true
],
'[dirty]' => [],
'[original]' => [],
'[virtual]' => [],
'[hasErrors]' => false,
'[errors]' => [],
'[invalid]' => [],
'[repository]' => 'Settings'
}
App\Controller\AppController::initialize() - APP/Controller/AppController.php, line 111
App\Controller\PagesController::initialize() - APP/Controller/PagesController.php, line 38
Cake\Controller\Controller::__construct() - CORE/src/Controller/Controller.php, line 273
ReflectionClass::newInstance() - [internal], line ??
Cake\Http\ControllerFactory::create() - CORE/src/Http/ControllerFactory.php, line 47
Cake\Http\ActionDispatcher::dispatch() - CORE/src/Http/ActionDispatcher.php, line 91
Cake\Http\BaseApplication::__invoke() - CORE/src/Http/BaseApplication.php, line 235
Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65
Cake\Routing\Middleware\RoutingMiddleware::__invoke() - CORE/src/Routing/Middleware/RoutingMiddleware.php, line 162
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 96
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 98
[main] - ROOT/webroot/index.php, line 40
Notice (8): Undefined index: la-maison [APP/Controller/AppController.php, line 110]Code Context foreach ($settingsDB as $key => $s) {
$settings[$s->meta_key] = $s->_translations[$this->getCurrentLocale()]->meta_value;
$titles[$s->meta_key] = $s->_translations[$this->getCurrentLocale()]->name;
$locales = [
(int) 0 => object(App\Model\Entity\Locale) {
'id' => 'c79e08dd-4b98-40da-812f-166a5627cafe',
'locale' => 'fr',
'name' => 'French',
'position' => (int) 1,
'active' => true,
'flag' => 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgBAMAAACBVGfHAAAAA3NCSVQICAjb4U/gAAAACXBIWXMAAADdAAAA3QFwU6IHAAAAGXRFWHRTb2Z0d2FyZQB3d3cuaW5rc2NhcGUub3Jnm+48GgAAACdQTFRF////QUib/0tUh4y+/XiAQkab9PT0/0pVkpTC/mRtQUeb9fX1/0tVpPINxQAAAAp0Uk5TAFJSamp4eHjGxmzCt2wAAAArSURBVCjPY2RAA4zUEBB1AJIPDYDEP2Eg8ZtxFQOKAMOoAOUCGIFMi6gEAD39PvX2T/ZKAAAAAElFTkSuQmCC',
'front' => true,
'[new]' => false,
'[accessible]' => [
[maximum depth reached]
],
'[dirty]' => [[maximum depth reached]],
'[original]' => [[maximum depth reached]],
'[virtual]' => [[maximum depth reached]],
'[hasErrors]' => false,
'[errors]' => [[maximum depth reached]],
'[invalid]' => [[maximum depth reached]],
'[repository]' => 'Locales'
},
(int) 1 => object(App\Model\Entity\Locale) {
'id' => '073aae08-53c1-11e9-bb3d-7054d219d6c5',
'locale' => 'es',
'name' => 'Español',
'position' => (int) 0,
'active' => true,
'flag' => 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAMAAABEpIrGAAAAA3NCSVQICAjb4U/gAAAACXBIWXMAAADdAAAA3QFwU6IHAAAAGXRFWHRTb2Z0d2FyZQB3d3cuaW5rc2NhcGUub3Jnm+48GgAAARpQTFRF////x0FLyEJKgXaZoI6wuKV1watwyEFLy0pLzntc0rZn1GJZ1WVW1bhm1mxd13JW13Vx2nFQ229L23JN23xM3IyF3I+V3JKY3Y2G3nVJ33dJ34Zs4JOA4XhH4X9Q4ZV845Bk5JJi5LG15aWL5btz5b185pFh5pRk5pZs5px558Nc6ItI6KR16cFp6pBI66lx7ZxQ7aNO7q1h7rR17tjW76BO78BX8KpP8LJk8buC8stZ9LhX9Net9PPz9efR9fHz9fX198BY98dz98xX99/s9+Lt9+3R+MVe+N2d+dOA+deU+eat+sBQ+stf+8hm+8xZ+9Bw/Lzd/MtQ/N2E/N6G/dlx/sxP/s5R/tRa/tZk/tdp/9JQ/9JR/9NThpihEAAAAAN0Uk5TAFJ4LCUCBgAAAKRJREFUOI1jYBgKgJEJL2BkYCcAqKCAgwBgiCYAYApiQ/xCY/AoiLGR4Vb2wKkgyDxaUVhI0CjaEIcCH1N3aTVLL+9wgzDsCoLtdLS1lQJdoxwisCvQF+WTFWFxsVcQs8auwFjCSY6TmZ/HQtwRuwJPtwApKU09SV9bf+wKdFWc1TVMBOStVM2wK2Bj1YqODI6I5mXlwq4AHyAcWXRIMAQT7VAAACQKgMq9uRSqAAAAAElFTkSuQmCC',
'front' => true,
'[new]' => false,
'[accessible]' => [
[maximum depth reached]
],
'[dirty]' => [[maximum depth reached]],
'[original]' => [[maximum depth reached]],
'[virtual]' => [[maximum depth reached]],
'[hasErrors]' => false,
'[errors]' => [[maximum depth reached]],
'[invalid]' => [[maximum depth reached]],
'[repository]' => 'Locales'
},
(int) 2 => object(App\Model\Entity\Locale) {
'id' => '99c33239-48e4-4692-adb0-30a7c352e556',
'locale' => 'en',
'name' => 'English',
'position' => (int) 0,
'active' => true,
'flag' => 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAAA3QAAAN0BcFOiBwAAABl0RVh0U29mdHdhcmUAd3d3Lmlua3NjYXBlLm9yZ5vuPBoAAATuSURBVFiF7ZdrUNRlFMZ/+2dhXVoW5DJcAgTjamopziiWYuhMYpHGRUk0Gs1gIshboIYMoWNqahQyig41hJLXcgSvQ6VyS2WE1IBABRSZ5b673BZYdvtQ4QUYHb7QB55v7zlz5nnOvO+c57wivV7PSEIYUfZRAf8HAeJL65MbJ8UuvSQ2EveVPewy3naqxkPZ0SsZqmD+KxYPI9+0u9/iH+n9eNw8K6Uw5UKd4/k/ml98FqmrjVQd/65DhTg1015suzvFsuHM+SDV6nA8Q3xIWeHCrqxaUnPq6NbqBhR7jTdxBLx7coueTjk2tvWQW64aktja1IiNixxZ0ldDh1/CRM3tSgR1oD/CnWrGRsRQ89YnNBf9ReJiJ4q+9CJ4hhUi0bP6eTakRgIx/g4UhZmxMHk7qoBotOX3MF4ZiJDptwz1qTQ0Pt5I8q8jXfghle8nIGlt5eBH7vwS9yoz3UyHRSyIIPR1a4rXOhP56yE6fMPozilEMn8WlgWZyHfHICSdrcXvmJqL0bG0pu2hz9MFk9Pn0M8OoXRdMu5mcHbDJDKjPHG1kT43ue/LZuTFerKj/jdEc96jK+M0hpPdMM/ex9gju1Db2bMh8x4iArL7R6GLjZSEwHE45ediuf97qKsHK3OaVoXhuSYYvYFAVYMGVxspCrPpTxDaKK+ScKKaizdb2RrkyIziXNq3HUBX34yBvQ2yzRFIF89Ho9WTmlPH7uxa1F3aJwX8B283OYnv2GF8+CcsM46iV7ejc3VGGb2KCcvnAgwqoKpBg23JDdrjk9GW30MklyFbG4ZxRAhIjDh+tZEtJ6t50NzdXyc6kVs1qBkIgoiZrnI661tQXLn1iMhnMub2FoMK0LWo6L1R2h8znOKJYGEGQF1rN6W1nQN4REqlclhuNJiA4UBUjvuI2uGIj+JRASP+CMU5t1oHBCfYG2M39h9D1DUr6S0u688ZTp2AYD74aG6pbUZx+eYjUbMnYWxtTkGlGp1u8D7FQV//2X9wsJCwOdAJWzMJek0PnfuP0L4nHb26HbHHeGSJUdRoJTgP0Y25vQUKnQ6zbw8iVFbRK5dxd/kSTEIDiD9TR2GFekCNACCXivki2Inr27xYPN0SzbFzNE0Lpi0hBZFUgvybjdw8sBffPCnpVxRD0EOlogu3UF+sCw7TtGkNeokRFilpOASt4CvjuxyK9MDlKT8RIubZUbJjGp/62SNcLaH5jQ9QhSega1Ehi11JU1YGy5pcCEgqo7S2Y0hygMN59XjH3eDCbSUTY0IwuXaclpXLECnVWMZvZ0r0GjK8NOwMfQkLmSHw7yPUVlTTFr+X7vO5IAhIQ9+mK2oFW/La+TG/nsevb/UCexKCnIY0o6SztQDMdDNl6xJnpjrLaLijQJW4H5PsC6DTofHxpuezcDIVUsTqdTvpTD8F2j4k87wRx31McpWE5D1VdPUM3IieFwUVKuZuLSFouhXxgU64/pBAVW4wwvZ9jLlcyJj8ayxduABxZ9pJxBNdeSExiqMG4/gy/T71qp5hEz8OvR6O/97I6aJmwufZsd7fHfmZvZQduYxpUiryk1mIZXER17ThS2s///mBW6WiUe5mK8XNdujFw8rE6CFw32jWNO+nUoVWJkaOszxMB11Ki6vbiPzuTvemRePKPUN8OrUBrxnc2pE5RzT6NRsVMNIC/gaY0PLtJgQJ0gAAAABJRU5ErkJggg==',
'front' => true,
'[new]' => false,
'[accessible]' => [
[maximum depth reached]
],
'[dirty]' => [[maximum depth reached]],
'[original]' => [[maximum depth reached]],
'[virtual]' => [[maximum depth reached]],
'[hasErrors]' => false,
'[errors]' => [[maximum depth reached]],
'[invalid]' => [[maximum depth reached]],
'[repository]' => 'Locales'
},
(int) 3 => object(App\Model\Entity\Locale) {
'id' => 'a20c3c73-53c0-11e9-bb3d-7054d219d6c5',
'locale' => 'de',
'name' => 'Deutsch',
'position' => (int) 0,
'active' => true,
'flag' => 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgBAMAAACBVGfHAAAAA3NCSVQICAjb4U/gAAAACXBIWXMAAADdAAAA3QFwU6IHAAAAGXRFWHRTb2Z0d2FyZQB3d3cuaW5rc2NhcGUub3Jnm+48GgAAAB5QTFRF////SEhU/+BaRkZV/+FZwUlV/31WRkZV/0tV/+FagNv1tgAAAAd0Uk5TAFJSeHjAwPIGe2oAAAAqSURBVCjPY2FAAyzUEBBWQOH/Y0mhhS0YAvfQBYyHs7Xd6IF85w71bQEAwy4HmS9PAQYAAAAASUVORK5CYII=',
'front' => true,
'[new]' => false,
'[accessible]' => [
[maximum depth reached]
],
'[dirty]' => [[maximum depth reached]],
'[original]' => [[maximum depth reached]],
'[virtual]' => [[maximum depth reached]],
'[hasErrors]' => false,
'[errors]' => [[maximum depth reached]],
'[invalid]' => [[maximum depth reached]],
'[repository]' => 'Locales'
}
]
$session = object(Cake\Http\Session) {
[protected] _engine => null
[protected] _started => true
[protected] _lifetime => (int) 86400
[protected] _isCLI => false
}
$lng = 'la-maison'
$currentLocal = 'la-maison'
$settingsDB = object(SoftDelete\ORM\Query) {
'(help)' => 'This is a Query object, to get the results execute or iterate it.',
'sql' => 'SELECT Settings.id AS `Settings__id`, Settings.meta_key AS `Settings__meta_key`, Settings.meta_value AS `Settings__meta_value`, Settings.name AS `Settings__name`, Settings.description AS `Settings__description`, Settings.deleted AS `Settings__deleted`, Settings_meta_value_translation.id AS `Settings_meta_value_translation__id`, Settings_meta_value_translation.locale AS `Settings_meta_value_translation__locale`, Settings_meta_value_translation.model AS `Settings_meta_value_translation__model`, Settings_meta_value_translation.foreign_key AS `Settings_meta_value_translation__foreign_key`, Settings_meta_value_translation.field AS `Settings_meta_value_translation__field`, Settings_meta_value_translation.content AS `Settings_meta_value_translation__content`, Settings_name_translation.id AS `Settings_name_translation__id`, Settings_name_translation.locale AS `Settings_name_translation__locale`, Settings_name_translation.model AS `Settings_name_translation__model`, Settings_name_translation.foreign_key AS `Settings_name_translation__foreign_key`, Settings_name_translation.field AS `Settings_name_translation__field`, Settings_name_translation.content AS `Settings_name_translation__content`, Settings_description_translation.id AS `Settings_description_translation__id`, Settings_description_translation.locale AS `Settings_description_translation__locale`, Settings_description_translation.model AS `Settings_description_translation__model`, Settings_description_translation.foreign_key AS `Settings_description_translation__foreign_key`, Settings_description_translation.field AS `Settings_description_translation__field`, Settings_description_translation.content AS `Settings_description_translation__content` FROM settings Settings LEFT JOIN i18n Settings_meta_value_translation ON (Settings_meta_value_translation.model = :c0 AND Settings_meta_value_translation.field = :c1 AND Settings_meta_value_translation.locale = :c2 AND Settings.id = (Settings_meta_value_translation.foreign_key)) LEFT JOIN i18n Settings_name_translation ON (Settings_name_translation.model = :c3 AND Settings_name_translation.field = :c4 AND Settings_name_translation.locale = :c5 AND Settings.id = (Settings_name_translation.foreign_key)) LEFT JOIN i18n Settings_description_translation ON (Settings_description_translation.model = :c6 AND Settings_description_translation.field = :c7 AND Settings_description_translation.locale = :c8 AND Settings.id = (Settings_description_translation.foreign_key)) WHERE Settings.deleted IS NULL',
'params' => [
':c0' => [
[maximum depth reached]
],
':c1' => [
[maximum depth reached]
],
':c2' => [
[maximum depth reached]
],
':c3' => [
[maximum depth reached]
],
':c4' => [
[maximum depth reached]
],
':c5' => [
[maximum depth reached]
],
':c6' => [
[maximum depth reached]
],
':c7' => [
[maximum depth reached]
],
':c8' => [
[maximum depth reached]
]
],
'defaultTypes' => [
'Settings__id' => 'uuid',
'Settings.id' => 'uuid',
'id' => 'uuid',
'Settings__meta_key' => 'string',
'Settings.meta_key' => 'string',
'meta_key' => 'string',
'Settings__meta_value' => 'text',
'Settings.meta_value' => 'text',
'meta_value' => 'text',
'Settings__name' => 'string',
'Settings.name' => 'string',
'name' => 'string',
'Settings__description' => 'text',
'Settings.description' => 'text',
'description' => 'text',
'Settings__deleted' => 'datetime',
'Settings.deleted' => 'datetime',
'deleted' => 'datetime',
'I18n__id' => 'integer',
'I18n.id' => 'integer',
'I18n__locale' => 'string',
'I18n.locale' => 'string',
'locale' => 'string',
'I18n__model' => 'string',
'I18n.model' => 'string',
'model' => 'string',
'I18n__foreign_key' => 'uuid',
'I18n.foreign_key' => 'uuid',
'foreign_key' => 'uuid',
'I18n__field' => 'string',
'I18n.field' => 'string',
'field' => 'string',
'I18n__content' => 'text',
'I18n.content' => 'text',
'content' => 'text',
'Settings_meta_value_translation__id' => 'integer',
'Settings_meta_value_translation.id' => 'integer',
'Settings_meta_value_translation__locale' => 'string',
'Settings_meta_value_translation.locale' => 'string',
'Settings_meta_value_translation__model' => 'string',
'Settings_meta_value_translation.model' => 'string',
'Settings_meta_value_translation__foreign_key' => 'uuid',
'Settings_meta_value_translation.foreign_key' => 'uuid',
'Settings_meta_value_translation__field' => 'string',
'Settings_meta_value_translation.field' => 'string',
'Settings_meta_value_translation__content' => 'text',
'Settings_meta_value_translation.content' => 'text',
'Settings_name_translation__id' => 'integer',
'Settings_name_translation.id' => 'integer',
'Settings_name_translation__locale' => 'string',
'Settings_name_translation.locale' => 'string',
'Settings_name_translation__model' => 'string',
'Settings_name_translation.model' => 'string',
'Settings_name_translation__foreign_key' => 'uuid',
'Settings_name_translation.foreign_key' => 'uuid',
'Settings_name_translation__field' => 'string',
'Settings_name_translation.field' => 'string',
'Settings_name_translation__content' => 'text',
'Settings_name_translation.content' => 'text',
'Settings_description_translation__id' => 'integer',
'Settings_description_translation.id' => 'integer',
'Settings_description_translation__locale' => 'string',
'Settings_description_translation.locale' => 'string',
'Settings_description_translation__model' => 'string',
'Settings_description_translation.model' => 'string',
'Settings_description_translation__foreign_key' => 'uuid',
'Settings_description_translation.foreign_key' => 'uuid',
'Settings_description_translation__field' => 'string',
'Settings_description_translation.field' => 'string',
'Settings_description_translation__content' => 'text',
'Settings_description_translation.content' => 'text'
],
'decorators' => (int) 0,
'executed' => true,
'hydrate' => true,
'buffered' => true,
'formatters' => (int) 2,
'mapReducers' => (int) 0,
'contain' => [
'I18n' => [
[maximum depth reached]
],
'Settings_meta_value_translation' => [
[maximum depth reached]
],
'Settings_name_translation' => [
[maximum depth reached]
],
'Settings_description_translation' => [
[maximum depth reached]
]
],
'matching' => [],
'extraOptions' => [],
'repository' => object(App\Model\Table\SettingsTable) {}
}
$settings = [
'copyright' => null,
'facebook' => null,
'title_faq' => null
]
$titles = [
'copyright' => null,
'facebook' => null,
'title_faq' => null
]
$key = (int) 3
$s = object(App\Model\Entity\Setting) {
'id' => '141cf8f8-61a1-4706-bf4f-1af65b16fdd7',
'meta_key' => 'btn_discover_name',
'meta_value' => '',
'name' => 'découvrir la maison',
'description' => '',
'deleted' => null,
'_locale' => 'la-maison',
'_translations' => [
'fr' => object(App\Model\Entity\Setting) {},
'en' => object(App\Model\Entity\Setting) {},
'es' => object(App\Model\Entity\Setting) {},
'pt' => object(App\Model\Entity\Setting) {},
'de' => object(App\Model\Entity\Setting) {},
'it' => object(App\Model\Entity\Setting) {}
],
'[new]' => false,
'[accessible]' => [
'meta_key' => true,
'meta_value' => true,
'name' => true,
'description' => true
],
'[dirty]' => [],
'[original]' => [],
'[virtual]' => [],
'[hasErrors]' => false,
'[errors]' => [],
'[invalid]' => [],
'[repository]' => 'Settings'
}
App\Controller\AppController::initialize() - APP/Controller/AppController.php, line 110
App\Controller\PagesController::initialize() - APP/Controller/PagesController.php, line 38
Cake\Controller\Controller::__construct() - CORE/src/Controller/Controller.php, line 273
ReflectionClass::newInstance() - [internal], line ??
Cake\Http\ControllerFactory::create() - CORE/src/Http/ControllerFactory.php, line 47
Cake\Http\ActionDispatcher::dispatch() - CORE/src/Http/ActionDispatcher.php, line 91
Cake\Http\BaseApplication::__invoke() - CORE/src/Http/BaseApplication.php, line 235
Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65
Cake\Routing\Middleware\RoutingMiddleware::__invoke() - CORE/src/Routing/Middleware/RoutingMiddleware.php, line 162
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 96
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 98
[main] - ROOT/webroot/index.php, line 40
Notice (8): Trying to get property of non-object [APP/Controller/AppController.php, line 110]Code Context foreach ($settingsDB as $key => $s) {
$settings[$s->meta_key] = $s->_translations[$this->getCurrentLocale()]->meta_value;
$titles[$s->meta_key] = $s->_translations[$this->getCurrentLocale()]->name;
$locales = [
(int) 0 => object(App\Model\Entity\Locale) {
'id' => 'c79e08dd-4b98-40da-812f-166a5627cafe',
'locale' => 'fr',
'name' => 'French',
'position' => (int) 1,
'active' => true,
'flag' => 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgBAMAAACBVGfHAAAAA3NCSVQICAjb4U/gAAAACXBIWXMAAADdAAAA3QFwU6IHAAAAGXRFWHRTb2Z0d2FyZQB3d3cuaW5rc2NhcGUub3Jnm+48GgAAACdQTFRF////QUib/0tUh4y+/XiAQkab9PT0/0pVkpTC/mRtQUeb9fX1/0tVpPINxQAAAAp0Uk5TAFJSamp4eHjGxmzCt2wAAAArSURBVCjPY2RAA4zUEBB1AJIPDYDEP2Eg8ZtxFQOKAMOoAOUCGIFMi6gEAD39PvX2T/ZKAAAAAElFTkSuQmCC',
'front' => true,
'[new]' => false,
'[accessible]' => [
[maximum depth reached]
],
'[dirty]' => [[maximum depth reached]],
'[original]' => [[maximum depth reached]],
'[virtual]' => [[maximum depth reached]],
'[hasErrors]' => false,
'[errors]' => [[maximum depth reached]],
'[invalid]' => [[maximum depth reached]],
'[repository]' => 'Locales'
},
(int) 1 => object(App\Model\Entity\Locale) {
'id' => '073aae08-53c1-11e9-bb3d-7054d219d6c5',
'locale' => 'es',
'name' => 'Español',
'position' => (int) 0,
'active' => true,
'flag' => 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAMAAABEpIrGAAAAA3NCSVQICAjb4U/gAAAACXBIWXMAAADdAAAA3QFwU6IHAAAAGXRFWHRTb2Z0d2FyZQB3d3cuaW5rc2NhcGUub3Jnm+48GgAAARpQTFRF////x0FLyEJKgXaZoI6wuKV1watwyEFLy0pLzntc0rZn1GJZ1WVW1bhm1mxd13JW13Vx2nFQ229L23JN23xM3IyF3I+V3JKY3Y2G3nVJ33dJ34Zs4JOA4XhH4X9Q4ZV845Bk5JJi5LG15aWL5btz5b185pFh5pRk5pZs5px558Nc6ItI6KR16cFp6pBI66lx7ZxQ7aNO7q1h7rR17tjW76BO78BX8KpP8LJk8buC8stZ9LhX9Net9PPz9efR9fHz9fX198BY98dz98xX99/s9+Lt9+3R+MVe+N2d+dOA+deU+eat+sBQ+stf+8hm+8xZ+9Bw/Lzd/MtQ/N2E/N6G/dlx/sxP/s5R/tRa/tZk/tdp/9JQ/9JR/9NThpihEAAAAAN0Uk5TAFJ4LCUCBgAAAKRJREFUOI1jYBgKgJEJL2BkYCcAqKCAgwBgiCYAYApiQ/xCY/AoiLGR4Vb2wKkgyDxaUVhI0CjaEIcCH1N3aTVLL+9wgzDsCoLtdLS1lQJdoxwisCvQF+WTFWFxsVcQs8auwFjCSY6TmZ/HQtwRuwJPtwApKU09SV9bf+wKdFWc1TVMBOStVM2wK2Bj1YqODI6I5mXlwq4AHyAcWXRIMAQT7VAAACQKgMq9uRSqAAAAAElFTkSuQmCC',
'front' => true,
'[new]' => false,
'[accessible]' => [
[maximum depth reached]
],
'[dirty]' => [[maximum depth reached]],
'[original]' => [[maximum depth reached]],
'[virtual]' => [[maximum depth reached]],
'[hasErrors]' => false,
'[errors]' => [[maximum depth reached]],
'[invalid]' => [[maximum depth reached]],
'[repository]' => 'Locales'
},
(int) 2 => object(App\Model\Entity\Locale) {
'id' => '99c33239-48e4-4692-adb0-30a7c352e556',
'locale' => 'en',
'name' => 'English',
'position' => (int) 0,
'active' => true,
'flag' => 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAAA3QAAAN0BcFOiBwAAABl0RVh0U29mdHdhcmUAd3d3Lmlua3NjYXBlLm9yZ5vuPBoAAATuSURBVFiF7ZdrUNRlFMZ/+2dhXVoW5DJcAgTjamopziiWYuhMYpHGRUk0Gs1gIshboIYMoWNqahQyig41hJLXcgSvQ6VyS2WE1IBABRSZ5b673BZYdvtQ4QUYHb7QB55v7zlz5nnOvO+c57wivV7PSEIYUfZRAf8HAeJL65MbJ8UuvSQ2EveVPewy3naqxkPZ0SsZqmD+KxYPI9+0u9/iH+n9eNw8K6Uw5UKd4/k/ml98FqmrjVQd/65DhTg1015suzvFsuHM+SDV6nA8Q3xIWeHCrqxaUnPq6NbqBhR7jTdxBLx7coueTjk2tvWQW64aktja1IiNixxZ0ldDh1/CRM3tSgR1oD/CnWrGRsRQ89YnNBf9ReJiJ4q+9CJ4hhUi0bP6eTakRgIx/g4UhZmxMHk7qoBotOX3MF4ZiJDptwz1qTQ0Pt5I8q8jXfghle8nIGlt5eBH7vwS9yoz3UyHRSyIIPR1a4rXOhP56yE6fMPozilEMn8WlgWZyHfHICSdrcXvmJqL0bG0pu2hz9MFk9Pn0M8OoXRdMu5mcHbDJDKjPHG1kT43ue/LZuTFerKj/jdEc96jK+M0hpPdMM/ex9gju1Db2bMh8x4iArL7R6GLjZSEwHE45ediuf97qKsHK3OaVoXhuSYYvYFAVYMGVxspCrPpTxDaKK+ScKKaizdb2RrkyIziXNq3HUBX34yBvQ2yzRFIF89Ho9WTmlPH7uxa1F3aJwX8B283OYnv2GF8+CcsM46iV7ejc3VGGb2KCcvnAgwqoKpBg23JDdrjk9GW30MklyFbG4ZxRAhIjDh+tZEtJ6t50NzdXyc6kVs1qBkIgoiZrnI661tQXLn1iMhnMub2FoMK0LWo6L1R2h8znOKJYGEGQF1rN6W1nQN4REqlclhuNJiA4UBUjvuI2uGIj+JRASP+CMU5t1oHBCfYG2M39h9D1DUr6S0u688ZTp2AYD74aG6pbUZx+eYjUbMnYWxtTkGlGp1u8D7FQV//2X9wsJCwOdAJWzMJek0PnfuP0L4nHb26HbHHeGSJUdRoJTgP0Y25vQUKnQ6zbw8iVFbRK5dxd/kSTEIDiD9TR2GFekCNACCXivki2Inr27xYPN0SzbFzNE0Lpi0hBZFUgvybjdw8sBffPCnpVxRD0EOlogu3UF+sCw7TtGkNeokRFilpOASt4CvjuxyK9MDlKT8RIubZUbJjGp/62SNcLaH5jQ9QhSega1Ehi11JU1YGy5pcCEgqo7S2Y0hygMN59XjH3eDCbSUTY0IwuXaclpXLECnVWMZvZ0r0GjK8NOwMfQkLmSHw7yPUVlTTFr+X7vO5IAhIQ9+mK2oFW/La+TG/nsevb/UCexKCnIY0o6SztQDMdDNl6xJnpjrLaLijQJW4H5PsC6DTofHxpuezcDIVUsTqdTvpTD8F2j4k87wRx31McpWE5D1VdPUM3IieFwUVKuZuLSFouhXxgU64/pBAVW4wwvZ9jLlcyJj8ayxduABxZ9pJxBNdeSExiqMG4/gy/T71qp5hEz8OvR6O/97I6aJmwufZsd7fHfmZvZQduYxpUiryk1mIZXER17ThS2s///mBW6WiUe5mK8XNdujFw8rE6CFw32jWNO+nUoVWJkaOszxMB11Ki6vbiPzuTvemRePKPUN8OrUBrxnc2pE5RzT6NRsVMNIC/gaY0PLtJgQJ0gAAAABJRU5ErkJggg==',
'front' => true,
'[new]' => false,
'[accessible]' => [
[maximum depth reached]
],
'[dirty]' => [[maximum depth reached]],
'[original]' => [[maximum depth reached]],
'[virtual]' => [[maximum depth reached]],
'[hasErrors]' => false,
'[errors]' => [[maximum depth reached]],
'[invalid]' => [[maximum depth reached]],
'[repository]' => 'Locales'
},
(int) 3 => object(App\Model\Entity\Locale) {
'id' => 'a20c3c73-53c0-11e9-bb3d-7054d219d6c5',
'locale' => 'de',
'name' => 'Deutsch',
'position' => (int) 0,
'active' => true,
'flag' => 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgBAMAAACBVGfHAAAAA3NCSVQICAjb4U/gAAAACXBIWXMAAADdAAAA3QFwU6IHAAAAGXRFWHRTb2Z0d2FyZQB3d3cuaW5rc2NhcGUub3Jnm+48GgAAAB5QTFRF////SEhU/+BaRkZV/+FZwUlV/31WRkZV/0tV/+FagNv1tgAAAAd0Uk5TAFJSeHjAwPIGe2oAAAAqSURBVCjPY2FAAyzUEBBWQOH/Y0mhhS0YAvfQBYyHs7Xd6IF85w71bQEAwy4HmS9PAQYAAAAASUVORK5CYII=',
'front' => true,
'[new]' => false,
'[accessible]' => [
[maximum depth reached]
],
'[dirty]' => [[maximum depth reached]],
'[original]' => [[maximum depth reached]],
'[virtual]' => [[maximum depth reached]],
'[hasErrors]' => false,
'[errors]' => [[maximum depth reached]],
'[invalid]' => [[maximum depth reached]],
'[repository]' => 'Locales'
}
]
$session = object(Cake\Http\Session) {
[protected] _engine => null
[protected] _started => true
[protected] _lifetime => (int) 86400
[protected] _isCLI => false
}
$lng = 'la-maison'
$currentLocal = 'la-maison'
$settingsDB = object(SoftDelete\ORM\Query) {
'(help)' => 'This is a Query object, to get the results execute or iterate it.',
'sql' => 'SELECT Settings.id AS `Settings__id`, Settings.meta_key AS `Settings__meta_key`, Settings.meta_value AS `Settings__meta_value`, Settings.name AS `Settings__name`, Settings.description AS `Settings__description`, Settings.deleted AS `Settings__deleted`, Settings_meta_value_translation.id AS `Settings_meta_value_translation__id`, Settings_meta_value_translation.locale AS `Settings_meta_value_translation__locale`, Settings_meta_value_translation.model AS `Settings_meta_value_translation__model`, Settings_meta_value_translation.foreign_key AS `Settings_meta_value_translation__foreign_key`, Settings_meta_value_translation.field AS `Settings_meta_value_translation__field`, Settings_meta_value_translation.content AS `Settings_meta_value_translation__content`, Settings_name_translation.id AS `Settings_name_translation__id`, Settings_name_translation.locale AS `Settings_name_translation__locale`, Settings_name_translation.model AS `Settings_name_translation__model`, Settings_name_translation.foreign_key AS `Settings_name_translation__foreign_key`, Settings_name_translation.field AS `Settings_name_translation__field`, Settings_name_translation.content AS `Settings_name_translation__content`, Settings_description_translation.id AS `Settings_description_translation__id`, Settings_description_translation.locale AS `Settings_description_translation__locale`, Settings_description_translation.model AS `Settings_description_translation__model`, Settings_description_translation.foreign_key AS `Settings_description_translation__foreign_key`, Settings_description_translation.field AS `Settings_description_translation__field`, Settings_description_translation.content AS `Settings_description_translation__content` FROM settings Settings LEFT JOIN i18n Settings_meta_value_translation ON (Settings_meta_value_translation.model = :c0 AND Settings_meta_value_translation.field = :c1 AND Settings_meta_value_translation.locale = :c2 AND Settings.id = (Settings_meta_value_translation.foreign_key)) LEFT JOIN i18n Settings_name_translation ON (Settings_name_translation.model = :c3 AND Settings_name_translation.field = :c4 AND Settings_name_translation.locale = :c5 AND Settings.id = (Settings_name_translation.foreign_key)) LEFT JOIN i18n Settings_description_translation ON (Settings_description_translation.model = :c6 AND Settings_description_translation.field = :c7 AND Settings_description_translation.locale = :c8 AND Settings.id = (Settings_description_translation.foreign_key)) WHERE Settings.deleted IS NULL',
'params' => [
':c0' => [
[maximum depth reached]
],
':c1' => [
[maximum depth reached]
],
':c2' => [
[maximum depth reached]
],
':c3' => [
[maximum depth reached]
],
':c4' => [
[maximum depth reached]
],
':c5' => [
[maximum depth reached]
],
':c6' => [
[maximum depth reached]
],
':c7' => [
[maximum depth reached]
],
':c8' => [
[maximum depth reached]
]
],
'defaultTypes' => [
'Settings__id' => 'uuid',
'Settings.id' => 'uuid',
'id' => 'uuid',
'Settings__meta_key' => 'string',
'Settings.meta_key' => 'string',
'meta_key' => 'string',
'Settings__meta_value' => 'text',
'Settings.meta_value' => 'text',
'meta_value' => 'text',
'Settings__name' => 'string',
'Settings.name' => 'string',
'name' => 'string',
'Settings__description' => 'text',
'Settings.description' => 'text',
'description' => 'text',
'Settings__deleted' => 'datetime',
'Settings.deleted' => 'datetime',
'deleted' => 'datetime',
'I18n__id' => 'integer',
'I18n.id' => 'integer',
'I18n__locale' => 'string',
'I18n.locale' => 'string',
'locale' => 'string',
'I18n__model' => 'string',
'I18n.model' => 'string',
'model' => 'string',
'I18n__foreign_key' => 'uuid',
'I18n.foreign_key' => 'uuid',
'foreign_key' => 'uuid',
'I18n__field' => 'string',
'I18n.field' => 'string',
'field' => 'string',
'I18n__content' => 'text',
'I18n.content' => 'text',
'content' => 'text',
'Settings_meta_value_translation__id' => 'integer',
'Settings_meta_value_translation.id' => 'integer',
'Settings_meta_value_translation__locale' => 'string',
'Settings_meta_value_translation.locale' => 'string',
'Settings_meta_value_translation__model' => 'string',
'Settings_meta_value_translation.model' => 'string',
'Settings_meta_value_translation__foreign_key' => 'uuid',
'Settings_meta_value_translation.foreign_key' => 'uuid',
'Settings_meta_value_translation__field' => 'string',
'Settings_meta_value_translation.field' => 'string',
'Settings_meta_value_translation__content' => 'text',
'Settings_meta_value_translation.content' => 'text',
'Settings_name_translation__id' => 'integer',
'Settings_name_translation.id' => 'integer',
'Settings_name_translation__locale' => 'string',
'Settings_name_translation.locale' => 'string',
'Settings_name_translation__model' => 'string',
'Settings_name_translation.model' => 'string',
'Settings_name_translation__foreign_key' => 'uuid',
'Settings_name_translation.foreign_key' => 'uuid',
'Settings_name_translation__field' => 'string',
'Settings_name_translation.field' => 'string',
'Settings_name_translation__content' => 'text',
'Settings_name_translation.content' => 'text',
'Settings_description_translation__id' => 'integer',
'Settings_description_translation.id' => 'integer',
'Settings_description_translation__locale' => 'string',
'Settings_description_translation.locale' => 'string',
'Settings_description_translation__model' => 'string',
'Settings_description_translation.model' => 'string',
'Settings_description_translation__foreign_key' => 'uuid',
'Settings_description_translation.foreign_key' => 'uuid',
'Settings_description_translation__field' => 'string',
'Settings_description_translation.field' => 'string',
'Settings_description_translation__content' => 'text',
'Settings_description_translation.content' => 'text'
],
'decorators' => (int) 0,
'executed' => true,
'hydrate' => true,
'buffered' => true,
'formatters' => (int) 2,
'mapReducers' => (int) 0,
'contain' => [
'I18n' => [
[maximum depth reached]
],
'Settings_meta_value_translation' => [
[maximum depth reached]
],
'Settings_name_translation' => [
[maximum depth reached]
],
'Settings_description_translation' => [
[maximum depth reached]
]
],
'matching' => [],
'extraOptions' => [],
'repository' => object(App\Model\Table\SettingsTable) {}
}
$settings = [
'copyright' => null,
'facebook' => null,
'title_faq' => null
]
$titles = [
'copyright' => null,
'facebook' => null,
'title_faq' => null
]
$key = (int) 3
$s = object(App\Model\Entity\Setting) {
'id' => '141cf8f8-61a1-4706-bf4f-1af65b16fdd7',
'meta_key' => 'btn_discover_name',
'meta_value' => '',
'name' => 'découvrir la maison',
'description' => '',
'deleted' => null,
'_locale' => 'la-maison',
'_translations' => [
'fr' => object(App\Model\Entity\Setting) {},
'en' => object(App\Model\Entity\Setting) {},
'es' => object(App\Model\Entity\Setting) {},
'pt' => object(App\Model\Entity\Setting) {},
'de' => object(App\Model\Entity\Setting) {},
'it' => object(App\Model\Entity\Setting) {}
],
'[new]' => false,
'[accessible]' => [
'meta_key' => true,
'meta_value' => true,
'name' => true,
'description' => true
],
'[dirty]' => [],
'[original]' => [],
'[virtual]' => [],
'[hasErrors]' => false,
'[errors]' => [],
'[invalid]' => [],
'[repository]' => 'Settings'
}
App\Controller\AppController::initialize() - APP/Controller/AppController.php, line 110
App\Controller\PagesController::initialize() - APP/Controller/PagesController.php, line 38
Cake\Controller\Controller::__construct() - CORE/src/Controller/Controller.php, line 273
ReflectionClass::newInstance() - [internal], line ??
Cake\Http\ControllerFactory::create() - CORE/src/Http/ControllerFactory.php, line 47
Cake\Http\ActionDispatcher::dispatch() - CORE/src/Http/ActionDispatcher.php, line 91
Cake\Http\BaseApplication::__invoke() - CORE/src/Http/BaseApplication.php, line 235
Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65
Cake\Routing\Middleware\RoutingMiddleware::__invoke() - CORE/src/Routing/Middleware/RoutingMiddleware.php, line 162
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 96
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 98
[main] - ROOT/webroot/index.php, line 40
Notice (8): Undefined index: la-maison [APP/Controller/AppController.php, line 111]Code Context $settings[$s->meta_key] = $s->_translations[$this->getCurrentLocale()]->meta_value;
$titles[$s->meta_key] = $s->_translations[$this->getCurrentLocale()]->name;
}
$locales = [
(int) 0 => object(App\Model\Entity\Locale) {
'id' => 'c79e08dd-4b98-40da-812f-166a5627cafe',
'locale' => 'fr',
'name' => 'French',
'position' => (int) 1,
'active' => true,
'flag' => 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgBAMAAACBVGfHAAAAA3NCSVQICAjb4U/gAAAACXBIWXMAAADdAAAA3QFwU6IHAAAAGXRFWHRTb2Z0d2FyZQB3d3cuaW5rc2NhcGUub3Jnm+48GgAAACdQTFRF////QUib/0tUh4y+/XiAQkab9PT0/0pVkpTC/mRtQUeb9fX1/0tVpPINxQAAAAp0Uk5TAFJSamp4eHjGxmzCt2wAAAArSURBVCjPY2RAA4zUEBB1AJIPDYDEP2Eg8ZtxFQOKAMOoAOUCGIFMi6gEAD39PvX2T/ZKAAAAAElFTkSuQmCC',
'front' => true,
'[new]' => false,
'[accessible]' => [
[maximum depth reached]
],
'[dirty]' => [[maximum depth reached]],
'[original]' => [[maximum depth reached]],
'[virtual]' => [[maximum depth reached]],
'[hasErrors]' => false,
'[errors]' => [[maximum depth reached]],
'[invalid]' => [[maximum depth reached]],
'[repository]' => 'Locales'
},
(int) 1 => object(App\Model\Entity\Locale) {
'id' => '073aae08-53c1-11e9-bb3d-7054d219d6c5',
'locale' => 'es',
'name' => 'Español',
'position' => (int) 0,
'active' => true,
'flag' => 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAMAAABEpIrGAAAAA3NCSVQICAjb4U/gAAAACXBIWXMAAADdAAAA3QFwU6IHAAAAGXRFWHRTb2Z0d2FyZQB3d3cuaW5rc2NhcGUub3Jnm+48GgAAARpQTFRF////x0FLyEJKgXaZoI6wuKV1watwyEFLy0pLzntc0rZn1GJZ1WVW1bhm1mxd13JW13Vx2nFQ229L23JN23xM3IyF3I+V3JKY3Y2G3nVJ33dJ34Zs4JOA4XhH4X9Q4ZV845Bk5JJi5LG15aWL5btz5b185pFh5pRk5pZs5px558Nc6ItI6KR16cFp6pBI66lx7ZxQ7aNO7q1h7rR17tjW76BO78BX8KpP8LJk8buC8stZ9LhX9Net9PPz9efR9fHz9fX198BY98dz98xX99/s9+Lt9+3R+MVe+N2d+dOA+deU+eat+sBQ+stf+8hm+8xZ+9Bw/Lzd/MtQ/N2E/N6G/dlx/sxP/s5R/tRa/tZk/tdp/9JQ/9JR/9NThpihEAAAAAN0Uk5TAFJ4LCUCBgAAAKRJREFUOI1jYBgKgJEJL2BkYCcAqKCAgwBgiCYAYApiQ/xCY/AoiLGR4Vb2wKkgyDxaUVhI0CjaEIcCH1N3aTVLL+9wgzDsCoLtdLS1lQJdoxwisCvQF+WTFWFxsVcQs8auwFjCSY6TmZ/HQtwRuwJPtwApKU09SV9bf+wKdFWc1TVMBOStVM2wK2Bj1YqODI6I5mXlwq4AHyAcWXRIMAQT7VAAACQKgMq9uRSqAAAAAElFTkSuQmCC',
'front' => true,
'[new]' => false,
'[accessible]' => [
[maximum depth reached]
],
'[dirty]' => [[maximum depth reached]],
'[original]' => [[maximum depth reached]],
'[virtual]' => [[maximum depth reached]],
'[hasErrors]' => false,
'[errors]' => [[maximum depth reached]],
'[invalid]' => [[maximum depth reached]],
'[repository]' => 'Locales'
},
(int) 2 => object(App\Model\Entity\Locale) {
'id' => '99c33239-48e4-4692-adb0-30a7c352e556',
'locale' => 'en',
'name' => 'English',
'position' => (int) 0,
'active' => true,
'flag' => 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAAA3QAAAN0BcFOiBwAAABl0RVh0U29mdHdhcmUAd3d3Lmlua3NjYXBlLm9yZ5vuPBoAAATuSURBVFiF7ZdrUNRlFMZ/+2dhXVoW5DJcAgTjamopziiWYuhMYpHGRUk0Gs1gIshboIYMoWNqahQyig41hJLXcgSvQ6VyS2WE1IBABRSZ5b673BZYdvtQ4QUYHb7QB55v7zlz5nnOvO+c57wivV7PSEIYUfZRAf8HAeJL65MbJ8UuvSQ2EveVPewy3naqxkPZ0SsZqmD+KxYPI9+0u9/iH+n9eNw8K6Uw5UKd4/k/ml98FqmrjVQd/65DhTg1015suzvFsuHM+SDV6nA8Q3xIWeHCrqxaUnPq6NbqBhR7jTdxBLx7coueTjk2tvWQW64aktja1IiNixxZ0ldDh1/CRM3tSgR1oD/CnWrGRsRQ89YnNBf9ReJiJ4q+9CJ4hhUi0bP6eTakRgIx/g4UhZmxMHk7qoBotOX3MF4ZiJDptwz1qTQ0Pt5I8q8jXfghle8nIGlt5eBH7vwS9yoz3UyHRSyIIPR1a4rXOhP56yE6fMPozilEMn8WlgWZyHfHICSdrcXvmJqL0bG0pu2hz9MFk9Pn0M8OoXRdMu5mcHbDJDKjPHG1kT43ue/LZuTFerKj/jdEc96jK+M0hpPdMM/ex9gju1Db2bMh8x4iArL7R6GLjZSEwHE45ediuf97qKsHK3OaVoXhuSYYvYFAVYMGVxspCrPpTxDaKK+ScKKaizdb2RrkyIziXNq3HUBX34yBvQ2yzRFIF89Ho9WTmlPH7uxa1F3aJwX8B283OYnv2GF8+CcsM46iV7ejc3VGGb2KCcvnAgwqoKpBg23JDdrjk9GW30MklyFbG4ZxRAhIjDh+tZEtJ6t50NzdXyc6kVs1qBkIgoiZrnI661tQXLn1iMhnMub2FoMK0LWo6L1R2h8znOKJYGEGQF1rN6W1nQN4REqlclhuNJiA4UBUjvuI2uGIj+JRASP+CMU5t1oHBCfYG2M39h9D1DUr6S0u688ZTp2AYD74aG6pbUZx+eYjUbMnYWxtTkGlGp1u8D7FQV//2X9wsJCwOdAJWzMJek0PnfuP0L4nHb26HbHHeGSJUdRoJTgP0Y25vQUKnQ6zbw8iVFbRK5dxd/kSTEIDiD9TR2GFekCNACCXivki2Inr27xYPN0SzbFzNE0Lpi0hBZFUgvybjdw8sBffPCnpVxRD0EOlogu3UF+sCw7TtGkNeokRFilpOASt4CvjuxyK9MDlKT8RIubZUbJjGp/62SNcLaH5jQ9QhSega1Ehi11JU1YGy5pcCEgqo7S2Y0hygMN59XjH3eDCbSUTY0IwuXaclpXLECnVWMZvZ0r0GjK8NOwMfQkLmSHw7yPUVlTTFr+X7vO5IAhIQ9+mK2oFW/La+TG/nsevb/UCexKCnIY0o6SztQDMdDNl6xJnpjrLaLijQJW4H5PsC6DTofHxpuezcDIVUsTqdTvpTD8F2j4k87wRx31McpWE5D1VdPUM3IieFwUVKuZuLSFouhXxgU64/pBAVW4wwvZ9jLlcyJj8ayxduABxZ9pJxBNdeSExiqMG4/gy/T71qp5hEz8OvR6O/97I6aJmwufZsd7fHfmZvZQduYxpUiryk1mIZXER17ThS2s///mBW6WiUe5mK8XNdujFw8rE6CFw32jWNO+nUoVWJkaOszxMB11Ki6vbiPzuTvemRePKPUN8OrUBrxnc2pE5RzT6NRsVMNIC/gaY0PLtJgQJ0gAAAABJRU5ErkJggg==',
'front' => true,
'[new]' => false,
'[accessible]' => [
[maximum depth reached]
],
'[dirty]' => [[maximum depth reached]],
'[original]' => [[maximum depth reached]],
'[virtual]' => [[maximum depth reached]],
'[hasErrors]' => false,
'[errors]' => [[maximum depth reached]],
'[invalid]' => [[maximum depth reached]],
'[repository]' => 'Locales'
},
(int) 3 => object(App\Model\Entity\Locale) {
'id' => 'a20c3c73-53c0-11e9-bb3d-7054d219d6c5',
'locale' => 'de',
'name' => 'Deutsch',
'position' => (int) 0,
'active' => true,
'flag' => 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgBAMAAACBVGfHAAAAA3NCSVQICAjb4U/gAAAACXBIWXMAAADdAAAA3QFwU6IHAAAAGXRFWHRTb2Z0d2FyZQB3d3cuaW5rc2NhcGUub3Jnm+48GgAAAB5QTFRF////SEhU/+BaRkZV/+FZwUlV/31WRkZV/0tV/+FagNv1tgAAAAd0Uk5TAFJSeHjAwPIGe2oAAAAqSURBVCjPY2FAAyzUEBBWQOH/Y0mhhS0YAvfQBYyHs7Xd6IF85w71bQEAwy4HmS9PAQYAAAAASUVORK5CYII=',
'front' => true,
'[new]' => false,
'[accessible]' => [
[maximum depth reached]
],
'[dirty]' => [[maximum depth reached]],
'[original]' => [[maximum depth reached]],
'[virtual]' => [[maximum depth reached]],
'[hasErrors]' => false,
'[errors]' => [[maximum depth reached]],
'[invalid]' => [[maximum depth reached]],
'[repository]' => 'Locales'
}
]
$session = object(Cake\Http\Session) {
[protected] _engine => null
[protected] _started => true
[protected] _lifetime => (int) 86400
[protected] _isCLI => false
}
$lng = 'la-maison'
$currentLocal = 'la-maison'
$settingsDB = object(SoftDelete\ORM\Query) {
'(help)' => 'This is a Query object, to get the results execute or iterate it.',
'sql' => 'SELECT Settings.id AS `Settings__id`, Settings.meta_key AS `Settings__meta_key`, Settings.meta_value AS `Settings__meta_value`, Settings.name AS `Settings__name`, Settings.description AS `Settings__description`, Settings.deleted AS `Settings__deleted`, Settings_meta_value_translation.id AS `Settings_meta_value_translation__id`, Settings_meta_value_translation.locale AS `Settings_meta_value_translation__locale`, Settings_meta_value_translation.model AS `Settings_meta_value_translation__model`, Settings_meta_value_translation.foreign_key AS `Settings_meta_value_translation__foreign_key`, Settings_meta_value_translation.field AS `Settings_meta_value_translation__field`, Settings_meta_value_translation.content AS `Settings_meta_value_translation__content`, Settings_name_translation.id AS `Settings_name_translation__id`, Settings_name_translation.locale AS `Settings_name_translation__locale`, Settings_name_translation.model AS `Settings_name_translation__model`, Settings_name_translation.foreign_key AS `Settings_name_translation__foreign_key`, Settings_name_translation.field AS `Settings_name_translation__field`, Settings_name_translation.content AS `Settings_name_translation__content`, Settings_description_translation.id AS `Settings_description_translation__id`, Settings_description_translation.locale AS `Settings_description_translation__locale`, Settings_description_translation.model AS `Settings_description_translation__model`, Settings_description_translation.foreign_key AS `Settings_description_translation__foreign_key`, Settings_description_translation.field AS `Settings_description_translation__field`, Settings_description_translation.content AS `Settings_description_translation__content` FROM settings Settings LEFT JOIN i18n Settings_meta_value_translation ON (Settings_meta_value_translation.model = :c0 AND Settings_meta_value_translation.field = :c1 AND Settings_meta_value_translation.locale = :c2 AND Settings.id = (Settings_meta_value_translation.foreign_key)) LEFT JOIN i18n Settings_name_translation ON (Settings_name_translation.model = :c3 AND Settings_name_translation.field = :c4 AND Settings_name_translation.locale = :c5 AND Settings.id = (Settings_name_translation.foreign_key)) LEFT JOIN i18n Settings_description_translation ON (Settings_description_translation.model = :c6 AND Settings_description_translation.field = :c7 AND Settings_description_translation.locale = :c8 AND Settings.id = (Settings_description_translation.foreign_key)) WHERE Settings.deleted IS NULL',
'params' => [
':c0' => [
[maximum depth reached]
],
':c1' => [
[maximum depth reached]
],
':c2' => [
[maximum depth reached]
],
':c3' => [
[maximum depth reached]
],
':c4' => [
[maximum depth reached]
],
':c5' => [
[maximum depth reached]
],
':c6' => [
[maximum depth reached]
],
':c7' => [
[maximum depth reached]
],
':c8' => [
[maximum depth reached]
]
],
'defaultTypes' => [
'Settings__id' => 'uuid',
'Settings.id' => 'uuid',
'id' => 'uuid',
'Settings__meta_key' => 'string',
'Settings.meta_key' => 'string',
'meta_key' => 'string',
'Settings__meta_value' => 'text',
'Settings.meta_value' => 'text',
'meta_value' => 'text',
'Settings__name' => 'string',
'Settings.name' => 'string',
'name' => 'string',
'Settings__description' => 'text',
'Settings.description' => 'text',
'description' => 'text',
'Settings__deleted' => 'datetime',
'Settings.deleted' => 'datetime',
'deleted' => 'datetime',
'I18n__id' => 'integer',
'I18n.id' => 'integer',
'I18n__locale' => 'string',
'I18n.locale' => 'string',
'locale' => 'string',
'I18n__model' => 'string',
'I18n.model' => 'string',
'model' => 'string',
'I18n__foreign_key' => 'uuid',
'I18n.foreign_key' => 'uuid',
'foreign_key' => 'uuid',
'I18n__field' => 'string',
'I18n.field' => 'string',
'field' => 'string',
'I18n__content' => 'text',
'I18n.content' => 'text',
'content' => 'text',
'Settings_meta_value_translation__id' => 'integer',
'Settings_meta_value_translation.id' => 'integer',
'Settings_meta_value_translation__locale' => 'string',
'Settings_meta_value_translation.locale' => 'string',
'Settings_meta_value_translation__model' => 'string',
'Settings_meta_value_translation.model' => 'string',
'Settings_meta_value_translation__foreign_key' => 'uuid',
'Settings_meta_value_translation.foreign_key' => 'uuid',
'Settings_meta_value_translation__field' => 'string',
'Settings_meta_value_translation.field' => 'string',
'Settings_meta_value_translation__content' => 'text',
'Settings_meta_value_translation.content' => 'text',
'Settings_name_translation__id' => 'integer',
'Settings_name_translation.id' => 'integer',
'Settings_name_translation__locale' => 'string',
'Settings_name_translation.locale' => 'string',
'Settings_name_translation__model' => 'string',
'Settings_name_translation.model' => 'string',
'Settings_name_translation__foreign_key' => 'uuid',
'Settings_name_translation.foreign_key' => 'uuid',
'Settings_name_translation__field' => 'string',
'Settings_name_translation.field' => 'string',
'Settings_name_translation__content' => 'text',
'Settings_name_translation.content' => 'text',
'Settings_description_translation__id' => 'integer',
'Settings_description_translation.id' => 'integer',
'Settings_description_translation__locale' => 'string',
'Settings_description_translation.locale' => 'string',
'Settings_description_translation__model' => 'string',
'Settings_description_translation.model' => 'string',
'Settings_description_translation__foreign_key' => 'uuid',
'Settings_description_translation.foreign_key' => 'uuid',
'Settings_description_translation__field' => 'string',
'Settings_description_translation.field' => 'string',
'Settings_description_translation__content' => 'text',
'Settings_description_translation.content' => 'text'
],
'decorators' => (int) 0,
'executed' => true,
'hydrate' => true,
'buffered' => true,
'formatters' => (int) 2,
'mapReducers' => (int) 0,
'contain' => [
'I18n' => [
[maximum depth reached]
],
'Settings_meta_value_translation' => [
[maximum depth reached]
],
'Settings_name_translation' => [
[maximum depth reached]
],
'Settings_description_translation' => [
[maximum depth reached]
]
],
'matching' => [],
'extraOptions' => [],
'repository' => object(App\Model\Table\SettingsTable) {}
}
$settings = [
'copyright' => null,
'facebook' => null,
'title_faq' => null,
'btn_discover_name' => null
]
$titles = [
'copyright' => null,
'facebook' => null,
'title_faq' => null
]
$key = (int) 3
$s = object(App\Model\Entity\Setting) {
'id' => '141cf8f8-61a1-4706-bf4f-1af65b16fdd7',
'meta_key' => 'btn_discover_name',
'meta_value' => '',
'name' => 'découvrir la maison',
'description' => '',
'deleted' => null,
'_locale' => 'la-maison',
'_translations' => [
'fr' => object(App\Model\Entity\Setting) {},
'en' => object(App\Model\Entity\Setting) {},
'es' => object(App\Model\Entity\Setting) {},
'pt' => object(App\Model\Entity\Setting) {},
'de' => object(App\Model\Entity\Setting) {},
'it' => object(App\Model\Entity\Setting) {}
],
'[new]' => false,
'[accessible]' => [
'meta_key' => true,
'meta_value' => true,
'name' => true,
'description' => true
],
'[dirty]' => [],
'[original]' => [],
'[virtual]' => [],
'[hasErrors]' => false,
'[errors]' => [],
'[invalid]' => [],
'[repository]' => 'Settings'
}
App\Controller\AppController::initialize() - APP/Controller/AppController.php, line 111
App\Controller\PagesController::initialize() - APP/Controller/PagesController.php, line 38
Cake\Controller\Controller::__construct() - CORE/src/Controller/Controller.php, line 273
ReflectionClass::newInstance() - [internal], line ??
Cake\Http\ControllerFactory::create() - CORE/src/Http/ControllerFactory.php, line 47
Cake\Http\ActionDispatcher::dispatch() - CORE/src/Http/ActionDispatcher.php, line 91
Cake\Http\BaseApplication::__invoke() - CORE/src/Http/BaseApplication.php, line 235
Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65
Cake\Routing\Middleware\RoutingMiddleware::__invoke() - CORE/src/Routing/Middleware/RoutingMiddleware.php, line 162
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 96
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 98
[main] - ROOT/webroot/index.php, line 40
Notice (8): Trying to get property of non-object [APP/Controller/AppController.php, line 111]Code Context $settings[$s->meta_key] = $s->_translations[$this->getCurrentLocale()]->meta_value;
$titles[$s->meta_key] = $s->_translations[$this->getCurrentLocale()]->name;
}
$locales = [
(int) 0 => object(App\Model\Entity\Locale) {
'id' => 'c79e08dd-4b98-40da-812f-166a5627cafe',
'locale' => 'fr',
'name' => 'French',
'position' => (int) 1,
'active' => true,
'flag' => 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgBAMAAACBVGfHAAAAA3NCSVQICAjb4U/gAAAACXBIWXMAAADdAAAA3QFwU6IHAAAAGXRFWHRTb2Z0d2FyZQB3d3cuaW5rc2NhcGUub3Jnm+48GgAAACdQTFRF////QUib/0tUh4y+/XiAQkab9PT0/0pVkpTC/mRtQUeb9fX1/0tVpPINxQAAAAp0Uk5TAFJSamp4eHjGxmzCt2wAAAArSURBVCjPY2RAA4zUEBB1AJIPDYDEP2Eg8ZtxFQOKAMOoAOUCGIFMi6gEAD39PvX2T/ZKAAAAAElFTkSuQmCC',
'front' => true,
'[new]' => false,
'[accessible]' => [
[maximum depth reached]
],
'[dirty]' => [[maximum depth reached]],
'[original]' => [[maximum depth reached]],
'[virtual]' => [[maximum depth reached]],
'[hasErrors]' => false,
'[errors]' => [[maximum depth reached]],
'[invalid]' => [[maximum depth reached]],
'[repository]' => 'Locales'
},
(int) 1 => object(App\Model\Entity\Locale) {
'id' => '073aae08-53c1-11e9-bb3d-7054d219d6c5',
'locale' => 'es',
'name' => 'Español',
'position' => (int) 0,
'active' => true,
'flag' => 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAMAAABEpIrGAAAAA3NCSVQICAjb4U/gAAAACXBIWXMAAADdAAAA3QFwU6IHAAAAGXRFWHRTb2Z0d2FyZQB3d3cuaW5rc2NhcGUub3Jnm+48GgAAARpQTFRF////x0FLyEJKgXaZoI6wuKV1watwyEFLy0pLzntc0rZn1GJZ1WVW1bhm1mxd13JW13Vx2nFQ229L23JN23xM3IyF3I+V3JKY3Y2G3nVJ33dJ34Zs4JOA4XhH4X9Q4ZV845Bk5JJi5LG15aWL5btz5b185pFh5pRk5pZs5px558Nc6ItI6KR16cFp6pBI66lx7ZxQ7aNO7q1h7rR17tjW76BO78BX8KpP8LJk8buC8stZ9LhX9Net9PPz9efR9fHz9fX198BY98dz98xX99/s9+Lt9+3R+MVe+N2d+dOA+deU+eat+sBQ+stf+8hm+8xZ+9Bw/Lzd/MtQ/N2E/N6G/dlx/sxP/s5R/tRa/tZk/tdp/9JQ/9JR/9NThpihEAAAAAN0Uk5TAFJ4LCUCBgAAAKRJREFUOI1jYBgKgJEJL2BkYCcAqKCAgwBgiCYAYApiQ/xCY/AoiLGR4Vb2wKkgyDxaUVhI0CjaEIcCH1N3aTVLL+9wgzDsCoLtdLS1lQJdoxwisCvQF+WTFWFxsVcQs8auwFjCSY6TmZ/HQtwRuwJPtwApKU09SV9bf+wKdFWc1TVMBOStVM2wK2Bj1YqODI6I5mXlwq4AHyAcWXRIMAQT7VAAACQKgMq9uRSqAAAAAElFTkSuQmCC',
'front' => true,
'[new]' => false,
'[accessible]' => [
[maximum depth reached]
],
'[dirty]' => [[maximum depth reached]],
'[original]' => [[maximum depth reached]],
'[virtual]' => [[maximum depth reached]],
'[hasErrors]' => false,
'[errors]' => [[maximum depth reached]],
'[invalid]' => [[maximum depth reached]],
'[repository]' => 'Locales'
},
(int) 2 => object(App\Model\Entity\Locale) {
'id' => '99c33239-48e4-4692-adb0-30a7c352e556',
'locale' => 'en',
'name' => 'English',
'position' => (int) 0,
'active' => true,
'flag' => 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAAA3QAAAN0BcFOiBwAAABl0RVh0U29mdHdhcmUAd3d3Lmlua3NjYXBlLm9yZ5vuPBoAAATuSURBVFiF7ZdrUNRlFMZ/+2dhXVoW5DJcAgTjamopziiWYuhMYpHGRUk0Gs1gIshboIYMoWNqahQyig41hJLXcgSvQ6VyS2WE1IBABRSZ5b673BZYdvtQ4QUYHb7QB55v7zlz5nnOvO+c57wivV7PSEIYUfZRAf8HAeJL65MbJ8UuvSQ2EveVPewy3naqxkPZ0SsZqmD+KxYPI9+0u9/iH+n9eNw8K6Uw5UKd4/k/ml98FqmrjVQd/65DhTg1015suzvFsuHM+SDV6nA8Q3xIWeHCrqxaUnPq6NbqBhR7jTdxBLx7coueTjk2tvWQW64aktja1IiNixxZ0ldDh1/CRM3tSgR1oD/CnWrGRsRQ89YnNBf9ReJiJ4q+9CJ4hhUi0bP6eTakRgIx/g4UhZmxMHk7qoBotOX3MF4ZiJDptwz1qTQ0Pt5I8q8jXfghle8nIGlt5eBH7vwS9yoz3UyHRSyIIPR1a4rXOhP56yE6fMPozilEMn8WlgWZyHfHICSdrcXvmJqL0bG0pu2hz9MFk9Pn0M8OoXRdMu5mcHbDJDKjPHG1kT43ue/LZuTFerKj/jdEc96jK+M0hpPdMM/ex9gju1Db2bMh8x4iArL7R6GLjZSEwHE45ediuf97qKsHK3OaVoXhuSYYvYFAVYMGVxspCrPpTxDaKK+ScKKaizdb2RrkyIziXNq3HUBX34yBvQ2yzRFIF89Ho9WTmlPH7uxa1F3aJwX8B283OYnv2GF8+CcsM46iV7ejc3VGGb2KCcvnAgwqoKpBg23JDdrjk9GW30MklyFbG4ZxRAhIjDh+tZEtJ6t50NzdXyc6kVs1qBkIgoiZrnI661tQXLn1iMhnMub2FoMK0LWo6L1R2h8znOKJYGEGQF1rN6W1nQN4REqlclhuNJiA4UBUjvuI2uGIj+JRASP+CMU5t1oHBCfYG2M39h9D1DUr6S0u688ZTp2AYD74aG6pbUZx+eYjUbMnYWxtTkGlGp1u8D7FQV//2X9wsJCwOdAJWzMJek0PnfuP0L4nHb26HbHHeGSJUdRoJTgP0Y25vQUKnQ6zbw8iVFbRK5dxd/kSTEIDiD9TR2GFekCNACCXivki2Inr27xYPN0SzbFzNE0Lpi0hBZFUgvybjdw8sBffPCnpVxRD0EOlogu3UF+sCw7TtGkNeokRFilpOASt4CvjuxyK9MDlKT8RIubZUbJjGp/62SNcLaH5jQ9QhSega1Ehi11JU1YGy5pcCEgqo7S2Y0hygMN59XjH3eDCbSUTY0IwuXaclpXLECnVWMZvZ0r0GjK8NOwMfQkLmSHw7yPUVlTTFr+X7vO5IAhIQ9+mK2oFW/La+TG/nsevb/UCexKCnIY0o6SztQDMdDNl6xJnpjrLaLijQJW4H5PsC6DTofHxpuezcDIVUsTqdTvpTD8F2j4k87wRx31McpWE5D1VdPUM3IieFwUVKuZuLSFouhXxgU64/pBAVW4wwvZ9jLlcyJj8ayxduABxZ9pJxBNdeSExiqMG4/gy/T71qp5hEz8OvR6O/97I6aJmwufZsd7fHfmZvZQduYxpUiryk1mIZXER17ThS2s///mBW6WiUe5mK8XNdujFw8rE6CFw32jWNO+nUoVWJkaOszxMB11Ki6vbiPzuTvemRePKPUN8OrUBrxnc2pE5RzT6NRsVMNIC/gaY0PLtJgQJ0gAAAABJRU5ErkJggg==',
'front' => true,
'[new]' => false,
'[accessible]' => [
[maximum depth reached]
],
'[dirty]' => [[maximum depth reached]],
'[original]' => [[maximum depth reached]],
'[virtual]' => [[maximum depth reached]],
'[hasErrors]' => false,
'[errors]' => [[maximum depth reached]],
'[invalid]' => [[maximum depth reached]],
'[repository]' => 'Locales'
},
(int) 3 => object(App\Model\Entity\Locale) {
'id' => 'a20c3c73-53c0-11e9-bb3d-7054d219d6c5',
'locale' => 'de',
'name' => 'Deutsch',
'position' => (int) 0,
'active' => true,
'flag' => 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgBAMAAACBVGfHAAAAA3NCSVQICAjb4U/gAAAACXBIWXMAAADdAAAA3QFwU6IHAAAAGXRFWHRTb2Z0d2FyZQB3d3cuaW5rc2NhcGUub3Jnm+48GgAAAB5QTFRF////SEhU/+BaRkZV/+FZwUlV/31WRkZV/0tV/+FagNv1tgAAAAd0Uk5TAFJSeHjAwPIGe2oAAAAqSURBVCjPY2FAAyzUEBBWQOH/Y0mhhS0YAvfQBYyHs7Xd6IF85w71bQEAwy4HmS9PAQYAAAAASUVORK5CYII=',
'front' => true,
'[new]' => false,
'[accessible]' => [
[maximum depth reached]
],
'[dirty]' => [[maximum depth reached]],
'[original]' => [[maximum depth reached]],
'[virtual]' => [[maximum depth reached]],
'[hasErrors]' => false,
'[errors]' => [[maximum depth reached]],
'[invalid]' => [[maximum depth reached]],
'[repository]' => 'Locales'
}
]
$session = object(Cake\Http\Session) {
[protected] _engine => null
[protected] _started => true
[protected] _lifetime => (int) 86400
[protected] _isCLI => false
}
$lng = 'la-maison'
$currentLocal = 'la-maison'
$settingsDB = object(SoftDelete\ORM\Query) {
'(help)' => 'This is a Query object, to get the results execute or iterate it.',
'sql' => 'SELECT Settings.id AS `Settings__id`, Settings.meta_key AS `Settings__meta_key`, Settings.meta_value AS `Settings__meta_value`, Settings.name AS `Settings__name`, Settings.description AS `Settings__description`, Settings.deleted AS `Settings__deleted`, Settings_meta_value_translation.id AS `Settings_meta_value_translation__id`, Settings_meta_value_translation.locale AS `Settings_meta_value_translation__locale`, Settings_meta_value_translation.model AS `Settings_meta_value_translation__model`, Settings_meta_value_translation.foreign_key AS `Settings_meta_value_translation__foreign_key`, Settings_meta_value_translation.field AS `Settings_meta_value_translation__field`, Settings_meta_value_translation.content AS `Settings_meta_value_translation__content`, Settings_name_translation.id AS `Settings_name_translation__id`, Settings_name_translation.locale AS `Settings_name_translation__locale`, Settings_name_translation.model AS `Settings_name_translation__model`, Settings_name_translation.foreign_key AS `Settings_name_translation__foreign_key`, Settings_name_translation.field AS `Settings_name_translation__field`, Settings_name_translation.content AS `Settings_name_translation__content`, Settings_description_translation.id AS `Settings_description_translation__id`, Settings_description_translation.locale AS `Settings_description_translation__locale`, Settings_description_translation.model AS `Settings_description_translation__model`, Settings_description_translation.foreign_key AS `Settings_description_translation__foreign_key`, Settings_description_translation.field AS `Settings_description_translation__field`, Settings_description_translation.content AS `Settings_description_translation__content` FROM settings Settings LEFT JOIN i18n Settings_meta_value_translation ON (Settings_meta_value_translation.model = :c0 AND Settings_meta_value_translation.field = :c1 AND Settings_meta_value_translation.locale = :c2 AND Settings.id = (Settings_meta_value_translation.foreign_key)) LEFT JOIN i18n Settings_name_translation ON (Settings_name_translation.model = :c3 AND Settings_name_translation.field = :c4 AND Settings_name_translation.locale = :c5 AND Settings.id = (Settings_name_translation.foreign_key)) LEFT JOIN i18n Settings_description_translation ON (Settings_description_translation.model = :c6 AND Settings_description_translation.field = :c7 AND Settings_description_translation.locale = :c8 AND Settings.id = (Settings_description_translation.foreign_key)) WHERE Settings.deleted IS NULL',
'params' => [
':c0' => [
[maximum depth reached]
],
':c1' => [
[maximum depth reached]
],
':c2' => [
[maximum depth reached]
],
':c3' => [
[maximum depth reached]
],
':c4' => [
[maximum depth reached]
],
':c5' => [
[maximum depth reached]
],
':c6' => [
[maximum depth reached]
],
':c7' => [
[maximum depth reached]
],
':c8' => [
[maximum depth reached]
]
],
'defaultTypes' => [
'Settings__id' => 'uuid',
'Settings.id' => 'uuid',
'id' => 'uuid',
'Settings__meta_key' => 'string',
'Settings.meta_key' => 'string',
'meta_key' => 'string',
'Settings__meta_value' => 'text',
'Settings.meta_value' => 'text',
'meta_value' => 'text',
'Settings__name' => 'string',
'Settings.name' => 'string',
'name' => 'string',
'Settings__description' => 'text',
'Settings.description' => 'text',
'description' => 'text',
'Settings__deleted' => 'datetime',
'Settings.deleted' => 'datetime',
'deleted' => 'datetime',
'I18n__id' => 'integer',
'I18n.id' => 'integer',
'I18n__locale' => 'string',
'I18n.locale' => 'string',
'locale' => 'string',
'I18n__model' => 'string',
'I18n.model' => 'string',
'model' => 'string',
'I18n__foreign_key' => 'uuid',
'I18n.foreign_key' => 'uuid',
'foreign_key' => 'uuid',
'I18n__field' => 'string',
'I18n.field' => 'string',
'field' => 'string',
'I18n__content' => 'text',
'I18n.content' => 'text',
'content' => 'text',
'Settings_meta_value_translation__id' => 'integer',
'Settings_meta_value_translation.id' => 'integer',
'Settings_meta_value_translation__locale' => 'string',
'Settings_meta_value_translation.locale' => 'string',
'Settings_meta_value_translation__model' => 'string',
'Settings_meta_value_translation.model' => 'string',
'Settings_meta_value_translation__foreign_key' => 'uuid',
'Settings_meta_value_translation.foreign_key' => 'uuid',
'Settings_meta_value_translation__field' => 'string',
'Settings_meta_value_translation.field' => 'string',
'Settings_meta_value_translation__content' => 'text',
'Settings_meta_value_translation.content' => 'text',
'Settings_name_translation__id' => 'integer',
'Settings_name_translation.id' => 'integer',
'Settings_name_translation__locale' => 'string',
'Settings_name_translation.locale' => 'string',
'Settings_name_translation__model' => 'string',
'Settings_name_translation.model' => 'string',
'Settings_name_translation__foreign_key' => 'uuid',
'Settings_name_translation.foreign_key' => 'uuid',
'Settings_name_translation__field' => 'string',
'Settings_name_translation.field' => 'string',
'Settings_name_translation__content' => 'text',
'Settings_name_translation.content' => 'text',
'Settings_description_translation__id' => 'integer',
'Settings_description_translation.id' => 'integer',
'Settings_description_translation__locale' => 'string',
'Settings_description_translation.locale' => 'string',
'Settings_description_translation__model' => 'string',
'Settings_description_translation.model' => 'string',
'Settings_description_translation__foreign_key' => 'uuid',
'Settings_description_translation.foreign_key' => 'uuid',
'Settings_description_translation__field' => 'string',
'Settings_description_translation.field' => 'string',
'Settings_description_translation__content' => 'text',
'Settings_description_translation.content' => 'text'
],
'decorators' => (int) 0,
'executed' => true,
'hydrate' => true,
'buffered' => true,
'formatters' => (int) 2,
'mapReducers' => (int) 0,
'contain' => [
'I18n' => [
[maximum depth reached]
],
'Settings_meta_value_translation' => [
[maximum depth reached]
],
'Settings_name_translation' => [
[maximum depth reached]
],
'Settings_description_translation' => [
[maximum depth reached]
]
],
'matching' => [],
'extraOptions' => [],
'repository' => object(App\Model\Table\SettingsTable) {}
}
$settings = [
'copyright' => null,
'facebook' => null,
'title_faq' => null,
'btn_discover_name' => null
]
$titles = [
'copyright' => null,
'facebook' => null,
'title_faq' => null
]
$key = (int) 3
$s = object(App\Model\Entity\Setting) {
'id' => '141cf8f8-61a1-4706-bf4f-1af65b16fdd7',
'meta_key' => 'btn_discover_name',
'meta_value' => '',
'name' => 'découvrir la maison',
'description' => '',
'deleted' => null,
'_locale' => 'la-maison',
'_translations' => [
'fr' => object(App\Model\Entity\Setting) {},
'en' => object(App\Model\Entity\Setting) {},
'es' => object(App\Model\Entity\Setting) {},
'pt' => object(App\Model\Entity\Setting) {},
'de' => object(App\Model\Entity\Setting) {},
'it' => object(App\Model\Entity\Setting) {}
],
'[new]' => false,
'[accessible]' => [
'meta_key' => true,
'meta_value' => true,
'name' => true,
'description' => true
],
'[dirty]' => [],
'[original]' => [],
'[virtual]' => [],
'[hasErrors]' => false,
'[errors]' => [],
'[invalid]' => [],
'[repository]' => 'Settings'
}
App\Controller\AppController::initialize() - APP/Controller/AppController.php, line 111
App\Controller\PagesController::initialize() - APP/Controller/PagesController.php, line 38
Cake\Controller\Controller::__construct() - CORE/src/Controller/Controller.php, line 273
ReflectionClass::newInstance() - [internal], line ??
Cake\Http\ControllerFactory::create() - CORE/src/Http/ControllerFactory.php, line 47
Cake\Http\ActionDispatcher::dispatch() - CORE/src/Http/ActionDispatcher.php, line 91
Cake\Http\BaseApplication::__invoke() - CORE/src/Http/BaseApplication.php, line 235
Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65
Cake\Routing\Middleware\RoutingMiddleware::__invoke() - CORE/src/Routing/Middleware/RoutingMiddleware.php, line 162
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 96
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 98
[main] - ROOT/webroot/index.php, line 40
Notice (8): Undefined index: la-maison [APP/Controller/AppController.php, line 110]Code Context foreach ($settingsDB as $key => $s) {
$settings[$s->meta_key] = $s->_translations[$this->getCurrentLocale()]->meta_value;
$titles[$s->meta_key] = $s->_translations[$this->getCurrentLocale()]->name;
$locales = [
(int) 0 => object(App\Model\Entity\Locale) {
'id' => 'c79e08dd-4b98-40da-812f-166a5627cafe',
'locale' => 'fr',
'name' => 'French',
'position' => (int) 1,
'active' => true,
'flag' => 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgBAMAAACBVGfHAAAAA3NCSVQICAjb4U/gAAAACXBIWXMAAADdAAAA3QFwU6IHAAAAGXRFWHRTb2Z0d2FyZQB3d3cuaW5rc2NhcGUub3Jnm+48GgAAACdQTFRF////QUib/0tUh4y+/XiAQkab9PT0/0pVkpTC/mRtQUeb9fX1/0tVpPINxQAAAAp0Uk5TAFJSamp4eHjGxmzCt2wAAAArSURBVCjPY2RAA4zUEBB1AJIPDYDEP2Eg8ZtxFQOKAMOoAOUCGIFMi6gEAD39PvX2T/ZKAAAAAElFTkSuQmCC',
'front' => true,
'[new]' => false,
'[accessible]' => [
[maximum depth reached]
],
'[dirty]' => [[maximum depth reached]],
'[original]' => [[maximum depth reached]],
'[virtual]' => [[maximum depth reached]],
'[hasErrors]' => false,
'[errors]' => [[maximum depth reached]],
'[invalid]' => [[maximum depth reached]],
'[repository]' => 'Locales'
},
(int) 1 => object(App\Model\Entity\Locale) {
'id' => '073aae08-53c1-11e9-bb3d-7054d219d6c5',
'locale' => 'es',
'name' => 'Español',
'position' => (int) 0,
'active' => true,
'flag' => 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAMAAABEpIrGAAAAA3NCSVQICAjb4U/gAAAACXBIWXMAAADdAAAA3QFwU6IHAAAAGXRFWHRTb2Z0d2FyZQB3d3cuaW5rc2NhcGUub3Jnm+48GgAAARpQTFRF////x0FLyEJKgXaZoI6wuKV1watwyEFLy0pLzntc0rZn1GJZ1WVW1bhm1mxd13JW13Vx2nFQ229L23JN23xM3IyF3I+V3JKY3Y2G3nVJ33dJ34Zs4JOA4XhH4X9Q4ZV845Bk5JJi5LG15aWL5btz5b185pFh5pRk5pZs5px558Nc6ItI6KR16cFp6pBI66lx7ZxQ7aNO7q1h7rR17tjW76BO78BX8KpP8LJk8buC8stZ9LhX9Net9PPz9efR9fHz9fX198BY98dz98xX99/s9+Lt9+3R+MVe+N2d+dOA+deU+eat+sBQ+stf+8hm+8xZ+9Bw/Lzd/MtQ/N2E/N6G/dlx/sxP/s5R/tRa/tZk/tdp/9JQ/9JR/9NThpihEAAAAAN0Uk5TAFJ4LCUCBgAAAKRJREFUOI1jYBgKgJEJL2BkYCcAqKCAgwBgiCYAYApiQ/xCY/AoiLGR4Vb2wKkgyDxaUVhI0CjaEIcCH1N3aTVLL+9wgzDsCoLtdLS1lQJdoxwisCvQF+WTFWFxsVcQs8auwFjCSY6TmZ/HQtwRuwJPtwApKU09SV9bf+wKdFWc1TVMBOStVM2wK2Bj1YqODI6I5mXlwq4AHyAcWXRIMAQT7VAAACQKgMq9uRSqAAAAAElFTkSuQmCC',
'front' => true,
'[new]' => false,
'[accessible]' => [
[maximum depth reached]
],
'[dirty]' => [[maximum depth reached]],
'[original]' => [[maximum depth reached]],
'[virtual]' => [[maximum depth reached]],
'[hasErrors]' => false,
'[errors]' => [[maximum depth reached]],
'[invalid]' => [[maximum depth reached]],
'[repository]' => 'Locales'
},
(int) 2 => object(App\Model\Entity\Locale) {
'id' => '99c33239-48e4-4692-adb0-30a7c352e556',
'locale' => 'en',
'name' => 'English',
'position' => (int) 0,
'active' => true,
'flag' => 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAAA3QAAAN0BcFOiBwAAABl0RVh0U29mdHdhcmUAd3d3Lmlua3NjYXBlLm9yZ5vuPBoAAATuSURBVFiF7ZdrUNRlFMZ/+2dhXVoW5DJcAgTjamopziiWYuhMYpHGRUk0Gs1gIshboIYMoWNqahQyig41hJLXcgSvQ6VyS2WE1IBABRSZ5b673BZYdvtQ4QUYHb7QB55v7zlz5nnOvO+c57wivV7PSEIYUfZRAf8HAeJL65MbJ8UuvSQ2EveVPewy3naqxkPZ0SsZqmD+KxYPI9+0u9/iH+n9eNw8K6Uw5UKd4/k/ml98FqmrjVQd/65DhTg1015suzvFsuHM+SDV6nA8Q3xIWeHCrqxaUnPq6NbqBhR7jTdxBLx7coueTjk2tvWQW64aktja1IiNixxZ0ldDh1/CRM3tSgR1oD/CnWrGRsRQ89YnNBf9ReJiJ4q+9CJ4hhUi0bP6eTakRgIx/g4UhZmxMHk7qoBotOX3MF4ZiJDptwz1qTQ0Pt5I8q8jXfghle8nIGlt5eBH7vwS9yoz3UyHRSyIIPR1a4rXOhP56yE6fMPozilEMn8WlgWZyHfHICSdrcXvmJqL0bG0pu2hz9MFk9Pn0M8OoXRdMu5mcHbDJDKjPHG1kT43ue/LZuTFerKj/jdEc96jK+M0hpPdMM/ex9gju1Db2bMh8x4iArL7R6GLjZSEwHE45ediuf97qKsHK3OaVoXhuSYYvYFAVYMGVxspCrPpTxDaKK+ScKKaizdb2RrkyIziXNq3HUBX34yBvQ2yzRFIF89Ho9WTmlPH7uxa1F3aJwX8B283OYnv2GF8+CcsM46iV7ejc3VGGb2KCcvnAgwqoKpBg23JDdrjk9GW30MklyFbG4ZxRAhIjDh+tZEtJ6t50NzdXyc6kVs1qBkIgoiZrnI661tQXLn1iMhnMub2FoMK0LWo6L1R2h8znOKJYGEGQF1rN6W1nQN4REqlclhuNJiA4UBUjvuI2uGIj+JRASP+CMU5t1oHBCfYG2M39h9D1DUr6S0u688ZTp2AYD74aG6pbUZx+eYjUbMnYWxtTkGlGp1u8D7FQV//2X9wsJCwOdAJWzMJek0PnfuP0L4nHb26HbHHeGSJUdRoJTgP0Y25vQUKnQ6zbw8iVFbRK5dxd/kSTEIDiD9TR2GFekCNACCXivki2Inr27xYPN0SzbFzNE0Lpi0hBZFUgvybjdw8sBffPCnpVxRD0EOlogu3UF+sCw7TtGkNeokRFilpOASt4CvjuxyK9MDlKT8RIubZUbJjGp/62SNcLaH5jQ9QhSega1Ehi11JU1YGy5pcCEgqo7S2Y0hygMN59XjH3eDCbSUTY0IwuXaclpXLECnVWMZvZ0r0GjK8NOwMfQkLmSHw7yPUVlTTFr+X7vO5IAhIQ9+mK2oFW/La+TG/nsevb/UCexKCnIY0o6SztQDMdDNl6xJnpjrLaLijQJW4H5PsC6DTofHxpuezcDIVUsTqdTvpTD8F2j4k87wRx31McpWE5D1VdPUM3IieFwUVKuZuLSFouhXxgU64/pBAVW4wwvZ9jLlcyJj8ayxduABxZ9pJxBNdeSExiqMG4/gy/T71qp5hEz8OvR6O/97I6aJmwufZsd7fHfmZvZQduYxpUiryk1mIZXER17ThS2s///mBW6WiUe5mK8XNdujFw8rE6CFw32jWNO+nUoVWJkaOszxMB11Ki6vbiPzuTvemRePKPUN8OrUBrxnc2pE5RzT6NRsVMNIC/gaY0PLtJgQJ0gAAAABJRU5ErkJggg==',
'front' => true,
'[new]' => false,
'[accessible]' => [
[maximum depth reached]
],
'[dirty]' => [[maximum depth reached]],
'[original]' => [[maximum depth reached]],
'[virtual]' => [[maximum depth reached]],
'[hasErrors]' => false,
'[errors]' => [[maximum depth reached]],
'[invalid]' => [[maximum depth reached]],
'[repository]' => 'Locales'
},
(int) 3 => object(App\Model\Entity\Locale) {
'id' => 'a20c3c73-53c0-11e9-bb3d-7054d219d6c5',
'locale' => 'de',
'name' => 'Deutsch',
'position' => (int) 0,
'active' => true,
'flag' => 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgBAMAAACBVGfHAAAAA3NCSVQICAjb4U/gAAAACXBIWXMAAADdAAAA3QFwU6IHAAAAGXRFWHRTb2Z0d2FyZQB3d3cuaW5rc2NhcGUub3Jnm+48GgAAAB5QTFRF////SEhU/+BaRkZV/+FZwUlV/31WRkZV/0tV/+FagNv1tgAAAAd0Uk5TAFJSeHjAwPIGe2oAAAAqSURBVCjPY2FAAyzUEBBWQOH/Y0mhhS0YAvfQBYyHs7Xd6IF85w71bQEAwy4HmS9PAQYAAAAASUVORK5CYII=',
'front' => true,
'[new]' => false,
'[accessible]' => [
[maximum depth reached]
],
'[dirty]' => [[maximum depth reached]],
'[original]' => [[maximum depth reached]],
'[virtual]' => [[maximum depth reached]],
'[hasErrors]' => false,
'[errors]' => [[maximum depth reached]],
'[invalid]' => [[maximum depth reached]],
'[repository]' => 'Locales'
}
]
$session = object(Cake\Http\Session) {
[protected] _engine => null
[protected] _started => true
[protected] _lifetime => (int) 86400
[protected] _isCLI => false
}
$lng = 'la-maison'
$currentLocal = 'la-maison'
$settingsDB = object(SoftDelete\ORM\Query) {
'(help)' => 'This is a Query object, to get the results execute or iterate it.',
'sql' => 'SELECT Settings.id AS `Settings__id`, Settings.meta_key AS `Settings__meta_key`, Settings.meta_value AS `Settings__meta_value`, Settings.name AS `Settings__name`, Settings.description AS `Settings__description`, Settings.deleted AS `Settings__deleted`, Settings_meta_value_translation.id AS `Settings_meta_value_translation__id`, Settings_meta_value_translation.locale AS `Settings_meta_value_translation__locale`, Settings_meta_value_translation.model AS `Settings_meta_value_translation__model`, Settings_meta_value_translation.foreign_key AS `Settings_meta_value_translation__foreign_key`, Settings_meta_value_translation.field AS `Settings_meta_value_translation__field`, Settings_meta_value_translation.content AS `Settings_meta_value_translation__content`, Settings_name_translation.id AS `Settings_name_translation__id`, Settings_name_translation.locale AS `Settings_name_translation__locale`, Settings_name_translation.model AS `Settings_name_translation__model`, Settings_name_translation.foreign_key AS `Settings_name_translation__foreign_key`, Settings_name_translation.field AS `Settings_name_translation__field`, Settings_name_translation.content AS `Settings_name_translation__content`, Settings_description_translation.id AS `Settings_description_translation__id`, Settings_description_translation.locale AS `Settings_description_translation__locale`, Settings_description_translation.model AS `Settings_description_translation__model`, Settings_description_translation.foreign_key AS `Settings_description_translation__foreign_key`, Settings_description_translation.field AS `Settings_description_translation__field`, Settings_description_translation.content AS `Settings_description_translation__content` FROM settings Settings LEFT JOIN i18n Settings_meta_value_translation ON (Settings_meta_value_translation.model = :c0 AND Settings_meta_value_translation.field = :c1 AND Settings_meta_value_translation.locale = :c2 AND Settings.id = (Settings_meta_value_translation.foreign_key)) LEFT JOIN i18n Settings_name_translation ON (Settings_name_translation.model = :c3 AND Settings_name_translation.field = :c4 AND Settings_name_translation.locale = :c5 AND Settings.id = (Settings_name_translation.foreign_key)) LEFT JOIN i18n Settings_description_translation ON (Settings_description_translation.model = :c6 AND Settings_description_translation.field = :c7 AND Settings_description_translation.locale = :c8 AND Settings.id = (Settings_description_translation.foreign_key)) WHERE Settings.deleted IS NULL',
'params' => [
':c0' => [
[maximum depth reached]
],
':c1' => [
[maximum depth reached]
],
':c2' => [
[maximum depth reached]
],
':c3' => [
[maximum depth reached]
],
':c4' => [
[maximum depth reached]
],
':c5' => [
[maximum depth reached]
],
':c6' => [
[maximum depth reached]
],
':c7' => [
[maximum depth reached]
],
':c8' => [
[maximum depth reached]
]
],
'defaultTypes' => [
'Settings__id' => 'uuid',
'Settings.id' => 'uuid',
'id' => 'uuid',
'Settings__meta_key' => 'string',
'Settings.meta_key' => 'string',
'meta_key' => 'string',
'Settings__meta_value' => 'text',
'Settings.meta_value' => 'text',
'meta_value' => 'text',
'Settings__name' => 'string',
'Settings.name' => 'string',
'name' => 'string',
'Settings__description' => 'text',
'Settings.description' => 'text',
'description' => 'text',
'Settings__deleted' => 'datetime',
'Settings.deleted' => 'datetime',
'deleted' => 'datetime',
'I18n__id' => 'integer',
'I18n.id' => 'integer',
'I18n__locale' => 'string',
'I18n.locale' => 'string',
'locale' => 'string',
'I18n__model' => 'string',
'I18n.model' => 'string',
'model' => 'string',
'I18n__foreign_key' => 'uuid',
'I18n.foreign_key' => 'uuid',
'foreign_key' => 'uuid',
'I18n__field' => 'string',
'I18n.field' => 'string',
'field' => 'string',
'I18n__content' => 'text',
'I18n.content' => 'text',
'content' => 'text',
'Settings_meta_value_translation__id' => 'integer',
'Settings_meta_value_translation.id' => 'integer',
'Settings_meta_value_translation__locale' => 'string',
'Settings_meta_value_translation.locale' => 'string',
'Settings_meta_value_translation__model' => 'string',
'Settings_meta_value_translation.model' => 'string',
'Settings_meta_value_translation__foreign_key' => 'uuid',
'Settings_meta_value_translation.foreign_key' => 'uuid',
'Settings_meta_value_translation__field' => 'string',
'Settings_meta_value_translation.field' => 'string',
'Settings_meta_value_translation__content' => 'text',
'Settings_meta_value_translation.content' => 'text',
'Settings_name_translation__id' => 'integer',
'Settings_name_translation.id' => 'integer',
'Settings_name_translation__locale' => 'string',
'Settings_name_translation.locale' => 'string',
'Settings_name_translation__model' => 'string',
'Settings_name_translation.model' => 'string',
'Settings_name_translation__foreign_key' => 'uuid',
'Settings_name_translation.foreign_key' => 'uuid',
'Settings_name_translation__field' => 'string',
'Settings_name_translation.field' => 'string',
'Settings_name_translation__content' => 'text',
'Settings_name_translation.content' => 'text',
'Settings_description_translation__id' => 'integer',
'Settings_description_translation.id' => 'integer',
'Settings_description_translation__locale' => 'string',
'Settings_description_translation.locale' => 'string',
'Settings_description_translation__model' => 'string',
'Settings_description_translation.model' => 'string',
'Settings_description_translation__foreign_key' => 'uuid',
'Settings_description_translation.foreign_key' => 'uuid',
'Settings_description_translation__field' => 'string',
'Settings_description_translation.field' => 'string',
'Settings_description_translation__content' => 'text',
'Settings_description_translation.content' => 'text'
],
'decorators' => (int) 0,
'executed' => true,
'hydrate' => true,
'buffered' => true,
'formatters' => (int) 2,
'mapReducers' => (int) 0,
'contain' => [
'I18n' => [
[maximum depth reached]
],
'Settings_meta_value_translation' => [
[maximum depth reached]
],
'Settings_name_translation' => [
[maximum depth reached]
],
'Settings_description_translation' => [
[maximum depth reached]
]
],
'matching' => [],
'extraOptions' => [],
'repository' => object(App\Model\Table\SettingsTable) {}
}
$settings = [
'copyright' => null,
'facebook' => null,
'title_faq' => null,
'btn_discover_name' => null
]
$titles = [
'copyright' => null,
'facebook' => null,
'title_faq' => null,
'btn_discover_name' => null
]
$key = (int) 4
$s = object(App\Model\Entity\Setting) {
'id' => '14ebade7-0290-4933-8533-f8a80df4f9a3',
'meta_key' => 'btn_choose',
'meta_value' => '',
'name' => 'choisir',
'description' => '',
'deleted' => null,
'_locale' => 'la-maison',
'_translations' => [
'fr' => object(App\Model\Entity\Setting) {},
'es' => object(App\Model\Entity\Setting) {},
'pt' => object(App\Model\Entity\Setting) {},
'en' => object(App\Model\Entity\Setting) {},
'de' => object(App\Model\Entity\Setting) {},
'it' => object(App\Model\Entity\Setting) {}
],
'[new]' => false,
'[accessible]' => [
'meta_key' => true,
'meta_value' => true,
'name' => true,
'description' => true
],
'[dirty]' => [],
'[original]' => [],
'[virtual]' => [],
'[hasErrors]' => false,
'[errors]' => [],
'[invalid]' => [],
'[repository]' => 'Settings'
}
App\Controller\AppController::initialize() - APP/Controller/AppController.php, line 110
App\Controller\PagesController::initialize() - APP/Controller/PagesController.php, line 38
Cake\Controller\Controller::__construct() - CORE/src/Controller/Controller.php, line 273
ReflectionClass::newInstance() - [internal], line ??
Cake\Http\ControllerFactory::create() - CORE/src/Http/ControllerFactory.php, line 47
Cake\Http\ActionDispatcher::dispatch() - CORE/src/Http/ActionDispatcher.php, line 91
Cake\Http\BaseApplication::__invoke() - CORE/src/Http/BaseApplication.php, line 235
Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65
Cake\Routing\Middleware\RoutingMiddleware::__invoke() - CORE/src/Routing/Middleware/RoutingMiddleware.php, line 162
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 96
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 98
[main] - ROOT/webroot/index.php, line 40
Notice (8): Trying to get property of non-object [APP/Controller/AppController.php, line 110]Code Context foreach ($settingsDB as $key => $s) {
$settings[$s->meta_key] = $s->_translations[$this->getCurrentLocale()]->meta_value;
$titles[$s->meta_key] = $s->_translations[$this->getCurrentLocale()]->name;
$locales = [
(int) 0 => object(App\Model\Entity\Locale) {
'id' => 'c79e08dd-4b98-40da-812f-166a5627cafe',
'locale' => 'fr',
'name' => 'French',
'position' => (int) 1,
'active' => true,
'flag' => 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgBAMAAACBVGfHAAAAA3NCSVQICAjb4U/gAAAACXBIWXMAAADdAAAA3QFwU6IHAAAAGXRFWHRTb2Z0d2FyZQB3d3cuaW5rc2NhcGUub3Jnm+48GgAAACdQTFRF////QUib/0tUh4y+/XiAQkab9PT0/0pVkpTC/mRtQUeb9fX1/0tVpPINxQAAAAp0Uk5TAFJSamp4eHjGxmzCt2wAAAArSURBVCjPY2RAA4zUEBB1AJIPDYDEP2Eg8ZtxFQOKAMOoAOUCGIFMi6gEAD39PvX2T/ZKAAAAAElFTkSuQmCC',
'front' => true,
'[new]' => false,
'[accessible]' => [
[maximum depth reached]
],
'[dirty]' => [[maximum depth reached]],
'[original]' => [[maximum depth reached]],
'[virtual]' => [[maximum depth reached]],
'[hasErrors]' => false,
'[errors]' => [[maximum depth reached]],
'[invalid]' => [[maximum depth reached]],
'[repository]' => 'Locales'
},
(int) 1 => object(App\Model\Entity\Locale) {
'id' => '073aae08-53c1-11e9-bb3d-7054d219d6c5',
'locale' => 'es',
'name' => 'Español',
'position' => (int) 0,
'active' => true,
'flag' => 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAMAAABEpIrGAAAAA3NCSVQICAjb4U/gAAAACXBIWXMAAADdAAAA3QFwU6IHAAAAGXRFWHRTb2Z0d2FyZQB3d3cuaW5rc2NhcGUub3Jnm+48GgAAARpQTFRF////x0FLyEJKgXaZoI6wuKV1watwyEFLy0pLzntc0rZn1GJZ1WVW1bhm1mxd13JW13Vx2nFQ229L23JN23xM3IyF3I+V3JKY3Y2G3nVJ33dJ34Zs4JOA4XhH4X9Q4ZV845Bk5JJi5LG15aWL5btz5b185pFh5pRk5pZs5px558Nc6ItI6KR16cFp6pBI66lx7ZxQ7aNO7q1h7rR17tjW76BO78BX8KpP8LJk8buC8stZ9LhX9Net9PPz9efR9fHz9fX198BY98dz98xX99/s9+Lt9+3R+MVe+N2d+dOA+deU+eat+sBQ+stf+8hm+8xZ+9Bw/Lzd/MtQ/N2E/N6G/dlx/sxP/s5R/tRa/tZk/tdp/9JQ/9JR/9NThpihEAAAAAN0Uk5TAFJ4LCUCBgAAAKRJREFUOI1jYBgKgJEJL2BkYCcAqKCAgwBgiCYAYApiQ/xCY/AoiLGR4Vb2wKkgyDxaUVhI0CjaEIcCH1N3aTVLL+9wgzDsCoLtdLS1lQJdoxwisCvQF+WTFWFxsVcQs8auwFjCSY6TmZ/HQtwRuwJPtwApKU09SV9bf+wKdFWc1TVMBOStVM2wK2Bj1YqODI6I5mXlwq4AHyAcWXRIMAQT7VAAACQKgMq9uRSqAAAAAElFTkSuQmCC',
'front' => true,
'[new]' => false,
'[accessible]' => [
[maximum depth reached]
],
'[dirty]' => [[maximum depth reached]],
'[original]' => [[maximum depth reached]],
'[virtual]' => [[maximum depth reached]],
'[hasErrors]' => false,
'[errors]' => [[maximum depth reached]],
'[invalid]' => [[maximum depth reached]],
'[repository]' => 'Locales'
},
(int) 2 => object(App\Model\Entity\Locale) {
'id' => '99c33239-48e4-4692-adb0-30a7c352e556',
'locale' => 'en',
'name' => 'English',
'position' => (int) 0,
'active' => true,
'flag' => 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAAA3QAAAN0BcFOiBwAAABl0RVh0U29mdHdhcmUAd3d3Lmlua3NjYXBlLm9yZ5vuPBoAAATuSURBVFiF7ZdrUNRlFMZ/+2dhXVoW5DJcAgTjamopziiWYuhMYpHGRUk0Gs1gIshboIYMoWNqahQyig41hJLXcgSvQ6VyS2WE1IBABRSZ5b673BZYdvtQ4QUYHb7QB55v7zlz5nnOvO+c57wivV7PSEIYUfZRAf8HAeJL65MbJ8UuvSQ2EveVPewy3naqxkPZ0SsZqmD+KxYPI9+0u9/iH+n9eNw8K6Uw5UKd4/k/ml98FqmrjVQd/65DhTg1015suzvFsuHM+SDV6nA8Q3xIWeHCrqxaUnPq6NbqBhR7jTdxBLx7coueTjk2tvWQW64aktja1IiNixxZ0ldDh1/CRM3tSgR1oD/CnWrGRsRQ89YnNBf9ReJiJ4q+9CJ4hhUi0bP6eTakRgIx/g4UhZmxMHk7qoBotOX3MF4ZiJDptwz1qTQ0Pt5I8q8jXfghle8nIGlt5eBH7vwS9yoz3UyHRSyIIPR1a4rXOhP56yE6fMPozilEMn8WlgWZyHfHICSdrcXvmJqL0bG0pu2hz9MFk9Pn0M8OoXRdMu5mcHbDJDKjPHG1kT43ue/LZuTFerKj/jdEc96jK+M0hpPdMM/ex9gju1Db2bMh8x4iArL7R6GLjZSEwHE45ediuf97qKsHK3OaVoXhuSYYvYFAVYMGVxspCrPpTxDaKK+ScKKaizdb2RrkyIziXNq3HUBX34yBvQ2yzRFIF89Ho9WTmlPH7uxa1F3aJwX8B283OYnv2GF8+CcsM46iV7ejc3VGGb2KCcvnAgwqoKpBg23JDdrjk9GW30MklyFbG4ZxRAhIjDh+tZEtJ6t50NzdXyc6kVs1qBkIgoiZrnI661tQXLn1iMhnMub2FoMK0LWo6L1R2h8znOKJYGEGQF1rN6W1nQN4REqlclhuNJiA4UBUjvuI2uGIj+JRASP+CMU5t1oHBCfYG2M39h9D1DUr6S0u688ZTp2AYD74aG6pbUZx+eYjUbMnYWxtTkGlGp1u8D7FQV//2X9wsJCwOdAJWzMJek0PnfuP0L4nHb26HbHHeGSJUdRoJTgP0Y25vQUKnQ6zbw8iVFbRK5dxd/kSTEIDiD9TR2GFekCNACCXivki2Inr27xYPN0SzbFzNE0Lpi0hBZFUgvybjdw8sBffPCnpVxRD0EOlogu3UF+sCw7TtGkNeokRFilpOASt4CvjuxyK9MDlKT8RIubZUbJjGp/62SNcLaH5jQ9QhSega1Ehi11JU1YGy5pcCEgqo7S2Y0hygMN59XjH3eDCbSUTY0IwuXaclpXLECnVWMZvZ0r0GjK8NOwMfQkLmSHw7yPUVlTTFr+X7vO5IAhIQ9+mK2oFW/La+TG/nsevb/UCexKCnIY0o6SztQDMdDNl6xJnpjrLaLijQJW4H5PsC6DTofHxpuezcDIVUsTqdTvpTD8F2j4k87wRx31McpWE5D1VdPUM3IieFwUVKuZuLSFouhXxgU64/pBAVW4wwvZ9jLlcyJj8ayxduABxZ9pJxBNdeSExiqMG4/gy/T71qp5hEz8OvR6O/97I6aJmwufZsd7fHfmZvZQduYxpUiryk1mIZXER17ThS2s///mBW6WiUe5mK8XNdujFw8rE6CFw32jWNO+nUoVWJkaOszxMB11Ki6vbiPzuTvemRePKPUN8OrUBrxnc2pE5RzT6NRsVMNIC/gaY0PLtJgQJ0gAAAABJRU5ErkJggg==',
'front' => true,
'[new]' => false,
'[accessible]' => [
[maximum depth reached]
],
'[dirty]' => [[maximum depth reached]],
'[original]' => [[maximum depth reached]],
'[virtual]' => [[maximum depth reached]],
'[hasErrors]' => false,
'[errors]' => [[maximum depth reached]],
'[invalid]' => [[maximum depth reached]],
'[repository]' => 'Locales'
},
(int) 3 => object(App\Model\Entity\Locale) {
'id' => 'a20c3c73-53c0-11e9-bb3d-7054d219d6c5',
'locale' => 'de',
'name' => 'Deutsch',
'position' => (int) 0,
'active' => true,
'flag' => 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgBAMAAACBVGfHAAAAA3NCSVQICAjb4U/gAAAACXBIWXMAAADdAAAA3QFwU6IHAAAAGXRFWHRTb2Z0d2FyZQB3d3cuaW5rc2NhcGUub3Jnm+48GgAAAB5QTFRF////SEhU/+BaRkZV/+FZwUlV/31WRkZV/0tV/+FagNv1tgAAAAd0Uk5TAFJSeHjAwPIGe2oAAAAqSURBVCjPY2FAAyzUEBBWQOH/Y0mhhS0YAvfQBYyHs7Xd6IF85w71bQEAwy4HmS9PAQYAAAAASUVORK5CYII=',
'front' => true,
'[new]' => false,
'[accessible]' => [
[maximum depth reached]
],
'[dirty]' => [[maximum depth reached]],
'[original]' => [[maximum depth reached]],
'[virtual]' => [[maximum depth reached]],
'[hasErrors]' => false,
'[errors]' => [[maximum depth reached]],
'[invalid]' => [[maximum depth reached]],
'[repository]' => 'Locales'
}
]
$session = object(Cake\Http\Session) {
[protected] _engine => null
[protected] _started => true
[protected] _lifetime => (int) 86400
[protected] _isCLI => false
}
$lng = 'la-maison'
$currentLocal = 'la-maison'
$settingsDB = object(SoftDelete\ORM\Query) {
'(help)' => 'This is a Query object, to get the results execute or iterate it.',
'sql' => 'SELECT Settings.id AS `Settings__id`, Settings.meta_key AS `Settings__meta_key`, Settings.meta_value AS `Settings__meta_value`, Settings.name AS `Settings__name`, Settings.description AS `Settings__description`, Settings.deleted AS `Settings__deleted`, Settings_meta_value_translation.id AS `Settings_meta_value_translation__id`, Settings_meta_value_translation.locale AS `Settings_meta_value_translation__locale`, Settings_meta_value_translation.model AS `Settings_meta_value_translation__model`, Settings_meta_value_translation.foreign_key AS `Settings_meta_value_translation__foreign_key`, Settings_meta_value_translation.field AS `Settings_meta_value_translation__field`, Settings_meta_value_translation.content AS `Settings_meta_value_translation__content`, Settings_name_translation.id AS `Settings_name_translation__id`, Settings_name_translation.locale AS `Settings_name_translation__locale`, Settings_name_translation.model AS `Settings_name_translation__model`, Settings_name_translation.foreign_key AS `Settings_name_translation__foreign_key`, Settings_name_translation.field AS `Settings_name_translation__field`, Settings_name_translation.content AS `Settings_name_translation__content`, Settings_description_translation.id AS `Settings_description_translation__id`, Settings_description_translation.locale AS `Settings_description_translation__locale`, Settings_description_translation.model AS `Settings_description_translation__model`, Settings_description_translation.foreign_key AS `Settings_description_translation__foreign_key`, Settings_description_translation.field AS `Settings_description_translation__field`, Settings_description_translation.content AS `Settings_description_translation__content` FROM settings Settings LEFT JOIN i18n Settings_meta_value_translation ON (Settings_meta_value_translation.model = :c0 AND Settings_meta_value_translation.field = :c1 AND Settings_meta_value_translation.locale = :c2 AND Settings.id = (Settings_meta_value_translation.foreign_key)) LEFT JOIN i18n Settings_name_translation ON (Settings_name_translation.model = :c3 AND Settings_name_translation.field = :c4 AND Settings_name_translation.locale = :c5 AND Settings.id = (Settings_name_translation.foreign_key)) LEFT JOIN i18n Settings_description_translation ON (Settings_description_translation.model = :c6 AND Settings_description_translation.field = :c7 AND Settings_description_translation.locale = :c8 AND Settings.id = (Settings_description_translation.foreign_key)) WHERE Settings.deleted IS NULL',
'params' => [
':c0' => [
[maximum depth reached]
],
':c1' => [
[maximum depth reached]
],
':c2' => [
[maximum depth reached]
],
':c3' => [
[maximum depth reached]
],
':c4' => [
[maximum depth reached]
],
':c5' => [
[maximum depth reached]
],
':c6' => [
[maximum depth reached]
],
':c7' => [
[maximum depth reached]
],
':c8' => [
[maximum depth reached]
]
],
'defaultTypes' => [
'Settings__id' => 'uuid',
'Settings.id' => 'uuid',
'id' => 'uuid',
'Settings__meta_key' => 'string',
'Settings.meta_key' => 'string',
'meta_key' => 'string',
'Settings__meta_value' => 'text',
'Settings.meta_value' => 'text',
'meta_value' => 'text',
'Settings__name' => 'string',
'Settings.name' => 'string',
'name' => 'string',
'Settings__description' => 'text',
'Settings.description' => 'text',
'description' => 'text',
'Settings__deleted' => 'datetime',
'Settings.deleted' => 'datetime',
'deleted' => 'datetime',
'I18n__id' => 'integer',
'I18n.id' => 'integer',
'I18n__locale' => 'string',
'I18n.locale' => 'string',
'locale' => 'string',
'I18n__model' => 'string',
'I18n.model' => 'string',
'model' => 'string',
'I18n__foreign_key' => 'uuid',
'I18n.foreign_key' => 'uuid',
'foreign_key' => 'uuid',
'I18n__field' => 'string',
'I18n.field' => 'string',
'field' => 'string',
'I18n__content' => 'text',
'I18n.content' => 'text',
'content' => 'text',
'Settings_meta_value_translation__id' => 'integer',
'Settings_meta_value_translation.id' => 'integer',
'Settings_meta_value_translation__locale' => 'string',
'Settings_meta_value_translation.locale' => 'string',
'Settings_meta_value_translation__model' => 'string',
'Settings_meta_value_translation.model' => 'string',
'Settings_meta_value_translation__foreign_key' => 'uuid',
'Settings_meta_value_translation.foreign_key' => 'uuid',
'Settings_meta_value_translation__field' => 'string',
'Settings_meta_value_translation.field' => 'string',
'Settings_meta_value_translation__content' => 'text',
'Settings_meta_value_translation.content' => 'text',
'Settings_name_translation__id' => 'integer',
'Settings_name_translation.id' => 'integer',
'Settings_name_translation__locale' => 'string',
'Settings_name_translation.locale' => 'string',
'Settings_name_translation__model' => 'string',
'Settings_name_translation.model' => 'string',
'Settings_name_translation__foreign_key' => 'uuid',
'Settings_name_translation.foreign_key' => 'uuid',
'Settings_name_translation__field' => 'string',
'Settings_name_translation.field' => 'string',
'Settings_name_translation__content' => 'text',
'Settings_name_translation.content' => 'text',
'Settings_description_translation__id' => 'integer',
'Settings_description_translation.id' => 'integer',
'Settings_description_translation__locale' => 'string',
'Settings_description_translation.locale' => 'string',
'Settings_description_translation__model' => 'string',
'Settings_description_translation.model' => 'string',
'Settings_description_translation__foreign_key' => 'uuid',
'Settings_description_translation.foreign_key' => 'uuid',
'Settings_description_translation__field' => 'string',
'Settings_description_translation.field' => 'string',
'Settings_description_translation__content' => 'text',
'Settings_description_translation.content' => 'text'
],
'decorators' => (int) 0,
'executed' => true,
'hydrate' => true,
'buffered' => true,
'formatters' => (int) 2,
'mapReducers' => (int) 0,
'contain' => [
'I18n' => [
[maximum depth reached]
],
'Settings_meta_value_translation' => [
[maximum depth reached]
],
'Settings_name_translation' => [
[maximum depth reached]
],
'Settings_description_translation' => [
[maximum depth reached]
]
],
'matching' => [],
'extraOptions' => [],
'repository' => object(App\Model\Table\SettingsTable) {}
}
$settings = [
'copyright' => null,
'facebook' => null,
'title_faq' => null,
'btn_discover_name' => null
]
$titles = [
'copyright' => null,
'facebook' => null,
'title_faq' => null,
'btn_discover_name' => null
]
$key = (int) 4
$s = object(App\Model\Entity\Setting) {
'id' => '14ebade7-0290-4933-8533-f8a80df4f9a3',
'meta_key' => 'btn_choose',
'meta_value' => '',
'name' => 'choisir',
'description' => '',
'deleted' => null,
'_locale' => 'la-maison',
'_translations' => [
'fr' => object(App\Model\Entity\Setting) {},
'es' => object(App\Model\Entity\Setting) {},
'pt' => object(App\Model\Entity\Setting) {},
'en' => object(App\Model\Entity\Setting) {},
'de' => object(App\Model\Entity\Setting) {},
'it' => object(App\Model\Entity\Setting) {}
],
'[new]' => false,
'[accessible]' => [
'meta_key' => true,
'meta_value' => true,
'name' => true,
'description' => true
],
'[dirty]' => [],
'[original]' => [],
'[virtual]' => [],
'[hasErrors]' => false,
'[errors]' => [],
'[invalid]' => [],
'[repository]' => 'Settings'
}
App\Controller\AppController::initialize() - APP/Controller/AppController.php, line 110
App\Controller\PagesController::initialize() - APP/Controller/PagesController.php, line 38
Cake\Controller\Controller::__construct() - CORE/src/Controller/Controller.php, line 273
ReflectionClass::newInstance() - [internal], line ??
Cake\Http\ControllerFactory::create() - CORE/src/Http/ControllerFactory.php, line 47
Cake\Http\ActionDispatcher::dispatch() - CORE/src/Http/ActionDispatcher.php, line 91
Cake\Http\BaseApplication::__invoke() - CORE/src/Http/BaseApplication.php, line 235
Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65
Cake\Routing\Middleware\RoutingMiddleware::__invoke() - CORE/src/Routing/Middleware/RoutingMiddleware.php, line 162
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 96
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 98
[main] - ROOT/webroot/index.php, line 40
Notice (8): Undefined index: la-maison [APP/Controller/AppController.php, line 111]Code Context $settings[$s->meta_key] = $s->_translations[$this->getCurrentLocale()]->meta_value;
$titles[$s->meta_key] = $s->_translations[$this->getCurrentLocale()]->name;
}
$locales = [
(int) 0 => object(App\Model\Entity\Locale) {
'id' => 'c79e08dd-4b98-40da-812f-166a5627cafe',
'locale' => 'fr',
'name' => 'French',
'position' => (int) 1,
'active' => true,
'flag' => 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgBAMAAACBVGfHAAAAA3NCSVQICAjb4U/gAAAACXBIWXMAAADdAAAA3QFwU6IHAAAAGXRFWHRTb2Z0d2FyZQB3d3cuaW5rc2NhcGUub3Jnm+48GgAAACdQTFRF////QUib/0tUh4y+/XiAQkab9PT0/0pVkpTC/mRtQUeb9fX1/0tVpPINxQAAAAp0Uk5TAFJSamp4eHjGxmzCt2wAAAArSURBVCjPY2RAA4zUEBB1AJIPDYDEP2Eg8ZtxFQOKAMOoAOUCGIFMi6gEAD39PvX2T/ZKAAAAAElFTkSuQmCC',
'front' => true,
'[new]' => false,
'[accessible]' => [
[maximum depth reached]
],
'[dirty]' => [[maximum depth reached]],
'[original]' => [[maximum depth reached]],
'[virtual]' => [[maximum depth reached]],
'[hasErrors]' => false,
'[errors]' => [[maximum depth reached]],
'[invalid]' => [[maximum depth reached]],
'[repository]' => 'Locales'
},
(int) 1 => object(App\Model\Entity\Locale) {
'id' => '073aae08-53c1-11e9-bb3d-7054d219d6c5',
'locale' => 'es',
'name' => 'Español',
'position' => (int) 0,
'active' => true,
'flag' => 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAMAAABEpIrGAAAAA3NCSVQICAjb4U/gAAAACXBIWXMAAADdAAAA3QFwU6IHAAAAGXRFWHRTb2Z0d2FyZQB3d3cuaW5rc2NhcGUub3Jnm+48GgAAARpQTFRF////x0FLyEJKgXaZoI6wuKV1watwyEFLy0pLzntc0rZn1GJZ1WVW1bhm1mxd13JW13Vx2nFQ229L23JN23xM3IyF3I+V3JKY3Y2G3nVJ33dJ34Zs4JOA4XhH4X9Q4ZV845Bk5JJi5LG15aWL5btz5b185pFh5pRk5pZs5px558Nc6ItI6KR16cFp6pBI66lx7ZxQ7aNO7q1h7rR17tjW76BO78BX8KpP8LJk8buC8stZ9LhX9Net9PPz9efR9fHz9fX198BY98dz98xX99/s9+Lt9+3R+MVe+N2d+dOA+deU+eat+sBQ+stf+8hm+8xZ+9Bw/Lzd/MtQ/N2E/N6G/dlx/sxP/s5R/tRa/tZk/tdp/9JQ/9JR/9NThpihEAAAAAN0Uk5TAFJ4LCUCBgAAAKRJREFUOI1jYBgKgJEJL2BkYCcAqKCAgwBgiCYAYApiQ/xCY/AoiLGR4Vb2wKkgyDxaUVhI0CjaEIcCH1N3aTVLL+9wgzDsCoLtdLS1lQJdoxwisCvQF+WTFWFxsVcQs8auwFjCSY6TmZ/HQtwRuwJPtwApKU09SV9bf+wKdFWc1TVMBOStVM2wK2Bj1YqODI6I5mXlwq4AHyAcWXRIMAQT7VAAACQKgMq9uRSqAAAAAElFTkSuQmCC',
'front' => true,
'[new]' => false,
'[accessible]' => [
[maximum depth reached]
],
'[dirty]' => [[maximum depth reached]],
'[original]' => [[maximum depth reached]],
'[virtual]' => [[maximum depth reached]],
'[hasErrors]' => false,
'[errors]' => [[maximum depth reached]],
'[invalid]' => [[maximum depth reached]],
'[repository]' => 'Locales'
},
(int) 2 => object(App\Model\Entity\Locale) {
'id' => '99c33239-48e4-4692-adb0-30a7c352e556',
'locale' => 'en',
'name' => 'English',
'position' => (int) 0,
'active' => true,
'flag' => 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAAA3QAAAN0BcFOiBwAAABl0RVh0U29mdHdhcmUAd3d3Lmlua3NjYXBlLm9yZ5vuPBoAAATuSURBVFiF7ZdrUNRlFMZ/+2dhXVoW5DJcAgTjamopziiWYuhMYpHGRUk0Gs1gIshboIYMoWNqahQyig41hJLXcgSvQ6VyS2WE1IBABRSZ5b673BZYdvtQ4QUYHb7QB55v7zlz5nnOvO+c57wivV7PSEIYUfZRAf8HAeJL65MbJ8UuvSQ2EveVPewy3naqxkPZ0SsZqmD+KxYPI9+0u9/iH+n9eNw8K6Uw5UKd4/k/ml98FqmrjVQd/65DhTg1015suzvFsuHM+SDV6nA8Q3xIWeHCrqxaUnPq6NbqBhR7jTdxBLx7coueTjk2tvWQW64aktja1IiNixxZ0ldDh1/CRM3tSgR1oD/CnWrGRsRQ89YnNBf9ReJiJ4q+9CJ4hhUi0bP6eTakRgIx/g4UhZmxMHk7qoBotOX3MF4ZiJDptwz1qTQ0Pt5I8q8jXfghle8nIGlt5eBH7vwS9yoz3UyHRSyIIPR1a4rXOhP56yE6fMPozilEMn8WlgWZyHfHICSdrcXvmJqL0bG0pu2hz9MFk9Pn0M8OoXRdMu5mcHbDJDKjPHG1kT43ue/LZuTFerKj/jdEc96jK+M0hpPdMM/ex9gju1Db2bMh8x4iArL7R6GLjZSEwHE45ediuf97qKsHK3OaVoXhuSYYvYFAVYMGVxspCrPpTxDaKK+ScKKaizdb2RrkyIziXNq3HUBX34yBvQ2yzRFIF89Ho9WTmlPH7uxa1F3aJwX8B283OYnv2GF8+CcsM46iV7ejc3VGGb2KCcvnAgwqoKpBg23JDdrjk9GW30MklyFbG4ZxRAhIjDh+tZEtJ6t50NzdXyc6kVs1qBkIgoiZrnI661tQXLn1iMhnMub2FoMK0LWo6L1R2h8znOKJYGEGQF1rN6W1nQN4REqlclhuNJiA4UBUjvuI2uGIj+JRASP+CMU5t1oHBCfYG2M39h9D1DUr6S0u688ZTp2AYD74aG6pbUZx+eYjUbMnYWxtTkGlGp1u8D7FQV//2X9wsJCwOdAJWzMJek0PnfuP0L4nHb26HbHHeGSJUdRoJTgP0Y25vQUKnQ6zbw8iVFbRK5dxd/kSTEIDiD9TR2GFekCNACCXivki2Inr27xYPN0SzbFzNE0Lpi0hBZFUgvybjdw8sBffPCnpVxRD0EOlogu3UF+sCw7TtGkNeokRFilpOASt4CvjuxyK9MDlKT8RIubZUbJjGp/62SNcLaH5jQ9QhSega1Ehi11JU1YGy5pcCEgqo7S2Y0hygMN59XjH3eDCbSUTY0IwuXaclpXLECnVWMZvZ0r0GjK8NOwMfQkLmSHw7yPUVlTTFr+X7vO5IAhIQ9+mK2oFW/La+TG/nsevb/UCexKCnIY0o6SztQDMdDNl6xJnpjrLaLijQJW4H5PsC6DTofHxpuezcDIVUsTqdTvpTD8F2j4k87wRx31McpWE5D1VdPUM3IieFwUVKuZuLSFouhXxgU64/pBAVW4wwvZ9jLlcyJj8ayxduABxZ9pJxBNdeSExiqMG4/gy/T71qp5hEz8OvR6O/97I6aJmwufZsd7fHfmZvZQduYxpUiryk1mIZXER17ThS2s///mBW6WiUe5mK8XNdujFw8rE6CFw32jWNO+nUoVWJkaOszxMB11Ki6vbiPzuTvemRePKPUN8OrUBrxnc2pE5RzT6NRsVMNIC/gaY0PLtJgQJ0gAAAABJRU5ErkJggg==',
'front' => true,
'[new]' => false,
'[accessible]' => [
[maximum depth reached]
],
'[dirty]' => [[maximum depth reached]],
'[original]' => [[maximum depth reached]],
'[virtual]' => [[maximum depth reached]],
'[hasErrors]' => false,
'[errors]' => [[maximum depth reached]],
'[invalid]' => [[maximum depth reached]],
'[repository]' => 'Locales'
},
(int) 3 => object(App\Model\Entity\Locale) {
'id' => 'a20c3c73-53c0-11e9-bb3d-7054d219d6c5',
'locale' => 'de',
'name' => 'Deutsch',
'position' => (int) 0,
'active' => true,
'flag' => 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgBAMAAACBVGfHAAAAA3NCSVQICAjb4U/gAAAACXBIWXMAAADdAAAA3QFwU6IHAAAAGXRFWHRTb2Z0d2FyZQB3d3cuaW5rc2NhcGUub3Jnm+48GgAAAB5QTFRF////SEhU/+BaRkZV/+FZwUlV/31WRkZV/0tV/+FagNv1tgAAAAd0Uk5TAFJSeHjAwPIGe2oAAAAqSURBVCjPY2FAAyzUEBBWQOH/Y0mhhS0YAvfQBYyHs7Xd6IF85w71bQEAwy4HmS9PAQYAAAAASUVORK5CYII=',
'front' => true,
'[new]' => false,
'[accessible]' => [
[maximum depth reached]
],
'[dirty]' => [[maximum depth reached]],
'[original]' => [[maximum depth reached]],
'[virtual]' => [[maximum depth reached]],
'[hasErrors]' => false,
'[errors]' => [[maximum depth reached]],
'[invalid]' => [[maximum depth reached]],
'[repository]' => 'Locales'
}
]
$session = object(Cake\Http\Session) {
[protected] _engine => null
[protected] _started => true
[protected] _lifetime => (int) 86400
[protected] _isCLI => false
}
$lng = 'la-maison'
$currentLocal = 'la-maison'
$settingsDB = object(SoftDelete\ORM\Query) {
'(help)' => 'This is a Query object, to get the results execute or iterate it.',
'sql' => 'SELECT Settings.id AS `Settings__id`, Settings.meta_key AS `Settings__meta_key`, Settings.meta_value AS `Settings__meta_value`, Settings.name AS `Settings__name`, Settings.description AS `Settings__description`, Settings.deleted AS `Settings__deleted`, Settings_meta_value_translation.id AS `Settings_meta_value_translation__id`, Settings_meta_value_translation.locale AS `Settings_meta_value_translation__locale`, Settings_meta_value_translation.model AS `Settings_meta_value_translation__model`, Settings_meta_value_translation.foreign_key AS `Settings_meta_value_translation__foreign_key`, Settings_meta_value_translation.field AS `Settings_meta_value_translation__field`, Settings_meta_value_translation.content AS `Settings_meta_value_translation__content`, Settings_name_translation.id AS `Settings_name_translation__id`, Settings_name_translation.locale AS `Settings_name_translation__locale`, Settings_name_translation.model AS `Settings_name_translation__model`, Settings_name_translation.foreign_key AS `Settings_name_translation__foreign_key`, Settings_name_translation.field AS `Settings_name_translation__field`, Settings_name_translation.content AS `Settings_name_translation__content`, Settings_description_translation.id AS `Settings_description_translation__id`, Settings_description_translation.locale AS `Settings_description_translation__locale`, Settings_description_translation.model AS `Settings_description_translation__model`, Settings_description_translation.foreign_key AS `Settings_description_translation__foreign_key`, Settings_description_translation.field AS `Settings_description_translation__field`, Settings_description_translation.content AS `Settings_description_translation__content` FROM settings Settings LEFT JOIN i18n Settings_meta_value_translation ON (Settings_meta_value_translation.model = :c0 AND Settings_meta_value_translation.field = :c1 AND Settings_meta_value_translation.locale = :c2 AND Settings.id = (Settings_meta_value_translation.foreign_key)) LEFT JOIN i18n Settings_name_translation ON (Settings_name_translation.model = :c3 AND Settings_name_translation.field = :c4 AND Settings_name_translation.locale = :c5 AND Settings.id = (Settings_name_translation.foreign_key)) LEFT JOIN i18n Settings_description_translation ON (Settings_description_translation.model = :c6 AND Settings_description_translation.field = :c7 AND Settings_description_translation.locale = :c8 AND Settings.id = (Settings_description_translation.foreign_key)) WHERE Settings.deleted IS NULL',
'params' => [
':c0' => [
[maximum depth reached]
],
':c1' => [
[maximum depth reached]
],
':c2' => [
[maximum depth reached]
],
':c3' => [
[maximum depth reached]
],
':c4' => [
[maximum depth reached]
],
':c5' => [
[maximum depth reached]
],
':c6' => [
[maximum depth reached]
],
':c7' => [
[maximum depth reached]
],
':c8' => [
[maximum depth reached]
]
],
'defaultTypes' => [
'Settings__id' => 'uuid',
'Settings.id' => 'uuid',
'id' => 'uuid',
'Settings__meta_key' => 'string',
'Settings.meta_key' => 'string',
'meta_key' => 'string',
'Settings__meta_value' => 'text',
'Settings.meta_value' => 'text',
'meta_value' => 'text',
'Settings__name' => 'string',
'Settings.name' => 'string',
'name' => 'string',
'Settings__description' => 'text',
'Settings.description' => 'text',
'description' => 'text',
'Settings__deleted' => 'datetime',
'Settings.deleted' => 'datetime',
'deleted' => 'datetime',
'I18n__id' => 'integer',
'I18n.id' => 'integer',
'I18n__locale' => 'string',
'I18n.locale' => 'string',
'locale' => 'string',
'I18n__model' => 'string',
'I18n.model' => 'string',
'model' => 'string',
'I18n__foreign_key' => 'uuid',
'I18n.foreign_key' => 'uuid',
'foreign_key' => 'uuid',
'I18n__field' => 'string',
'I18n.field' => 'string',
'field' => 'string',
'I18n__content' => 'text',
'I18n.content' => 'text',
'content' => 'text',
'Settings_meta_value_translation__id' => 'integer',
'Settings_meta_value_translation.id' => 'integer',
'Settings_meta_value_translation__locale' => 'string',
'Settings_meta_value_translation.locale' => 'string',
'Settings_meta_value_translation__model' => 'string',
'Settings_meta_value_translation.model' => 'string',
'Settings_meta_value_translation__foreign_key' => 'uuid',
'Settings_meta_value_translation.foreign_key' => 'uuid',
'Settings_meta_value_translation__field' => 'string',
'Settings_meta_value_translation.field' => 'string',
'Settings_meta_value_translation__content' => 'text',
'Settings_meta_value_translation.content' => 'text',
'Settings_name_translation__id' => 'integer',
'Settings_name_translation.id' => 'integer',
'Settings_name_translation__locale' => 'string',
'Settings_name_translation.locale' => 'string',
'Settings_name_translation__model' => 'string',
'Settings_name_translation.model' => 'string',
'Settings_name_translation__foreign_key' => 'uuid',
'Settings_name_translation.foreign_key' => 'uuid',
'Settings_name_translation__field' => 'string',
'Settings_name_translation.field' => 'string',
'Settings_name_translation__content' => 'text',
'Settings_name_translation.content' => 'text',
'Settings_description_translation__id' => 'integer',
'Settings_description_translation.id' => 'integer',
'Settings_description_translation__locale' => 'string',
'Settings_description_translation.locale' => 'string',
'Settings_description_translation__model' => 'string',
'Settings_description_translation.model' => 'string',
'Settings_description_translation__foreign_key' => 'uuid',
'Settings_description_translation.foreign_key' => 'uuid',
'Settings_description_translation__field' => 'string',
'Settings_description_translation.field' => 'string',
'Settings_description_translation__content' => 'text',
'Settings_description_translation.content' => 'text'
],
'decorators' => (int) 0,
'executed' => true,
'hydrate' => true,
'buffered' => true,
'formatters' => (int) 2,
'mapReducers' => (int) 0,
'contain' => [
'I18n' => [
[maximum depth reached]
],
'Settings_meta_value_translation' => [
[maximum depth reached]
],
'Settings_name_translation' => [
[maximum depth reached]
],
'Settings_description_translation' => [
[maximum depth reached]
]
],
'matching' => [],
'extraOptions' => [],
'repository' => object(App\Model\Table\SettingsTable) {}
}
$settings = [
'copyright' => null,
'facebook' => null,
'title_faq' => null,
'btn_discover_name' => null,
'btn_choose' => null
]
$titles = [
'copyright' => null,
'facebook' => null,
'title_faq' => null,
'btn_discover_name' => null
]
$key = (int) 4
$s = object(App\Model\Entity\Setting) {
'id' => '14ebade7-0290-4933-8533-f8a80df4f9a3',
'meta_key' => 'btn_choose',
'meta_value' => '',
'name' => 'choisir',
'description' => '',
'deleted' => null,
'_locale' => 'la-maison',
'_translations' => [
'fr' => object(App\Model\Entity\Setting) {},
'es' => object(App\Model\Entity\Setting) {},
'pt' => object(App\Model\Entity\Setting) {},
'en' => object(App\Model\Entity\Setting) {},
'de' => object(App\Model\Entity\Setting) {},
'it' => object(App\Model\Entity\Setting) {}
],
'[new]' => false,
'[accessible]' => [
'meta_key' => true,
'meta_value' => true,
'name' => true,
'description' => true
],
'[dirty]' => [],
'[original]' => [],
'[virtual]' => [],
'[hasErrors]' => false,
'[errors]' => [],
'[invalid]' => [],
'[repository]' => 'Settings'
}
App\Controller\AppController::initialize() - APP/Controller/AppController.php, line 111
App\Controller\PagesController::initialize() - APP/Controller/PagesController.php, line 38
Cake\Controller\Controller::__construct() - CORE/src/Controller/Controller.php, line 273
ReflectionClass::newInstance() - [internal], line ??
Cake\Http\ControllerFactory::create() - CORE/src/Http/ControllerFactory.php, line 47
Cake\Http\ActionDispatcher::dispatch() - CORE/src/Http/ActionDispatcher.php, line 91
Cake\Http\BaseApplication::__invoke() - CORE/src/Http/BaseApplication.php, line 235
Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65
Cake\Routing\Middleware\RoutingMiddleware::__invoke() - CORE/src/Routing/Middleware/RoutingMiddleware.php, line 162
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 96
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 98
[main] - ROOT/webroot/index.php, line 40
Notice (8): Trying to get property of non-object [APP/Controller/AppController.php, line 111]Code Context $settings[$s->meta_key] = $s->_translations[$this->getCurrentLocale()]->meta_value;
$titles[$s->meta_key] = $s->_translations[$this->getCurrentLocale()]->name;
}
$locales = [
(int) 0 => object(App\Model\Entity\Locale) {
'id' => 'c79e08dd-4b98-40da-812f-166a5627cafe',
'locale' => 'fr',
'name' => 'French',
'position' => (int) 1,
'active' => true,
'flag' => 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgBAMAAACBVGfHAAAAA3NCSVQICAjb4U/gAAAACXBIWXMAAADdAAAA3QFwU6IHAAAAGXRFWHRTb2Z0d2FyZQB3d3cuaW5rc2NhcGUub3Jnm+48GgAAACdQTFRF////QUib/0tUh4y+/XiAQkab9PT0/0pVkpTC/mRtQUeb9fX1/0tVpPINxQAAAAp0Uk5TAFJSamp4eHjGxmzCt2wAAAArSURBVCjPY2RAA4zUEBB1AJIPDYDEP2Eg8ZtxFQOKAMOoAOUCGIFMi6gEAD39PvX2T/ZKAAAAAElFTkSuQmCC',
'front' => true,
'[new]' => false,
'[accessible]' => [
[maximum depth reached]
],
'[dirty]' => [[maximum depth reached]],
'[original]' => [[maximum depth reached]],
'[virtual]' => [[maximum depth reached]],
'[hasErrors]' => false,
'[errors]' => [[maximum depth reached]],
'[invalid]' => [[maximum depth reached]],
'[repository]' => 'Locales'
},
(int) 1 => object(App\Model\Entity\Locale) {
'id' => '073aae08-53c1-11e9-bb3d-7054d219d6c5',
'locale' => 'es',
'name' => 'Español',
'position' => (int) 0,
'active' => true,
'flag' => 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAMAAABEpIrGAAAAA3NCSVQICAjb4U/gAAAACXBIWXMAAADdAAAA3QFwU6IHAAAAGXRFWHRTb2Z0d2FyZQB3d3cuaW5rc2NhcGUub3Jnm+48GgAAARpQTFRF////x0FLyEJKgXaZoI6wuKV1watwyEFLy0pLzntc0rZn1GJZ1WVW1bhm1mxd13JW13Vx2nFQ229L23JN23xM3IyF3I+V3JKY3Y2G3nVJ33dJ34Zs4JOA4XhH4X9Q4ZV845Bk5JJi5LG15aWL5btz5b185pFh5pRk5pZs5px558Nc6ItI6KR16cFp6pBI66lx7ZxQ7aNO7q1h7rR17tjW76BO78BX8KpP8LJk8buC8stZ9LhX9Net9PPz9efR9fHz9fX198BY98dz98xX99/s9+Lt9+3R+MVe+N2d+dOA+deU+eat+sBQ+stf+8hm+8xZ+9Bw/Lzd/MtQ/N2E/N6G/dlx/sxP/s5R/tRa/tZk/tdp/9JQ/9JR/9NThpihEAAAAAN0Uk5TAFJ4LCUCBgAAAKRJREFUOI1jYBgKgJEJL2BkYCcAqKCAgwBgiCYAYApiQ/xCY/AoiLGR4Vb2wKkgyDxaUVhI0CjaEIcCH1N3aTVLL+9wgzDsCoLtdLS1lQJdoxwisCvQF+WTFWFxsVcQs8auwFjCSY6TmZ/HQtwRuwJPtwApKU09SV9bf+wKdFWc1TVMBOStVM2wK2Bj1YqODI6I5mXlwq4AHyAcWXRIMAQT7VAAACQKgMq9uRSqAAAAAElFTkSuQmCC',
'front' => true,
'[new]' => false,
'[accessible]' => [
[maximum depth reached]
],
'[dirty]' => [[maximum depth reached]],
'[original]' => [[maximum depth reached]],
'[virtual]' => [[maximum depth reached]],
'[hasErrors]' => false,
'[errors]' => [[maximum depth reached]],
'[invalid]' => [[maximum depth reached]],
'[repository]' => 'Locales'
},
(int) 2 => object(App\Model\Entity\Locale) {
'id' => '99c33239-48e4-4692-adb0-30a7c352e556',
'locale' => 'en',
'name' => 'English',
'position' => (int) 0,
'active' => true,
'flag' => 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAAA3QAAAN0BcFOiBwAAABl0RVh0U29mdHdhcmUAd3d3Lmlua3NjYXBlLm9yZ5vuPBoAAATuSURBVFiF7ZdrUNRlFMZ/+2dhXVoW5DJcAgTjamopziiWYuhMYpHGRUk0Gs1gIshboIYMoWNqahQyig41hJLXcgSvQ6VyS2WE1IBABRSZ5b673BZYdvtQ4QUYHb7QB55v7zlz5nnOvO+c57wivV7PSEIYUfZRAf8HAeJL65MbJ8UuvSQ2EveVPewy3naqxkPZ0SsZqmD+KxYPI9+0u9/iH+n9eNw8K6Uw5UKd4/k/ml98FqmrjVQd/65DhTg1015suzvFsuHM+SDV6nA8Q3xIWeHCrqxaUnPq6NbqBhR7jTdxBLx7coueTjk2tvWQW64aktja1IiNixxZ0ldDh1/CRM3tSgR1oD/CnWrGRsRQ89YnNBf9ReJiJ4q+9CJ4hhUi0bP6eTakRgIx/g4UhZmxMHk7qoBotOX3MF4ZiJDptwz1qTQ0Pt5I8q8jXfghle8nIGlt5eBH7vwS9yoz3UyHRSyIIPR1a4rXOhP56yE6fMPozilEMn8WlgWZyHfHICSdrcXvmJqL0bG0pu2hz9MFk9Pn0M8OoXRdMu5mcHbDJDKjPHG1kT43ue/LZuTFerKj/jdEc96jK+M0hpPdMM/ex9gju1Db2bMh8x4iArL7R6GLjZSEwHE45ediuf97qKsHK3OaVoXhuSYYvYFAVYMGVxspCrPpTxDaKK+ScKKaizdb2RrkyIziXNq3HUBX34yBvQ2yzRFIF89Ho9WTmlPH7uxa1F3aJwX8B283OYnv2GF8+CcsM46iV7ejc3VGGb2KCcvnAgwqoKpBg23JDdrjk9GW30MklyFbG4ZxRAhIjDh+tZEtJ6t50NzdXyc6kVs1qBkIgoiZrnI661tQXLn1iMhnMub2FoMK0LWo6L1R2h8znOKJYGEGQF1rN6W1nQN4REqlclhuNJiA4UBUjvuI2uGIj+JRASP+CMU5t1oHBCfYG2M39h9D1DUr6S0u688ZTp2AYD74aG6pbUZx+eYjUbMnYWxtTkGlGp1u8D7FQV//2X9wsJCwOdAJWzMJek0PnfuP0L4nHb26HbHHeGSJUdRoJTgP0Y25vQUKnQ6zbw8iVFbRK5dxd/kSTEIDiD9TR2GFekCNACCXivki2Inr27xYPN0SzbFzNE0Lpi0hBZFUgvybjdw8sBffPCnpVxRD0EOlogu3UF+sCw7TtGkNeokRFilpOASt4CvjuxyK9MDlKT8RIubZUbJjGp/62SNcLaH5jQ9QhSega1Ehi11JU1YGy5pcCEgqo7S2Y0hygMN59XjH3eDCbSUTY0IwuXaclpXLECnVWMZvZ0r0GjK8NOwMfQkLmSHw7yPUVlTTFr+X7vO5IAhIQ9+mK2oFW/La+TG/nsevb/UCexKCnIY0o6SztQDMdDNl6xJnpjrLaLijQJW4H5PsC6DTofHxpuezcDIVUsTqdTvpTD8F2j4k87wRx31McpWE5D1VdPUM3IieFwUVKuZuLSFouhXxgU64/pBAVW4wwvZ9jLlcyJj8ayxduABxZ9pJxBNdeSExiqMG4/gy/T71qp5hEz8OvR6O/97I6aJmwufZsd7fHfmZvZQduYxpUiryk1mIZXER17ThS2s///mBW6WiUe5mK8XNdujFw8rE6CFw32jWNO+nUoVWJkaOszxMB11Ki6vbiPzuTvemRePKPUN8OrUBrxnc2pE5RzT6NRsVMNIC/gaY0PLtJgQJ0gAAAABJRU5ErkJggg==',
'front' => true,
'[new]' => false,
'[accessible]' => [
[maximum depth reached]
],
'[dirty]' => [[maximum depth reached]],
'[original]' => [[maximum depth reached]],
'[virtual]' => [[maximum depth reached]],
'[hasErrors]' => false,
'[errors]' => [[maximum depth reached]],
'[invalid]' => [[maximum depth reached]],
'[repository]' => 'Locales'
},
(int) 3 => object(App\Model\Entity\Locale) {
'id' => 'a20c3c73-53c0-11e9-bb3d-7054d219d6c5',
'locale' => 'de',
'name' => 'Deutsch',
'position' => (int) 0,
'active' => true,
'flag' => 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgBAMAAACBVGfHAAAAA3NCSVQICAjb4U/gAAAACXBIWXMAAADdAAAA3QFwU6IHAAAAGXRFWHRTb2Z0d2FyZQB3d3cuaW5rc2NhcGUub3Jnm+48GgAAAB5QTFRF////SEhU/+BaRkZV/+FZwUlV/31WRkZV/0tV/+FagNv1tgAAAAd0Uk5TAFJSeHjAwPIGe2oAAAAqSURBVCjPY2FAAyzUEBBWQOH/Y0mhhS0YAvfQBYyHs7Xd6IF85w71bQEAwy4HmS9PAQYAAAAASUVORK5CYII=',
'front' => true,
'[new]' => false,
'[accessible]' => [
[maximum depth reached]
],
'[dirty]' => [[maximum depth reached]],
'[original]' => [[maximum depth reached]],
'[virtual]' => [[maximum depth reached]],
'[hasErrors]' => false,
'[errors]' => [[maximum depth reached]],
'[invalid]' => [[maximum depth reached]],
'[repository]' => 'Locales'
}
]
$session = object(Cake\Http\Session) {
[protected] _engine => null
[protected] _started => true
[protected] _lifetime => (int) 86400
[protected] _isCLI => false
}
$lng = 'la-maison'
$currentLocal = 'la-maison'
$settingsDB = object(SoftDelete\ORM\Query) {
'(help)' => 'This is a Query object, to get the results execute or iterate it.',
'sql' => 'SELECT Settings.id AS `Settings__id`, Settings.meta_key AS `Settings__meta_key`, Settings.meta_value AS `Settings__meta_value`, Settings.name AS `Settings__name`, Settings.description AS `Settings__description`, Settings.deleted AS `Settings__deleted`, Settings_meta_value_translation.id AS `Settings_meta_value_translation__id`, Settings_meta_value_translation.locale AS `Settings_meta_value_translation__locale`, Settings_meta_value_translation.model AS `Settings_meta_value_translation__model`, Settings_meta_value_translation.foreign_key AS `Settings_meta_value_translation__foreign_key`, Settings_meta_value_translation.field AS `Settings_meta_value_translation__field`, Settings_meta_value_translation.content AS `Settings_meta_value_translation__content`, Settings_name_translation.id AS `Settings_name_translation__id`, Settings_name_translation.locale AS `Settings_name_translation__locale`, Settings_name_translation.model AS `Settings_name_translation__model`, Settings_name_translation.foreign_key AS `Settings_name_translation__foreign_key`, Settings_name_translation.field AS `Settings_name_translation__field`, Settings_name_translation.content AS `Settings_name_translation__content`, Settings_description_translation.id AS `Settings_description_translation__id`, Settings_description_translation.locale AS `Settings_description_translation__locale`, Settings_description_translation.model AS `Settings_description_translation__model`, Settings_description_translation.foreign_key AS `Settings_description_translation__foreign_key`, Settings_description_translation.field AS `Settings_description_translation__field`, Settings_description_translation.content AS `Settings_description_translation__content` FROM settings Settings LEFT JOIN i18n Settings_meta_value_translation ON (Settings_meta_value_translation.model = :c0 AND Settings_meta_value_translation.field = :c1 AND Settings_meta_value_translation.locale = :c2 AND Settings.id = (Settings_meta_value_translation.foreign_key)) LEFT JOIN i18n Settings_name_translation ON (Settings_name_translation.model = :c3 AND Settings_name_translation.field = :c4 AND Settings_name_translation.locale = :c5 AND Settings.id = (Settings_name_translation.foreign_key)) LEFT JOIN i18n Settings_description_translation ON (Settings_description_translation.model = :c6 AND Settings_description_translation.field = :c7 AND Settings_description_translation.locale = :c8 AND Settings.id = (Settings_description_translation.foreign_key)) WHERE Settings.deleted IS NULL',
'params' => [
':c0' => [
[maximum depth reached]
],
':c1' => [
[maximum depth reached]
],
':c2' => [
[maximum depth reached]
],
':c3' => [
[maximum depth reached]
],
':c4' => [
[maximum depth reached]
],
':c5' => [
[maximum depth reached]
],
':c6' => [
[maximum depth reached]
],
':c7' => [
[maximum depth reached]
],
':c8' => [
[maximum depth reached]
]
],
'defaultTypes' => [
'Settings__id' => 'uuid',
'Settings.id' => 'uuid',
'id' => 'uuid',
'Settings__meta_key' => 'string',
'Settings.meta_key' => 'string',
'meta_key' => 'string',
'Settings__meta_value' => 'text',
'Settings.meta_value' => 'text',
'meta_value' => 'text',
'Settings__name' => 'string',
'Settings.name' => 'string',
'name' => 'string',
'Settings__description' => 'text',
'Settings.description' => 'text',
'description' => 'text',
'Settings__deleted' => 'datetime',
'Settings.deleted' => 'datetime',
'deleted' => 'datetime',
'I18n__id' => 'integer',
'I18n.id' => 'integer',
'I18n__locale' => 'string',
'I18n.locale' => 'string',
'locale' => 'string',
'I18n__model' => 'string',
'I18n.model' => 'string',
'model' => 'string',
'I18n__foreign_key' => 'uuid',
'I18n.foreign_key' => 'uuid',
'foreign_key' => 'uuid',
'I18n__field' => 'string',
'I18n.field' => 'string',
'field' => 'string',
'I18n__content' => 'text',
'I18n.content' => 'text',
'content' => 'text',
'Settings_meta_value_translation__id' => 'integer',
'Settings_meta_value_translation.id' => 'integer',
'Settings_meta_value_translation__locale' => 'string',
'Settings_meta_value_translation.locale' => 'string',
'Settings_meta_value_translation__model' => 'string',
'Settings_meta_value_translation.model' => 'string',
'Settings_meta_value_translation__foreign_key' => 'uuid',
'Settings_meta_value_translation.foreign_key' => 'uuid',
'Settings_meta_value_translation__field' => 'string',
'Settings_meta_value_translation.field' => 'string',
'Settings_meta_value_translation__content' => 'text',
'Settings_meta_value_translation.content' => 'text',
'Settings_name_translation__id' => 'integer',
'Settings_name_translation.id' => 'integer',
'Settings_name_translation__locale' => 'string',
'Settings_name_translation.locale' => 'string',
'Settings_name_translation__model' => 'string',
'Settings_name_translation.model' => 'string',
'Settings_name_translation__foreign_key' => 'uuid',
'Settings_name_translation.foreign_key' => 'uuid',
'Settings_name_translation__field' => 'string',
'Settings_name_translation.field' => 'string',
'Settings_name_translation__content' => 'text',
'Settings_name_translation.content' => 'text',
'Settings_description_translation__id' => 'integer',
'Settings_description_translation.id' => 'integer',
'Settings_description_translation__locale' => 'string',
'Settings_description_translation.locale' => 'string',
'Settings_description_translation__model' => 'string',
'Settings_description_translation.model' => 'string',
'Settings_description_translation__foreign_key' => 'uuid',
'Settings_description_translation.foreign_key' => 'uuid',
'Settings_description_translation__field' => 'string',
'Settings_description_translation.field' => 'string',
'Settings_description_translation__content' => 'text',
'Settings_description_translation.content' => 'text'
],
'decorators' => (int) 0,
'executed' => true,
'hydrate' => true,
'buffered' => true,
'formatters' => (int) 2,
'mapReducers' => (int) 0,
'contain' => [
'I18n' => [
[maximum depth reached]
],
'Settings_meta_value_translation' => [
[maximum depth reached]
],
'Settings_name_translation' => [
[maximum depth reached]
],
'Settings_description_translation' => [
[maximum depth reached]
]
],
'matching' => [],
'extraOptions' => [],
'repository' => object(App\Model\Table\SettingsTable) {}
}
$settings = [
'copyright' => null,
'facebook' => null,
'title_faq' => null,
'btn_discover_name' => null,
'btn_choose' => null
]
$titles = [
'copyright' => null,
'facebook' => null,
'title_faq' => null,
'btn_discover_name' => null
]
$key = (int) 4
$s = object(App\Model\Entity\Setting) {
'id' => '14ebade7-0290-4933-8533-f8a80df4f9a3',
'meta_key' => 'btn_choose',
'meta_value' => '',
'name' => 'choisir',
'description' => '',
'deleted' => null,
'_locale' => 'la-maison',
'_translations' => [
'fr' => object(App\Model\Entity\Setting) {},
'es' => object(App\Model\Entity\Setting) {},
'pt' => object(App\Model\Entity\Setting) {},
'en' => object(App\Model\Entity\Setting) {},
'de' => object(App\Model\Entity\Setting) {},
'it' => object(App\Model\Entity\Setting) {}
],
'[new]' => false,
'[accessible]' => [
'meta_key' => true,
'meta_value' => true,
'name' => true,
'description' => true
],
'[dirty]' => [],
'[original]' => [],
'[virtual]' => [],
'[hasErrors]' => false,
'[errors]' => [],
'[invalid]' => [],
'[repository]' => 'Settings'
}
App\Controller\AppController::initialize() - APP/Controller/AppController.php, line 111
App\Controller\PagesController::initialize() - APP/Controller/PagesController.php, line 38
Cake\Controller\Controller::__construct() - CORE/src/Controller/Controller.php, line 273
ReflectionClass::newInstance() - [internal], line ??
Cake\Http\ControllerFactory::create() - CORE/src/Http/ControllerFactory.php, line 47
Cake\Http\ActionDispatcher::dispatch() - CORE/src/Http/ActionDispatcher.php, line 91
Cake\Http\BaseApplication::__invoke() - CORE/src/Http/BaseApplication.php, line 235
Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65
Cake\Routing\Middleware\RoutingMiddleware::__invoke() - CORE/src/Routing/Middleware/RoutingMiddleware.php, line 162
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 96
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 98
[main] - ROOT/webroot/index.php, line 40
Notice (8): Undefined index: la-maison [APP/Controller/AppController.php, line 110]Code Context foreach ($settingsDB as $key => $s) {
$settings[$s->meta_key] = $s->_translations[$this->getCurrentLocale()]->meta_value;
$titles[$s->meta_key] = $s->_translations[$this->getCurrentLocale()]->name;
$locales = [
(int) 0 => object(App\Model\Entity\Locale) {
'id' => 'c79e08dd-4b98-40da-812f-166a5627cafe',
'locale' => 'fr',
'name' => 'French',
'position' => (int) 1,
'active' => true,
'flag' => 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgBAMAAACBVGfHAAAAA3NCSVQICAjb4U/gAAAACXBIWXMAAADdAAAA3QFwU6IHAAAAGXRFWHRTb2Z0d2FyZQB3d3cuaW5rc2NhcGUub3Jnm+48GgAAACdQTFRF////QUib/0tUh4y+/XiAQkab9PT0/0pVkpTC/mRtQUeb9fX1/0tVpPINxQAAAAp0Uk5TAFJSamp4eHjGxmzCt2wAAAArSURBVCjPY2RAA4zUEBB1AJIPDYDEP2Eg8ZtxFQOKAMOoAOUCGIFMi6gEAD39PvX2T/ZKAAAAAElFTkSuQmCC',
'front' => true,
'[new]' => false,
'[accessible]' => [
[maximum depth reached]
],
'[dirty]' => [[maximum depth reached]],
'[original]' => [[maximum depth reached]],
'[virtual]' => [[maximum depth reached]],
'[hasErrors]' => false,
'[errors]' => [[maximum depth reached]],
'[invalid]' => [[maximum depth reached]],
'[repository]' => 'Locales'
},
(int) 1 => object(App\Model\Entity\Locale) {
'id' => '073aae08-53c1-11e9-bb3d-7054d219d6c5',
'locale' => 'es',
'name' => 'Español',
'position' => (int) 0,
'active' => true,
'flag' => 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAMAAABEpIrGAAAAA3NCSVQICAjb4U/gAAAACXBIWXMAAADdAAAA3QFwU6IHAAAAGXRFWHRTb2Z0d2FyZQB3d3cuaW5rc2NhcGUub3Jnm+48GgAAARpQTFRF////x0FLyEJKgXaZoI6wuKV1watwyEFLy0pLzntc0rZn1GJZ1WVW1bhm1mxd13JW13Vx2nFQ229L23JN23xM3IyF3I+V3JKY3Y2G3nVJ33dJ34Zs4JOA4XhH4X9Q4ZV845Bk5JJi5LG15aWL5btz5b185pFh5pRk5pZs5px558Nc6ItI6KR16cFp6pBI66lx7ZxQ7aNO7q1h7rR17tjW76BO78BX8KpP8LJk8buC8stZ9LhX9Net9PPz9efR9fHz9fX198BY98dz98xX99/s9+Lt9+3R+MVe+N2d+dOA+deU+eat+sBQ+stf+8hm+8xZ+9Bw/Lzd/MtQ/N2E/N6G/dlx/sxP/s5R/tRa/tZk/tdp/9JQ/9JR/9NThpihEAAAAAN0Uk5TAFJ4LCUCBgAAAKRJREFUOI1jYBgKgJEJL2BkYCcAqKCAgwBgiCYAYApiQ/xCY/AoiLGR4Vb2wKkgyDxaUVhI0CjaEIcCH1N3aTVLL+9wgzDsCoLtdLS1lQJdoxwisCvQF+WTFWFxsVcQs8auwFjCSY6TmZ/HQtwRuwJPtwApKU09SV9bf+wKdFWc1TVMBOStVM2wK2Bj1YqODI6I5mXlwq4AHyAcWXRIMAQT7VAAACQKgMq9uRSqAAAAAElFTkSuQmCC',
'front' => true,
'[new]' => false,
'[accessible]' => [
[maximum depth reached]
],
'[dirty]' => [[maximum depth reached]],
'[original]' => [[maximum depth reached]],
'[virtual]' => [[maximum depth reached]],
'[hasErrors]' => false,
'[errors]' => [[maximum depth reached]],
'[invalid]' => [[maximum depth reached]],
'[repository]' => 'Locales'
},
(int) 2 => object(App\Model\Entity\Locale) {
'id' => '99c33239-48e4-4692-adb0-30a7c352e556',
'locale' => 'en',
'name' => 'English',
'position' => (int) 0,
'active' => true,
'flag' => 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAAA3QAAAN0BcFOiBwAAABl0RVh0U29mdHdhcmUAd3d3Lmlua3NjYXBlLm9yZ5vuPBoAAATuSURBVFiF7ZdrUNRlFMZ/+2dhXVoW5DJcAgTjamopziiWYuhMYpHGRUk0Gs1gIshboIYMoWNqahQyig41hJLXcgSvQ6VyS2WE1IBABRSZ5b673BZYdvtQ4QUYHb7QB55v7zlz5nnOvO+c57wivV7PSEIYUfZRAf8HAeJL65MbJ8UuvSQ2EveVPewy3naqxkPZ0SsZqmD+KxYPI9+0u9/iH+n9eNw8K6Uw5UKd4/k/ml98FqmrjVQd/65DhTg1015suzvFsuHM+SDV6nA8Q3xIWeHCrqxaUnPq6NbqBhR7jTdxBLx7coueTjk2tvWQW64aktja1IiNixxZ0ldDh1/CRM3tSgR1oD/CnWrGRsRQ89YnNBf9ReJiJ4q+9CJ4hhUi0bP6eTakRgIx/g4UhZmxMHk7qoBotOX3MF4ZiJDptwz1qTQ0Pt5I8q8jXfghle8nIGlt5eBH7vwS9yoz3UyHRSyIIPR1a4rXOhP56yE6fMPozilEMn8WlgWZyHfHICSdrcXvmJqL0bG0pu2hz9MFk9Pn0M8OoXRdMu5mcHbDJDKjPHG1kT43ue/LZuTFerKj/jdEc96jK+M0hpPdMM/ex9gju1Db2bMh8x4iArL7R6GLjZSEwHE45ediuf97qKsHK3OaVoXhuSYYvYFAVYMGVxspCrPpTxDaKK+ScKKaizdb2RrkyIziXNq3HUBX34yBvQ2yzRFIF89Ho9WTmlPH7uxa1F3aJwX8B283OYnv2GF8+CcsM46iV7ejc3VGGb2KCcvnAgwqoKpBg23JDdrjk9GW30MklyFbG4ZxRAhIjDh+tZEtJ6t50NzdXyc6kVs1qBkIgoiZrnI661tQXLn1iMhnMub2FoMK0LWo6L1R2h8znOKJYGEGQF1rN6W1nQN4REqlclhuNJiA4UBUjvuI2uGIj+JRASP+CMU5t1oHBCfYG2M39h9D1DUr6S0u688ZTp2AYD74aG6pbUZx+eYjUbMnYWxtTkGlGp1u8D7FQV//2X9wsJCwOdAJWzMJek0PnfuP0L4nHb26HbHHeGSJUdRoJTgP0Y25vQUKnQ6zbw8iVFbRK5dxd/kSTEIDiD9TR2GFekCNACCXivki2Inr27xYPN0SzbFzNE0Lpi0hBZFUgvybjdw8sBffPCnpVxRD0EOlogu3UF+sCw7TtGkNeokRFilpOASt4CvjuxyK9MDlKT8RIubZUbJjGp/62SNcLaH5jQ9QhSega1Ehi11JU1YGy5pcCEgqo7S2Y0hygMN59XjH3eDCbSUTY0IwuXaclpXLECnVWMZvZ0r0GjK8NOwMfQkLmSHw7yPUVlTTFr+X7vO5IAhIQ9+mK2oFW/La+TG/nsevb/UCexKCnIY0o6SztQDMdDNl6xJnpjrLaLijQJW4H5PsC6DTofHxpuezcDIVUsTqdTvpTD8F2j4k87wRx31McpWE5D1VdPUM3IieFwUVKuZuLSFouhXxgU64/pBAVW4wwvZ9jLlcyJj8ayxduABxZ9pJxBNdeSExiqMG4/gy/T71qp5hEz8OvR6O/97I6aJmwufZsd7fHfmZvZQduYxpUiryk1mIZXER17ThS2s///mBW6WiUe5mK8XNdujFw8rE6CFw32jWNO+nUoVWJkaOszxMB11Ki6vbiPzuTvemRePKPUN8OrUBrxnc2pE5RzT6NRsVMNIC/gaY0PLtJgQJ0gAAAABJRU5ErkJggg==',
'front' => true,
'[new]' => false,
'[accessible]' => [
[maximum depth reached]
],
'[dirty]' => [[maximum depth reached]],
'[original]' => [[maximum depth reached]],
'[virtual]' => [[maximum depth reached]],
'[hasErrors]' => false,
'[errors]' => [[maximum depth reached]],
'[invalid]' => [[maximum depth reached]],
'[repository]' => 'Locales'
},
(int) 3 => object(App\Model\Entity\Locale) {
'id' => 'a20c3c73-53c0-11e9-bb3d-7054d219d6c5',
'locale' => 'de',
'name' => 'Deutsch',
'position' => (int) 0,
'active' => true,
'flag' => 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgBAMAAACBVGfHAAAAA3NCSVQICAjb4U/gAAAACXBIWXMAAADdAAAA3QFwU6IHAAAAGXRFWHRTb2Z0d2FyZQB3d3cuaW5rc2NhcGUub3Jnm+48GgAAAB5QTFRF////SEhU/+BaRkZV/+FZwUlV/31WRkZV/0tV/+FagNv1tgAAAAd0Uk5TAFJSeHjAwPIGe2oAAAAqSURBVCjPY2FAAyzUEBBWQOH/Y0mhhS0YAvfQBYyHs7Xd6IF85w71bQEAwy4HmS9PAQYAAAAASUVORK5CYII=',
'front' => true,
'[new]' => false,
'[accessible]' => [
[maximum depth reached]
],
'[dirty]' => [[maximum depth reached]],
'[original]' => [[maximum depth reached]],
'[virtual]' => [[maximum depth reached]],
'[hasErrors]' => false,
'[errors]' => [[maximum depth reached]],
'[invalid]' => [[maximum depth reached]],
'[repository]' => 'Locales'
}
]
$session = object(Cake\Http\Session) {
[protected] _engine => null
[protected] _started => true
[protected] _lifetime => (int) 86400
[protected] _isCLI => false
}
$lng = 'la-maison'
$currentLocal = 'la-maison'
$settingsDB = object(SoftDelete\ORM\Query) {
'(help)' => 'This is a Query object, to get the results execute or iterate it.',
'sql' => 'SELECT Settings.id AS `Settings__id`, Settings.meta_key AS `Settings__meta_key`, Settings.meta_value AS `Settings__meta_value`, Settings.name AS `Settings__name`, Settings.description AS `Settings__description`, Settings.deleted AS `Settings__deleted`, Settings_meta_value_translation.id AS `Settings_meta_value_translation__id`, Settings_meta_value_translation.locale AS `Settings_meta_value_translation__locale`, Settings_meta_value_translation.model AS `Settings_meta_value_translation__model`, Settings_meta_value_translation.foreign_key AS `Settings_meta_value_translation__foreign_key`, Settings_meta_value_translation.field AS `Settings_meta_value_translation__field`, Settings_meta_value_translation.content AS `Settings_meta_value_translation__content`, Settings_name_translation.id AS `Settings_name_translation__id`, Settings_name_translation.locale AS `Settings_name_translation__locale`, Settings_name_translation.model AS `Settings_name_translation__model`, Settings_name_translation.foreign_key AS `Settings_name_translation__foreign_key`, Settings_name_translation.field AS `Settings_name_translation__field`, Settings_name_translation.content AS `Settings_name_translation__content`, Settings_description_translation.id AS `Settings_description_translation__id`, Settings_description_translation.locale AS `Settings_description_translation__locale`, Settings_description_translation.model AS `Settings_description_translation__model`, Settings_description_translation.foreign_key AS `Settings_description_translation__foreign_key`, Settings_description_translation.field AS `Settings_description_translation__field`, Settings_description_translation.content AS `Settings_description_translation__content` FROM settings Settings LEFT JOIN i18n Settings_meta_value_translation ON (Settings_meta_value_translation.model = :c0 AND Settings_meta_value_translation.field = :c1 AND Settings_meta_value_translation.locale = :c2 AND Settings.id = (Settings_meta_value_translation.foreign_key)) LEFT JOIN i18n Settings_name_translation ON (Settings_name_translation.model = :c3 AND Settings_name_translation.field = :c4 AND Settings_name_translation.locale = :c5 AND Settings.id = (Settings_name_translation.foreign_key)) LEFT JOIN i18n Settings_description_translation ON (Settings_description_translation.model = :c6 AND Settings_description_translation.field = :c7 AND Settings_description_translation.locale = :c8 AND Settings.id = (Settings_description_translation.foreign_key)) WHERE Settings.deleted IS NULL',
'params' => [
':c0' => [
[maximum depth reached]
],
':c1' => [
[maximum depth reached]
],
':c2' => [
[maximum depth reached]
],
':c3' => [
[maximum depth reached]
],
':c4' => [
[maximum depth reached]
],
':c5' => [
[maximum depth reached]
],
':c6' => [
[maximum depth reached]
],
':c7' => [
[maximum depth reached]
],
':c8' => [
[maximum depth reached]
]
],
'defaultTypes' => [
'Settings__id' => 'uuid',
'Settings.id' => 'uuid',
'id' => 'uuid',
'Settings__meta_key' => 'string',
'Settings.meta_key' => 'string',
'meta_key' => 'string',
'Settings__meta_value' => 'text',
'Settings.meta_value' => 'text',
'meta_value' => 'text',
'Settings__name' => 'string',
'Settings.name' => 'string',
'name' => 'string',
'Settings__description' => 'text',
'Settings.description' => 'text',
'description' => 'text',
'Settings__deleted' => 'datetime',
'Settings.deleted' => 'datetime',
'deleted' => 'datetime',
'I18n__id' => 'integer',
'I18n.id' => 'integer',
'I18n__locale' => 'string',
'I18n.locale' => 'string',
'locale' => 'string',
'I18n__model' => 'string',
'I18n.model' => 'string',
'model' => 'string',
'I18n__foreign_key' => 'uuid',
'I18n.foreign_key' => 'uuid',
'foreign_key' => 'uuid',
'I18n__field' => 'string',
'I18n.field' => 'string',
'field' => 'string',
'I18n__content' => 'text',
'I18n.content' => 'text',
'content' => 'text',
'Settings_meta_value_translation__id' => 'integer',
'Settings_meta_value_translation.id' => 'integer',
'Settings_meta_value_translation__locale' => 'string',
'Settings_meta_value_translation.locale' => 'string',
'Settings_meta_value_translation__model' => 'string',
'Settings_meta_value_translation.model' => 'string',
'Settings_meta_value_translation__foreign_key' => 'uuid',
'Settings_meta_value_translation.foreign_key' => 'uuid',
'Settings_meta_value_translation__field' => 'string',
'Settings_meta_value_translation.field' => 'string',
'Settings_meta_value_translation__content' => 'text',
'Settings_meta_value_translation.content' => 'text',
'Settings_name_translation__id' => 'integer',
'Settings_name_translation.id' => 'integer',
'Settings_name_translation__locale' => 'string',
'Settings_name_translation.locale' => 'string',
'Settings_name_translation__model' => 'string',
'Settings_name_translation.model' => 'string',
'Settings_name_translation__foreign_key' => 'uuid',
'Settings_name_translation.foreign_key' => 'uuid',
'Settings_name_translation__field' => 'string',
'Settings_name_translation.field' => 'string',
'Settings_name_translation__content' => 'text',
'Settings_name_translation.content' => 'text',
'Settings_description_translation__id' => 'integer',
'Settings_description_translation.id' => 'integer',
'Settings_description_translation__locale' => 'string',
'Settings_description_translation.locale' => 'string',
'Settings_description_translation__model' => 'string',
'Settings_description_translation.model' => 'string',
'Settings_description_translation__foreign_key' => 'uuid',
'Settings_description_translation.foreign_key' => 'uuid',
'Settings_description_translation__field' => 'string',
'Settings_description_translation.field' => 'string',
'Settings_description_translation__content' => 'text',
'Settings_description_translation.content' => 'text'
],
'decorators' => (int) 0,
'executed' => true,
'hydrate' => true,
'buffered' => true,
'formatters' => (int) 2,
'mapReducers' => (int) 0,
'contain' => [
'I18n' => [
[maximum depth reached]
],
'Settings_meta_value_translation' => [
[maximum depth reached]
],
'Settings_name_translation' => [
[maximum depth reached]
],
'Settings_description_translation' => [
[maximum depth reached]
]
],
'matching' => [],
'extraOptions' => [],
'repository' => object(App\Model\Table\SettingsTable) {}
}
$settings = [
'copyright' => null,
'facebook' => null,
'title_faq' => null,
'btn_discover_name' => null,
'btn_choose' => null
]
$titles = [
'copyright' => null,
'facebook' => null,
'title_faq' => null,
'btn_discover_name' => null,
'btn_choose' => null
]
$key = (int) 5
$s = object(App\Model\Entity\Setting) {
'id' => '19107954-48f0-42a0-a390-367fbac76790',
'meta_key' => 'systempay_key',
'meta_value' => '<p>test key : 8248071397253591</p><p>prod key : 4809182785132352<br></p>',
'name' => '4809182785132352',
'description' => '',
'deleted' => null,
'_locale' => 'la-maison',
'_translations' => [
'fr' => object(App\Model\Entity\Setting) {},
'es' => object(App\Model\Entity\Setting) {},
'pt' => object(App\Model\Entity\Setting) {},
'en' => object(App\Model\Entity\Setting) {},
'de' => object(App\Model\Entity\Setting) {},
'it' => object(App\Model\Entity\Setting) {}
],
'[new]' => false,
'[accessible]' => [
'meta_key' => true,
'meta_value' => true,
'name' => true,
'description' => true
],
'[dirty]' => [],
'[original]' => [],
'[virtual]' => [],
'[hasErrors]' => false,
'[errors]' => [],
'[invalid]' => [],
'[repository]' => 'Settings'
}
App\Controller\AppController::initialize() - APP/Controller/AppController.php, line 110
App\Controller\PagesController::initialize() - APP/Controller/PagesController.php, line 38
Cake\Controller\Controller::__construct() - CORE/src/Controller/Controller.php, line 273
ReflectionClass::newInstance() - [internal], line ??
Cake\Http\ControllerFactory::create() - CORE/src/Http/ControllerFactory.php, line 47
Cake\Http\ActionDispatcher::dispatch() - CORE/src/Http/ActionDispatcher.php, line 91
Cake\Http\BaseApplication::__invoke() - CORE/src/Http/BaseApplication.php, line 235
Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65
Cake\Routing\Middleware\RoutingMiddleware::__invoke() - CORE/src/Routing/Middleware/RoutingMiddleware.php, line 162
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 96
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 98
[main] - ROOT/webroot/index.php, line 40
Notice (8): Trying to get property of non-object [APP/Controller/AppController.php, line 110]Code Context foreach ($settingsDB as $key => $s) {
$settings[$s->meta_key] = $s->_translations[$this->getCurrentLocale()]->meta_value;
$titles[$s->meta_key] = $s->_translations[$this->getCurrentLocale()]->name;
$locales = [
(int) 0 => object(App\Model\Entity\Locale) {
'id' => 'c79e08dd-4b98-40da-812f-166a5627cafe',
'locale' => 'fr',
'name' => 'French',
'position' => (int) 1,
'active' => true,
'flag' => 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgBAMAAACBVGfHAAAAA3NCSVQICAjb4U/gAAAACXBIWXMAAADdAAAA3QFwU6IHAAAAGXRFWHRTb2Z0d2FyZQB3d3cuaW5rc2NhcGUub3Jnm+48GgAAACdQTFRF////QUib/0tUh4y+/XiAQkab9PT0/0pVkpTC/mRtQUeb9fX1/0tVpPINxQAAAAp0Uk5TAFJSamp4eHjGxmzCt2wAAAArSURBVCjPY2RAA4zUEBB1AJIPDYDEP2Eg8ZtxFQOKAMOoAOUCGIFMi6gEAD39PvX2T/ZKAAAAAElFTkSuQmCC',
'front' => true,
'[new]' => false,
'[accessible]' => [
[maximum depth reached]
],
'[dirty]' => [[maximum depth reached]],
'[original]' => [[maximum depth reached]],
'[virtual]' => [[maximum depth reached]],
'[hasErrors]' => false,
'[errors]' => [[maximum depth reached]],
'[invalid]' => [[maximum depth reached]],
'[repository]' => 'Locales'
},
(int) 1 => object(App\Model\Entity\Locale) {
'id' => '073aae08-53c1-11e9-bb3d-7054d219d6c5',
'locale' => 'es',
'name' => 'Español',
'position' => (int) 0,
'active' => true,
'flag' => 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAMAAABEpIrGAAAAA3NCSVQICAjb4U/gAAAACXBIWXMAAADdAAAA3QFwU6IHAAAAGXRFWHRTb2Z0d2FyZQB3d3cuaW5rc2NhcGUub3Jnm+48GgAAARpQTFRF////x0FLyEJKgXaZoI6wuKV1watwyEFLy0pLzntc0rZn1GJZ1WVW1bhm1mxd13JW13Vx2nFQ229L23JN23xM3IyF3I+V3JKY3Y2G3nVJ33dJ34Zs4JOA4XhH4X9Q4ZV845Bk5JJi5LG15aWL5btz5b185pFh5pRk5pZs5px558Nc6ItI6KR16cFp6pBI66lx7ZxQ7aNO7q1h7rR17tjW76BO78BX8KpP8LJk8buC8stZ9LhX9Net9PPz9efR9fHz9fX198BY98dz98xX99/s9+Lt9+3R+MVe+N2d+dOA+deU+eat+sBQ+stf+8hm+8xZ+9Bw/Lzd/MtQ/N2E/N6G/dlx/sxP/s5R/tRa/tZk/tdp/9JQ/9JR/9NThpihEAAAAAN0Uk5TAFJ4LCUCBgAAAKRJREFUOI1jYBgKgJEJL2BkYCcAqKCAgwBgiCYAYApiQ/xCY/AoiLGR4Vb2wKkgyDxaUVhI0CjaEIcCH1N3aTVLL+9wgzDsCoLtdLS1lQJdoxwisCvQF+WTFWFxsVcQs8auwFjCSY6TmZ/HQtwRuwJPtwApKU09SV9bf+wKdFWc1TVMBOStVM2wK2Bj1YqODI6I5mXlwq4AHyAcWXRIMAQT7VAAACQKgMq9uRSqAAAAAElFTkSuQmCC',
'front' => true,
'[new]' => false,
'[accessible]' => [
[maximum depth reached]
],
'[dirty]' => [[maximum depth reached]],
'[original]' => [[maximum depth reached]],
'[virtual]' => [[maximum depth reached]],
'[hasErrors]' => false,
'[errors]' => [[maximum depth reached]],
'[invalid]' => [[maximum depth reached]],
'[repository]' => 'Locales'
},
(int) 2 => object(App\Model\Entity\Locale) {
'id' => '99c33239-48e4-4692-adb0-30a7c352e556',
'locale' => 'en',
'name' => 'English',
'position' => (int) 0,
'active' => true,
'flag' => 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAAA3QAAAN0BcFOiBwAAABl0RVh0U29mdHdhcmUAd3d3Lmlua3NjYXBlLm9yZ5vuPBoAAATuSURBVFiF7ZdrUNRlFMZ/+2dhXVoW5DJcAgTjamopziiWYuhMYpHGRUk0Gs1gIshboIYMoWNqahQyig41hJLXcgSvQ6VyS2WE1IBABRSZ5b673BZYdvtQ4QUYHb7QB55v7zlz5nnOvO+c57wivV7PSEIYUfZRAf8HAeJL65MbJ8UuvSQ2EveVPewy3naqxkPZ0SsZqmD+KxYPI9+0u9/iH+n9eNw8K6Uw5UKd4/k/ml98FqmrjVQd/65DhTg1015suzvFsuHM+SDV6nA8Q3xIWeHCrqxaUnPq6NbqBhR7jTdxBLx7coueTjk2tvWQW64aktja1IiNixxZ0ldDh1/CRM3tSgR1oD/CnWrGRsRQ89YnNBf9ReJiJ4q+9CJ4hhUi0bP6eTakRgIx/g4UhZmxMHk7qoBotOX3MF4ZiJDptwz1qTQ0Pt5I8q8jXfghle8nIGlt5eBH7vwS9yoz3UyHRSyIIPR1a4rXOhP56yE6fMPozilEMn8WlgWZyHfHICSdrcXvmJqL0bG0pu2hz9MFk9Pn0M8OoXRdMu5mcHbDJDKjPHG1kT43ue/LZuTFerKj/jdEc96jK+M0hpPdMM/ex9gju1Db2bMh8x4iArL7R6GLjZSEwHE45ediuf97qKsHK3OaVoXhuSYYvYFAVYMGVxspCrPpTxDaKK+ScKKaizdb2RrkyIziXNq3HUBX34yBvQ2yzRFIF89Ho9WTmlPH7uxa1F3aJwX8B283OYnv2GF8+CcsM46iV7ejc3VGGb2KCcvnAgwqoKpBg23JDdrjk9GW30MklyFbG4ZxRAhIjDh+tZEtJ6t50NzdXyc6kVs1qBkIgoiZrnI661tQXLn1iMhnMub2FoMK0LWo6L1R2h8znOKJYGEGQF1rN6W1nQN4REqlclhuNJiA4UBUjvuI2uGIj+JRASP+CMU5t1oHBCfYG2M39h9D1DUr6S0u688ZTp2AYD74aG6pbUZx+eYjUbMnYWxtTkGlGp1u8D7FQV//2X9wsJCwOdAJWzMJek0PnfuP0L4nHb26HbHHeGSJUdRoJTgP0Y25vQUKnQ6zbw8iVFbRK5dxd/kSTEIDiD9TR2GFekCNACCXivki2Inr27xYPN0SzbFzNE0Lpi0hBZFUgvybjdw8sBffPCnpVxRD0EOlogu3UF+sCw7TtGkNeokRFilpOASt4CvjuxyK9MDlKT8RIubZUbJjGp/62SNcLaH5jQ9QhSega1Ehi11JU1YGy5pcCEgqo7S2Y0hygMN59XjH3eDCbSUTY0IwuXaclpXLECnVWMZvZ0r0GjK8NOwMfQkLmSHw7yPUVlTTFr+X7vO5IAhIQ9+mK2oFW/La+TG/nsevb/UCexKCnIY0o6SztQDMdDNl6xJnpjrLaLijQJW4H5PsC6DTofHxpuezcDIVUsTqdTvpTD8F2j4k87wRx31McpWE5D1VdPUM3IieFwUVKuZuLSFouhXxgU64/pBAVW4wwvZ9jLlcyJj8ayxduABxZ9pJxBNdeSExiqMG4/gy/T71qp5hEz8OvR6O/97I6aJmwufZsd7fHfmZvZQduYxpUiryk1mIZXER17ThS2s///mBW6WiUe5mK8XNdujFw8rE6CFw32jWNO+nUoVWJkaOszxMB11Ki6vbiPzuTvemRePKPUN8OrUBrxnc2pE5RzT6NRsVMNIC/gaY0PLtJgQJ0gAAAABJRU5ErkJggg==',
'front' => true,
'[new]' => false,
'[accessible]' => [
[maximum depth reached]
],
'[dirty]' => [[maximum depth reached]],
'[original]' => [[maximum depth reached]],
'[virtual]' => [[maximum depth reached]],
'[hasErrors]' => false,
'[errors]' => [[maximum depth reached]],
'[invalid]' => [[maximum depth reached]],
'[repository]' => 'Locales'
},
(int) 3 => object(App\Model\Entity\Locale) {
'id' => 'a20c3c73-53c0-11e9-bb3d-7054d219d6c5',
'locale' => 'de',
'name' => 'Deutsch',
'position' => (int) 0,
'active' => true,
'flag' => 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgBAMAAACBVGfHAAAAA3NCSVQICAjb4U/gAAAACXBIWXMAAADdAAAA3QFwU6IHAAAAGXRFWHRTb2Z0d2FyZQB3d3cuaW5rc2NhcGUub3Jnm+48GgAAAB5QTFRF////SEhU/+BaRkZV/+FZwUlV/31WRkZV/0tV/+FagNv1tgAAAAd0Uk5TAFJSeHjAwPIGe2oAAAAqSURBVCjPY2FAAyzUEBBWQOH/Y0mhhS0YAvfQBYyHs7Xd6IF85w71bQEAwy4HmS9PAQYAAAAASUVORK5CYII=',
'front' => true,
'[new]' => false,
'[accessible]' => [
[maximum depth reached]
],
'[dirty]' => [[maximum depth reached]],
'[original]' => [[maximum depth reached]],
'[virtual]' => [[maximum depth reached]],
'[hasErrors]' => false,
'[errors]' => [[maximum depth reached]],
'[invalid]' => [[maximum depth reached]],
'[repository]' => 'Locales'
}
]
$session = object(Cake\Http\Session) {
[protected] _engine => null
[protected] _started => true
[protected] _lifetime => (int) 86400
[protected] _isCLI => false
}
$lng = 'la-maison'
$currentLocal = 'la-maison'
$settingsDB = object(SoftDelete\ORM\Query) {
'(help)' => 'This is a Query object, to get the results execute or iterate it.',
'sql' => 'SELECT Settings.id AS `Settings__id`, Settings.meta_key AS `Settings__meta_key`, Settings.meta_value AS `Settings__meta_value`, Settings.name AS `Settings__name`, Settings.description AS `Settings__description`, Settings.deleted AS `Settings__deleted`, Settings_meta_value_translation.id AS `Settings_meta_value_translation__id`, Settings_meta_value_translation.locale AS `Settings_meta_value_translation__locale`, Settings_meta_value_translation.model AS `Settings_meta_value_translation__model`, Settings_meta_value_translation.foreign_key AS `Settings_meta_value_translation__foreign_key`, Settings_meta_value_translation.field AS `Settings_meta_value_translation__field`, Settings_meta_value_translation.content AS `Settings_meta_value_translation__content`, Settings_name_translation.id AS `Settings_name_translation__id`, Settings_name_translation.locale AS `Settings_name_translation__locale`, Settings_name_translation.model AS `Settings_name_translation__model`, Settings_name_translation.foreign_key AS `Settings_name_translation__foreign_key`, Settings_name_translation.field AS `Settings_name_translation__field`, Settings_name_translation.content AS `Settings_name_translation__content`, Settings_description_translation.id AS `Settings_description_translation__id`, Settings_description_translation.locale AS `Settings_description_translation__locale`, Settings_description_translation.model AS `Settings_description_translation__model`, Settings_description_translation.foreign_key AS `Settings_description_translation__foreign_key`, Settings_description_translation.field AS `Settings_description_translation__field`, Settings_description_translation.content AS `Settings_description_translation__content` FROM settings Settings LEFT JOIN i18n Settings_meta_value_translation ON (Settings_meta_value_translation.model = :c0 AND Settings_meta_value_translation.field = :c1 AND Settings_meta_value_translation.locale = :c2 AND Settings.id = (Settings_meta_value_translation.foreign_key)) LEFT JOIN i18n Settings_name_translation ON (Settings_name_translation.model = :c3 AND Settings_name_translation.field = :c4 AND Settings_name_translation.locale = :c5 AND Settings.id = (Settings_name_translation.foreign_key)) LEFT JOIN i18n Settings_description_translation ON (Settings_description_translation.model = :c6 AND Settings_description_translation.field = :c7 AND Settings_description_translation.locale = :c8 AND Settings.id = (Settings_description_translation.foreign_key)) WHERE Settings.deleted IS NULL',
'params' => [
':c0' => [
[maximum depth reached]
],
':c1' => [
[maximum depth reached]
],
':c2' => [
[maximum depth reached]
],
':c3' => [
[maximum depth reached]
],
':c4' => [
[maximum depth reached]
],
':c5' => [
[maximum depth reached]
],
':c6' => [
[maximum depth reached]
],
':c7' => [
[maximum depth reached]
],
':c8' => [
[maximum depth reached]
]
],
'defaultTypes' => [
'Settings__id' => 'uuid',
'Settings.id' => 'uuid',
'id' => 'uuid',
'Settings__meta_key' => 'string',
'Settings.meta_key' => 'string',
'meta_key' => 'string',
'Settings__meta_value' => 'text',
'Settings.meta_value' => 'text',
'meta_value' => 'text',
'Settings__name' => 'string',
'Settings.name' => 'string',
'name' => 'string',
'Settings__description' => 'text',
'Settings.description' => 'text',
'description' => 'text',
'Settings__deleted' => 'datetime',
'Settings.deleted' => 'datetime',
'deleted' => 'datetime',
'I18n__id' => 'integer',
'I18n.id' => 'integer',
'I18n__locale' => 'string',
'I18n.locale' => 'string',
'locale' => 'string',
'I18n__model' => 'string',
'I18n.model' => 'string',
'model' => 'string',
'I18n__foreign_key' => 'uuid',
'I18n.foreign_key' => 'uuid',
'foreign_key' => 'uuid',
'I18n__field' => 'string',
'I18n.field' => 'string',
'field' => 'string',
'I18n__content' => 'text',
'I18n.content' => 'text',
'content' => 'text',
'Settings_meta_value_translation__id' => 'integer',
'Settings_meta_value_translation.id' => 'integer',
'Settings_meta_value_translation__locale' => 'string',
'Settings_meta_value_translation.locale' => 'string',
'Settings_meta_value_translation__model' => 'string',
'Settings_meta_value_translation.model' => 'string',
'Settings_meta_value_translation__foreign_key' => 'uuid',
'Settings_meta_value_translation.foreign_key' => 'uuid',
'Settings_meta_value_translation__field' => 'string',
'Settings_meta_value_translation.field' => 'string',
'Settings_meta_value_translation__content' => 'text',
'Settings_meta_value_translation.content' => 'text',
'Settings_name_translation__id' => 'integer',
'Settings_name_translation.id' => 'integer',
'Settings_name_translation__locale' => 'string',
'Settings_name_translation.locale' => 'string',
'Settings_name_translation__model' => 'string',
'Settings_name_translation.model' => 'string',
'Settings_name_translation__foreign_key' => 'uuid',
'Settings_name_translation.foreign_key' => 'uuid',
'Settings_name_translation__field' => 'string',
'Settings_name_translation.field' => 'string',
'Settings_name_translation__content' => 'text',
'Settings_name_translation.content' => 'text',
'Settings_description_translation__id' => 'integer',
'Settings_description_translation.id' => 'integer',
'Settings_description_translation__locale' => 'string',
'Settings_description_translation.locale' => 'string',
'Settings_description_translation__model' => 'string',
'Settings_description_translation.model' => 'string',
'Settings_description_translation__foreign_key' => 'uuid',
'Settings_description_translation.foreign_key' => 'uuid',
'Settings_description_translation__field' => 'string',
'Settings_description_translation.field' => 'string',
'Settings_description_translation__content' => 'text',
'Settings_description_translation.content' => 'text'
],
'decorators' => (int) 0,
'executed' => true,
'hydrate' => true,
'buffered' => true,
'formatters' => (int) 2,
'mapReducers' => (int) 0,
'contain' => [
'I18n' => [
[maximum depth reached]
],
'Settings_meta_value_translation' => [
[maximum depth reached]
],
'Settings_name_translation' => [
[maximum depth reached]
],
'Settings_description_translation' => [
[maximum depth reached]
]
],
'matching' => [],
'extraOptions' => [],
'repository' => object(App\Model\Table\SettingsTable) {}
}
$settings = [
'copyright' => null,
'facebook' => null,
'title_faq' => null,
'btn_discover_name' => null,
'btn_choose' => null
]
$titles = [
'copyright' => null,
'facebook' => null,
'title_faq' => null,
'btn_discover_name' => null,
'btn_choose' => null
]
$key = (int) 5
$s = object(App\Model\Entity\Setting) {
'id' => '19107954-48f0-42a0-a390-367fbac76790',
'meta_key' => 'systempay_key',
'meta_value' => '<p>test key : 8248071397253591</p><p>prod key : 4809182785132352<br></p>',
'name' => '4809182785132352',
'description' => '',
'deleted' => null,
'_locale' => 'la-maison',
'_translations' => [
'fr' => object(App\Model\Entity\Setting) {},
'es' => object(App\Model\Entity\Setting) {},
'pt' => object(App\Model\Entity\Setting) {},
'en' => object(App\Model\Entity\Setting) {},
'de' => object(App\Model\Entity\Setting) {},
'it' => object(App\Model\Entity\Setting) {}
],
'[new]' => false,
'[accessible]' => [
'meta_key' => true,
'meta_value' => true,
'name' => true,
'description' => true
],
'[dirty]' => [],
'[original]' => [],
'[virtual]' => [],
'[hasErrors]' => false,
'[errors]' => [],
'[invalid]' => [],
'[repository]' => 'Settings'
}
App\Controller\AppController::initialize() - APP/Controller/AppController.php, line 110
App\Controller\PagesController::initialize() - APP/Controller/PagesController.php, line 38
Cake\Controller\Controller::__construct() - CORE/src/Controller/Controller.php, line 273
ReflectionClass::newInstance() - [internal], line ??
Cake\Http\ControllerFactory::create() - CORE/src/Http/ControllerFactory.php, line 47
Cake\Http\ActionDispatcher::dispatch() - CORE/src/Http/ActionDispatcher.php, line 91
Cake\Http\BaseApplication::__invoke() - CORE/src/Http/BaseApplication.php, line 235
Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65
Cake\Routing\Middleware\RoutingMiddleware::__invoke() - CORE/src/Routing/Middleware/RoutingMiddleware.php, line 162
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 96
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 98
[main] - ROOT/webroot/index.php, line 40
Notice (8): Undefined index: la-maison [APP/Controller/AppController.php, line 111]Code Context $settings[$s->meta_key] = $s->_translations[$this->getCurrentLocale()]->meta_value;
$titles[$s->meta_key] = $s->_translations[$this->getCurrentLocale()]->name;
}
$locales = [
(int) 0 => object(App\Model\Entity\Locale) {
'id' => 'c79e08dd-4b98-40da-812f-166a5627cafe',
'locale' => 'fr',
'name' => 'French',
'position' => (int) 1,
'active' => true,
'flag' => 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgBAMAAACBVGfHAAAAA3NCSVQICAjb4U/gAAAACXBIWXMAAADdAAAA3QFwU6IHAAAAGXRFWHRTb2Z0d2FyZQB3d3cuaW5rc2NhcGUub3Jnm+48GgAAACdQTFRF////QUib/0tUh4y+/XiAQkab9PT0/0pVkpTC/mRtQUeb9fX1/0tVpPINxQAAAAp0Uk5TAFJSamp4eHjGxmzCt2wAAAArSURBVCjPY2RAA4zUEBB1AJIPDYDEP2Eg8ZtxFQOKAMOoAOUCGIFMi6gEAD39PvX2T/ZKAAAAAElFTkSuQmCC',
'front' => true,
'[new]' => false,
'[accessible]' => [
[maximum depth reached]
],
'[dirty]' => [[maximum depth reached]],
'[original]' => [[maximum depth reached]],
'[virtual]' => [[maximum depth reached]],
'[hasErrors]' => false,
'[errors]' => [[maximum depth reached]],
'[invalid]' => [[maximum depth reached]],
'[repository]' => 'Locales'
},
(int) 1 => object(App\Model\Entity\Locale) {
'id' => '073aae08-53c1-11e9-bb3d-7054d219d6c5',
'locale' => 'es',
'name' => 'Español',
'position' => (int) 0,
'active' => true,
'flag' => 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAMAAABEpIrGAAAAA3NCSVQICAjb4U/gAAAACXBIWXMAAADdAAAA3QFwU6IHAAAAGXRFWHRTb2Z0d2FyZQB3d3cuaW5rc2NhcGUub3Jnm+48GgAAARpQTFRF////x0FLyEJKgXaZoI6wuKV1watwyEFLy0pLzntc0rZn1GJZ1WVW1bhm1mxd13JW13Vx2nFQ229L23JN23xM3IyF3I+V3JKY3Y2G3nVJ33dJ34Zs4JOA4XhH4X9Q4ZV845Bk5JJi5LG15aWL5btz5b185pFh5pRk5pZs5px558Nc6ItI6KR16cFp6pBI66lx7ZxQ7aNO7q1h7rR17tjW76BO78BX8KpP8LJk8buC8stZ9LhX9Net9PPz9efR9fHz9fX198BY98dz98xX99/s9+Lt9+3R+MVe+N2d+dOA+deU+eat+sBQ+stf+8hm+8xZ+9Bw/Lzd/MtQ/N2E/N6G/dlx/sxP/s5R/tRa/tZk/tdp/9JQ/9JR/9NThpihEAAAAAN0Uk5TAFJ4LCUCBgAAAKRJREFUOI1jYBgKgJEJL2BkYCcAqKCAgwBgiCYAYApiQ/xCY/AoiLGR4Vb2wKkgyDxaUVhI0CjaEIcCH1N3aTVLL+9wgzDsCoLtdLS1lQJdoxwisCvQF+WTFWFxsVcQs8auwFjCSY6TmZ/HQtwRuwJPtwApKU09SV9bf+wKdFWc1TVMBOStVM2wK2Bj1YqODI6I5mXlwq4AHyAcWXRIMAQT7VAAACQKgMq9uRSqAAAAAElFTkSuQmCC',
'front' => true,
'[new]' => false,
'[accessible]' => [
[maximum depth reached]
],
'[dirty]' => [[maximum depth reached]],
'[original]' => [[maximum depth reached]],
'[virtual]' => [[maximum depth reached]],
'[hasErrors]' => false,
'[errors]' => [[maximum depth reached]],
'[invalid]' => [[maximum depth reached]],
'[repository]' => 'Locales'
},
(int) 2 => object(App\Model\Entity\Locale) {
'id' => '99c33239-48e4-4692-adb0-30a7c352e556',
'locale' => 'en',
'name' => 'English',
'position' => (int) 0,
'active' => true,
'flag' => 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAAA3QAAAN0BcFOiBwAAABl0RVh0U29mdHdhcmUAd3d3Lmlua3NjYXBlLm9yZ5vuPBoAAATuSURBVFiF7ZdrUNRlFMZ/+2dhXVoW5DJcAgTjamopziiWYuhMYpHGRUk0Gs1gIshboIYMoWNqahQyig41hJLXcgSvQ6VyS2WE1IBABRSZ5b673BZYdvtQ4QUYHb7QB55v7zlz5nnOvO+c57wivV7PSEIYUfZRAf8HAeJL65MbJ8UuvSQ2EveVPewy3naqxkPZ0SsZqmD+KxYPI9+0u9/iH+n9eNw8K6Uw5UKd4/k/ml98FqmrjVQd/65DhTg1015suzvFsuHM+SDV6nA8Q3xIWeHCrqxaUnPq6NbqBhR7jTdxBLx7coueTjk2tvWQW64aktja1IiNixxZ0ldDh1/CRM3tSgR1oD/CnWrGRsRQ89YnNBf9ReJiJ4q+9CJ4hhUi0bP6eTakRgIx/g4UhZmxMHk7qoBotOX3MF4ZiJDptwz1qTQ0Pt5I8q8jXfghle8nIGlt5eBH7vwS9yoz3UyHRSyIIPR1a4rXOhP56yE6fMPozilEMn8WlgWZyHfHICSdrcXvmJqL0bG0pu2hz9MFk9Pn0M8OoXRdMu5mcHbDJDKjPHG1kT43ue/LZuTFerKj/jdEc96jK+M0hpPdMM/ex9gju1Db2bMh8x4iArL7R6GLjZSEwHE45ediuf97qKsHK3OaVoXhuSYYvYFAVYMGVxspCrPpTxDaKK+ScKKaizdb2RrkyIziXNq3HUBX34yBvQ2yzRFIF89Ho9WTmlPH7uxa1F3aJwX8B283OYnv2GF8+CcsM46iV7ejc3VGGb2KCcvnAgwqoKpBg23JDdrjk9GW30MklyFbG4ZxRAhIjDh+tZEtJ6t50NzdXyc6kVs1qBkIgoiZrnI661tQXLn1iMhnMub2FoMK0LWo6L1R2h8znOKJYGEGQF1rN6W1nQN4REqlclhuNJiA4UBUjvuI2uGIj+JRASP+CMU5t1oHBCfYG2M39h9D1DUr6S0u688ZTp2AYD74aG6pbUZx+eYjUbMnYWxtTkGlGp1u8D7FQV//2X9wsJCwOdAJWzMJek0PnfuP0L4nHb26HbHHeGSJUdRoJTgP0Y25vQUKnQ6zbw8iVFbRK5dxd/kSTEIDiD9TR2GFekCNACCXivki2Inr27xYPN0SzbFzNE0Lpi0hBZFUgvybjdw8sBffPCnpVxRD0EOlogu3UF+sCw7TtGkNeokRFilpOASt4CvjuxyK9MDlKT8RIubZUbJjGp/62SNcLaH5jQ9QhSega1Ehi11JU1YGy5pcCEgqo7S2Y0hygMN59XjH3eDCbSUTY0IwuXaclpXLECnVWMZvZ0r0GjK8NOwMfQkLmSHw7yPUVlTTFr+X7vO5IAhIQ9+mK2oFW/La+TG/nsevb/UCexKCnIY0o6SztQDMdDNl6xJnpjrLaLijQJW4H5PsC6DTofHxpuezcDIVUsTqdTvpTD8F2j4k87wRx31McpWE5D1VdPUM3IieFwUVKuZuLSFouhXxgU64/pBAVW4wwvZ9jLlcyJj8ayxduABxZ9pJxBNdeSExiqMG4/gy/T71qp5hEz8OvR6O/97I6aJmwufZsd7fHfmZvZQduYxpUiryk1mIZXER17ThS2s///mBW6WiUe5mK8XNdujFw8rE6CFw32jWNO+nUoVWJkaOszxMB11Ki6vbiPzuTvemRePKPUN8OrUBrxnc2pE5RzT6NRsVMNIC/gaY0PLtJgQJ0gAAAABJRU5ErkJggg==',
'front' => true,
'[new]' => false,
'[accessible]' => [
[maximum depth reached]
],
'[dirty]' => [[maximum depth reached]],
'[original]' => [[maximum depth reached]],
'[virtual]' => [[maximum depth reached]],
'[hasErrors]' => false,
'[errors]' => [[maximum depth reached]],
'[invalid]' => [[maximum depth reached]],
'[repository]' => 'Locales'
},
(int) 3 => object(App\Model\Entity\Locale) {
'id' => 'a20c3c73-53c0-11e9-bb3d-7054d219d6c5',
'locale' => 'de',
'name' => 'Deutsch',
'position' => (int) 0,
'active' => true,
'flag' => 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgBAMAAACBVGfHAAAAA3NCSVQICAjb4U/gAAAACXBIWXMAAADdAAAA3QFwU6IHAAAAGXRFWHRTb2Z0d2FyZQB3d3cuaW5rc2NhcGUub3Jnm+48GgAAAB5QTFRF////SEhU/+BaRkZV/+FZwUlV/31WRkZV/0tV/+FagNv1tgAAAAd0Uk5TAFJSeHjAwPIGe2oAAAAqSURBVCjPY2FAAyzUEBBWQOH/Y0mhhS0YAvfQBYyHs7Xd6IF85w71bQEAwy4HmS9PAQYAAAAASUVORK5CYII=',
'front' => true,
'[new]' => false,
'[accessible]' => [
[maximum depth reached]
],
'[dirty]' => [[maximum depth reached]],
'[original]' => [[maximum depth reached]],
'[virtual]' => [[maximum depth reached]],
'[hasErrors]' => false,
'[errors]' => [[maximum depth reached]],
'[invalid]' => [[maximum depth reached]],
'[repository]' => 'Locales'
}
]
$session = object(Cake\Http\Session) {
[protected] _engine => null
[protected] _started => true
[protected] _lifetime => (int) 86400
[protected] _isCLI => false
}
$lng = 'la-maison'
$currentLocal = 'la-maison'
$settingsDB = object(SoftDelete\ORM\Query) {
'(help)' => 'This is a Query object, to get the results execute or iterate it.',
'sql' => 'SELECT Settings.id AS `Settings__id`, Settings.meta_key AS `Settings__meta_key`, Settings.meta_value AS `Settings__meta_value`, Settings.name AS `Settings__name`, Settings.description AS `Settings__description`, Settings.deleted AS `Settings__deleted`, Settings_meta_value_translation.id AS `Settings_meta_value_translation__id`, Settings_meta_value_translation.locale AS `Settings_meta_value_translation__locale`, Settings_meta_value_translation.model AS `Settings_meta_value_translation__model`, Settings_meta_value_translation.foreign_key AS `Settings_meta_value_translation__foreign_key`, Settings_meta_value_translation.field AS `Settings_meta_value_translation__field`, Settings_meta_value_translation.content AS `Settings_meta_value_translation__content`, Settings_name_translation.id AS `Settings_name_translation__id`, Settings_name_translation.locale AS `Settings_name_translation__locale`, Settings_name_translation.model AS `Settings_name_translation__model`, Settings_name_translation.foreign_key AS `Settings_name_translation__foreign_key`, Settings_name_translation.field AS `Settings_name_translation__field`, Settings_name_translation.content AS `Settings_name_translation__content`, Settings_description_translation.id AS `Settings_description_translation__id`, Settings_description_translation.locale AS `Settings_description_translation__locale`, Settings_description_translation.model AS `Settings_description_translation__model`, Settings_description_translation.foreign_key AS `Settings_description_translation__foreign_key`, Settings_description_translation.field AS `Settings_description_translation__field`, Settings_description_translation.content AS `Settings_description_translation__content` FROM settings Settings LEFT JOIN i18n Settings_meta_value_translation ON (Settings_meta_value_translation.model = :c0 AND Settings_meta_value_translation.field = :c1 AND Settings_meta_value_translation.locale = :c2 AND Settings.id = (Settings_meta_value_translation.foreign_key)) LEFT JOIN i18n Settings_name_translation ON (Settings_name_translation.model = :c3 AND Settings_name_translation.field = :c4 AND Settings_name_translation.locale = :c5 AND Settings.id = (Settings_name_translation.foreign_key)) LEFT JOIN i18n Settings_description_translation ON (Settings_description_translation.model = :c6 AND Settings_description_translation.field = :c7 AND Settings_description_translation.locale = :c8 AND Settings.id = (Settings_description_translation.foreign_key)) WHERE Settings.deleted IS NULL',
'params' => [
':c0' => [
[maximum depth reached]
],
':c1' => [
[maximum depth reached]
],
':c2' => [
[maximum depth reached]
],
':c3' => [
[maximum depth reached]
],
':c4' => [
[maximum depth reached]
],
':c5' => [
[maximum depth reached]
],
':c6' => [
[maximum depth reached]
],
':c7' => [
[maximum depth reached]
],
':c8' => [
[maximum depth reached]
]
],
'defaultTypes' => [
'Settings__id' => 'uuid',
'Settings.id' => 'uuid',
'id' => 'uuid',
'Settings__meta_key' => 'string',
'Settings.meta_key' => 'string',
'meta_key' => 'string',
'Settings__meta_value' => 'text',
'Settings.meta_value' => 'text',
'meta_value' => 'text',
'Settings__name' => 'string',
'Settings.name' => 'string',
'name' => 'string',
'Settings__description' => 'text',
'Settings.description' => 'text',
'description' => 'text',
'Settings__deleted' => 'datetime',
'Settings.deleted' => 'datetime',
'deleted' => 'datetime',
'I18n__id' => 'integer',
'I18n.id' => 'integer',
'I18n__locale' => 'string',
'I18n.locale' => 'string',
'locale' => 'string',
'I18n__model' => 'string',
'I18n.model' => 'string',
'model' => 'string',
'I18n__foreign_key' => 'uuid',
'I18n.foreign_key' => 'uuid',
'foreign_key' => 'uuid',
'I18n__field' => 'string',
'I18n.field' => 'string',
'field' => 'string',
'I18n__content' => 'text',
'I18n.content' => 'text',
'content' => 'text',
'Settings_meta_value_translation__id' => 'integer',
'Settings_meta_value_translation.id' => 'integer',
'Settings_meta_value_translation__locale' => 'string',
'Settings_meta_value_translation.locale' => 'string',
'Settings_meta_value_translation__model' => 'string',
'Settings_meta_value_translation.model' => 'string',
'Settings_meta_value_translation__foreign_key' => 'uuid',
'Settings_meta_value_translation.foreign_key' => 'uuid',
'Settings_meta_value_translation__field' => 'string',
'Settings_meta_value_translation.field' => 'string',
'Settings_meta_value_translation__content' => 'text',
'Settings_meta_value_translation.content' => 'text',
'Settings_name_translation__id' => 'integer',
'Settings_name_translation.id' => 'integer',
'Settings_name_translation__locale' => 'string',
'Settings_name_translation.locale' => 'string',
'Settings_name_translation__model' => 'string',
'Settings_name_translation.model' => 'string',
'Settings_name_translation__foreign_key' => 'uuid',
'Settings_name_translation.foreign_key' => 'uuid',
'Settings_name_translation__field' => 'string',
'Settings_name_translation.field' => 'string',
'Settings_name_translation__content' => 'text',
'Settings_name_translation.content' => 'text',
'Settings_description_translation__id' => 'integer',
'Settings_description_translation.id' => 'integer',
'Settings_description_translation__locale' => 'string',
'Settings_description_translation.locale' => 'string',
'Settings_description_translation__model' => 'string',
'Settings_description_translation.model' => 'string',
'Settings_description_translation__foreign_key' => 'uuid',
'Settings_description_translation.foreign_key' => 'uuid',
'Settings_description_translation__field' => 'string',
'Settings_description_translation.field' => 'string',
'Settings_description_translation__content' => 'text',
'Settings_description_translation.content' => 'text'
],
'decorators' => (int) 0,
'executed' => true,
'hydrate' => true,
'buffered' => true,
'formatters' => (int) 2,
'mapReducers' => (int) 0,
'contain' => [
'I18n' => [
[maximum depth reached]
],
'Settings_meta_value_translation' => [
[maximum depth reached]
],
'Settings_name_translation' => [
[maximum depth reached]
],
'Settings_description_translation' => [
[maximum depth reached]
]
],
'matching' => [],
'extraOptions' => [],
'repository' => object(App\Model\Table\SettingsTable) {}
}
$settings = [
'copyright' => null,
'facebook' => null,
'title_faq' => null,
'btn_discover_name' => null,
'btn_choose' => null,
'systempay_key' => null
]
$titles = [
'copyright' => null,
'facebook' => null,
'title_faq' => null,
'btn_discover_name' => null,
'btn_choose' => null
]
$key = (int) 5
$s = object(App\Model\Entity\Setting) {
'id' => '19107954-48f0-42a0-a390-367fbac76790',
'meta_key' => 'systempay_key',
'meta_value' => '<p>test key : 8248071397253591</p><p>prod key : 4809182785132352<br></p>',
'name' => '4809182785132352',
'description' => '',
'deleted' => null,
'_locale' => 'la-maison',
'_translations' => [
'fr' => object(App\Model\Entity\Setting) {},
'es' => object(App\Model\Entity\Setting) {},
'pt' => object(App\Model\Entity\Setting) {},
'en' => object(App\Model\Entity\Setting) {},
'de' => object(App\Model\Entity\Setting) {},
'it' => object(App\Model\Entity\Setting) {}
],
'[new]' => false,
'[accessible]' => [
'meta_key' => true,
'meta_value' => true,
'name' => true,
'description' => true
],
'[dirty]' => [],
'[original]' => [],
'[virtual]' => [],
'[hasErrors]' => false,
'[errors]' => [],
'[invalid]' => [],
'[repository]' => 'Settings'
}
App\Controller\AppController::initialize() - APP/Controller/AppController.php, line 111
App\Controller\PagesController::initialize() - APP/Controller/PagesController.php, line 38
Cake\Controller\Controller::__construct() - CORE/src/Controller/Controller.php, line 273
ReflectionClass::newInstance() - [internal], line ??
Cake\Http\ControllerFactory::create() - CORE/src/Http/ControllerFactory.php, line 47
Cake\Http\ActionDispatcher::dispatch() - CORE/src/Http/ActionDispatcher.php, line 91
Cake\Http\BaseApplication::__invoke() - CORE/src/Http/BaseApplication.php, line 235
Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65
Cake\Routing\Middleware\RoutingMiddleware::__invoke() - CORE/src/Routing/Middleware/RoutingMiddleware.php, line 162
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 96
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 98
[main] - ROOT/webroot/index.php, line 40
Notice (8): Trying to get property of non-object [APP/Controller/AppController.php, line 111]Code Context $settings[$s->meta_key] = $s->_translations[$this->getCurrentLocale()]->meta_value;
$titles[$s->meta_key] = $s->_translations[$this->getCurrentLocale()]->name;
}
$locales = [
(int) 0 => object(App\Model\Entity\Locale) {
'id' => 'c79e08dd-4b98-40da-812f-166a5627cafe',
'locale' => 'fr',
'name' => 'French',
'position' => (int) 1,
'active' => true,
'flag' => 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgBAMAAACBVGfHAAAAA3NCSVQICAjb4U/gAAAACXBIWXMAAADdAAAA3QFwU6IHAAAAGXRFWHRTb2Z0d2FyZQB3d3cuaW5rc2NhcGUub3Jnm+48GgAAACdQTFRF////QUib/0tUh4y+/XiAQkab9PT0/0pVkpTC/mRtQUeb9fX1/0tVpPINxQAAAAp0Uk5TAFJSamp4eHjGxmzCt2wAAAArSURBVCjPY2RAA4zUEBB1AJIPDYDEP2Eg8ZtxFQOKAMOoAOUCGIFMi6gEAD39PvX2T/ZKAAAAAElFTkSuQmCC',
'front' => true,
'[new]' => false,
'[accessible]' => [
[maximum depth reached]
],
'[dirty]' => [[maximum depth reached]],
'[original]' => [[maximum depth reached]],
'[virtual]' => [[maximum depth reached]],
'[hasErrors]' => false,
'[errors]' => [[maximum depth reached]],
'[invalid]' => [[maximum depth reached]],
'[repository]' => 'Locales'
},
(int) 1 => object(App\Model\Entity\Locale) {
'id' => '073aae08-53c1-11e9-bb3d-7054d219d6c5',
'locale' => 'es',
'name' => 'Español',
'position' => (int) 0,
'active' => true,
'flag' => 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAMAAABEpIrGAAAAA3NCSVQICAjb4U/gAAAACXBIWXMAAADdAAAA3QFwU6IHAAAAGXRFWHRTb2Z0d2FyZQB3d3cuaW5rc2NhcGUub3Jnm+48GgAAARpQTFRF////x0FLyEJKgXaZoI6wuKV1watwyEFLy0pLzntc0rZn1GJZ1WVW1bhm1mxd13JW13Vx2nFQ229L23JN23xM3IyF3I+V3JKY3Y2G3nVJ33dJ34Zs4JOA4XhH4X9Q4ZV845Bk5JJi5LG15aWL5btz5b185pFh5pRk5pZs5px558Nc6ItI6KR16cFp6pBI66lx7ZxQ7aNO7q1h7rR17tjW76BO78BX8KpP8LJk8buC8stZ9LhX9Net9PPz9efR9fHz9fX198BY98dz98xX99/s9+Lt9+3R+MVe+N2d+dOA+deU+eat+sBQ+stf+8hm+8xZ+9Bw/Lzd/MtQ/N2E/N6G/dlx/sxP/s5R/tRa/tZk/tdp/9JQ/9JR/9NThpihEAAAAAN0Uk5TAFJ4LCUCBgAAAKRJREFUOI1jYBgKgJEJL2BkYCcAqKCAgwBgiCYAYApiQ/xCY/AoiLGR4Vb2wKkgyDxaUVhI0CjaEIcCH1N3aTVLL+9wgzDsCoLtdLS1lQJdoxwisCvQF+WTFWFxsVcQs8auwFjCSY6TmZ/HQtwRuwJPtwApKU09SV9bf+wKdFWc1TVMBOStVM2wK2Bj1YqODI6I5mXlwq4AHyAcWXRIMAQT7VAAACQKgMq9uRSqAAAAAElFTkSuQmCC',
'front' => true,
'[new]' => false,
'[accessible]' => [
[maximum depth reached]
],
'[dirty]' => [[maximum depth reached]],
'[original]' => [[maximum depth reached]],
'[virtual]' => [[maximum depth reached]],
'[hasErrors]' => false,
'[errors]' => [[maximum depth reached]],
'[invalid]' => [[maximum depth reached]],
'[repository]' => 'Locales'
},
(int) 2 => object(App\Model\Entity\Locale) {
'id' => '99c33239-48e4-4692-adb0-30a7c352e556',
'locale' => 'en',
'name' => 'English',
'position' => (int) 0,
'active' => true,
'flag' => 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAAA3QAAAN0BcFOiBwAAABl0RVh0U29mdHdhcmUAd3d3Lmlua3NjYXBlLm9yZ5vuPBoAAATuSURBVFiF7ZdrUNRlFMZ/+2dhXVoW5DJcAgTjamopziiWYuhMYpHGRUk0Gs1gIshboIYMoWNqahQyig41hJLXcgSvQ6VyS2WE1IBABRSZ5b673BZYdvtQ4QUYHb7QB55v7zlz5nnOvO+c57wivV7PSEIYUfZRAf8HAeJL65MbJ8UuvSQ2EveVPewy3naqxkPZ0SsZqmD+KxYPI9+0u9/iH+n9eNw8K6Uw5UKd4/k/ml98FqmrjVQd/65DhTg1015suzvFsuHM+SDV6nA8Q3xIWeHCrqxaUnPq6NbqBhR7jTdxBLx7coueTjk2tvWQW64aktja1IiNixxZ0ldDh1/CRM3tSgR1oD/CnWrGRsRQ89YnNBf9ReJiJ4q+9CJ4hhUi0bP6eTakRgIx/g4UhZmxMHk7qoBotOX3MF4ZiJDptwz1qTQ0Pt5I8q8jXfghle8nIGlt5eBH7vwS9yoz3UyHRSyIIPR1a4rXOhP56yE6fMPozilEMn8WlgWZyHfHICSdrcXvmJqL0bG0pu2hz9MFk9Pn0M8OoXRdMu5mcHbDJDKjPHG1kT43ue/LZuTFerKj/jdEc96jK+M0hpPdMM/ex9gju1Db2bMh8x4iArL7R6GLjZSEwHE45ediuf97qKsHK3OaVoXhuSYYvYFAVYMGVxspCrPpTxDaKK+ScKKaizdb2RrkyIziXNq3HUBX34yBvQ2yzRFIF89Ho9WTmlPH7uxa1F3aJwX8B283OYnv2GF8+CcsM46iV7ejc3VGGb2KCcvnAgwqoKpBg23JDdrjk9GW30MklyFbG4ZxRAhIjDh+tZEtJ6t50NzdXyc6kVs1qBkIgoiZrnI661tQXLn1iMhnMub2FoMK0LWo6L1R2h8znOKJYGEGQF1rN6W1nQN4REqlclhuNJiA4UBUjvuI2uGIj+JRASP+CMU5t1oHBCfYG2M39h9D1DUr6S0u688ZTp2AYD74aG6pbUZx+eYjUbMnYWxtTkGlGp1u8D7FQV//2X9wsJCwOdAJWzMJek0PnfuP0L4nHb26HbHHeGSJUdRoJTgP0Y25vQUKnQ6zbw8iVFbRK5dxd/kSTEIDiD9TR2GFekCNACCXivki2Inr27xYPN0SzbFzNE0Lpi0hBZFUgvybjdw8sBffPCnpVxRD0EOlogu3UF+sCw7TtGkNeokRFilpOASt4CvjuxyK9MDlKT8RIubZUbJjGp/62SNcLaH5jQ9QhSega1Ehi11JU1YGy5pcCEgqo7S2Y0hygMN59XjH3eDCbSUTY0IwuXaclpXLECnVWMZvZ0r0GjK8NOwMfQkLmSHw7yPUVlTTFr+X7vO5IAhIQ9+mK2oFW/La+TG/nsevb/UCexKCnIY0o6SztQDMdDNl6xJnpjrLaLijQJW4H5PsC6DTofHxpuezcDIVUsTqdTvpTD8F2j4k87wRx31McpWE5D1VdPUM3IieFwUVKuZuLSFouhXxgU64/pBAVW4wwvZ9jLlcyJj8ayxduABxZ9pJxBNdeSExiqMG4/gy/T71qp5hEz8OvR6O/97I6aJmwufZsd7fHfmZvZQduYxpUiryk1mIZXER17ThS2s///mBW6WiUe5mK8XNdujFw8rE6CFw32jWNO+nUoVWJkaOszxMB11Ki6vbiPzuTvemRePKPUN8OrUBrxnc2pE5RzT6NRsVMNIC/gaY0PLtJgQJ0gAAAABJRU5ErkJggg==',
'front' => true,
'[new]' => false,
'[accessible]' => [
[maximum depth reached]
],
'[dirty]' => [[maximum depth reached]],
'[original]' => [[maximum depth reached]],
'[virtual]' => [[maximum depth reached]],
'[hasErrors]' => false,
'[errors]' => [[maximum depth reached]],
'[invalid]' => [[maximum depth reached]],
'[repository]' => 'Locales'
},
(int) 3 => object(App\Model\Entity\Locale) {
'id' => 'a20c3c73-53c0-11e9-bb3d-7054d219d6c5',
'locale' => 'de',
'name' => 'Deutsch',
'position' => (int) 0,
'active' => true,
'flag' => 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgBAMAAACBVGfHAAAAA3NCSVQICAjb4U/gAAAACXBIWXMAAADdAAAA3QFwU6IHAAAAGXRFWHRTb2Z0d2FyZQB3d3cuaW5rc2NhcGUub3Jnm+48GgAAAB5QTFRF////SEhU/+BaRkZV/+FZwUlV/31WRkZV/0tV/+FagNv1tgAAAAd0Uk5TAFJSeHjAwPIGe2oAAAAqSURBVCjPY2FAAyzUEBBWQOH/Y0mhhS0YAvfQBYyHs7Xd6IF85w71bQEAwy4HmS9PAQYAAAAASUVORK5CYII=',
'front' => true,
'[new]' => false,
'[accessible]' => [
[maximum depth reached]
],
'[dirty]' => [[maximum depth reached]],
'[original]' => [[maximum depth reached]],
'[virtual]' => [[maximum depth reached]],
'[hasErrors]' => false,
'[errors]' => [[maximum depth reached]],
'[invalid]' => [[maximum depth reached]],
'[repository]' => 'Locales'
}
]
$session = object(Cake\Http\Session) {
[protected] _engine => null
[protected] _started => true
[protected] _lifetime => (int) 86400
[protected] _isCLI => false
}
$lng = 'la-maison'
$currentLocal = 'la-maison'
$settingsDB = object(SoftDelete\ORM\Query) {
'(help)' => 'This is a Query object, to get the results execute or iterate it.',
'sql' => 'SELECT Settings.id AS `Settings__id`, Settings.meta_key AS `Settings__meta_key`, Settings.meta_value AS `Settings__meta_value`, Settings.name AS `Settings__name`, Settings.description AS `Settings__description`, Settings.deleted AS `Settings__deleted`, Settings_meta_value_translation.id AS `Settings_meta_value_translation__id`, Settings_meta_value_translation.locale AS `Settings_meta_value_translation__locale`, Settings_meta_value_translation.model AS `Settings_meta_value_translation__model`, Settings_meta_value_translation.foreign_key AS `Settings_meta_value_translation__foreign_key`, Settings_meta_value_translation.field AS `Settings_meta_value_translation__field`, Settings_meta_value_translation.content AS `Settings_meta_value_translation__content`, Settings_name_translation.id AS `Settings_name_translation__id`, Settings_name_translation.locale AS `Settings_name_translation__locale`, Settings_name_translation.model AS `Settings_name_translation__model`, Settings_name_translation.foreign_key AS `Settings_name_translation__foreign_key`, Settings_name_translation.field AS `Settings_name_translation__field`, Settings_name_translation.content AS `Settings_name_translation__content`, Settings_description_translation.id AS `Settings_description_translation__id`, Settings_description_translation.locale AS `Settings_description_translation__locale`, Settings_description_translation.model AS `Settings_description_translation__model`, Settings_description_translation.foreign_key AS `Settings_description_translation__foreign_key`, Settings_description_translation.field AS `Settings_description_translation__field`, Settings_description_translation.content AS `Settings_description_translation__content` FROM settings Settings LEFT JOIN i18n Settings_meta_value_translation ON (Settings_meta_value_translation.model = :c0 AND Settings_meta_value_translation.field = :c1 AND Settings_meta_value_translation.locale = :c2 AND Settings.id = (Settings_meta_value_translation.foreign_key)) LEFT JOIN i18n Settings_name_translation ON (Settings_name_translation.model = :c3 AND Settings_name_translation.field = :c4 AND Settings_name_translation.locale = :c5 AND Settings.id = (Settings_name_translation.foreign_key)) LEFT JOIN i18n Settings_description_translation ON (Settings_description_translation.model = :c6 AND Settings_description_translation.field = :c7 AND Settings_description_translation.locale = :c8 AND Settings.id = (Settings_description_translation.foreign_key)) WHERE Settings.deleted IS NULL',
'params' => [
':c0' => [
[maximum depth reached]
],
':c1' => [
[maximum depth reached]
],
':c2' => [
[maximum depth reached]
],
':c3' => [
[maximum depth reached]
],
':c4' => [
[maximum depth reached]
],
':c5' => [
[maximum depth reached]
],
':c6' => [
[maximum depth reached]
],
':c7' => [
[maximum depth reached]
],
':c8' => [
[maximum depth reached]
]
],
'defaultTypes' => [
'Settings__id' => 'uuid',
'Settings.id' => 'uuid',
'id' => 'uuid',
'Settings__meta_key' => 'string',
'Settings.meta_key' => 'string',
'meta_key' => 'string',
'Settings__meta_value' => 'text',
'Settings.meta_value' => 'text',
'meta_value' => 'text',
'Settings__name' => 'string',
'Settings.name' => 'string',
'name' => 'string',
'Settings__description' => 'text',
'Settings.description' => 'text',
'description' => 'text',
'Settings__deleted' => 'datetime',
'Settings.deleted' => 'datetime',
'deleted' => 'datetime',
'I18n__id' => 'integer',
'I18n.id' => 'integer',
'I18n__locale' => 'string',
'I18n.locale' => 'string',
'locale' => 'string',
'I18n__model' => 'string',
'I18n.model' => 'string',
'model' => 'string',
'I18n__foreign_key' => 'uuid',
'I18n.foreign_key' => 'uuid',
'foreign_key' => 'uuid',
'I18n__field' => 'string',
'I18n.field' => 'string',
'field' => 'string',
'I18n__content' => 'text',
'I18n.content' => 'text',
'content' => 'text',
'Settings_meta_value_translation__id' => 'integer',
'Settings_meta_value_translation.id' => 'integer',
'Settings_meta_value_translation__locale' => 'string',
'Settings_meta_value_translation.locale' => 'string',
'Settings_meta_value_translation__model' => 'string',
'Settings_meta_value_translation.model' => 'string',
'Settings_meta_value_translation__foreign_key' => 'uuid',
'Settings_meta_value_translation.foreign_key' => 'uuid',
'Settings_meta_value_translation__field' => 'string',
'Settings_meta_value_translation.field' => 'string',
'Settings_meta_value_translation__content' => 'text',
'Settings_meta_value_translation.content' => 'text',
'Settings_name_translation__id' => 'integer',
'Settings_name_translation.id' => 'integer',
'Settings_name_translation__locale' => 'string',
'Settings_name_translation.locale' => 'string',
'Settings_name_translation__model' => 'string',
'Settings_name_translation.model' => 'string',
'Settings_name_translation__foreign_key' => 'uuid',
'Settings_name_translation.foreign_key' => 'uuid',
'Settings_name_translation__field' => 'string',
'Settings_name_translation.field' => 'string',
'Settings_name_translation__content' => 'text',
'Settings_name_translation.content' => 'text',
'Settings_description_translation__id' => 'integer',
'Settings_description_translation.id' => 'integer',
'Settings_description_translation__locale' => 'string',
'Settings_description_translation.locale' => 'string',
'Settings_description_translation__model' => 'string',
'Settings_description_translation.model' => 'string',
'Settings_description_translation__foreign_key' => 'uuid',
'Settings_description_translation.foreign_key' => 'uuid',
'Settings_description_translation__field' => 'string',
'Settings_description_translation.field' => 'string',
'Settings_description_translation__content' => 'text',
'Settings_description_translation.content' => 'text'
],
'decorators' => (int) 0,
'executed' => true,
'hydrate' => true,
'buffered' => true,
'formatters' => (int) 2,
'mapReducers' => (int) 0,
'contain' => [
'I18n' => [
[maximum depth reached]
],
'Settings_meta_value_translation' => [
[maximum depth reached]
],
'Settings_name_translation' => [
[maximum depth reached]
],
'Settings_description_translation' => [
[maximum depth reached]
]
],
'matching' => [],
'extraOptions' => [],
'repository' => object(App\Model\Table\SettingsTable) {}
}
$settings = [
'copyright' => null,
'facebook' => null,
'title_faq' => null,
'btn_discover_name' => null,
'btn_choose' => null,
'systempay_key' => null
]
$titles = [
'copyright' => null,
'facebook' => null,
'title_faq' => null,
'btn_discover_name' => null,
'btn_choose' => null
]
$key = (int) 5
$s = object(App\Model\Entity\Setting) {
'id' => '19107954-48f0-42a0-a390-367fbac76790',
'meta_key' => 'systempay_key',
'meta_value' => '<p>test key : 8248071397253591</p><p>prod key : 4809182785132352<br></p>',
'name' => '4809182785132352',
'description' => '',
'deleted' => null,
'_locale' => 'la-maison',
'_translations' => [
'fr' => object(App\Model\Entity\Setting) {},
'es' => object(App\Model\Entity\Setting) {},
'pt' => object(App\Model\Entity\Setting) {},
'en' => object(App\Model\Entity\Setting) {},
'de' => object(App\Model\Entity\Setting) {},
'it' => object(App\Model\Entity\Setting) {}
],
'[new]' => false,
'[accessible]' => [
'meta_key' => true,
'meta_value' => true,
'name' => true,
'description' => true
],
'[dirty]' => [],
'[original]' => [],
'[virtual]' => [],
'[hasErrors]' => false,
'[errors]' => [],
'[invalid]' => [],
'[repository]' => 'Settings'
}
App\Controller\AppController::initialize() - APP/Controller/AppController.php, line 111
App\Controller\PagesController::initialize() - APP/Controller/PagesController.php, line 38
Cake\Controller\Controller::__construct() - CORE/src/Controller/Controller.php, line 273
ReflectionClass::newInstance() - [internal], line ??
Cake\Http\ControllerFactory::create() - CORE/src/Http/ControllerFactory.php, line 47
Cake\Http\ActionDispatcher::dispatch() - CORE/src/Http/ActionDispatcher.php, line 91
Cake\Http\BaseApplication::__invoke() - CORE/src/Http/BaseApplication.php, line 235
Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65
Cake\Routing\Middleware\RoutingMiddleware::__invoke() - CORE/src/Routing/Middleware/RoutingMiddleware.php, line 162
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 96
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 98
[main] - ROOT/webroot/index.php, line 40
Notice (8): Undefined index: la-maison [APP/Controller/AppController.php, line 110]Code Context foreach ($settingsDB as $key => $s) {
$settings[$s->meta_key] = $s->_translations[$this->getCurrentLocale()]->meta_value;
$titles[$s->meta_key] = $s->_translations[$this->getCurrentLocale()]->name;
$locales = [
(int) 0 => object(App\Model\Entity\Locale) {
'id' => 'c79e08dd-4b98-40da-812f-166a5627cafe',
'locale' => 'fr',
'name' => 'French',
'position' => (int) 1,
'active' => true,
'flag' => 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgBAMAAACBVGfHAAAAA3NCSVQICAjb4U/gAAAACXBIWXMAAADdAAAA3QFwU6IHAAAAGXRFWHRTb2Z0d2FyZQB3d3cuaW5rc2NhcGUub3Jnm+48GgAAACdQTFRF////QUib/0tUh4y+/XiAQkab9PT0/0pVkpTC/mRtQUeb9fX1/0tVpPINxQAAAAp0Uk5TAFJSamp4eHjGxmzCt2wAAAArSURBVCjPY2RAA4zUEBB1AJIPDYDEP2Eg8ZtxFQOKAMOoAOUCGIFMi6gEAD39PvX2T/ZKAAAAAElFTkSuQmCC',
'front' => true,
'[new]' => false,
'[accessible]' => [
[maximum depth reached]
],
'[dirty]' => [[maximum depth reached]],
'[original]' => [[maximum depth reached]],
'[virtual]' => [[maximum depth reached]],
'[hasErrors]' => false,
'[errors]' => [[maximum depth reached]],
'[invalid]' => [[maximum depth reached]],
'[repository]' => 'Locales'
},
(int) 1 => object(App\Model\Entity\Locale) {
'id' => '073aae08-53c1-11e9-bb3d-7054d219d6c5',
'locale' => 'es',
'name' => 'Español',
'position' => (int) 0,
'active' => true,
'flag' => 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAMAAABEpIrGAAAAA3NCSVQICAjb4U/gAAAACXBIWXMAAADdAAAA3QFwU6IHAAAAGXRFWHRTb2Z0d2FyZQB3d3cuaW5rc2NhcGUub3Jnm+48GgAAARpQTFRF////x0FLyEJKgXaZoI6wuKV1watwyEFLy0pLzntc0rZn1GJZ1WVW1bhm1mxd13JW13Vx2nFQ229L23JN23xM3IyF3I+V3JKY3Y2G3nVJ33dJ34Zs4JOA4XhH4X9Q4ZV845Bk5JJi5LG15aWL5btz5b185pFh5pRk5pZs5px558Nc6ItI6KR16cFp6pBI66lx7ZxQ7aNO7q1h7rR17tjW76BO78BX8KpP8LJk8buC8stZ9LhX9Net9PPz9efR9fHz9fX198BY98dz98xX99/s9+Lt9+3R+MVe+N2d+dOA+deU+eat+sBQ+stf+8hm+8xZ+9Bw/Lzd/MtQ/N2E/N6G/dlx/sxP/s5R/tRa/tZk/tdp/9JQ/9JR/9NThpihEAAAAAN0Uk5TAFJ4LCUCBgAAAKRJREFUOI1jYBgKgJEJL2BkYCcAqKCAgwBgiCYAYApiQ/xCY/AoiLGR4Vb2wKkgyDxaUVhI0CjaEIcCH1N3aTVLL+9wgzDsCoLtdLS1lQJdoxwisCvQF+WTFWFxsVcQs8auwFjCSY6TmZ/HQtwRuwJPtwApKU09SV9bf+wKdFWc1TVMBOStVM2wK2Bj1YqODI6I5mXlwq4AHyAcWXRIMAQT7VAAACQKgMq9uRSqAAAAAElFTkSuQmCC',
'front' => true,
'[new]' => false,
'[accessible]' => [
[maximum depth reached]
],
'[dirty]' => [[maximum depth reached]],
'[original]' => [[maximum depth reached]],
'[virtual]' => [[maximum depth reached]],
'[hasErrors]' => false,
'[errors]' => [[maximum depth reached]],
'[invalid]' => [[maximum depth reached]],
'[repository]' => 'Locales'
},
(int) 2 => object(App\Model\Entity\Locale) {
'id' => '99c33239-48e4-4692-adb0-30a7c352e556',
'locale' => 'en',
'name' => 'English',
'position' => (int) 0,
'active' => true,
'flag' => 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAAA3QAAAN0BcFOiBwAAABl0RVh0U29mdHdhcmUAd3d3Lmlua3NjYXBlLm9yZ5vuPBoAAATuSURBVFiF7ZdrUNRlFMZ/+2dhXVoW5DJcAgTjamopziiWYuhMYpHGRUk0Gs1gIshboIYMoWNqahQyig41hJLXcgSvQ6VyS2WE1IBABRSZ5b673BZYdvtQ4QUYHb7QB55v7zlz5nnOvO+c57wivV7PSEIYUfZRAf8HAeJL65MbJ8UuvSQ2EveVPewy3naqxkPZ0SsZqmD+KxYPI9+0u9/iH+n9eNw8K6Uw5UKd4/k/ml98FqmrjVQd/65DhTg1015suzvFsuHM+SDV6nA8Q3xIWeHCrqxaUnPq6NbqBhR7jTdxBLx7coueTjk2tvWQW64aktja1IiNixxZ0ldDh1/CRM3tSgR1oD/CnWrGRsRQ89YnNBf9ReJiJ4q+9CJ4hhUi0bP6eTakRgIx/g4UhZmxMHk7qoBotOX3MF4ZiJDptwz1qTQ0Pt5I8q8jXfghle8nIGlt5eBH7vwS9yoz3UyHRSyIIPR1a4rXOhP56yE6fMPozilEMn8WlgWZyHfHICSdrcXvmJqL0bG0pu2hz9MFk9Pn0M8OoXRdMu5mcHbDJDKjPHG1kT43ue/LZuTFerKj/jdEc96jK+M0hpPdMM/ex9gju1Db2bMh8x4iArL7R6GLjZSEwHE45ediuf97qKsHK3OaVoXhuSYYvYFAVYMGVxspCrPpTxDaKK+ScKKaizdb2RrkyIziXNq3HUBX34yBvQ2yzRFIF89Ho9WTmlPH7uxa1F3aJwX8B283OYnv2GF8+CcsM46iV7ejc3VGGb2KCcvnAgwqoKpBg23JDdrjk9GW30MklyFbG4ZxRAhIjDh+tZEtJ6t50NzdXyc6kVs1qBkIgoiZrnI661tQXLn1iMhnMub2FoMK0LWo6L1R2h8znOKJYGEGQF1rN6W1nQN4REqlclhuNJiA4UBUjvuI2uGIj+JRASP+CMU5t1oHBCfYG2M39h9D1DUr6S0u688ZTp2AYD74aG6pbUZx+eYjUbMnYWxtTkGlGp1u8D7FQV//2X9wsJCwOdAJWzMJek0PnfuP0L4nHb26HbHHeGSJUdRoJTgP0Y25vQUKnQ6zbw8iVFbRK5dxd/kSTEIDiD9TR2GFekCNACCXivki2Inr27xYPN0SzbFzNE0Lpi0hBZFUgvybjdw8sBffPCnpVxRD0EOlogu3UF+sCw7TtGkNeokRFilpOASt4CvjuxyK9MDlKT8RIubZUbJjGp/62SNcLaH5jQ9QhSega1Ehi11JU1YGy5pcCEgqo7S2Y0hygMN59XjH3eDCbSUTY0IwuXaclpXLECnVWMZvZ0r0GjK8NOwMfQkLmSHw7yPUVlTTFr+X7vO5IAhIQ9+mK2oFW/La+TG/nsevb/UCexKCnIY0o6SztQDMdDNl6xJnpjrLaLijQJW4H5PsC6DTofHxpuezcDIVUsTqdTvpTD8F2j4k87wRx31McpWE5D1VdPUM3IieFwUVKuZuLSFouhXxgU64/pBAVW4wwvZ9jLlcyJj8ayxduABxZ9pJxBNdeSExiqMG4/gy/T71qp5hEz8OvR6O/97I6aJmwufZsd7fHfmZvZQduYxpUiryk1mIZXER17ThS2s///mBW6WiUe5mK8XNdujFw8rE6CFw32jWNO+nUoVWJkaOszxMB11Ki6vbiPzuTvemRePKPUN8OrUBrxnc2pE5RzT6NRsVMNIC/gaY0PLtJgQJ0gAAAABJRU5ErkJggg==',
'front' => true,
'[new]' => false,
'[accessible]' => [
[maximum depth reached]
],
'[dirty]' => [[maximum depth reached]],
'[original]' => [[maximum depth reached]],
'[virtual]' => [[maximum depth reached]],
'[hasErrors]' => false,
'[errors]' => [[maximum depth reached]],
'[invalid]' => [[maximum depth reached]],
'[repository]' => 'Locales'
},
(int) 3 => object(App\Model\Entity\Locale) {
'id' => 'a20c3c73-53c0-11e9-bb3d-7054d219d6c5',
'locale' => 'de',
'name' => 'Deutsch',
'position' => (int) 0,
'active' => true,
'flag' => 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgBAMAAACBVGfHAAAAA3NCSVQICAjb4U/gAAAACXBIWXMAAADdAAAA3QFwU6IHAAAAGXRFWHRTb2Z0d2FyZQB3d3cuaW5rc2NhcGUub3Jnm+48GgAAAB5QTFRF////SEhU/+BaRkZV/+FZwUlV/31WRkZV/0tV/+FagNv1tgAAAAd0Uk5TAFJSeHjAwPIGe2oAAAAqSURBVCjPY2FAAyzUEBBWQOH/Y0mhhS0YAvfQBYyHs7Xd6IF85w71bQEAwy4HmS9PAQYAAAAASUVORK5CYII=',
'front' => true,
'[new]' => false,
'[accessible]' => [
[maximum depth reached]
],
'[dirty]' => [[maximum depth reached]],
'[original]' => [[maximum depth reached]],
'[virtual]' => [[maximum depth reached]],
'[hasErrors]' => false,
'[errors]' => [[maximum depth reached]],
'[invalid]' => [[maximum depth reached]],
'[repository]' => 'Locales'
}
]
$session = object(Cake\Http\Session) {
[protected] _engine => null
[protected] _started => true
[protected] _lifetime => (int) 86400
[protected] _isCLI => false
}
$lng = 'la-maison'
$currentLocal = 'la-maison'
$settingsDB = object(SoftDelete\ORM\Query) {
'(help)' => 'This is a Query object, to get the results execute or iterate it.',
'sql' => 'SELECT Settings.id AS `Settings__id`, Settings.meta_key AS `Settings__meta_key`, Settings.meta_value AS `Settings__meta_value`, Settings.name AS `Settings__name`, Settings.description AS `Settings__description`, Settings.deleted AS `Settings__deleted`, Settings_meta_value_translation.id AS `Settings_meta_value_translation__id`, Settings_meta_value_translation.locale AS `Settings_meta_value_translation__locale`, Settings_meta_value_translation.model AS `Settings_meta_value_translation__model`, Settings_meta_value_translation.foreign_key AS `Settings_meta_value_translation__foreign_key`, Settings_meta_value_translation.field AS `Settings_meta_value_translation__field`, Settings_meta_value_translation.content AS `Settings_meta_value_translation__content`, Settings_name_translation.id AS `Settings_name_translation__id`, Settings_name_translation.locale AS `Settings_name_translation__locale`, Settings_name_translation.model AS `Settings_name_translation__model`, Settings_name_translation.foreign_key AS `Settings_name_translation__foreign_key`, Settings_name_translation.field AS `Settings_name_translation__field`, Settings_name_translation.content AS `Settings_name_translation__content`, Settings_description_translation.id AS `Settings_description_translation__id`, Settings_description_translation.locale AS `Settings_description_translation__locale`, Settings_description_translation.model AS `Settings_description_translation__model`, Settings_description_translation.foreign_key AS `Settings_description_translation__foreign_key`, Settings_description_translation.field AS `Settings_description_translation__field`, Settings_description_translation.content AS `Settings_description_translation__content` FROM settings Settings LEFT JOIN i18n Settings_meta_value_translation ON (Settings_meta_value_translation.model = :c0 AND Settings_meta_value_translation.field = :c1 AND Settings_meta_value_translation.locale = :c2 AND Settings.id = (Settings_meta_value_translation.foreign_key)) LEFT JOIN i18n Settings_name_translation ON (Settings_name_translation.model = :c3 AND Settings_name_translation.field = :c4 AND Settings_name_translation.locale = :c5 AND Settings.id = (Settings_name_translation.foreign_key)) LEFT JOIN i18n Settings_description_translation ON (Settings_description_translation.model = :c6 AND Settings_description_translation.field = :c7 AND Settings_description_translation.locale = :c8 AND Settings.id = (Settings_description_translation.foreign_key)) WHERE Settings.deleted IS NULL',
'params' => [
':c0' => [
[maximum depth reached]
],
':c1' => [
[maximum depth reached]
],
':c2' => [
[maximum depth reached]
],
':c3' => [
[maximum depth reached]
],
':c4' => [
[maximum depth reached]
],
':c5' => [
[maximum depth reached]
],
':c6' => [
[maximum depth reached]
],
':c7' => [
[maximum depth reached]
],
':c8' => [
[maximum depth reached]
]
],
'defaultTypes' => [
'Settings__id' => 'uuid',
'Settings.id' => 'uuid',
'id' => 'uuid',
'Settings__meta_key' => 'string',
'Settings.meta_key' => 'string',
'meta_key' => 'string',
'Settings__meta_value' => 'text',
'Settings.meta_value' => 'text',
'meta_value' => 'text',
'Settings__name' => 'string',
'Settings.name' => 'string',
'name' => 'string',
'Settings__description' => 'text',
'Settings.description' => 'text',
'description' => 'text',
'Settings__deleted' => 'datetime',
'Settings.deleted' => 'datetime',
'deleted' => 'datetime',
'I18n__id' => 'integer',
'I18n.id' => 'integer',
'I18n__locale' => 'string',
'I18n.locale' => 'string',
'locale' => 'string',
'I18n__model' => 'string',
'I18n.model' => 'string',
'model' => 'string',
'I18n__foreign_key' => 'uuid',
'I18n.foreign_key' => 'uuid',
'foreign_key' => 'uuid',
'I18n__field' => 'string',
'I18n.field' => 'string',
'field' => 'string',
'I18n__content' => 'text',
'I18n.content' => 'text',
'content' => 'text',
'Settings_meta_value_translation__id' => 'integer',
'Settings_meta_value_translation.id' => 'integer',
'Settings_meta_value_translation__locale' => 'string',
'Settings_meta_value_translation.locale' => 'string',
'Settings_meta_value_translation__model' => 'string',
'Settings_meta_value_translation.model' => 'string',
'Settings_meta_value_translation__foreign_key' => 'uuid',
'Settings_meta_value_translation.foreign_key' => 'uuid',
'Settings_meta_value_translation__field' => 'string',
'Settings_meta_value_translation.field' => 'string',
'Settings_meta_value_translation__content' => 'text',
'Settings_meta_value_translation.content' => 'text',
'Settings_name_translation__id' => 'integer',
'Settings_name_translation.id' => 'integer',
'Settings_name_translation__locale' => 'string',
'Settings_name_translation.locale' => 'string',
'Settings_name_translation__model' => 'string',
'Settings_name_translation.model' => 'string',
'Settings_name_translation__foreign_key' => 'uuid',
'Settings_name_translation.foreign_key' => 'uuid',
'Settings_name_translation__field' => 'string',
'Settings_name_translation.field' => 'string',
'Settings_name_translation__content' => 'text',
'Settings_name_translation.content' => 'text',
'Settings_description_translation__id' => 'integer',
'Settings_description_translation.id' => 'integer',
'Settings_description_translation__locale' => 'string',
'Settings_description_translation.locale' => 'string',
'Settings_description_translation__model' => 'string',
'Settings_description_translation.model' => 'string',
'Settings_description_translation__foreign_key' => 'uuid',
'Settings_description_translation.foreign_key' => 'uuid',
'Settings_description_translation__field' => 'string',
'Settings_description_translation.field' => 'string',
'Settings_description_translation__content' => 'text',
'Settings_description_translation.content' => 'text'
],
'decorators' => (int) 0,
'executed' => true,
'hydrate' => true,
'buffered' => true,
'formatters' => (int) 2,
'mapReducers' => (int) 0,
'contain' => [
'I18n' => [
[maximum depth reached]
],
'Settings_meta_value_translation' => [
[maximum depth reached]
],
'Settings_name_translation' => [
[maximum depth reached]
],
'Settings_description_translation' => [
[maximum depth reached]
]
],
'matching' => [],
'extraOptions' => [],
'repository' => object(App\Model\Table\SettingsTable) {}
}
$settings = [
'copyright' => null,
'facebook' => null,
'title_faq' => null,
'btn_discover_name' => null,
'btn_choose' => null,
'systempay_key' => null
]
$titles = [
'copyright' => null,
'facebook' => null,
'title_faq' => null,
'btn_discover_name' => null,
'btn_choose' => null,
'systempay_key' => null
]
$key = (int) 6
$s = object(App\Model\Entity\Setting) {
'id' => '1a040796-4931-42f9-aa74-0d9c74b82776',
'meta_key' => 'partners_section_title',
'meta_value' => '',
'name' => 'France et ailleurs',
'description' => '',
'deleted' => null,
'_locale' => 'la-maison',
'_translations' => [
'fr' => object(App\Model\Entity\Setting) {},
'en' => object(App\Model\Entity\Setting) {},
'es' => object(App\Model\Entity\Setting) {},
'pt' => object(App\Model\Entity\Setting) {},
'de' => object(App\Model\Entity\Setting) {},
'it' => object(App\Model\Entity\Setting) {}
],
'[new]' => false,
'[accessible]' => [
'meta_key' => true,
'meta_value' => true,
'name' => true,
'description' => true
],
'[dirty]' => [],
'[original]' => [],
'[virtual]' => [],
'[hasErrors]' => false,
'[errors]' => [],
'[invalid]' => [],
'[repository]' => 'Settings'
}
App\Controller\AppController::initialize() - APP/Controller/AppController.php, line 110
App\Controller\PagesController::initialize() - APP/Controller/PagesController.php, line 38
Cake\Controller\Controller::__construct() - CORE/src/Controller/Controller.php, line 273
ReflectionClass::newInstance() - [internal], line ??
Cake\Http\ControllerFactory::create() - CORE/src/Http/ControllerFactory.php, line 47
Cake\Http\ActionDispatcher::dispatch() - CORE/src/Http/ActionDispatcher.php, line 91
Cake\Http\BaseApplication::__invoke() - CORE/src/Http/BaseApplication.php, line 235
Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65
Cake\Routing\Middleware\RoutingMiddleware::__invoke() - CORE/src/Routing/Middleware/RoutingMiddleware.php, line 162
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 96
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 98
[main] - ROOT/webroot/index.php, line 40
Notice (8): Trying to get property of non-object [APP/Controller/AppController.php, line 110]Code Context foreach ($settingsDB as $key => $s) {
$settings[$s->meta_key] = $s->_translations[$this->getCurrentLocale()]->meta_value;
$titles[$s->meta_key] = $s->_translations[$this->getCurrentLocale()]->name;
$locales = [
(int) 0 => object(App\Model\Entity\Locale) {
'id' => 'c79e08dd-4b98-40da-812f-166a5627cafe',
'locale' => 'fr',
'name' => 'French',
'position' => (int) 1,
'active' => true,
'flag' => 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgBAMAAACBVGfHAAAAA3NCSVQICAjb4U/gAAAACXBIWXMAAADdAAAA3QFwU6IHAAAAGXRFWHRTb2Z0d2FyZQB3d3cuaW5rc2NhcGUub3Jnm+48GgAAACdQTFRF////QUib/0tUh4y+/XiAQkab9PT0/0pVkpTC/mRtQUeb9fX1/0tVpPINxQAAAAp0Uk5TAFJSamp4eHjGxmzCt2wAAAArSURBVCjPY2RAA4zUEBB1AJIPDYDEP2Eg8ZtxFQOKAMOoAOUCGIFMi6gEAD39PvX2T/ZKAAAAAElFTkSuQmCC',
'front' => true,
'[new]' => false,
'[accessible]' => [
[maximum depth reached]
],
'[dirty]' => [[maximum depth reached]],
'[original]' => [[maximum depth reached]],
'[virtual]' => [[maximum depth reached]],
'[hasErrors]' => false,
'[errors]' => [[maximum depth reached]],
'[invalid]' => [[maximum depth reached]],
'[repository]' => 'Locales'
},
(int) 1 => object(App\Model\Entity\Locale) {
'id' => '073aae08-53c1-11e9-bb3d-7054d219d6c5',
'locale' => 'es',
'name' => 'Español',
'position' => (int) 0,
'active' => true,
'flag' => 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAMAAABEpIrGAAAAA3NCSVQICAjb4U/gAAAACXBIWXMAAADdAAAA3QFwU6IHAAAAGXRFWHRTb2Z0d2FyZQB3d3cuaW5rc2NhcGUub3Jnm+48GgAAARpQTFRF////x0FLyEJKgXaZoI6wuKV1watwyEFLy0pLzntc0rZn1GJZ1WVW1bhm1mxd13JW13Vx2nFQ229L23JN23xM3IyF3I+V3JKY3Y2G3nVJ33dJ34Zs4JOA4XhH4X9Q4ZV845Bk5JJi5LG15aWL5btz5b185pFh5pRk5pZs5px558Nc6ItI6KR16cFp6pBI66lx7ZxQ7aNO7q1h7rR17tjW76BO78BX8KpP8LJk8buC8stZ9LhX9Net9PPz9efR9fHz9fX198BY98dz98xX99/s9+Lt9+3R+MVe+N2d+dOA+deU+eat+sBQ+stf+8hm+8xZ+9Bw/Lzd/MtQ/N2E/N6G/dlx/sxP/s5R/tRa/tZk/tdp/9JQ/9JR/9NThpihEAAAAAN0Uk5TAFJ4LCUCBgAAAKRJREFUOI1jYBgKgJEJL2BkYCcAqKCAgwBgiCYAYApiQ/xCY/AoiLGR4Vb2wKkgyDxaUVhI0CjaEIcCH1N3aTVLL+9wgzDsCoLtdLS1lQJdoxwisCvQF+WTFWFxsVcQs8auwFjCSY6TmZ/HQtwRuwJPtwApKU09SV9bf+wKdFWc1TVMBOStVM2wK2Bj1YqODI6I5mXlwq4AHyAcWXRIMAQT7VAAACQKgMq9uRSqAAAAAElFTkSuQmCC',
'front' => true,
'[new]' => false,
'[accessible]' => [
[maximum depth reached]
],
'[dirty]' => [[maximum depth reached]],
'[original]' => [[maximum depth reached]],
'[virtual]' => [[maximum depth reached]],
'[hasErrors]' => false,
'[errors]' => [[maximum depth reached]],
'[invalid]' => [[maximum depth reached]],
'[repository]' => 'Locales'
},
(int) 2 => object(App\Model\Entity\Locale) {
'id' => '99c33239-48e4-4692-adb0-30a7c352e556',
'locale' => 'en',
'name' => 'English',
'position' => (int) 0,
'active' => true,
'flag' => 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAAA3QAAAN0BcFOiBwAAABl0RVh0U29mdHdhcmUAd3d3Lmlua3NjYXBlLm9yZ5vuPBoAAATuSURBVFiF7ZdrUNRlFMZ/+2dhXVoW5DJcAgTjamopziiWYuhMYpHGRUk0Gs1gIshboIYMoWNqahQyig41hJLXcgSvQ6VyS2WE1IBABRSZ5b673BZYdvtQ4QUYHb7QB55v7zlz5nnOvO+c57wivV7PSEIYUfZRAf8HAeJL65MbJ8UuvSQ2EveVPewy3naqxkPZ0SsZqmD+KxYPI9+0u9/iH+n9eNw8K6Uw5UKd4/k/ml98FqmrjVQd/65DhTg1015suzvFsuHM+SDV6nA8Q3xIWeHCrqxaUnPq6NbqBhR7jTdxBLx7coueTjk2tvWQW64aktja1IiNixxZ0ldDh1/CRM3tSgR1oD/CnWrGRsRQ89YnNBf9ReJiJ4q+9CJ4hhUi0bP6eTakRgIx/g4UhZmxMHk7qoBotOX3MF4ZiJDptwz1qTQ0Pt5I8q8jXfghle8nIGlt5eBH7vwS9yoz3UyHRSyIIPR1a4rXOhP56yE6fMPozilEMn8WlgWZyHfHICSdrcXvmJqL0bG0pu2hz9MFk9Pn0M8OoXRdMu5mcHbDJDKjPHG1kT43ue/LZuTFerKj/jdEc96jK+M0hpPdMM/ex9gju1Db2bMh8x4iArL7R6GLjZSEwHE45ediuf97qKsHK3OaVoXhuSYYvYFAVYMGVxspCrPpTxDaKK+ScKKaizdb2RrkyIziXNq3HUBX34yBvQ2yzRFIF89Ho9WTmlPH7uxa1F3aJwX8B283OYnv2GF8+CcsM46iV7ejc3VGGb2KCcvnAgwqoKpBg23JDdrjk9GW30MklyFbG4ZxRAhIjDh+tZEtJ6t50NzdXyc6kVs1qBkIgoiZrnI661tQXLn1iMhnMub2FoMK0LWo6L1R2h8znOKJYGEGQF1rN6W1nQN4REqlclhuNJiA4UBUjvuI2uGIj+JRASP+CMU5t1oHBCfYG2M39h9D1DUr6S0u688ZTp2AYD74aG6pbUZx+eYjUbMnYWxtTkGlGp1u8D7FQV//2X9wsJCwOdAJWzMJek0PnfuP0L4nHb26HbHHeGSJUdRoJTgP0Y25vQUKnQ6zbw8iVFbRK5dxd/kSTEIDiD9TR2GFekCNACCXivki2Inr27xYPN0SzbFzNE0Lpi0hBZFUgvybjdw8sBffPCnpVxRD0EOlogu3UF+sCw7TtGkNeokRFilpOASt4CvjuxyK9MDlKT8RIubZUbJjGp/62SNcLaH5jQ9QhSega1Ehi11JU1YGy5pcCEgqo7S2Y0hygMN59XjH3eDCbSUTY0IwuXaclpXLECnVWMZvZ0r0GjK8NOwMfQkLmSHw7yPUVlTTFr+X7vO5IAhIQ9+mK2oFW/La+TG/nsevb/UCexKCnIY0o6SztQDMdDNl6xJnpjrLaLijQJW4H5PsC6DTofHxpuezcDIVUsTqdTvpTD8F2j4k87wRx31McpWE5D1VdPUM3IieFwUVKuZuLSFouhXxgU64/pBAVW4wwvZ9jLlcyJj8ayxduABxZ9pJxBNdeSExiqMG4/gy/T71qp5hEz8OvR6O/97I6aJmwufZsd7fHfmZvZQduYxpUiryk1mIZXER17ThS2s///mBW6WiUe5mK8XNdujFw8rE6CFw32jWNO+nUoVWJkaOszxMB11Ki6vbiPzuTvemRePKPUN8OrUBrxnc2pE5RzT6NRsVMNIC/gaY0PLtJgQJ0gAAAABJRU5ErkJggg==',
'front' => true,
'[new]' => false,
'[accessible]' => [
[maximum depth reached]
],
'[dirty]' => [[maximum depth reached]],
'[original]' => [[maximum depth reached]],
'[virtual]' => [[maximum depth reached]],
'[hasErrors]' => false,
'[errors]' => [[maximum depth reached]],
'[invalid]' => [[maximum depth reached]],
'[repository]' => 'Locales'
},
(int) 3 => object(App\Model\Entity\Locale) {
'id' => 'a20c3c73-53c0-11e9-bb3d-7054d219d6c5',
'locale' => 'de',
'name' => 'Deutsch',
'position' => (int) 0,
'active' => true,
'flag' => 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgBAMAAACBVGfHAAAAA3NCSVQICAjb4U/gAAAACXBIWXMAAADdAAAA3QFwU6IHAAAAGXRFWHRTb2Z0d2FyZQB3d3cuaW5rc2NhcGUub3Jnm+48GgAAAB5QTFRF////SEhU/+BaRkZV/+FZwUlV/31WRkZV/0tV/+FagNv1tgAAAAd0Uk5TAFJSeHjAwPIGe2oAAAAqSURBVCjPY2FAAyzUEBBWQOH/Y0mhhS0YAvfQBYyHs7Xd6IF85w71bQEAwy4HmS9PAQYAAAAASUVORK5CYII=',
'front' => true,
'[new]' => false,
'[accessible]' => [
[maximum depth reached]
],
'[dirty]' => [[maximum depth reached]],
'[original]' => [[maximum depth reached]],
'[virtual]' => [[maximum depth reached]],
'[hasErrors]' => false,
'[errors]' => [[maximum depth reached]],
'[invalid]' => [[maximum depth reached]],
'[repository]' => 'Locales'
}
]
$session = object(Cake\Http\Session) {
[protected] _engine => null
[protected] _started => true
[protected] _lifetime => (int) 86400
[protected] _isCLI => false
}
$lng = 'la-maison'
$currentLocal = 'la-maison'
$settingsDB = object(SoftDelete\ORM\Query) {
'(help)' => 'This is a Query object, to get the results execute or iterate it.',
'sql' => 'SELECT Settings.id AS `Settings__id`, Settings.meta_key AS `Settings__meta_key`, Settings.meta_value AS `Settings__meta_value`, Settings.name AS `Settings__name`, Settings.description AS `Settings__description`, Settings.deleted AS `Settings__deleted`, Settings_meta_value_translation.id AS `Settings_meta_value_translation__id`, Settings_meta_value_translation.locale AS `Settings_meta_value_translation__locale`, Settings_meta_value_translation.model AS `Settings_meta_value_translation__model`, Settings_meta_value_translation.foreign_key AS `Settings_meta_value_translation__foreign_key`, Settings_meta_value_translation.field AS `Settings_meta_value_translation__field`, Settings_meta_value_translation.content AS `Settings_meta_value_translation__content`, Settings_name_translation.id AS `Settings_name_translation__id`, Settings_name_translation.locale AS `Settings_name_translation__locale`, Settings_name_translation.model AS `Settings_name_translation__model`, Settings_name_translation.foreign_key AS `Settings_name_translation__foreign_key`, Settings_name_translation.field AS `Settings_name_translation__field`, Settings_name_translation.content AS `Settings_name_translation__content`, Settings_description_translation.id AS `Settings_description_translation__id`, Settings_description_translation.locale AS `Settings_description_translation__locale`, Settings_description_translation.model AS `Settings_description_translation__model`, Settings_description_translation.foreign_key AS `Settings_description_translation__foreign_key`, Settings_description_translation.field AS `Settings_description_translation__field`, Settings_description_translation.content AS `Settings_description_translation__content` FROM settings Settings LEFT JOIN i18n Settings_meta_value_translation ON (Settings_meta_value_translation.model = :c0 AND Settings_meta_value_translation.field = :c1 AND Settings_meta_value_translation.locale = :c2 AND Settings.id = (Settings_meta_value_translation.foreign_key)) LEFT JOIN i18n Settings_name_translation ON (Settings_name_translation.model = :c3 AND Settings_name_translation.field = :c4 AND Settings_name_translation.locale = :c5 AND Settings.id = (Settings_name_translation.foreign_key)) LEFT JOIN i18n Settings_description_translation ON (Settings_description_translation.model = :c6 AND Settings_description_translation.field = :c7 AND Settings_description_translation.locale = :c8 AND Settings.id = (Settings_description_translation.foreign_key)) WHERE Settings.deleted IS NULL',
'params' => [
':c0' => [
[maximum depth reached]
],
':c1' => [
[maximum depth reached]
],
':c2' => [
[maximum depth reached]
],
':c3' => [
[maximum depth reached]
],
':c4' => [
[maximum depth reached]
],
':c5' => [
[maximum depth reached]
],
':c6' => [
[maximum depth reached]
],
':c7' => [
[maximum depth reached]
],
':c8' => [
[maximum depth reached]
]
],
'defaultTypes' => [
'Settings__id' => 'uuid',
'Settings.id' => 'uuid',
'id' => 'uuid',
'Settings__meta_key' => 'string',
'Settings.meta_key' => 'string',
'meta_key' => 'string',
'Settings__meta_value' => 'text',
'Settings.meta_value' => 'text',
'meta_value' => 'text',
'Settings__name' => 'string',
'Settings.name' => 'string',
'name' => 'string',
'Settings__description' => 'text',
'Settings.description' => 'text',
'description' => 'text',
'Settings__deleted' => 'datetime',
'Settings.deleted' => 'datetime',
'deleted' => 'datetime',
'I18n__id' => 'integer',
'I18n.id' => 'integer',
'I18n__locale' => 'string',
'I18n.locale' => 'string',
'locale' => 'string',
'I18n__model' => 'string',
'I18n.model' => 'string',
'model' => 'string',
'I18n__foreign_key' => 'uuid',
'I18n.foreign_key' => 'uuid',
'foreign_key' => 'uuid',
'I18n__field' => 'string',
'I18n.field' => 'string',
'field' => 'string',
'I18n__content' => 'text',
'I18n.content' => 'text',
'content' => 'text',
'Settings_meta_value_translation__id' => 'integer',
'Settings_meta_value_translation.id' => 'integer',
'Settings_meta_value_translation__locale' => 'string',
'Settings_meta_value_translation.locale' => 'string',
'Settings_meta_value_translation__model' => 'string',
'Settings_meta_value_translation.model' => 'string',
'Settings_meta_value_translation__foreign_key' => 'uuid',
'Settings_meta_value_translation.foreign_key' => 'uuid',
'Settings_meta_value_translation__field' => 'string',
'Settings_meta_value_translation.field' => 'string',
'Settings_meta_value_translation__content' => 'text',
'Settings_meta_value_translation.content' => 'text',
'Settings_name_translation__id' => 'integer',
'Settings_name_translation.id' => 'integer',
'Settings_name_translation__locale' => 'string',
'Settings_name_translation.locale' => 'string',
'Settings_name_translation__model' => 'string',
'Settings_name_translation.model' => 'string',
'Settings_name_translation__foreign_key' => 'uuid',
'Settings_name_translation.foreign_key' => 'uuid',
'Settings_name_translation__field' => 'string',
'Settings_name_translation.field' => 'string',
'Settings_name_translation__content' => 'text',
'Settings_name_translation.content' => 'text',
'Settings_description_translation__id' => 'integer',
'Settings_description_translation.id' => 'integer',
'Settings_description_translation__locale' => 'string',
'Settings_description_translation.locale' => 'string',
'Settings_description_translation__model' => 'string',
'Settings_description_translation.model' => 'string',
'Settings_description_translation__foreign_key' => 'uuid',
'Settings_description_translation.foreign_key' => 'uuid',
'Settings_description_translation__field' => 'string',
'Settings_description_translation.field' => 'string',
'Settings_description_translation__content' => 'text',
'Settings_description_translation.content' => 'text'
],
'decorators' => (int) 0,
'executed' => true,
'hydrate' => true,
'buffered' => true,
'formatters' => (int) 2,
'mapReducers' => (int) 0,
'contain' => [
'I18n' => [
[maximum depth reached]
],
'Settings_meta_value_translation' => [
[maximum depth reached]
],
'Settings_name_translation' => [
[maximum depth reached]
],
'Settings_description_translation' => [
[maximum depth reached]
]
],
'matching' => [],
'extraOptions' => [],
'repository' => object(App\Model\Table\SettingsTable) {}
}
$settings = [
'copyright' => null,
'facebook' => null,
'title_faq' => null,
'btn_discover_name' => null,
'btn_choose' => null,
'systempay_key' => null
]
$titles = [
'copyright' => null,
'facebook' => null,
'title_faq' => null,
'btn_discover_name' => null,
'btn_choose' => null,
'systempay_key' => null
]
$key = (int) 6
$s = object(App\Model\Entity\Setting) {
'id' => '1a040796-4931-42f9-aa74-0d9c74b82776',
'meta_key' => 'partners_section_title',
'meta_value' => '',
'name' => 'France et ailleurs',
'description' => '',
'deleted' => null,
'_locale' => 'la-maison',
'_translations' => [
'fr' => object(App\Model\Entity\Setting) {},
'en' => object(App\Model\Entity\Setting) {},
'es' => object(App\Model\Entity\Setting) {},
'pt' => object(App\Model\Entity\Setting) {},
'de' => object(App\Model\Entity\Setting) {},
'it' => object(App\Model\Entity\Setting) {}
],
'[new]' => false,
'[accessible]' => [
'meta_key' => true,
'meta_value' => true,
'name' => true,
'description' => true
],
'[dirty]' => [],
'[original]' => [],
'[virtual]' => [],
'[hasErrors]' => false,
'[errors]' => [],
'[invalid]' => [],
'[repository]' => 'Settings'
}
App\Controller\AppController::initialize() - APP/Controller/AppController.php, line 110
App\Controller\PagesController::initialize() - APP/Controller/PagesController.php, line 38
Cake\Controller\Controller::__construct() - CORE/src/Controller/Controller.php, line 273
ReflectionClass::newInstance() - [internal], line ??
Cake\Http\ControllerFactory::create() - CORE/src/Http/ControllerFactory.php, line 47
Cake\Http\ActionDispatcher::dispatch() - CORE/src/Http/ActionDispatcher.php, line 91
Cake\Http\BaseApplication::__invoke() - CORE/src/Http/BaseApplication.php, line 235
Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65
Cake\Routing\Middleware\RoutingMiddleware::__invoke() - CORE/src/Routing/Middleware/RoutingMiddleware.php, line 162
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 96
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 98
[main] - ROOT/webroot/index.php, line 40
Notice (8): Undefined index: la-maison [APP/Controller/AppController.php, line 111]Code Context $settings[$s->meta_key] = $s->_translations[$this->getCurrentLocale()]->meta_value;
$titles[$s->meta_key] = $s->_translations[$this->getCurrentLocale()]->name;
}
$locales = [
(int) 0 => object(App\Model\Entity\Locale) {
'id' => 'c79e08dd-4b98-40da-812f-166a5627cafe',
'locale' => 'fr',
'name' => 'French',
'position' => (int) 1,
'active' => true,
'flag' => 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgBAMAAACBVGfHAAAAA3NCSVQICAjb4U/gAAAACXBIWXMAAADdAAAA3QFwU6IHAAAAGXRFWHRTb2Z0d2FyZQB3d3cuaW5rc2NhcGUub3Jnm+48GgAAACdQTFRF////QUib/0tUh4y+/XiAQkab9PT0/0pVkpTC/mRtQUeb9fX1/0tVpPINxQAAAAp0Uk5TAFJSamp4eHjGxmzCt2wAAAArSURBVCjPY2RAA4zUEBB1AJIPDYDEP2Eg8ZtxFQOKAMOoAOUCGIFMi6gEAD39PvX2T/ZKAAAAAElFTkSuQmCC',
'front' => true,
'[new]' => false,
'[accessible]' => [
[maximum depth reached]
],
'[dirty]' => [[maximum depth reached]],
'[original]' => [[maximum depth reached]],
'[virtual]' => [[maximum depth reached]],
'[hasErrors]' => false,
'[errors]' => [[maximum depth reached]],
'[invalid]' => [[maximum depth reached]],
'[repository]' => 'Locales'
},
(int) 1 => object(App\Model\Entity\Locale) {
'id' => '073aae08-53c1-11e9-bb3d-7054d219d6c5',
'locale' => 'es',
'name' => 'Español',
'position' => (int) 0,
'active' => true,
'flag' => 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAMAAABEpIrGAAAAA3NCSVQICAjb4U/gAAAACXBIWXMAAADdAAAA3QFwU6IHAAAAGXRFWHRTb2Z0d2FyZQB3d3cuaW5rc2NhcGUub3Jnm+48GgAAARpQTFRF////x0FLyEJKgXaZoI6wuKV1watwyEFLy0pLzntc0rZn1GJZ1WVW1bhm1mxd13JW13Vx2nFQ229L23JN23xM3IyF3I+V3JKY3Y2G3nVJ33dJ34Zs4JOA4XhH4X9Q4ZV845Bk5JJi5LG15aWL5btz5b185pFh5pRk5pZs5px558Nc6ItI6KR16cFp6pBI66lx7ZxQ7aNO7q1h7rR17tjW76BO78BX8KpP8LJk8buC8stZ9LhX9Net9PPz9efR9fHz9fX198BY98dz98xX99/s9+Lt9+3R+MVe+N2d+dOA+deU+eat+sBQ+stf+8hm+8xZ+9Bw/Lzd/MtQ/N2E/N6G/dlx/sxP/s5R/tRa/tZk/tdp/9JQ/9JR/9NThpihEAAAAAN0Uk5TAFJ4LCUCBgAAAKRJREFUOI1jYBgKgJEJL2BkYCcAqKCAgwBgiCYAYApiQ/xCY/AoiLGR4Vb2wKkgyDxaUVhI0CjaEIcCH1N3aTVLL+9wgzDsCoLtdLS1lQJdoxwisCvQF+WTFWFxsVcQs8auwFjCSY6TmZ/HQtwRuwJPtwApKU09SV9bf+wKdFWc1TVMBOStVM2wK2Bj1YqODI6I5mXlwq4AHyAcWXRIMAQT7VAAACQKgMq9uRSqAAAAAElFTkSuQmCC',
'front' => true,
'[new]' => false,
'[accessible]' => [
[maximum depth reached]
],
'[dirty]' => [[maximum depth reached]],
'[original]' => [[maximum depth reached]],
'[virtual]' => [[maximum depth reached]],
'[hasErrors]' => false,
'[errors]' => [[maximum depth reached]],
'[invalid]' => [[maximum depth reached]],
'[repository]' => 'Locales'
},
(int) 2 => object(App\Model\Entity\Locale) {
'id' => '99c33239-48e4-4692-adb0-30a7c352e556',
'locale' => 'en',
'name' => 'English',
'position' => (int) 0,
'active' => true,
'flag' => 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAAA3QAAAN0BcFOiBwAAABl0RVh0U29mdHdhcmUAd3d3Lmlua3NjYXBlLm9yZ5vuPBoAAATuSURBVFiF7ZdrUNRlFMZ/+2dhXVoW5DJcAgTjamopziiWYuhMYpHGRUk0Gs1gIshboIYMoWNqahQyig41hJLXcgSvQ6VyS2WE1IBABRSZ5b673BZYdvtQ4QUYHb7QB55v7zlz5nnOvO+c57wivV7PSEIYUfZRAf8HAeJL65MbJ8UuvSQ2EveVPewy3naqxkPZ0SsZqmD+KxYPI9+0u9/iH+n9eNw8K6Uw5UKd4/k/ml98FqmrjVQd/65DhTg1015suzvFsuHM+SDV6nA8Q3xIWeHCrqxaUnPq6NbqBhR7jTdxBLx7coueTjk2tvWQW64aktja1IiNixxZ0ldDh1/CRM3tSgR1oD/CnWrGRsRQ89YnNBf9ReJiJ4q+9CJ4hhUi0bP6eTakRgIx/g4UhZmxMHk7qoBotOX3MF4ZiJDptwz1qTQ0Pt5I8q8jXfghle8nIGlt5eBH7vwS9yoz3UyHRSyIIPR1a4rXOhP56yE6fMPozilEMn8WlgWZyHfHICSdrcXvmJqL0bG0pu2hz9MFk9Pn0M8OoXRdMu5mcHbDJDKjPHG1kT43ue/LZuTFerKj/jdEc96jK+M0hpPdMM/ex9gju1Db2bMh8x4iArL7R6GLjZSEwHE45ediuf97qKsHK3OaVoXhuSYYvYFAVYMGVxspCrPpTxDaKK+ScKKaizdb2RrkyIziXNq3HUBX34yBvQ2yzRFIF89Ho9WTmlPH7uxa1F3aJwX8B283OYnv2GF8+CcsM46iV7ejc3VGGb2KCcvnAgwqoKpBg23JDdrjk9GW30MklyFbG4ZxRAhIjDh+tZEtJ6t50NzdXyc6kVs1qBkIgoiZrnI661tQXLn1iMhnMub2FoMK0LWo6L1R2h8znOKJYGEGQF1rN6W1nQN4REqlclhuNJiA4UBUjvuI2uGIj+JRASP+CMU5t1oHBCfYG2M39h9D1DUr6S0u688ZTp2AYD74aG6pbUZx+eYjUbMnYWxtTkGlGp1u8D7FQV//2X9wsJCwOdAJWzMJek0PnfuP0L4nHb26HbHHeGSJUdRoJTgP0Y25vQUKnQ6zbw8iVFbRK5dxd/kSTEIDiD9TR2GFekCNACCXivki2Inr27xYPN0SzbFzNE0Lpi0hBZFUgvybjdw8sBffPCnpVxRD0EOlogu3UF+sCw7TtGkNeokRFilpOASt4CvjuxyK9MDlKT8RIubZUbJjGp/62SNcLaH5jQ9QhSega1Ehi11JU1YGy5pcCEgqo7S2Y0hygMN59XjH3eDCbSUTY0IwuXaclpXLECnVWMZvZ0r0GjK8NOwMfQkLmSHw7yPUVlTTFr+X7vO5IAhIQ9+mK2oFW/La+TG/nsevb/UCexKCnIY0o6SztQDMdDNl6xJnpjrLaLijQJW4H5PsC6DTofHxpuezcDIVUsTqdTvpTD8F2j4k87wRx31McpWE5D1VdPUM3IieFwUVKuZuLSFouhXxgU64/pBAVW4wwvZ9jLlcyJj8ayxduABxZ9pJxBNdeSExiqMG4/gy/T71qp5hEz8OvR6O/97I6aJmwufZsd7fHfmZvZQduYxpUiryk1mIZXER17ThS2s///mBW6WiUe5mK8XNdujFw8rE6CFw32jWNO+nUoVWJkaOszxMB11Ki6vbiPzuTvemRePKPUN8OrUBrxnc2pE5RzT6NRsVMNIC/gaY0PLtJgQJ0gAAAABJRU5ErkJggg==',
'front' => true,
'[new]' => false,
'[accessible]' => [
[maximum depth reached]
],
'[dirty]' => [[maximum depth reached]],
'[original]' => [[maximum depth reached]],
'[virtual]' => [[maximum depth reached]],
'[hasErrors]' => false,
'[errors]' => [[maximum depth reached]],
'[invalid]' => [[maximum depth reached]],
'[repository]' => 'Locales'
},
(int) 3 => object(App\Model\Entity\Locale) {
'id' => 'a20c3c73-53c0-11e9-bb3d-7054d219d6c5',
'locale' => 'de',
'name' => 'Deutsch',
'position' => (int) 0,
'active' => true,
'flag' => 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgBAMAAACBVGfHAAAAA3NCSVQICAjb4U/gAAAACXBIWXMAAADdAAAA3QFwU6IHAAAAGXRFWHRTb2Z0d2FyZQB3d3cuaW5rc2NhcGUub3Jnm+48GgAAAB5QTFRF////SEhU/+BaRkZV/+FZwUlV/31WRkZV/0tV/+FagNv1tgAAAAd0Uk5TAFJSeHjAwPIGe2oAAAAqSURBVCjPY2FAAyzUEBBWQOH/Y0mhhS0YAvfQBYyHs7Xd6IF85w71bQEAwy4HmS9PAQYAAAAASUVORK5CYII=',
'front' => true,
'[new]' => false,
'[accessible]' => [
[maximum depth reached]
],
'[dirty]' => [[maximum depth reached]],
'[original]' => [[maximum depth reached]],
'[virtual]' => [[maximum depth reached]],
'[hasErrors]' => false,
'[errors]' => [[maximum depth reached]],
'[invalid]' => [[maximum depth reached]],
'[repository]' => 'Locales'
}
]
$session = object(Cake\Http\Session) {
[protected] _engine => null
[protected] _started => true
[protected] _lifetime => (int) 86400
[protected] _isCLI => false
}
$lng = 'la-maison'
$currentLocal = 'la-maison'
$settingsDB = object(SoftDelete\ORM\Query) {
'(help)' => 'This is a Query object, to get the results execute or iterate it.',
'sql' => 'SELECT Settings.id AS `Settings__id`, Settings.meta_key AS `Settings__meta_key`, Settings.meta_value AS `Settings__meta_value`, Settings.name AS `Settings__name`, Settings.description AS `Settings__description`, Settings.deleted AS `Settings__deleted`, Settings_meta_value_translation.id AS `Settings_meta_value_translation__id`, Settings_meta_value_translation.locale AS `Settings_meta_value_translation__locale`, Settings_meta_value_translation.model AS `Settings_meta_value_translation__model`, Settings_meta_value_translation.foreign_key AS `Settings_meta_value_translation__foreign_key`, Settings_meta_value_translation.field AS `Settings_meta_value_translation__field`, Settings_meta_value_translation.content AS `Settings_meta_value_translation__content`, Settings_name_translation.id AS `Settings_name_translation__id`, Settings_name_translation.locale AS `Settings_name_translation__locale`, Settings_name_translation.model AS `Settings_name_translation__model`, Settings_name_translation.foreign_key AS `Settings_name_translation__foreign_key`, Settings_name_translation.field AS `Settings_name_translation__field`, Settings_name_translation.content AS `Settings_name_translation__content`, Settings_description_translation.id AS `Settings_description_translation__id`, Settings_description_translation.locale AS `Settings_description_translation__locale`, Settings_description_translation.model AS `Settings_description_translation__model`, Settings_description_translation.foreign_key AS `Settings_description_translation__foreign_key`, Settings_description_translation.field AS `Settings_description_translation__field`, Settings_description_translation.content AS `Settings_description_translation__content` FROM settings Settings LEFT JOIN i18n Settings_meta_value_translation ON (Settings_meta_value_translation.model = :c0 AND Settings_meta_value_translation.field = :c1 AND Settings_meta_value_translation.locale = :c2 AND Settings.id = (Settings_meta_value_translation.foreign_key)) LEFT JOIN i18n Settings_name_translation ON (Settings_name_translation.model = :c3 AND Settings_name_translation.field = :c4 AND Settings_name_translation.locale = :c5 AND Settings.id = (Settings_name_translation.foreign_key)) LEFT JOIN i18n Settings_description_translation ON (Settings_description_translation.model = :c6 AND Settings_description_translation.field = :c7 AND Settings_description_translation.locale = :c8 AND Settings.id = (Settings_description_translation.foreign_key)) WHERE Settings.deleted IS NULL',
'params' => [
':c0' => [
[maximum depth reached]
],
':c1' => [
[maximum depth reached]
],
':c2' => [
[maximum depth reached]
],
':c3' => [
[maximum depth reached]
],
':c4' => [
[maximum depth reached]
],
':c5' => [
[maximum depth reached]
],
':c6' => [
[maximum depth reached]
],
':c7' => [
[maximum depth reached]
],
':c8' => [
[maximum depth reached]
]
],
'defaultTypes' => [
'Settings__id' => 'uuid',
'Settings.id' => 'uuid',
'id' => 'uuid',
'Settings__meta_key' => 'string',
'Settings.meta_key' => 'string',
'meta_key' => 'string',
'Settings__meta_value' => 'text',
'Settings.meta_value' => 'text',
'meta_value' => 'text',
'Settings__name' => 'string',
'Settings.name' => 'string',
'name' => 'string',
'Settings__description' => 'text',
'Settings.description' => 'text',
'description' => 'text',
'Settings__deleted' => 'datetime',
'Settings.deleted' => 'datetime',
'deleted' => 'datetime',
'I18n__id' => 'integer',
'I18n.id' => 'integer',
'I18n__locale' => 'string',
'I18n.locale' => 'string',
'locale' => 'string',
'I18n__model' => 'string',
'I18n.model' => 'string',
'model' => 'string',
'I18n__foreign_key' => 'uuid',
'I18n.foreign_key' => 'uuid',
'foreign_key' => 'uuid',
'I18n__field' => 'string',
'I18n.field' => 'string',
'field' => 'string',
'I18n__content' => 'text',
'I18n.content' => 'text',
'content' => 'text',
'Settings_meta_value_translation__id' => 'integer',
'Settings_meta_value_translation.id' => 'integer',
'Settings_meta_value_translation__locale' => 'string',
'Settings_meta_value_translation.locale' => 'string',
'Settings_meta_value_translation__model' => 'string',
'Settings_meta_value_translation.model' => 'string',
'Settings_meta_value_translation__foreign_key' => 'uuid',
'Settings_meta_value_translation.foreign_key' => 'uuid',
'Settings_meta_value_translation__field' => 'string',
'Settings_meta_value_translation.field' => 'string',
'Settings_meta_value_translation__content' => 'text',
'Settings_meta_value_translation.content' => 'text',
'Settings_name_translation__id' => 'integer',
'Settings_name_translation.id' => 'integer',
'Settings_name_translation__locale' => 'string',
'Settings_name_translation.locale' => 'string',
'Settings_name_translation__model' => 'string',
'Settings_name_translation.model' => 'string',
'Settings_name_translation__foreign_key' => 'uuid',
'Settings_name_translation.foreign_key' => 'uuid',
'Settings_name_translation__field' => 'string',
'Settings_name_translation.field' => 'string',
'Settings_name_translation__content' => 'text',
'Settings_name_translation.content' => 'text',
'Settings_description_translation__id' => 'integer',
'Settings_description_translation.id' => 'integer',
'Settings_description_translation__locale' => 'string',
'Settings_description_translation.locale' => 'string',
'Settings_description_translation__model' => 'string',
'Settings_description_translation.model' => 'string',
'Settings_description_translation__foreign_key' => 'uuid',
'Settings_description_translation.foreign_key' => 'uuid',
'Settings_description_translation__field' => 'string',
'Settings_description_translation.field' => 'string',
'Settings_description_translation__content' => 'text',
'Settings_description_translation.content' => 'text'
],
'decorators' => (int) 0,
'executed' => true,
'hydrate' => true,
'buffered' => true,
'formatters' => (int) 2,
'mapReducers' => (int) 0,
'contain' => [
'I18n' => [
[maximum depth reached]
],
'Settings_meta_value_translation' => [
[maximum depth reached]
],
'Settings_name_translation' => [
[maximum depth reached]
],
'Settings_description_translation' => [
[maximum depth reached]
]
],
'matching' => [],
'extraOptions' => [],
'repository' => object(App\Model\Table\SettingsTable) {}
}
$settings = [
'copyright' => null,
'facebook' => null,
'title_faq' => null,
'btn_discover_name' => null,
'btn_choose' => null,
'systempay_key' => null,
'partners_section_title' => null
]
$titles = [
'copyright' => null,
'facebook' => null,
'title_faq' => null,
'btn_discover_name' => null,
'btn_choose' => null,
'systempay_key' => null
]
$key = (int) 6
$s = object(App\Model\Entity\Setting) {
'id' => '1a040796-4931-42f9-aa74-0d9c74b82776',
'meta_key' => 'partners_section_title',
'meta_value' => '',
'name' => 'France et ailleurs',
'description' => '',
'deleted' => null,
'_locale' => 'la-maison',
'_translations' => [
'fr' => object(App\Model\Entity\Setting) {},
'en' => object(App\Model\Entity\Setting) {},
'es' => object(App\Model\Entity\Setting) {},
'pt' => object(App\Model\Entity\Setting) {},
'de' => object(App\Model\Entity\Setting) {},
'it' => object(App\Model\Entity\Setting) {}
],
'[new]' => false,
'[accessible]' => [
'meta_key' => true,
'meta_value' => true,
'name' => true,
'description' => true
],
'[dirty]' => [],
'[original]' => [],
'[virtual]' => [],
'[hasErrors]' => false,
'[errors]' => [],
'[invalid]' => [],
'[repository]' => 'Settings'
}
App\Controller\AppController::initialize() - APP/Controller/AppController.php, line 111
App\Controller\PagesController::initialize() - APP/Controller/PagesController.php, line 38
Cake\Controller\Controller::__construct() - CORE/src/Controller/Controller.php, line 273
ReflectionClass::newInstance() - [internal], line ??
Cake\Http\ControllerFactory::create() - CORE/src/Http/ControllerFactory.php, line 47
Cake\Http\ActionDispatcher::dispatch() - CORE/src/Http/ActionDispatcher.php, line 91
Cake\Http\BaseApplication::__invoke() - CORE/src/Http/BaseApplication.php, line 235
Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65
Cake\Routing\Middleware\RoutingMiddleware::__invoke() - CORE/src/Routing/Middleware/RoutingMiddleware.php, line 162
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 96
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 98
[main] - ROOT/webroot/index.php, line 40
Notice (8): Trying to get property of non-object [APP/Controller/AppController.php, line 111]Code Context $settings[$s->meta_key] = $s->_translations[$this->getCurrentLocale()]->meta_value;
$titles[$s->meta_key] = $s->_translations[$this->getCurrentLocale()]->name;
}
$locales = [
(int) 0 => object(App\Model\Entity\Locale) {
'id' => 'c79e08dd-4b98-40da-812f-166a5627cafe',
'locale' => 'fr',
'name' => 'French',
'position' => (int) 1,
'active' => true,
'flag' => 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgBAMAAACBVGfHAAAAA3NCSVQICAjb4U/gAAAACXBIWXMAAADdAAAA3QFwU6IHAAAAGXRFWHRTb2Z0d2FyZQB3d3cuaW5rc2NhcGUub3Jnm+48GgAAACdQTFRF////QUib/0tUh4y+/XiAQkab9PT0/0pVkpTC/mRtQUeb9fX1/0tVpPINxQAAAAp0Uk5TAFJSamp4eHjGxmzCt2wAAAArSURBVCjPY2RAA4zUEBB1AJIPDYDEP2Eg8ZtxFQOKAMOoAOUCGIFMi6gEAD39PvX2T/ZKAAAAAElFTkSuQmCC',
'front' => true,
'[new]' => false,
'[accessible]' => [
[maximum depth reached]
],
'[dirty]' => [[maximum depth reached]],
'[original]' => [[maximum depth reached]],
'[virtual]' => [[maximum depth reached]],
'[hasErrors]' => false,
'[errors]' => [[maximum depth reached]],
'[invalid]' => [[maximum depth reached]],
'[repository]' => 'Locales'
},
(int) 1 => object(App\Model\Entity\Locale) {
'id' => '073aae08-53c1-11e9-bb3d-7054d219d6c5',
'locale' => 'es',
'name' => 'Español',
'position' => (int) 0,
'active' => true,
'flag' => 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAMAAABEpIrGAAAAA3NCSVQICAjb4U/gAAAACXBIWXMAAADdAAAA3QFwU6IHAAAAGXRFWHRTb2Z0d2FyZQB3d3cuaW5rc2NhcGUub3Jnm+48GgAAARpQTFRF////x0FLyEJKgXaZoI6wuKV1watwyEFLy0pLzntc0rZn1GJZ1WVW1bhm1mxd13JW13Vx2nFQ229L23JN23xM3IyF3I+V3JKY3Y2G3nVJ33dJ34Zs4JOA4XhH4X9Q4ZV845Bk5JJi5LG15aWL5btz5b185pFh5pRk5pZs5px558Nc6ItI6KR16cFp6pBI66lx7ZxQ7aNO7q1h7rR17tjW76BO78BX8KpP8LJk8buC8stZ9LhX9Net9PPz9efR9fHz9fX198BY98dz98xX99/s9+Lt9+3R+MVe+N2d+dOA+deU+eat+sBQ+stf+8hm+8xZ+9Bw/Lzd/MtQ/N2E/N6G/dlx/sxP/s5R/tRa/tZk/tdp/9JQ/9JR/9NThpihEAAAAAN0Uk5TAFJ4LCUCBgAAAKRJREFUOI1jYBgKgJEJL2BkYCcAqKCAgwBgiCYAYApiQ/xCY/AoiLGR4Vb2wKkgyDxaUVhI0CjaEIcCH1N3aTVLL+9wgzDsCoLtdLS1lQJdoxwisCvQF+WTFWFxsVcQs8auwFjCSY6TmZ/HQtwRuwJPtwApKU09SV9bf+wKdFWc1TVMBOStVM2wK2Bj1YqODI6I5mXlwq4AHyAcWXRIMAQT7VAAACQKgMq9uRSqAAAAAElFTkSuQmCC',
'front' => true,
'[new]' => false,
'[accessible]' => [
[maximum depth reached]
],
'[dirty]' => [[maximum depth reached]],
'[original]' => [[maximum depth reached]],
'[virtual]' => [[maximum depth reached]],
'[hasErrors]' => false,
'[errors]' => [[maximum depth reached]],
'[invalid]' => [[maximum depth reached]],
'[repository]' => 'Locales'
},
(int) 2 => object(App\Model\Entity\Locale) {
'id' => '99c33239-48e4-4692-adb0-30a7c352e556',
'locale' => 'en',
'name' => 'English',
'position' => (int) 0,
'active' => true,
'flag' => 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAAA3QAAAN0BcFOiBwAAABl0RVh0U29mdHdhcmUAd3d3Lmlua3NjYXBlLm9yZ5vuPBoAAATuSURBVFiF7ZdrUNRlFMZ/+2dhXVoW5DJcAgTjamopziiWYuhMYpHGRUk0Gs1gIshboIYMoWNqahQyig41hJLXcgSvQ6VyS2WE1IBABRSZ5b673BZYdvtQ4QUYHb7QB55v7zlz5nnOvO+c57wivV7PSEIYUfZRAf8HAeJL65MbJ8UuvSQ2EveVPewy3naqxkPZ0SsZqmD+KxYPI9+0u9/iH+n9eNw8K6Uw5UKd4/k/ml98FqmrjVQd/65DhTg1015suzvFsuHM+SDV6nA8Q3xIWeHCrqxaUnPq6NbqBhR7jTdxBLx7coueTjk2tvWQW64aktja1IiNixxZ0ldDh1/CRM3tSgR1oD/CnWrGRsRQ89YnNBf9ReJiJ4q+9CJ4hhUi0bP6eTakRgIx/g4UhZmxMHk7qoBotOX3MF4ZiJDptwz1qTQ0Pt5I8q8jXfghle8nIGlt5eBH7vwS9yoz3UyHRSyIIPR1a4rXOhP56yE6fMPozilEMn8WlgWZyHfHICSdrcXvmJqL0bG0pu2hz9MFk9Pn0M8OoXRdMu5mcHbDJDKjPHG1kT43ue/LZuTFerKj/jdEc96jK+M0hpPdMM/ex9gju1Db2bMh8x4iArL7R6GLjZSEwHE45ediuf97qKsHK3OaVoXhuSYYvYFAVYMGVxspCrPpTxDaKK+ScKKaizdb2RrkyIziXNq3HUBX34yBvQ2yzRFIF89Ho9WTmlPH7uxa1F3aJwX8B283OYnv2GF8+CcsM46iV7ejc3VGGb2KCcvnAgwqoKpBg23JDdrjk9GW30MklyFbG4ZxRAhIjDh+tZEtJ6t50NzdXyc6kVs1qBkIgoiZrnI661tQXLn1iMhnMub2FoMK0LWo6L1R2h8znOKJYGEGQF1rN6W1nQN4REqlclhuNJiA4UBUjvuI2uGIj+JRASP+CMU5t1oHBCfYG2M39h9D1DUr6S0u688ZTp2AYD74aG6pbUZx+eYjUbMnYWxtTkGlGp1u8D7FQV//2X9wsJCwOdAJWzMJek0PnfuP0L4nHb26HbHHeGSJUdRoJTgP0Y25vQUKnQ6zbw8iVFbRK5dxd/kSTEIDiD9TR2GFekCNACCXivki2Inr27xYPN0SzbFzNE0Lpi0hBZFUgvybjdw8sBffPCnpVxRD0EOlogu3UF+sCw7TtGkNeokRFilpOASt4CvjuxyK9MDlKT8RIubZUbJjGp/62SNcLaH5jQ9QhSega1Ehi11JU1YGy5pcCEgqo7S2Y0hygMN59XjH3eDCbSUTY0IwuXaclpXLECnVWMZvZ0r0GjK8NOwMfQkLmSHw7yPUVlTTFr+X7vO5IAhIQ9+mK2oFW/La+TG/nsevb/UCexKCnIY0o6SztQDMdDNl6xJnpjrLaLijQJW4H5PsC6DTofHxpuezcDIVUsTqdTvpTD8F2j4k87wRx31McpWE5D1VdPUM3IieFwUVKuZuLSFouhXxgU64/pBAVW4wwvZ9jLlcyJj8ayxduABxZ9pJxBNdeSExiqMG4/gy/T71qp5hEz8OvR6O/97I6aJmwufZsd7fHfmZvZQduYxpUiryk1mIZXER17ThS2s///mBW6WiUe5mK8XNdujFw8rE6CFw32jWNO+nUoVWJkaOszxMB11Ki6vbiPzuTvemRePKPUN8OrUBrxnc2pE5RzT6NRsVMNIC/gaY0PLtJgQJ0gAAAABJRU5ErkJggg==',
'front' => true,
'[new]' => false,
'[accessible]' => [
[maximum depth reached]
],
'[dirty]' => [[maximum depth reached]],
'[original]' => [[maximum depth reached]],
'[virtual]' => [[maximum depth reached]],
'[hasErrors]' => false,
'[errors]' => [[maximum depth reached]],
'[invalid]' => [[maximum depth reached]],
'[repository]' => 'Locales'
},
(int) 3 => object(App\Model\Entity\Locale) {
'id' => 'a20c3c73-53c0-11e9-bb3d-7054d219d6c5',
'locale' => 'de',
'name' => 'Deutsch',
'position' => (int) 0,
'active' => true,
'flag' => 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgBAMAAACBVGfHAAAAA3NCSVQICAjb4U/gAAAACXBIWXMAAADdAAAA3QFwU6IHAAAAGXRFWHRTb2Z0d2FyZQB3d3cuaW5rc2NhcGUub3Jnm+48GgAAAB5QTFRF////SEhU/+BaRkZV/+FZwUlV/31WRkZV/0tV/+FagNv1tgAAAAd0Uk5TAFJSeHjAwPIGe2oAAAAqSURBVCjPY2FAAyzUEBBWQOH/Y0mhhS0YAvfQBYyHs7Xd6IF85w71bQEAwy4HmS9PAQYAAAAASUVORK5CYII=',
'front' => true,
'[new]' => false,
'[accessible]' => [
[maximum depth reached]
],
'[dirty]' => [[maximum depth reached]],
'[original]' => [[maximum depth reached]],
'[virtual]' => [[maximum depth reached]],
'[hasErrors]' => false,
'[errors]' => [[maximum depth reached]],
'[invalid]' => [[maximum depth reached]],
'[repository]' => 'Locales'
}
]
$session = object(Cake\Http\Session) {
[protected] _engine => null
[protected] _started => true
[protected] _lifetime => (int) 86400
[protected] _isCLI => false
}
$lng = 'la-maison'
$currentLocal = 'la-maison'
$settingsDB = object(SoftDelete\ORM\Query) {
'(help)' => 'This is a Query object, to get the results execute or iterate it.',
'sql' => 'SELECT Settings.id AS `Settings__id`, Settings.meta_key AS `Settings__meta_key`, Settings.meta_value AS `Settings__meta_value`, Settings.name AS `Settings__name`, Settings.description AS `Settings__description`, Settings.deleted AS `Settings__deleted`, Settings_meta_value_translation.id AS `Settings_meta_value_translation__id`, Settings_meta_value_translation.locale AS `Settings_meta_value_translation__locale`, Settings_meta_value_translation.model AS `Settings_meta_value_translation__model`, Settings_meta_value_translation.foreign_key AS `Settings_meta_value_translation__foreign_key`, Settings_meta_value_translation.field AS `Settings_meta_value_translation__field`, Settings_meta_value_translation.content AS `Settings_meta_value_translation__content`, Settings_name_translation.id AS `Settings_name_translation__id`, Settings_name_translation.locale AS `Settings_name_translation__locale`, Settings_name_translation.model AS `Settings_name_translation__model`, Settings_name_translation.foreign_key AS `Settings_name_translation__foreign_key`, Settings_name_translation.field AS `Settings_name_translation__field`, Settings_name_translation.content AS `Settings_name_translation__content`, Settings_description_translation.id AS `Settings_description_translation__id`, Settings_description_translation.locale AS `Settings_description_translation__locale`, Settings_description_translation.model AS `Settings_description_translation__model`, Settings_description_translation.foreign_key AS `Settings_description_translation__foreign_key`, Settings_description_translation.field AS `Settings_description_translation__field`, Settings_description_translation.content AS `Settings_description_translation__content` FROM settings Settings LEFT JOIN i18n Settings_meta_value_translation ON (Settings_meta_value_translation.model = :c0 AND Settings_meta_value_translation.field = :c1 AND Settings_meta_value_translation.locale = :c2 AND Settings.id = (Settings_meta_value_translation.foreign_key)) LEFT JOIN i18n Settings_name_translation ON (Settings_name_translation.model = :c3 AND Settings_name_translation.field = :c4 AND Settings_name_translation.locale = :c5 AND Settings.id = (Settings_name_translation.foreign_key)) LEFT JOIN i18n Settings_description_translation ON (Settings_description_translation.model = :c6 AND Settings_description_translation.field = :c7 AND Settings_description_translation.locale = :c8 AND Settings.id = (Settings_description_translation.foreign_key)) WHERE Settings.deleted IS NULL',
'params' => [
':c0' => [
[maximum depth reached]
],
':c1' => [
[maximum depth reached]
],
':c2' => [
[maximum depth reached]
],
':c3' => [
[maximum depth reached]
],
':c4' => [
[maximum depth reached]
],
':c5' => [
[maximum depth reached]
],
':c6' => [
[maximum depth reached]
],
':c7' => [
[maximum depth reached]
],
':c8' => [
[maximum depth reached]
]
],
'defaultTypes' => [
'Settings__id' => 'uuid',
'Settings.id' => 'uuid',
'id' => 'uuid',
'Settings__meta_key' => 'string',
'Settings.meta_key' => 'string',
'meta_key' => 'string',
'Settings__meta_value' => 'text',
'Settings.meta_value' => 'text',
'meta_value' => 'text',
'Settings__name' => 'string',
'Settings.name' => 'string',
'name' => 'string',
'Settings__description' => 'text',
'Settings.description' => 'text',
'description' => 'text',
'Settings__deleted' => 'datetime',
'Settings.deleted' => 'datetime',
'deleted' => 'datetime',
'I18n__id' => 'integer',
'I18n.id' => 'integer',
'I18n__locale' => 'string',
'I18n.locale' => 'string',
'locale' => 'string',
'I18n__model' => 'string',
'I18n.model' => 'string',
'model' => 'string',
'I18n__foreign_key' => 'uuid',
'I18n.foreign_key' => 'uuid',
'foreign_key' => 'uuid',
'I18n__field' => 'string',
'I18n.field' => 'string',
'field' => 'string',
'I18n__content' => 'text',
'I18n.content' => 'text',
'content' => 'text',
'Settings_meta_value_translation__id' => 'integer',
'Settings_meta_value_translation.id' => 'integer',
'Settings_meta_value_translation__locale' => 'string',
'Settings_meta_value_translation.locale' => 'string',
'Settings_meta_value_translation__model' => 'string',
'Settings_meta_value_translation.model' => 'string',
'Settings_meta_value_translation__foreign_key' => 'uuid',
'Settings_meta_value_translation.foreign_key' => 'uuid',
'Settings_meta_value_translation__field' => 'string',
'Settings_meta_value_translation.field' => 'string',
'Settings_meta_value_translation__content' => 'text',
'Settings_meta_value_translation.content' => 'text',
'Settings_name_translation__id' => 'integer',
'Settings_name_translation.id' => 'integer',
'Settings_name_translation__locale' => 'string',
'Settings_name_translation.locale' => 'string',
'Settings_name_translation__model' => 'string',
'Settings_name_translation.model' => 'string',
'Settings_name_translation__foreign_key' => 'uuid',
'Settings_name_translation.foreign_key' => 'uuid',
'Settings_name_translation__field' => 'string',
'Settings_name_translation.field' => 'string',
'Settings_name_translation__content' => 'text',
'Settings_name_translation.content' => 'text',
'Settings_description_translation__id' => 'integer',
'Settings_description_translation.id' => 'integer',
'Settings_description_translation__locale' => 'string',
'Settings_description_translation.locale' => 'string',
'Settings_description_translation__model' => 'string',
'Settings_description_translation.model' => 'string',
'Settings_description_translation__foreign_key' => 'uuid',
'Settings_description_translation.foreign_key' => 'uuid',
'Settings_description_translation__field' => 'string',
'Settings_description_translation.field' => 'string',
'Settings_description_translation__content' => 'text',
'Settings_description_translation.content' => 'text'
],
'decorators' => (int) 0,
'executed' => true,
'hydrate' => true,
'buffered' => true,
'formatters' => (int) 2,
'mapReducers' => (int) 0,
'contain' => [
'I18n' => [
[maximum depth reached]
],
'Settings_meta_value_translation' => [
[maximum depth reached]
],
'Settings_name_translation' => [
[maximum depth reached]
],
'Settings_description_translation' => [
[maximum depth reached]
]
],
'matching' => [],
'extraOptions' => [],
'repository' => object(App\Model\Table\SettingsTable) {}
}
$settings = [
'copyright' => null,
'facebook' => null,
'title_faq' => null,
'btn_discover_name' => null,
'btn_choose' => null,
'systempay_key' => null,
'partners_section_title' => null
]
$titles = [
'copyright' => null,
'facebook' => null,
'title_faq' => null,
'btn_discover_name' => null,
'btn_choose' => null,
'systempay_key' => null
]
$key = (int) 6
$s = object(App\Model\Entity\Setting) {
'id' => '1a040796-4931-42f9-aa74-0d9c74b82776',
'meta_key' => 'partners_section_title',
'meta_value' => '',
'name' => 'France et ailleurs',
'description' => '',
'deleted' => null,
'_locale' => 'la-maison',
'_translations' => [
'fr' => object(App\Model\Entity\Setting) {},
'en' => object(App\Model\Entity\Setting) {},
'es' => object(App\Model\Entity\Setting) {},
'pt' => object(App\Model\Entity\Setting) {},
'de' => object(App\Model\Entity\Setting) {},
'it' => object(App\Model\Entity\Setting) {}
],
'[new]' => false,
'[accessible]' => [
'meta_key' => true,
'meta_value' => true,
'name' => true,
'description' => true
],
'[dirty]' => [],
'[original]' => [],
'[virtual]' => [],
'[hasErrors]' => false,
'[errors]' => [],
'[invalid]' => [],
'[repository]' => 'Settings'
}
App\Controller\AppController::initialize() - APP/Controller/AppController.php, line 111
App\Controller\PagesController::initialize() - APP/Controller/PagesController.php, line 38
Cake\Controller\Controller::__construct() - CORE/src/Controller/Controller.php, line 273
ReflectionClass::newInstance() - [internal], line ??
Cake\Http\ControllerFactory::create() - CORE/src/Http/ControllerFactory.php, line 47
Cake\Http\ActionDispatcher::dispatch() - CORE/src/Http/ActionDispatcher.php, line 91
Cake\Http\BaseApplication::__invoke() - CORE/src/Http/BaseApplication.php, line 235
Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65
Cake\Routing\Middleware\RoutingMiddleware::__invoke() - CORE/src/Routing/Middleware/RoutingMiddleware.php, line 162
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 96
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 98
[main] - ROOT/webroot/index.php, line 40
Notice (8): Undefined index: la-maison [APP/Controller/AppController.php, line 110]Code Context foreach ($settingsDB as $key => $s) {
$settings[$s->meta_key] = $s->_translations[$this->getCurrentLocale()]->meta_value;
$titles[$s->meta_key] = $s->_translations[$this->getCurrentLocale()]->name;
$locales = [
(int) 0 => object(App\Model\Entity\Locale) {
'id' => 'c79e08dd-4b98-40da-812f-166a5627cafe',
'locale' => 'fr',
'name' => 'French',
'position' => (int) 1,
'active' => true,
'flag' => 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgBAMAAACBVGfHAAAAA3NCSVQICAjb4U/gAAAACXBIWXMAAADdAAAA3QFwU6IHAAAAGXRFWHRTb2Z0d2FyZQB3d3cuaW5rc2NhcGUub3Jnm+48GgAAACdQTFRF////QUib/0tUh4y+/XiAQkab9PT0/0pVkpTC/mRtQUeb9fX1/0tVpPINxQAAAAp0Uk5TAFJSamp4eHjGxmzCt2wAAAArSURBVCjPY2RAA4zUEBB1AJIPDYDEP2Eg8ZtxFQOKAMOoAOUCGIFMi6gEAD39PvX2T/ZKAAAAAElFTkSuQmCC',
'front' => true,
'[new]' => false,
'[accessible]' => [
[maximum depth reached]
],
'[dirty]' => [[maximum depth reached]],
'[original]' => [[maximum depth reached]],
'[virtual]' => [[maximum depth reached]],
'[hasErrors]' => false,
'[errors]' => [[maximum depth reached]],
'[invalid]' => [[maximum depth reached]],
'[repository]' => 'Locales'
},
(int) 1 => object(App\Model\Entity\Locale) {
'id' => '073aae08-53c1-11e9-bb3d-7054d219d6c5',
'locale' => 'es',
'name' => 'Español',
'position' => (int) 0,
'active' => true,
'flag' => 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAMAAABEpIrGAAAAA3NCSVQICAjb4U/gAAAACXBIWXMAAADdAAAA3QFwU6IHAAAAGXRFWHRTb2Z0d2FyZQB3d3cuaW5rc2NhcGUub3Jnm+48GgAAARpQTFRF////x0FLyEJKgXaZoI6wuKV1watwyEFLy0pLzntc0rZn1GJZ1WVW1bhm1mxd13JW13Vx2nFQ229L23JN23xM3IyF3I+V3JKY3Y2G3nVJ33dJ34Zs4JOA4XhH4X9Q4ZV845Bk5JJi5LG15aWL5btz5b185pFh5pRk5pZs5px558Nc6ItI6KR16cFp6pBI66lx7ZxQ7aNO7q1h7rR17tjW76BO78BX8KpP8LJk8buC8stZ9LhX9Net9PPz9efR9fHz9fX198BY98dz98xX99/s9+Lt9+3R+MVe+N2d+dOA+deU+eat+sBQ+stf+8hm+8xZ+9Bw/Lzd/MtQ/N2E/N6G/dlx/sxP/s5R/tRa/tZk/tdp/9JQ/9JR/9NThpihEAAAAAN0Uk5TAFJ4LCUCBgAAAKRJREFUOI1jYBgKgJEJL2BkYCcAqKCAgwBgiCYAYApiQ/xCY/AoiLGR4Vb2wKkgyDxaUVhI0CjaEIcCH1N3aTVLL+9wgzDsCoLtdLS1lQJdoxwisCvQF+WTFWFxsVcQs8auwFjCSY6TmZ/HQtwRuwJPtwApKU09SV9bf+wKdFWc1TVMBOStVM2wK2Bj1YqODI6I5mXlwq4AHyAcWXRIMAQT7VAAACQKgMq9uRSqAAAAAElFTkSuQmCC',
'front' => true,
'[new]' => false,
'[accessible]' => [
[maximum depth reached]
],
'[dirty]' => [[maximum depth reached]],
'[original]' => [[maximum depth reached]],
'[virtual]' => [[maximum depth reached]],
'[hasErrors]' => false,
'[errors]' => [[maximum depth reached]],
'[invalid]' => [[maximum depth reached]],
'[repository]' => 'Locales'
},
(int) 2 => object(App\Model\Entity\Locale) {
'id' => '99c33239-48e4-4692-adb0-30a7c352e556',
'locale' => 'en',
'name' => 'English',
'position' => (int) 0,
'active' => true,
'flag' => 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAAA3QAAAN0BcFOiBwAAABl0RVh0U29mdHdhcmUAd3d3Lmlua3NjYXBlLm9yZ5vuPBoAAATuSURBVFiF7ZdrUNRlFMZ/+2dhXVoW5DJcAgTjamopziiWYuhMYpHGRUk0Gs1gIshboIYMoWNqahQyig41hJLXcgSvQ6VyS2WE1IBABRSZ5b673BZYdvtQ4QUYHb7QB55v7zlz5nnOvO+c57wivV7PSEIYUfZRAf8HAeJL65MbJ8UuvSQ2EveVPewy3naqxkPZ0SsZqmD+KxYPI9+0u9/iH+n9eNw8K6Uw5UKd4/k/ml98FqmrjVQd/65DhTg1015suzvFsuHM+SDV6nA8Q3xIWeHCrqxaUnPq6NbqBhR7jTdxBLx7coueTjk2tvWQW64aktja1IiNixxZ0ldDh1/CRM3tSgR1oD/CnWrGRsRQ89YnNBf9ReJiJ4q+9CJ4hhUi0bP6eTakRgIx/g4UhZmxMHk7qoBotOX3MF4ZiJDptwz1qTQ0Pt5I8q8jXfghle8nIGlt5eBH7vwS9yoz3UyHRSyIIPR1a4rXOhP56yE6fMPozilEMn8WlgWZyHfHICSdrcXvmJqL0bG0pu2hz9MFk9Pn0M8OoXRdMu5mcHbDJDKjPHG1kT43ue/LZuTFerKj/jdEc96jK+M0hpPdMM/ex9gju1Db2bMh8x4iArL7R6GLjZSEwHE45ediuf97qKsHK3OaVoXhuSYYvYFAVYMGVxspCrPpTxDaKK+ScKKaizdb2RrkyIziXNq3HUBX34yBvQ2yzRFIF89Ho9WTmlPH7uxa1F3aJwX8B283OYnv2GF8+CcsM46iV7ejc3VGGb2KCcvnAgwqoKpBg23JDdrjk9GW30MklyFbG4ZxRAhIjDh+tZEtJ6t50NzdXyc6kVs1qBkIgoiZrnI661tQXLn1iMhnMub2FoMK0LWo6L1R2h8znOKJYGEGQF1rN6W1nQN4REqlclhuNJiA4UBUjvuI2uGIj+JRASP+CMU5t1oHBCfYG2M39h9D1DUr6S0u688ZTp2AYD74aG6pbUZx+eYjUbMnYWxtTkGlGp1u8D7FQV//2X9wsJCwOdAJWzMJek0PnfuP0L4nHb26HbHHeGSJUdRoJTgP0Y25vQUKnQ6zbw8iVFbRK5dxd/kSTEIDiD9TR2GFekCNACCXivki2Inr27xYPN0SzbFzNE0Lpi0hBZFUgvybjdw8sBffPCnpVxRD0EOlogu3UF+sCw7TtGkNeokRFilpOASt4CvjuxyK9MDlKT8RIubZUbJjGp/62SNcLaH5jQ9QhSega1Ehi11JU1YGy5pcCEgqo7S2Y0hygMN59XjH3eDCbSUTY0IwuXaclpXLECnVWMZvZ0r0GjK8NOwMfQkLmSHw7yPUVlTTFr+X7vO5IAhIQ9+mK2oFW/La+TG/nsevb/UCexKCnIY0o6SztQDMdDNl6xJnpjrLaLijQJW4H5PsC6DTofHxpuezcDIVUsTqdTvpTD8F2j4k87wRx31McpWE5D1VdPUM3IieFwUVKuZuLSFouhXxgU64/pBAVW4wwvZ9jLlcyJj8ayxduABxZ9pJxBNdeSExiqMG4/gy/T71qp5hEz8OvR6O/97I6aJmwufZsd7fHfmZvZQduYxpUiryk1mIZXER17ThS2s///mBW6WiUe5mK8XNdujFw8rE6CFw32jWNO+nUoVWJkaOszxMB11Ki6vbiPzuTvemRePKPUN8OrUBrxnc2pE5RzT6NRsVMNIC/gaY0PLtJgQJ0gAAAABJRU5ErkJggg==',
'front' => true,
'[new]' => false,
'[accessible]' => [
[maximum depth reached]
],
'[dirty]' => [[maximum depth reached]],
'[original]' => [[maximum depth reached]],
'[virtual]' => [[maximum depth reached]],
'[hasErrors]' => false,
'[errors]' => [[maximum depth reached]],
'[invalid]' => [[maximum depth reached]],
'[repository]' => 'Locales'
},
(int) 3 => object(App\Model\Entity\Locale) {
'id' => 'a20c3c73-53c0-11e9-bb3d-7054d219d6c5',
'locale' => 'de',
'name' => 'Deutsch',
'position' => (int) 0,
'active' => true,
'flag' => 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgBAMAAACBVGfHAAAAA3NCSVQICAjb4U/gAAAACXBIWXMAAADdAAAA3QFwU6IHAAAAGXRFWHRTb2Z0d2FyZQB3d3cuaW5rc2NhcGUub3Jnm+48GgAAAB5QTFRF////SEhU/+BaRkZV/+FZwUlV/31WRkZV/0tV/+FagNv1tgAAAAd0Uk5TAFJSeHjAwPIGe2oAAAAqSURBVCjPY2FAAyzUEBBWQOH/Y0mhhS0YAvfQBYyHs7Xd6IF85w71bQEAwy4HmS9PAQYAAAAASUVORK5CYII=',
'front' => true,
'[new]' => false,
'[accessible]' => [
[maximum depth reached]
],
'[dirty]' => [[maximum depth reached]],
'[original]' => [[maximum depth reached]],
'[virtual]' => [[maximum depth reached]],
'[hasErrors]' => false,
'[errors]' => [[maximum depth reached]],
'[invalid]' => [[maximum depth reached]],
'[repository]' => 'Locales'
}
]
$session = object(Cake\Http\Session) {
[protected] _engine => null
[protected] _started => true
[protected] _lifetime => (int) 86400
[protected] _isCLI => false
}
$lng = 'la-maison'
$currentLocal = 'la-maison'
$settingsDB = object(SoftDelete\ORM\Query) {
'(help)' => 'This is a Query object, to get the results execute or iterate it.',
'sql' => 'SELECT Settings.id AS `Settings__id`, Settings.meta_key AS `Settings__meta_key`, Settings.meta_value AS `Settings__meta_value`, Settings.name AS `Settings__name`, Settings.description AS `Settings__description`, Settings.deleted AS `Settings__deleted`, Settings_meta_value_translation.id AS `Settings_meta_value_translation__id`, Settings_meta_value_translation.locale AS `Settings_meta_value_translation__locale`, Settings_meta_value_translation.model AS `Settings_meta_value_translation__model`, Settings_meta_value_translation.foreign_key AS `Settings_meta_value_translation__foreign_key`, Settings_meta_value_translation.field AS `Settings_meta_value_translation__field`, Settings_meta_value_translation.content AS `Settings_meta_value_translation__content`, Settings_name_translation.id AS `Settings_name_translation__id`, Settings_name_translation.locale AS `Settings_name_translation__locale`, Settings_name_translation.model AS `Settings_name_translation__model`, Settings_name_translation.foreign_key AS `Settings_name_translation__foreign_key`, Settings_name_translation.field AS `Settings_name_translation__field`, Settings_name_translation.content AS `Settings_name_translation__content`, Settings_description_translation.id AS `Settings_description_translation__id`, Settings_description_translation.locale AS `Settings_description_translation__locale`, Settings_description_translation.model AS `Settings_description_translation__model`, Settings_description_translation.foreign_key AS `Settings_description_translation__foreign_key`, Settings_description_translation.field AS `Settings_description_translation__field`, Settings_description_translation.content AS `Settings_description_translation__content` FROM settings Settings LEFT JOIN i18n Settings_meta_value_translation ON (Settings_meta_value_translation.model = :c0 AND Settings_meta_value_translation.field = :c1 AND Settings_meta_value_translation.locale = :c2 AND Settings.id = (Settings_meta_value_translation.foreign_key)) LEFT JOIN i18n Settings_name_translation ON (Settings_name_translation.model = :c3 AND Settings_name_translation.field = :c4 AND Settings_name_translation.locale = :c5 AND Settings.id = (Settings_name_translation.foreign_key)) LEFT JOIN i18n Settings_description_translation ON (Settings_description_translation.model = :c6 AND Settings_description_translation.field = :c7 AND Settings_description_translation.locale = :c8 AND Settings.id = (Settings_description_translation.foreign_key)) WHERE Settings.deleted IS NULL',
'params' => [
':c0' => [
[maximum depth reached]
],
':c1' => [
[maximum depth reached]
],
':c2' => [
[maximum depth reached]
],
':c3' => [
[maximum depth reached]
],
':c4' => [
[maximum depth reached]
],
':c5' => [
[maximum depth reached]
],
':c6' => [
[maximum depth reached]
],
':c7' => [
[maximum depth reached]
],
':c8' => [
[maximum depth reached]
]
],
'defaultTypes' => [
'Settings__id' => 'uuid',
'Settings.id' => 'uuid',
'id' => 'uuid',
'Settings__meta_key' => 'string',
'Settings.meta_key' => 'string',
'meta_key' => 'string',
'Settings__meta_value' => 'text',
'Settings.meta_value' => 'text',
'meta_value' => 'text',
'Settings__name' => 'string',
'Settings.name' => 'string',
'name' => 'string',
'Settings__description' => 'text',
'Settings.description' => 'text',
'description' => 'text',
'Settings__deleted' => 'datetime',
'Settings.deleted' => 'datetime',
'deleted' => 'datetime',
'I18n__id' => 'integer',
'I18n.id' => 'integer',
'I18n__locale' => 'string',
'I18n.locale' => 'string',
'locale' => 'string',
'I18n__model' => 'string',
'I18n.model' => 'string',
'model' => 'string',
'I18n__foreign_key' => 'uuid',
'I18n.foreign_key' => 'uuid',
'foreign_key' => 'uuid',
'I18n__field' => 'string',
'I18n.field' => 'string',
'field' => 'string',
'I18n__content' => 'text',
'I18n.content' => 'text',
'content' => 'text',
'Settings_meta_value_translation__id' => 'integer',
'Settings_meta_value_translation.id' => 'integer',
'Settings_meta_value_translation__locale' => 'string',
'Settings_meta_value_translation.locale' => 'string',
'Settings_meta_value_translation__model' => 'string',
'Settings_meta_value_translation.model' => 'string',
'Settings_meta_value_translation__foreign_key' => 'uuid',
'Settings_meta_value_translation.foreign_key' => 'uuid',
'Settings_meta_value_translation__field' => 'string',
'Settings_meta_value_translation.field' => 'string',
'Settings_meta_value_translation__content' => 'text',
'Settings_meta_value_translation.content' => 'text',
'Settings_name_translation__id' => 'integer',
'Settings_name_translation.id' => 'integer',
'Settings_name_translation__locale' => 'string',
'Settings_name_translation.locale' => 'string',
'Settings_name_translation__model' => 'string',
'Settings_name_translation.model' => 'string',
'Settings_name_translation__foreign_key' => 'uuid',
'Settings_name_translation.foreign_key' => 'uuid',
'Settings_name_translation__field' => 'string',
'Settings_name_translation.field' => 'string',
'Settings_name_translation__content' => 'text',
'Settings_name_translation.content' => 'text',
'Settings_description_translation__id' => 'integer',
'Settings_description_translation.id' => 'integer',
'Settings_description_translation__locale' => 'string',
'Settings_description_translation.locale' => 'string',
'Settings_description_translation__model' => 'string',
'Settings_description_translation.model' => 'string',
'Settings_description_translation__foreign_key' => 'uuid',
'Settings_description_translation.foreign_key' => 'uuid',
'Settings_description_translation__field' => 'string',
'Settings_description_translation.field' => 'string',
'Settings_description_translation__content' => 'text',
'Settings_description_translation.content' => 'text'
],
'decorators' => (int) 0,
'executed' => true,
'hydrate' => true,
'buffered' => true,
'formatters' => (int) 2,
'mapReducers' => (int) 0,
'contain' => [
'I18n' => [
[maximum depth reached]
],
'Settings_meta_value_translation' => [
[maximum depth reached]
],
'Settings_name_translation' => [
[maximum depth reached]
],
'Settings_description_translation' => [
[maximum depth reached]
]
],
'matching' => [],
'extraOptions' => [],
'repository' => object(App\Model\Table\SettingsTable) {}
}
$settings = [
'copyright' => null,
'facebook' => null,
'title_faq' => null,
'btn_discover_name' => null,
'btn_choose' => null,
'systempay_key' => null,
'partners_section_title' => null
]
$titles = [
'copyright' => null,
'facebook' => null,
'title_faq' => null,
'btn_discover_name' => null,
'btn_choose' => null,
'systempay_key' => null,
'partners_section_title' => null
]
$key = (int) 7
$s = object(App\Model\Entity\Setting) {
'id' => '1f69ac77-1a41-4345-90e6-35d5e5f7173b',
'meta_key' => 'assembly',
'meta_value' => '',
'name' => 'Dégustation',
'description' => '',
'deleted' => null,
'_locale' => 'la-maison',
'_translations' => [
'fr' => object(App\Model\Entity\Setting) {},
'en' => object(App\Model\Entity\Setting) {},
'es' => object(App\Model\Entity\Setting) {},
'pt' => object(App\Model\Entity\Setting) {},
'de' => object(App\Model\Entity\Setting) {},
'it' => object(App\Model\Entity\Setting) {}
],
'[new]' => false,
'[accessible]' => [
'meta_key' => true,
'meta_value' => true,
'name' => true,
'description' => true
],
'[dirty]' => [],
'[original]' => [],
'[virtual]' => [],
'[hasErrors]' => false,
'[errors]' => [],
'[invalid]' => [],
'[repository]' => 'Settings'
}
App\Controller\AppController::initialize() - APP/Controller/AppController.php, line 110
App\Controller\PagesController::initialize() - APP/Controller/PagesController.php, line 38
Cake\Controller\Controller::__construct() - CORE/src/Controller/Controller.php, line 273
ReflectionClass::newInstance() - [internal], line ??
Cake\Http\ControllerFactory::create() - CORE/src/Http/ControllerFactory.php, line 47
Cake\Http\ActionDispatcher::dispatch() - CORE/src/Http/ActionDispatcher.php, line 91
Cake\Http\BaseApplication::__invoke() - CORE/src/Http/BaseApplication.php, line 235
Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65
Cake\Routing\Middleware\RoutingMiddleware::__invoke() - CORE/src/Routing/Middleware/RoutingMiddleware.php, line 162
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 96
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 98
[main] - ROOT/webroot/index.php, line 40
Notice (8): Trying to get property of non-object [APP/Controller/AppController.php, line 110]Code Context foreach ($settingsDB as $key => $s) {
$settings[$s->meta_key] = $s->_translations[$this->getCurrentLocale()]->meta_value;
$titles[$s->meta_key] = $s->_translations[$this->getCurrentLocale()]->name;
$locales = [
(int) 0 => object(App\Model\Entity\Locale) {
'id' => 'c79e08dd-4b98-40da-812f-166a5627cafe',
'locale' => 'fr',
'name' => 'French',
'position' => (int) 1,
'active' => true,
'flag' => 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgBAMAAACBVGfHAAAAA3NCSVQICAjb4U/gAAAACXBIWXMAAADdAAAA3QFwU6IHAAAAGXRFWHRTb2Z0d2FyZQB3d3cuaW5rc2NhcGUub3Jnm+48GgAAACdQTFRF////QUib/0tUh4y+/XiAQkab9PT0/0pVkpTC/mRtQUeb9fX1/0tVpPINxQAAAAp0Uk5TAFJSamp4eHjGxmzCt2wAAAArSURBVCjPY2RAA4zUEBB1AJIPDYDEP2Eg8ZtxFQOKAMOoAOUCGIFMi6gEAD39PvX2T/ZKAAAAAElFTkSuQmCC',
'front' => true,
'[new]' => false,
'[accessible]' => [
[maximum depth reached]
],
'[dirty]' => [[maximum depth reached]],
'[original]' => [[maximum depth reached]],
'[virtual]' => [[maximum depth reached]],
'[hasErrors]' => false,
'[errors]' => [[maximum depth reached]],
'[invalid]' => [[maximum depth reached]],
'[repository]' => 'Locales'
},
(int) 1 => object(App\Model\Entity\Locale) {
'id' => '073aae08-53c1-11e9-bb3d-7054d219d6c5',
'locale' => 'es',
'name' => 'Español',
'position' => (int) 0,
'active' => true,
'flag' => 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAMAAABEpIrGAAAAA3NCSVQICAjb4U/gAAAACXBIWXMAAADdAAAA3QFwU6IHAAAAGXRFWHRTb2Z0d2FyZQB3d3cuaW5rc2NhcGUub3Jnm+48GgAAARpQTFRF////x0FLyEJKgXaZoI6wuKV1watwyEFLy0pLzntc0rZn1GJZ1WVW1bhm1mxd13JW13Vx2nFQ229L23JN23xM3IyF3I+V3JKY3Y2G3nVJ33dJ34Zs4JOA4XhH4X9Q4ZV845Bk5JJi5LG15aWL5btz5b185pFh5pRk5pZs5px558Nc6ItI6KR16cFp6pBI66lx7ZxQ7aNO7q1h7rR17tjW76BO78BX8KpP8LJk8buC8stZ9LhX9Net9PPz9efR9fHz9fX198BY98dz98xX99/s9+Lt9+3R+MVe+N2d+dOA+deU+eat+sBQ+stf+8hm+8xZ+9Bw/Lzd/MtQ/N2E/N6G/dlx/sxP/s5R/tRa/tZk/tdp/9JQ/9JR/9NThpihEAAAAAN0Uk5TAFJ4LCUCBgAAAKRJREFUOI1jYBgKgJEJL2BkYCcAqKCAgwBgiCYAYApiQ/xCY/AoiLGR4Vb2wKkgyDxaUVhI0CjaEIcCH1N3aTVLL+9wgzDsCoLtdLS1lQJdoxwisCvQF+WTFWFxsVcQs8auwFjCSY6TmZ/HQtwRuwJPtwApKU09SV9bf+wKdFWc1TVMBOStVM2wK2Bj1YqODI6I5mXlwq4AHyAcWXRIMAQT7VAAACQKgMq9uRSqAAAAAElFTkSuQmCC',
'front' => true,
'[new]' => false,
'[accessible]' => [
[maximum depth reached]
],
'[dirty]' => [[maximum depth reached]],
'[original]' => [[maximum depth reached]],
'[virtual]' => [[maximum depth reached]],
'[hasErrors]' => false,
'[errors]' => [[maximum depth reached]],
'[invalid]' => [[maximum depth reached]],
'[repository]' => 'Locales'
},
(int) 2 => object(App\Model\Entity\Locale) {
'id' => '99c33239-48e4-4692-adb0-30a7c352e556',
'locale' => 'en',
'name' => 'English',
'position' => (int) 0,
'active' => true,
'flag' => 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAAA3QAAAN0BcFOiBwAAABl0RVh0U29mdHdhcmUAd3d3Lmlua3NjYXBlLm9yZ5vuPBoAAATuSURBVFiF7ZdrUNRlFMZ/+2dhXVoW5DJcAgTjamopziiWYuhMYpHGRUk0Gs1gIshboIYMoWNqahQyig41hJLXcgSvQ6VyS2WE1IBABRSZ5b673BZYdvtQ4QUYHb7QB55v7zlz5nnOvO+c57wivV7PSEIYUfZRAf8HAeJL65MbJ8UuvSQ2EveVPewy3naqxkPZ0SsZqmD+KxYPI9+0u9/iH+n9eNw8K6Uw5UKd4/k/ml98FqmrjVQd/65DhTg1015suzvFsuHM+SDV6nA8Q3xIWeHCrqxaUnPq6NbqBhR7jTdxBLx7coueTjk2tvWQW64aktja1IiNixxZ0ldDh1/CRM3tSgR1oD/CnWrGRsRQ89YnNBf9ReJiJ4q+9CJ4hhUi0bP6eTakRgIx/g4UhZmxMHk7qoBotOX3MF4ZiJDptwz1qTQ0Pt5I8q8jXfghle8nIGlt5eBH7vwS9yoz3UyHRSyIIPR1a4rXOhP56yE6fMPozilEMn8WlgWZyHfHICSdrcXvmJqL0bG0pu2hz9MFk9Pn0M8OoXRdMu5mcHbDJDKjPHG1kT43ue/LZuTFerKj/jdEc96jK+M0hpPdMM/ex9gju1Db2bMh8x4iArL7R6GLjZSEwHE45ediuf97qKsHK3OaVoXhuSYYvYFAVYMGVxspCrPpTxDaKK+ScKKaizdb2RrkyIziXNq3HUBX34yBvQ2yzRFIF89Ho9WTmlPH7uxa1F3aJwX8B283OYnv2GF8+CcsM46iV7ejc3VGGb2KCcvnAgwqoKpBg23JDdrjk9GW30MklyFbG4ZxRAhIjDh+tZEtJ6t50NzdXyc6kVs1qBkIgoiZrnI661tQXLn1iMhnMub2FoMK0LWo6L1R2h8znOKJYGEGQF1rN6W1nQN4REqlclhuNJiA4UBUjvuI2uGIj+JRASP+CMU5t1oHBCfYG2M39h9D1DUr6S0u688ZTp2AYD74aG6pbUZx+eYjUbMnYWxtTkGlGp1u8D7FQV//2X9wsJCwOdAJWzMJek0PnfuP0L4nHb26HbHHeGSJUdRoJTgP0Y25vQUKnQ6zbw8iVFbRK5dxd/kSTEIDiD9TR2GFekCNACCXivki2Inr27xYPN0SzbFzNE0Lpi0hBZFUgvybjdw8sBffPCnpVxRD0EOlogu3UF+sCw7TtGkNeokRFilpOASt4CvjuxyK9MDlKT8RIubZUbJjGp/62SNcLaH5jQ9QhSega1Ehi11JU1YGy5pcCEgqo7S2Y0hygMN59XjH3eDCbSUTY0IwuXaclpXLECnVWMZvZ0r0GjK8NOwMfQkLmSHw7yPUVlTTFr+X7vO5IAhIQ9+mK2oFW/La+TG/nsevb/UCexKCnIY0o6SztQDMdDNl6xJnpjrLaLijQJW4H5PsC6DTofHxpuezcDIVUsTqdTvpTD8F2j4k87wRx31McpWE5D1VdPUM3IieFwUVKuZuLSFouhXxgU64/pBAVW4wwvZ9jLlcyJj8ayxduABxZ9pJxBNdeSExiqMG4/gy/T71qp5hEz8OvR6O/97I6aJmwufZsd7fHfmZvZQduYxpUiryk1mIZXER17ThS2s///mBW6WiUe5mK8XNdujFw8rE6CFw32jWNO+nUoVWJkaOszxMB11Ki6vbiPzuTvemRePKPUN8OrUBrxnc2pE5RzT6NRsVMNIC/gaY0PLtJgQJ0gAAAABJRU5ErkJggg==',
'front' => true,
'[new]' => false,
'[accessible]' => [
[maximum depth reached]
],
'[dirty]' => [[maximum depth reached]],
'[original]' => [[maximum depth reached]],
'[virtual]' => [[maximum depth reached]],
'[hasErrors]' => false,
'[errors]' => [[maximum depth reached]],
'[invalid]' => [[maximum depth reached]],
'[repository]' => 'Locales'
},
(int) 3 => object(App\Model\Entity\Locale) {
'id' => 'a20c3c73-53c0-11e9-bb3d-7054d219d6c5',
'locale' => 'de',
'name' => 'Deutsch',
'position' => (int) 0,
'active' => true,
'flag' => 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgBAMAAACBVGfHAAAAA3NCSVQICAjb4U/gAAAACXBIWXMAAADdAAAA3QFwU6IHAAAAGXRFWHRTb2Z0d2FyZQB3d3cuaW5rc2NhcGUub3Jnm+48GgAAAB5QTFRF////SEhU/+BaRkZV/+FZwUlV/31WRkZV/0tV/+FagNv1tgAAAAd0Uk5TAFJSeHjAwPIGe2oAAAAqSURBVCjPY2FAAyzUEBBWQOH/Y0mhhS0YAvfQBYyHs7Xd6IF85w71bQEAwy4HmS9PAQYAAAAASUVORK5CYII=',
'front' => true,
'[new]' => false,
'[accessible]' => [
[maximum depth reached]
],
'[dirty]' => [[maximum depth reached]],
'[original]' => [[maximum depth reached]],
'[virtual]' => [[maximum depth reached]],
'[hasErrors]' => false,
'[errors]' => [[maximum depth reached]],
'[invalid]' => [[maximum depth reached]],
'[repository]' => 'Locales'
}
]
$session = object(Cake\Http\Session) {
[protected] _engine => null
[protected] _started => true
[protected] _lifetime => (int) 86400
[protected] _isCLI => false
}
$lng = 'la-maison'
$currentLocal = 'la-maison'
$settingsDB = object(SoftDelete\ORM\Query) {
'(help)' => 'This is a Query object, to get the results execute or iterate it.',
'sql' => 'SELECT Settings.id AS `Settings__id`, Settings.meta_key AS `Settings__meta_key`, Settings.meta_value AS `Settings__meta_value`, Settings.name AS `Settings__name`, Settings.description AS `Settings__description`, Settings.deleted AS `Settings__deleted`, Settings_meta_value_translation.id AS `Settings_meta_value_translation__id`, Settings_meta_value_translation.locale AS `Settings_meta_value_translation__locale`, Settings_meta_value_translation.model AS `Settings_meta_value_translation__model`, Settings_meta_value_translation.foreign_key AS `Settings_meta_value_translation__foreign_key`, Settings_meta_value_translation.field AS `Settings_meta_value_translation__field`, Settings_meta_value_translation.content AS `Settings_meta_value_translation__content`, Settings_name_translation.id AS `Settings_name_translation__id`, Settings_name_translation.locale AS `Settings_name_translation__locale`, Settings_name_translation.model AS `Settings_name_translation__model`, Settings_name_translation.foreign_key AS `Settings_name_translation__foreign_key`, Settings_name_translation.field AS `Settings_name_translation__field`, Settings_name_translation.content AS `Settings_name_translation__content`, Settings_description_translation.id AS `Settings_description_translation__id`, Settings_description_translation.locale AS `Settings_description_translation__locale`, Settings_description_translation.model AS `Settings_description_translation__model`, Settings_description_translation.foreign_key AS `Settings_description_translation__foreign_key`, Settings_description_translation.field AS `Settings_description_translation__field`, Settings_description_translation.content AS `Settings_description_translation__content` FROM settings Settings LEFT JOIN i18n Settings_meta_value_translation ON (Settings_meta_value_translation.model = :c0 AND Settings_meta_value_translation.field = :c1 AND Settings_meta_value_translation.locale = :c2 AND Settings.id = (Settings_meta_value_translation.foreign_key)) LEFT JOIN i18n Settings_name_translation ON (Settings_name_translation.model = :c3 AND Settings_name_translation.field = :c4 AND Settings_name_translation.locale = :c5 AND Settings.id = (Settings_name_translation.foreign_key)) LEFT JOIN i18n Settings_description_translation ON (Settings_description_translation.model = :c6 AND Settings_description_translation.field = :c7 AND Settings_description_translation.locale = :c8 AND Settings.id = (Settings_description_translation.foreign_key)) WHERE Settings.deleted IS NULL',
'params' => [
':c0' => [
[maximum depth reached]
],
':c1' => [
[maximum depth reached]
],
':c2' => [
[maximum depth reached]
],
':c3' => [
[maximum depth reached]
],
':c4' => [
[maximum depth reached]
],
':c5' => [
[maximum depth reached]
],
':c6' => [
[maximum depth reached]
],
':c7' => [
[maximum depth reached]
],
':c8' => [
[maximum depth reached]
]
],
'defaultTypes' => [
'Settings__id' => 'uuid',
'Settings.id' => 'uuid',
'id' => 'uuid',
'Settings__meta_key' => 'string',
'Settings.meta_key' => 'string',
'meta_key' => 'string',
'Settings__meta_value' => 'text',
'Settings.meta_value' => 'text',
'meta_value' => 'text',
'Settings__name' => 'string',
'Settings.name' => 'string',
'name' => 'string',
'Settings__description' => 'text',
'Settings.description' => 'text',
'description' => 'text',
'Settings__deleted' => 'datetime',
'Settings.deleted' => 'datetime',
'deleted' => 'datetime',
'I18n__id' => 'integer',
'I18n.id' => 'integer',
'I18n__locale' => 'string',
'I18n.locale' => 'string',
'locale' => 'string',
'I18n__model' => 'string',
'I18n.model' => 'string',
'model' => 'string',
'I18n__foreign_key' => 'uuid',
'I18n.foreign_key' => 'uuid',
'foreign_key' => 'uuid',
'I18n__field' => 'string',
'I18n.field' => 'string',
'field' => 'string',
'I18n__content' => 'text',
'I18n.content' => 'text',
'content' => 'text',
'Settings_meta_value_translation__id' => 'integer',
'Settings_meta_value_translation.id' => 'integer',
'Settings_meta_value_translation__locale' => 'string',
'Settings_meta_value_translation.locale' => 'string',
'Settings_meta_value_translation__model' => 'string',
'Settings_meta_value_translation.model' => 'string',
'Settings_meta_value_translation__foreign_key' => 'uuid',
'Settings_meta_value_translation.foreign_key' => 'uuid',
'Settings_meta_value_translation__field' => 'string',
'Settings_meta_value_translation.field' => 'string',
'Settings_meta_value_translation__content' => 'text',
'Settings_meta_value_translation.content' => 'text',
'Settings_name_translation__id' => 'integer',
'Settings_name_translation.id' => 'integer',
'Settings_name_translation__locale' => 'string',
'Settings_name_translation.locale' => 'string',
'Settings_name_translation__model' => 'string',
'Settings_name_translation.model' => 'string',
'Settings_name_translation__foreign_key' => 'uuid',
'Settings_name_translation.foreign_key' => 'uuid',
'Settings_name_translation__field' => 'string',
'Settings_name_translation.field' => 'string',
'Settings_name_translation__content' => 'text',
'Settings_name_translation.content' => 'text',
'Settings_description_translation__id' => 'integer',
'Settings_description_translation.id' => 'integer',
'Settings_description_translation__locale' => 'string',
'Settings_description_translation.locale' => 'string',
'Settings_description_translation__model' => 'string',
'Settings_description_translation.model' => 'string',
'Settings_description_translation__foreign_key' => 'uuid',
'Settings_description_translation.foreign_key' => 'uuid',
'Settings_description_translation__field' => 'string',
'Settings_description_translation.field' => 'string',
'Settings_description_translation__content' => 'text',
'Settings_description_translation.content' => 'text'
],
'decorators' => (int) 0,
'executed' => true,
'hydrate' => true,
'buffered' => true,
'formatters' => (int) 2,
'mapReducers' => (int) 0,
'contain' => [
'I18n' => [
[maximum depth reached]
],
'Settings_meta_value_translation' => [
[maximum depth reached]
],
'Settings_name_translation' => [
[maximum depth reached]
],
'Settings_description_translation' => [
[maximum depth reached]
]
],
'matching' => [],
'extraOptions' => [],
'repository' => object(App\Model\Table\SettingsTable) {}
}
$settings = [
'copyright' => null,
'facebook' => null,
'title_faq' => null,
'btn_discover_name' => null,
'btn_choose' => null,
'systempay_key' => null,
'partners_section_title' => null
]
$titles = [
'copyright' => null,
'facebook' => null,
'title_faq' => null,
'btn_discover_name' => null,
'btn_choose' => null,
'systempay_key' => null,
'partners_section_title' => null
]
$key = (int) 7
$s = object(App\Model\Entity\Setting) {
'id' => '1f69ac77-1a41-4345-90e6-35d5e5f7173b',
'meta_key' => 'assembly',
'meta_value' => '',
'name' => 'Dégustation',
'description' => '',
'deleted' => null,
'_locale' => 'la-maison',
'_translations' => [
'fr' => object(App\Model\Entity\Setting) {},
'en' => object(App\Model\Entity\Setting) {},
'es' => object(App\Model\Entity\Setting) {},
'pt' => object(App\Model\Entity\Setting) {},
'de' => object(App\Model\Entity\Setting) {},
'it' => object(App\Model\Entity\Setting) {}
],
'[new]' => false,
'[accessible]' => [
'meta_key' => true,
'meta_value' => true,
'name' => true,
'description' => true
],
'[dirty]' => [],
'[original]' => [],
'[virtual]' => [],
'[hasErrors]' => false,
'[errors]' => [],
'[invalid]' => [],
'[repository]' => 'Settings'
}
App\Controller\AppController::initialize() - APP/Controller/AppController.php, line 110
App\Controller\PagesController::initialize() - APP/Controller/PagesController.php, line 38
Cake\Controller\Controller::__construct() - CORE/src/Controller/Controller.php, line 273
ReflectionClass::newInstance() - [internal], line ??
Cake\Http\ControllerFactory::create() - CORE/src/Http/ControllerFactory.php, line 47
Cake\Http\ActionDispatcher::dispatch() - CORE/src/Http/ActionDispatcher.php, line 91
Cake\Http\BaseApplication::__invoke() - CORE/src/Http/BaseApplication.php, line 235
Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65
Cake\Routing\Middleware\RoutingMiddleware::__invoke() - CORE/src/Routing/Middleware/RoutingMiddleware.php, line 162
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 96
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 98
[main] - ROOT/webroot/index.php, line 40
Notice (8): Undefined index: la-maison [APP/Controller/AppController.php, line 111]Code Context $settings[$s->meta_key] = $s->_translations[$this->getCurrentLocale()]->meta_value;
$titles[$s->meta_key] = $s->_translations[$this->getCurrentLocale()]->name;
}
$locales = [
(int) 0 => object(App\Model\Entity\Locale) {
'id' => 'c79e08dd-4b98-40da-812f-166a5627cafe',
'locale' => 'fr',
'name' => 'French',
'position' => (int) 1,
'active' => true,
'flag' => 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgBAMAAACBVGfHAAAAA3NCSVQICAjb4U/gAAAACXBIWXMAAADdAAAA3QFwU6IHAAAAGXRFWHRTb2Z0d2FyZQB3d3cuaW5rc2NhcGUub3Jnm+48GgAAACdQTFRF////QUib/0tUh4y+/XiAQkab9PT0/0pVkpTC/mRtQUeb9fX1/0tVpPINxQAAAAp0Uk5TAFJSamp4eHjGxmzCt2wAAAArSURBVCjPY2RAA4zUEBB1AJIPDYDEP2Eg8ZtxFQOKAMOoAOUCGIFMi6gEAD39PvX2T/ZKAAAAAElFTkSuQmCC',
'front' => true,
'[new]' => false,
'[accessible]' => [
[maximum depth reached]
],
'[dirty]' => [[maximum depth reached]],
'[original]' => [[maximum depth reached]],
'[virtual]' => [[maximum depth reached]],
'[hasErrors]' => false,
'[errors]' => [[maximum depth reached]],
'[invalid]' => [[maximum depth reached]],
'[repository]' => 'Locales'
},
(int) 1 => object(App\Model\Entity\Locale) {
'id' => '073aae08-53c1-11e9-bb3d-7054d219d6c5',
'locale' => 'es',
'name' => 'Español',
'position' => (int) 0,
'active' => true,
'flag' => 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAMAAABEpIrGAAAAA3NCSVQICAjb4U/gAAAACXBIWXMAAADdAAAA3QFwU6IHAAAAGXRFWHRTb2Z0d2FyZQB3d3cuaW5rc2NhcGUub3Jnm+48GgAAARpQTFRF////x0FLyEJKgXaZoI6wuKV1watwyEFLy0pLzntc0rZn1GJZ1WVW1bhm1mxd13JW13Vx2nFQ229L23JN23xM3IyF3I+V3JKY3Y2G3nVJ33dJ34Zs4JOA4XhH4X9Q4ZV845Bk5JJi5LG15aWL5btz5b185pFh5pRk5pZs5px558Nc6ItI6KR16cFp6pBI66lx7ZxQ7aNO7q1h7rR17tjW76BO78BX8KpP8LJk8buC8stZ9LhX9Net9PPz9efR9fHz9fX198BY98dz98xX99/s9+Lt9+3R+MVe+N2d+dOA+deU+eat+sBQ+stf+8hm+8xZ+9Bw/Lzd/MtQ/N2E/N6G/dlx/sxP/s5R/tRa/tZk/tdp/9JQ/9JR/9NThpihEAAAAAN0Uk5TAFJ4LCUCBgAAAKRJREFUOI1jYBgKgJEJL2BkYCcAqKCAgwBgiCYAYApiQ/xCY/AoiLGR4Vb2wKkgyDxaUVhI0CjaEIcCH1N3aTVLL+9wgzDsCoLtdLS1lQJdoxwisCvQF+WTFWFxsVcQs8auwFjCSY6TmZ/HQtwRuwJPtwApKU09SV9bf+wKdFWc1TVMBOStVM2wK2Bj1YqODI6I5mXlwq4AHyAcWXRIMAQT7VAAACQKgMq9uRSqAAAAAElFTkSuQmCC',
'front' => true,
'[new]' => false,
'[accessible]' => [
[maximum depth reached]
],
'[dirty]' => [[maximum depth reached]],
'[original]' => [[maximum depth reached]],
'[virtual]' => [[maximum depth reached]],
'[hasErrors]' => false,
'[errors]' => [[maximum depth reached]],
'[invalid]' => [[maximum depth reached]],
'[repository]' => 'Locales'
},
(int) 2 => object(App\Model\Entity\Locale) {
'id' => '99c33239-48e4-4692-adb0-30a7c352e556',
'locale' => 'en',
'name' => 'English',
'position' => (int) 0,
'active' => true,
'flag' => 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAAA3QAAAN0BcFOiBwAAABl0RVh0U29mdHdhcmUAd3d3Lmlua3NjYXBlLm9yZ5vuPBoAAATuSURBVFiF7ZdrUNRlFMZ/+2dhXVoW5DJcAgTjamopziiWYuhMYpHGRUk0Gs1gIshboIYMoWNqahQyig41hJLXcgSvQ6VyS2WE1IBABRSZ5b673BZYdvtQ4QUYHb7QB55v7zlz5nnOvO+c57wivV7PSEIYUfZRAf8HAeJL65MbJ8UuvSQ2EveVPewy3naqxkPZ0SsZqmD+KxYPI9+0u9/iH+n9eNw8K6Uw5UKd4/k/ml98FqmrjVQd/65DhTg1015suzvFsuHM+SDV6nA8Q3xIWeHCrqxaUnPq6NbqBhR7jTdxBLx7coueTjk2tvWQW64aktja1IiNixxZ0ldDh1/CRM3tSgR1oD/CnWrGRsRQ89YnNBf9ReJiJ4q+9CJ4hhUi0bP6eTakRgIx/g4UhZmxMHk7qoBotOX3MF4ZiJDptwz1qTQ0Pt5I8q8jXfghle8nIGlt5eBH7vwS9yoz3UyHRSyIIPR1a4rXOhP56yE6fMPozilEMn8WlgWZyHfHICSdrcXvmJqL0bG0pu2hz9MFk9Pn0M8OoXRdMu5mcHbDJDKjPHG1kT43ue/LZuTFerKj/jdEc96jK+M0hpPdMM/ex9gju1Db2bMh8x4iArL7R6GLjZSEwHE45ediuf97qKsHK3OaVoXhuSYYvYFAVYMGVxspCrPpTxDaKK+ScKKaizdb2RrkyIziXNq3HUBX34yBvQ2yzRFIF89Ho9WTmlPH7uxa1F3aJwX8B283OYnv2GF8+CcsM46iV7ejc3VGGb2KCcvnAgwqoKpBg23JDdrjk9GW30MklyFbG4ZxRAhIjDh+tZEtJ6t50NzdXyc6kVs1qBkIgoiZrnI661tQXLn1iMhnMub2FoMK0LWo6L1R2h8znOKJYGEGQF1rN6W1nQN4REqlclhuNJiA4UBUjvuI2uGIj+JRASP+CMU5t1oHBCfYG2M39h9D1DUr6S0u688ZTp2AYD74aG6pbUZx+eYjUbMnYWxtTkGlGp1u8D7FQV//2X9wsJCwOdAJWzMJek0PnfuP0L4nHb26HbHHeGSJUdRoJTgP0Y25vQUKnQ6zbw8iVFbRK5dxd/kSTEIDiD9TR2GFekCNACCXivki2Inr27xYPN0SzbFzNE0Lpi0hBZFUgvybjdw8sBffPCnpVxRD0EOlogu3UF+sCw7TtGkNeokRFilpOASt4CvjuxyK9MDlKT8RIubZUbJjGp/62SNcLaH5jQ9QhSega1Ehi11JU1YGy5pcCEgqo7S2Y0hygMN59XjH3eDCbSUTY0IwuXaclpXLECnVWMZvZ0r0GjK8NOwMfQkLmSHw7yPUVlTTFr+X7vO5IAhIQ9+mK2oFW/La+TG/nsevb/UCexKCnIY0o6SztQDMdDNl6xJnpjrLaLijQJW4H5PsC6DTofHxpuezcDIVUsTqdTvpTD8F2j4k87wRx31McpWE5D1VdPUM3IieFwUVKuZuLSFouhXxgU64/pBAVW4wwvZ9jLlcyJj8ayxduABxZ9pJxBNdeSExiqMG4/gy/T71qp5hEz8OvR6O/97I6aJmwufZsd7fHfmZvZQduYxpUiryk1mIZXER17ThS2s///mBW6WiUe5mK8XNdujFw8rE6CFw32jWNO+nUoVWJkaOszxMB11Ki6vbiPzuTvemRePKPUN8OrUBrxnc2pE5RzT6NRsVMNIC/gaY0PLtJgQJ0gAAAABJRU5ErkJggg==',
'front' => true,
'[new]' => false,
'[accessible]' => [
[maximum depth reached]
],
'[dirty]' => [[maximum depth reached]],
'[original]' => [[maximum depth reached]],
'[virtual]' => [[maximum depth reached]],
'[hasErrors]' => false,
'[errors]' => [[maximum depth reached]],
'[invalid]' => [[maximum depth reached]],
'[repository]' => 'Locales'
},
(int) 3 => object(App\Model\Entity\Locale) {
'id' => 'a20c3c73-53c0-11e9-bb3d-7054d219d6c5',
'locale' => 'de',
'name' => 'Deutsch',
'position' => (int) 0,
'active' => true,
'flag' => 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgBAMAAACBVGfHAAAAA3NCSVQICAjb4U/gAAAACXBIWXMAAADdAAAA3QFwU6IHAAAAGXRFWHRTb2Z0d2FyZQB3d3cuaW5rc2NhcGUub3Jnm+48GgAAAB5QTFRF////SEhU/+BaRkZV/+FZwUlV/31WRkZV/0tV/+FagNv1tgAAAAd0Uk5TAFJSeHjAwPIGe2oAAAAqSURBVCjPY2FAAyzUEBBWQOH/Y0mhhS0YAvfQBYyHs7Xd6IF85w71bQEAwy4HmS9PAQYAAAAASUVORK5CYII=',
'front' => true,
'[new]' => false,
'[accessible]' => [
[maximum depth reached]
],
'[dirty]' => [[maximum depth reached]],
'[original]' => [[maximum depth reached]],
'[virtual]' => [[maximum depth reached]],
'[hasErrors]' => false,
'[errors]' => [[maximum depth reached]],
'[invalid]' => [[maximum depth reached]],
'[repository]' => 'Locales'
}
]
$session = object(Cake\Http\Session) {
[protected] _engine => null
[protected] _started => true
[protected] _lifetime => (int) 86400
[protected] _isCLI => false
}
$lng = 'la-maison'
$currentLocal = 'la-maison'
$settingsDB = object(SoftDelete\ORM\Query) {
'(help)' => 'This is a Query object, to get the results execute or iterate it.',
'sql' => 'SELECT Settings.id AS `Settings__id`, Settings.meta_key AS `Settings__meta_key`, Settings.meta_value AS `Settings__meta_value`, Settings.name AS `Settings__name`, Settings.description AS `Settings__description`, Settings.deleted AS `Settings__deleted`, Settings_meta_value_translation.id AS `Settings_meta_value_translation__id`, Settings_meta_value_translation.locale AS `Settings_meta_value_translation__locale`, Settings_meta_value_translation.model AS `Settings_meta_value_translation__model`, Settings_meta_value_translation.foreign_key AS `Settings_meta_value_translation__foreign_key`, Settings_meta_value_translation.field AS `Settings_meta_value_translation__field`, Settings_meta_value_translation.content AS `Settings_meta_value_translation__content`, Settings_name_translation.id AS `Settings_name_translation__id`, Settings_name_translation.locale AS `Settings_name_translation__locale`, Settings_name_translation.model AS `Settings_name_translation__model`, Settings_name_translation.foreign_key AS `Settings_name_translation__foreign_key`, Settings_name_translation.field AS `Settings_name_translation__field`, Settings_name_translation.content AS `Settings_name_translation__content`, Settings_description_translation.id AS `Settings_description_translation__id`, Settings_description_translation.locale AS `Settings_description_translation__locale`, Settings_description_translation.model AS `Settings_description_translation__model`, Settings_description_translation.foreign_key AS `Settings_description_translation__foreign_key`, Settings_description_translation.field AS `Settings_description_translation__field`, Settings_description_translation.content AS `Settings_description_translation__content` FROM settings Settings LEFT JOIN i18n Settings_meta_value_translation ON (Settings_meta_value_translation.model = :c0 AND Settings_meta_value_translation.field = :c1 AND Settings_meta_value_translation.locale = :c2 AND Settings.id = (Settings_meta_value_translation.foreign_key)) LEFT JOIN i18n Settings_name_translation ON (Settings_name_translation.model = :c3 AND Settings_name_translation.field = :c4 AND Settings_name_translation.locale = :c5 AND Settings.id = (Settings_name_translation.foreign_key)) LEFT JOIN i18n Settings_description_translation ON (Settings_description_translation.model = :c6 AND Settings_description_translation.field = :c7 AND Settings_description_translation.locale = :c8 AND Settings.id = (Settings_description_translation.foreign_key)) WHERE Settings.deleted IS NULL',
'params' => [
':c0' => [
[maximum depth reached]
],
':c1' => [
[maximum depth reached]
],
':c2' => [
[maximum depth reached]
],
':c3' => [
[maximum depth reached]
],
':c4' => [
[maximum depth reached]
],
':c5' => [
[maximum depth reached]
],
':c6' => [
[maximum depth reached]
],
':c7' => [
[maximum depth reached]
],
':c8' => [
[maximum depth reached]
]
],
'defaultTypes' => [
'Settings__id' => 'uuid',
'Settings.id' => 'uuid',
'id' => 'uuid',
'Settings__meta_key' => 'string',
'Settings.meta_key' => 'string',
'meta_key' => 'string',
'Settings__meta_value' => 'text',
'Settings.meta_value' => 'text',
'meta_value' => 'text',
'Settings__name' => 'string',
'Settings.name' => 'string',
'name' => 'string',
'Settings__description' => 'text',
'Settings.description' => 'text',
'description' => 'text',
'Settings__deleted' => 'datetime',
'Settings.deleted' => 'datetime',
'deleted' => 'datetime',
'I18n__id' => 'integer',
'I18n.id' => 'integer',
'I18n__locale' => 'string',
'I18n.locale' => 'string',
'locale' => 'string',
'I18n__model' => 'string',
'I18n.model' => 'string',
'model' => 'string',
'I18n__foreign_key' => 'uuid',
'I18n.foreign_key' => 'uuid',
'foreign_key' => 'uuid',
'I18n__field' => 'string',
'I18n.field' => 'string',
'field' => 'string',
'I18n__content' => 'text',
'I18n.content' => 'text',
'content' => 'text',
'Settings_meta_value_translation__id' => 'integer',
'Settings_meta_value_translation.id' => 'integer',
'Settings_meta_value_translation__locale' => 'string',
'Settings_meta_value_translation.locale' => 'string',
'Settings_meta_value_translation__model' => 'string',
'Settings_meta_value_translation.model' => 'string',
'Settings_meta_value_translation__foreign_key' => 'uuid',
'Settings_meta_value_translation.foreign_key' => 'uuid',
'Settings_meta_value_translation__field' => 'string',
'Settings_meta_value_translation.field' => 'string',
'Settings_meta_value_translation__content' => 'text',
'Settings_meta_value_translation.content' => 'text',
'Settings_name_translation__id' => 'integer',
'Settings_name_translation.id' => 'integer',
'Settings_name_translation__locale' => 'string',
'Settings_name_translation.locale' => 'string',
'Settings_name_translation__model' => 'string',
'Settings_name_translation.model' => 'string',
'Settings_name_translation__foreign_key' => 'uuid',
'Settings_name_translation.foreign_key' => 'uuid',
'Settings_name_translation__field' => 'string',
'Settings_name_translation.field' => 'string',
'Settings_name_translation__content' => 'text',
'Settings_name_translation.content' => 'text',
'Settings_description_translation__id' => 'integer',
'Settings_description_translation.id' => 'integer',
'Settings_description_translation__locale' => 'string',
'Settings_description_translation.locale' => 'string',
'Settings_description_translation__model' => 'string',
'Settings_description_translation.model' => 'string',
'Settings_description_translation__foreign_key' => 'uuid',
'Settings_description_translation.foreign_key' => 'uuid',
'Settings_description_translation__field' => 'string',
'Settings_description_translation.field' => 'string',
'Settings_description_translation__content' => 'text',
'Settings_description_translation.content' => 'text'
],
'decorators' => (int) 0,
'executed' => true,
'hydrate' => true,
'buffered' => true,
'formatters' => (int) 2,
'mapReducers' => (int) 0,
'contain' => [
'I18n' => [
[maximum depth reached]
],
'Settings_meta_value_translation' => [
[maximum depth reached]
],
'Settings_name_translation' => [
[maximum depth reached]
],
'Settings_description_translation' => [
[maximum depth reached]
]
],
'matching' => [],
'extraOptions' => [],
'repository' => object(App\Model\Table\SettingsTable) {}
}
$settings = [
'copyright' => null,
'facebook' => null,
'title_faq' => null,
'btn_discover_name' => null,
'btn_choose' => null,
'systempay_key' => null,
'partners_section_title' => null,
'assembly' => null
]
$titles = [
'copyright' => null,
'facebook' => null,
'title_faq' => null,
'btn_discover_name' => null,
'btn_choose' => null,
'systempay_key' => null,
'partners_section_title' => null
]
$key = (int) 7
$s = object(App\Model\Entity\Setting) {
'id' => '1f69ac77-1a41-4345-90e6-35d5e5f7173b',
'meta_key' => 'assembly',
'meta_value' => '',
'name' => 'Dégustation',
'description' => '',
'deleted' => null,
'_locale' => 'la-maison',
'_translations' => [
'fr' => object(App\Model\Entity\Setting) {},
'en' => object(App\Model\Entity\Setting) {},
'es' => object(App\Model\Entity\Setting) {},
'pt' => object(App\Model\Entity\Setting) {},
'de' => object(App\Model\Entity\Setting) {},
'it' => object(App\Model\Entity\Setting) {}
],
'[new]' => false,
'[accessible]' => [
'meta_key' => true,
'meta_value' => true,
'name' => true,
'description' => true
],
'[dirty]' => [],
'[original]' => [],
'[virtual]' => [],
'[hasErrors]' => false,
'[errors]' => [],
'[invalid]' => [],
'[repository]' => 'Settings'
}
App\Controller\AppController::initialize() - APP/Controller/AppController.php, line 111
App\Controller\PagesController::initialize() - APP/Controller/PagesController.php, line 38
Cake\Controller\Controller::__construct() - CORE/src/Controller/Controller.php, line 273
ReflectionClass::newInstance() - [internal], line ??
Cake\Http\ControllerFactory::create() - CORE/src/Http/ControllerFactory.php, line 47
Cake\Http\ActionDispatcher::dispatch() - CORE/src/Http/ActionDispatcher.php, line 91
Cake\Http\BaseApplication::__invoke() - CORE/src/Http/BaseApplication.php, line 235
Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65
Cake\Routing\Middleware\RoutingMiddleware::__invoke() - CORE/src/Routing/Middleware/RoutingMiddleware.php, line 162
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 96
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 98
[main] - ROOT/webroot/index.php, line 40
Notice (8): Trying to get property of non-object [APP/Controller/AppController.php, line 111]Code Context $settings[$s->meta_key] = $s->_translations[$this->getCurrentLocale()]->meta_value;
$titles[$s->meta_key] = $s->_translations[$this->getCurrentLocale()]->name;
}
$locales = [
(int) 0 => object(App\Model\Entity\Locale) {
'id' => 'c79e08dd-4b98-40da-812f-166a5627cafe',
'locale' => 'fr',
'name' => 'French',
'position' => (int) 1,
'active' => true,
'flag' => 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgBAMAAACBVGfHAAAAA3NCSVQICAjb4U/gAAAACXBIWXMAAADdAAAA3QFwU6IHAAAAGXRFWHRTb2Z0d2FyZQB3d3cuaW5rc2NhcGUub3Jnm+48GgAAACdQTFRF////QUib/0tUh4y+/XiAQkab9PT0/0pVkpTC/mRtQUeb9fX1/0tVpPINxQAAAAp0Uk5TAFJSamp4eHjGxmzCt2wAAAArSURBVCjPY2RAA4zUEBB1AJIPDYDEP2Eg8ZtxFQOKAMOoAOUCGIFMi6gEAD39PvX2T/ZKAAAAAElFTkSuQmCC',
'front' => true,
'[new]' => false,
'[accessible]' => [
[maximum depth reached]
],
'[dirty]' => [[maximum depth reached]],
'[original]' => [[maximum depth reached]],
'[virtual]' => [[maximum depth reached]],
'[hasErrors]' => false,
'[errors]' => [[maximum depth reached]],
'[invalid]' => [[maximum depth reached]],
'[repository]' => 'Locales'
},
(int) 1 => object(App\Model\Entity\Locale) {
'id' => '073aae08-53c1-11e9-bb3d-7054d219d6c5',
'locale' => 'es',
'name' => 'Español',
'position' => (int) 0,
'active' => true,
'flag' => 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAMAAABEpIrGAAAAA3NCSVQICAjb4U/gAAAACXBIWXMAAADdAAAA3QFwU6IHAAAAGXRFWHRTb2Z0d2FyZQB3d3cuaW5rc2NhcGUub3Jnm+48GgAAARpQTFRF////x0FLyEJKgXaZoI6wuKV1watwyEFLy0pLzntc0rZn1GJZ1WVW1bhm1mxd13JW13Vx2nFQ229L23JN23xM3IyF3I+V3JKY3Y2G3nVJ33dJ34Zs4JOA4XhH4X9Q4ZV845Bk5JJi5LG15aWL5btz5b185pFh5pRk5pZs5px558Nc6ItI6KR16cFp6pBI66lx7ZxQ7aNO7q1h7rR17tjW76BO78BX8KpP8LJk8buC8stZ9LhX9Net9PPz9efR9fHz9fX198BY98dz98xX99/s9+Lt9+3R+MVe+N2d+dOA+deU+eat+sBQ+stf+8hm+8xZ+9Bw/Lzd/MtQ/N2E/N6G/dlx/sxP/s5R/tRa/tZk/tdp/9JQ/9JR/9NThpihEAAAAAN0Uk5TAFJ4LCUCBgAAAKRJREFUOI1jYBgKgJEJL2BkYCcAqKCAgwBgiCYAYApiQ/xCY/AoiLGR4Vb2wKkgyDxaUVhI0CjaEIcCH1N3aTVLL+9wgzDsCoLtdLS1lQJdoxwisCvQF+WTFWFxsVcQs8auwFjCSY6TmZ/HQtwRuwJPtwApKU09SV9bf+wKdFWc1TVMBOStVM2wK2Bj1YqODI6I5mXlwq4AHyAcWXRIMAQT7VAAACQKgMq9uRSqAAAAAElFTkSuQmCC',
'front' => true,
'[new]' => false,
'[accessible]' => [
[maximum depth reached]
],
'[dirty]' => [[maximum depth reached]],
'[original]' => [[maximum depth reached]],
'[virtual]' => [[maximum depth reached]],
'[hasErrors]' => false,
'[errors]' => [[maximum depth reached]],
'[invalid]' => [[maximum depth reached]],
'[repository]' => 'Locales'
},
(int) 2 => object(App\Model\Entity\Locale) {
'id' => '99c33239-48e4-4692-adb0-30a7c352e556',
'locale' => 'en',
'name' => 'English',
'position' => (int) 0,
'active' => true,
'flag' => 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAAA3QAAAN0BcFOiBwAAABl0RVh0U29mdHdhcmUAd3d3Lmlua3NjYXBlLm9yZ5vuPBoAAATuSURBVFiF7ZdrUNRlFMZ/+2dhXVoW5DJcAgTjamopziiWYuhMYpHGRUk0Gs1gIshboIYMoWNqahQyig41hJLXcgSvQ6VyS2WE1IBABRSZ5b673BZYdvtQ4QUYHb7QB55v7zlz5nnOvO+c57wivV7PSEIYUfZRAf8HAeJL65MbJ8UuvSQ2EveVPewy3naqxkPZ0SsZqmD+KxYPI9+0u9/iH+n9eNw8K6Uw5UKd4/k/ml98FqmrjVQd/65DhTg1015suzvFsuHM+SDV6nA8Q3xIWeHCrqxaUnPq6NbqBhR7jTdxBLx7coueTjk2tvWQW64aktja1IiNixxZ0ldDh1/CRM3tSgR1oD/CnWrGRsRQ89YnNBf9ReJiJ4q+9CJ4hhUi0bP6eTakRgIx/g4UhZmxMHk7qoBotOX3MF4ZiJDptwz1qTQ0Pt5I8q8jXfghle8nIGlt5eBH7vwS9yoz3UyHRSyIIPR1a4rXOhP56yE6fMPozilEMn8WlgWZyHfHICSdrcXvmJqL0bG0pu2hz9MFk9Pn0M8OoXRdMu5mcHbDJDKjPHG1kT43ue/LZuTFerKj/jdEc96jK+M0hpPdMM/ex9gju1Db2bMh8x4iArL7R6GLjZSEwHE45ediuf97qKsHK3OaVoXhuSYYvYFAVYMGVxspCrPpTxDaKK+ScKKaizdb2RrkyIziXNq3HUBX34yBvQ2yzRFIF89Ho9WTmlPH7uxa1F3aJwX8B283OYnv2GF8+CcsM46iV7ejc3VGGb2KCcvnAgwqoKpBg23JDdrjk9GW30MklyFbG4ZxRAhIjDh+tZEtJ6t50NzdXyc6kVs1qBkIgoiZrnI661tQXLn1iMhnMub2FoMK0LWo6L1R2h8znOKJYGEGQF1rN6W1nQN4REqlclhuNJiA4UBUjvuI2uGIj+JRASP+CMU5t1oHBCfYG2M39h9D1DUr6S0u688ZTp2AYD74aG6pbUZx+eYjUbMnYWxtTkGlGp1u8D7FQV//2X9wsJCwOdAJWzMJek0PnfuP0L4nHb26HbHHeGSJUdRoJTgP0Y25vQUKnQ6zbw8iVFbRK5dxd/kSTEIDiD9TR2GFekCNACCXivki2Inr27xYPN0SzbFzNE0Lpi0hBZFUgvybjdw8sBffPCnpVxRD0EOlogu3UF+sCw7TtGkNeokRFilpOASt4CvjuxyK9MDlKT8RIubZUbJjGp/62SNcLaH5jQ9QhSega1Ehi11JU1YGy5pcCEgqo7S2Y0hygMN59XjH3eDCbSUTY0IwuXaclpXLECnVWMZvZ0r0GjK8NOwMfQkLmSHw7yPUVlTTFr+X7vO5IAhIQ9+mK2oFW/La+TG/nsevb/UCexKCnIY0o6SztQDMdDNl6xJnpjrLaLijQJW4H5PsC6DTofHxpuezcDIVUsTqdTvpTD8F2j4k87wRx31McpWE5D1VdPUM3IieFwUVKuZuLSFouhXxgU64/pBAVW4wwvZ9jLlcyJj8ayxduABxZ9pJxBNdeSExiqMG4/gy/T71qp5hEz8OvR6O/97I6aJmwufZsd7fHfmZvZQduYxpUiryk1mIZXER17ThS2s///mBW6WiUe5mK8XNdujFw8rE6CFw32jWNO+nUoVWJkaOszxMB11Ki6vbiPzuTvemRePKPUN8OrUBrxnc2pE5RzT6NRsVMNIC/gaY0PLtJgQJ0gAAAABJRU5ErkJggg==',
'front' => true,
'[new]' => false,
'[accessible]' => [
[maximum depth reached]
],
'[dirty]' => [[maximum depth reached]],
'[original]' => [[maximum depth reached]],
'[virtual]' => [[maximum depth reached]],
'[hasErrors]' => false,
'[errors]' => [[maximum depth reached]],
'[invalid]' => [[maximum depth reached]],
'[repository]' => 'Locales'
},
(int) 3 => object(App\Model\Entity\Locale) {
'id' => 'a20c3c73-53c0-11e9-bb3d-7054d219d6c5',
'locale' => 'de',
'name' => 'Deutsch',
'position' => (int) 0,
'active' => true,
'flag' => 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgBAMAAACBVGfHAAAAA3NCSVQICAjb4U/gAAAACXBIWXMAAADdAAAA3QFwU6IHAAAAGXRFWHRTb2Z0d2FyZQB3d3cuaW5rc2NhcGUub3Jnm+48GgAAAB5QTFRF////SEhU/+BaRkZV/+FZwUlV/31WRkZV/0tV/+FagNv1tgAAAAd0Uk5TAFJSeHjAwPIGe2oAAAAqSURBVCjPY2FAAyzUEBBWQOH/Y0mhhS0YAvfQBYyHs7Xd6IF85w71bQEAwy4HmS9PAQYAAAAASUVORK5CYII=',
'front' => true,
'[new]' => false,
'[accessible]' => [
[maximum depth reached]
],
'[dirty]' => [[maximum depth reached]],
'[original]' => [[maximum depth reached]],
'[virtual]' => [[maximum depth reached]],
'[hasErrors]' => false,
'[errors]' => [[maximum depth reached]],
'[invalid]' => [[maximum depth reached]],
'[repository]' => 'Locales'
}
]
$session = object(Cake\Http\Session) {
[protected] _engine => null
[protected] _started => true
[protected] _lifetime => (int) 86400
[protected] _isCLI => false
}
$lng = 'la-maison'
$currentLocal = 'la-maison'
$settingsDB = object(SoftDelete\ORM\Query) {
'(help)' => 'This is a Query object, to get the results execute or iterate it.',
'sql' => 'SELECT Settings.id AS `Settings__id`, Settings.meta_key AS `Settings__meta_key`, Settings.meta_value AS `Settings__meta_value`, Settings.name AS `Settings__name`, Settings.description AS `Settings__description`, Settings.deleted AS `Settings__deleted`, Settings_meta_value_translation.id AS `Settings_meta_value_translation__id`, Settings_meta_value_translation.locale AS `Settings_meta_value_translation__locale`, Settings_meta_value_translation.model AS `Settings_meta_value_translation__model`, Settings_meta_value_translation.foreign_key AS `Settings_meta_value_translation__foreign_key`, Settings_meta_value_translation.field AS `Settings_meta_value_translation__field`, Settings_meta_value_translation.content AS `Settings_meta_value_translation__content`, Settings_name_translation.id AS `Settings_name_translation__id`, Settings_name_translation.locale AS `Settings_name_translation__locale`, Settings_name_translation.model AS `Settings_name_translation__model`, Settings_name_translation.foreign_key AS `Settings_name_translation__foreign_key`, Settings_name_translation.field AS `Settings_name_translation__field`, Settings_name_translation.content AS `Settings_name_translation__content`, Settings_description_translation.id AS `Settings_description_translation__id`, Settings_description_translation.locale AS `Settings_description_translation__locale`, Settings_description_translation.model AS `Settings_description_translation__model`, Settings_description_translation.foreign_key AS `Settings_description_translation__foreign_key`, Settings_description_translation.field AS `Settings_description_translation__field`, Settings_description_translation.content AS `Settings_description_translation__content` FROM settings Settings LEFT JOIN i18n Settings_meta_value_translation ON (Settings_meta_value_translation.model = :c0 AND Settings_meta_value_translation.field = :c1 AND Settings_meta_value_translation.locale = :c2 AND Settings.id = (Settings_meta_value_translation.foreign_key)) LEFT JOIN i18n Settings_name_translation ON (Settings_name_translation.model = :c3 AND Settings_name_translation.field = :c4 AND Settings_name_translation.locale = :c5 AND Settings.id = (Settings_name_translation.foreign_key)) LEFT JOIN i18n Settings_description_translation ON (Settings_description_translation.model = :c6 AND Settings_description_translation.field = :c7 AND Settings_description_translation.locale = :c8 AND Settings.id = (Settings_description_translation.foreign_key)) WHERE Settings.deleted IS NULL',
'params' => [
':c0' => [
[maximum depth reached]
],
':c1' => [
[maximum depth reached]
],
':c2' => [
[maximum depth reached]
],
':c3' => [
[maximum depth reached]
],
':c4' => [
[maximum depth reached]
],
':c5' => [
[maximum depth reached]
],
':c6' => [
[maximum depth reached]
],
':c7' => [
[maximum depth reached]
],
':c8' => [
[maximum depth reached]
]
],
'defaultTypes' => [
'Settings__id' => 'uuid',
'Settings.id' => 'uuid',
'id' => 'uuid',
'Settings__meta_key' => 'string',
'Settings.meta_key' => 'string',
'meta_key' => 'string',
'Settings__meta_value' => 'text',
'Settings.meta_value' => 'text',
'meta_value' => 'text',
'Settings__name' => 'string',
'Settings.name' => 'string',
'name' => 'string',
'Settings__description' => 'text',
'Settings.description' => 'text',
'description' => 'text',
'Settings__deleted' => 'datetime',
'Settings.deleted' => 'datetime',
'deleted' => 'datetime',
'I18n__id' => 'integer',
'I18n.id' => 'integer',
'I18n__locale' => 'string',
'I18n.locale' => 'string',
'locale' => 'string',
'I18n__model' => 'string',
'I18n.model' => 'string',
'model' => 'string',
'I18n__foreign_key' => 'uuid',
'I18n.foreign_key' => 'uuid',
'foreign_key' => 'uuid',
'I18n__field' => 'string',
'I18n.field' => 'string',
'field' => 'string',
'I18n__content' => 'text',
'I18n.content' => 'text',
'content' => 'text',
'Settings_meta_value_translation__id' => 'integer',
'Settings_meta_value_translation.id' => 'integer',
'Settings_meta_value_translation__locale' => 'string',
'Settings_meta_value_translation.locale' => 'string',
'Settings_meta_value_translation__model' => 'string',
'Settings_meta_value_translation.model' => 'string',
'Settings_meta_value_translation__foreign_key' => 'uuid',
'Settings_meta_value_translation.foreign_key' => 'uuid',
'Settings_meta_value_translation__field' => 'string',
'Settings_meta_value_translation.field' => 'string',
'Settings_meta_value_translation__content' => 'text',
'Settings_meta_value_translation.content' => 'text',
'Settings_name_translation__id' => 'integer',
'Settings_name_translation.id' => 'integer',
'Settings_name_translation__locale' => 'string',
'Settings_name_translation.locale' => 'string',
'Settings_name_translation__model' => 'string',
'Settings_name_translation.model' => 'string',
'Settings_name_translation__foreign_key' => 'uuid',
'Settings_name_translation.foreign_key' => 'uuid',
'Settings_name_translation__field' => 'string',
'Settings_name_translation.field' => 'string',
'Settings_name_translation__content' => 'text',
'Settings_name_translation.content' => 'text',
'Settings_description_translation__id' => 'integer',
'Settings_description_translation.id' => 'integer',
'Settings_description_translation__locale' => 'string',
'Settings_description_translation.locale' => 'string',
'Settings_description_translation__model' => 'string',
'Settings_description_translation.model' => 'string',
'Settings_description_translation__foreign_key' => 'uuid',
'Settings_description_translation.foreign_key' => 'uuid',
'Settings_description_translation__field' => 'string',
'Settings_description_translation.field' => 'string',
'Settings_description_translation__content' => 'text',
'Settings_description_translation.content' => 'text'
],
'decorators' => (int) 0,
'executed' => true,
'hydrate' => true,
'buffered' => true,
'formatters' => (int) 2,
'mapReducers' => (int) 0,
'contain' => [
'I18n' => [
[maximum depth reached]
],
'Settings_meta_value_translation' => [
[maximum depth reached]
],
'Settings_name_translation' => [
[maximum depth reached]
],
'Settings_description_translation' => [
[maximum depth reached]
]
],
'matching' => [],
'extraOptions' => [],
'repository' => object(App\Model\Table\SettingsTable) {}
}
$settings = [
'copyright' => null,
'facebook' => null,
'title_faq' => null,
'btn_discover_name' => null,
'btn_choose' => null,
'systempay_key' => null,
'partners_section_title' => null,
'assembly' => null
]
$titles = [
'copyright' => null,
'facebook' => null,
'title_faq' => null,
'btn_discover_name' => null,
'btn_choose' => null,
'systempay_key' => null,
'partners_section_title' => null
]
$key = (int) 7
$s = object(App\Model\Entity\Setting) {
'id' => '1f69ac77-1a41-4345-90e6-35d5e5f7173b',
'meta_key' => 'assembly',
'meta_value' => '',
'name' => 'Dégustation',
'description' => '',
'deleted' => null,
'_locale' => 'la-maison',
'_translations' => [
'fr' => object(App\Model\Entity\Setting) {},
'en' => object(App\Model\Entity\Setting) {},
'es' => object(App\Model\Entity\Setting) {},
'pt' => object(App\Model\Entity\Setting) {},
'de' => object(App\Model\Entity\Setting) {},
'it' => object(App\Model\Entity\Setting) {}
],
'[new]' => false,
'[accessible]' => [
'meta_key' => true,
'meta_value' => true,
'name' => true,
'description' => true
],
'[dirty]' => [],
'[original]' => [],
'[virtual]' => [],
'[hasErrors]' => false,
'[errors]' => [],
'[invalid]' => [],
'[repository]' => 'Settings'
}
App\Controller\AppController::initialize() - APP/Controller/AppController.php, line 111
App\Controller\PagesController::initialize() - APP/Controller/PagesController.php, line 38
Cake\Controller\Controller::__construct() - CORE/src/Controller/Controller.php, line 273
ReflectionClass::newInstance() - [internal], line ??
Cake\Http\ControllerFactory::create() - CORE/src/Http/ControllerFactory.php, line 47
Cake\Http\ActionDispatcher::dispatch() - CORE/src/Http/ActionDispatcher.php, line 91
Cake\Http\BaseApplication::__invoke() - CORE/src/Http/BaseApplication.php, line 235
Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65
Cake\Routing\Middleware\RoutingMiddleware::__invoke() - CORE/src/Routing/Middleware/RoutingMiddleware.php, line 162
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 96
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 98
[main] - ROOT/webroot/index.php, line 40
Notice (8): Undefined index: la-maison [APP/Controller/AppController.php, line 110]Code Context foreach ($settingsDB as $key => $s) {
$settings[$s->meta_key] = $s->_translations[$this->getCurrentLocale()]->meta_value;
$titles[$s->meta_key] = $s->_translations[$this->getCurrentLocale()]->name;
$locales = [
(int) 0 => object(App\Model\Entity\Locale) {
'id' => 'c79e08dd-4b98-40da-812f-166a5627cafe',
'locale' => 'fr',
'name' => 'French',
'position' => (int) 1,
'active' => true,
'flag' => 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgBAMAAACBVGfHAAAAA3NCSVQICAjb4U/gAAAACXBIWXMAAADdAAAA3QFwU6IHAAAAGXRFWHRTb2Z0d2FyZQB3d3cuaW5rc2NhcGUub3Jnm+48GgAAACdQTFRF////QUib/0tUh4y+/XiAQkab9PT0/0pVkpTC/mRtQUeb9fX1/0tVpPINxQAAAAp0Uk5TAFJSamp4eHjGxmzCt2wAAAArSURBVCjPY2RAA4zUEBB1AJIPDYDEP2Eg8ZtxFQOKAMOoAOUCGIFMi6gEAD39PvX2T/ZKAAAAAElFTkSuQmCC',
'front' => true,
'[new]' => false,
'[accessible]' => [
[maximum depth reached]
],
'[dirty]' => [[maximum depth reached]],
'[original]' => [[maximum depth reached]],
'[virtual]' => [[maximum depth reached]],
'[hasErrors]' => false,
'[errors]' => [[maximum depth reached]],
'[invalid]' => [[maximum depth reached]],
'[repository]' => 'Locales'
},
(int) 1 => object(App\Model\Entity\Locale) {
'id' => '073aae08-53c1-11e9-bb3d-7054d219d6c5',
'locale' => 'es',
'name' => 'Español',
'position' => (int) 0,
'active' => true,
'flag' => 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAMAAABEpIrGAAAAA3NCSVQICAjb4U/gAAAACXBIWXMAAADdAAAA3QFwU6IHAAAAGXRFWHRTb2Z0d2FyZQB3d3cuaW5rc2NhcGUub3Jnm+48GgAAARpQTFRF////x0FLyEJKgXaZoI6wuKV1watwyEFLy0pLzntc0rZn1GJZ1WVW1bhm1mxd13JW13Vx2nFQ229L23JN23xM3IyF3I+V3JKY3Y2G3nVJ33dJ34Zs4JOA4XhH4X9Q4ZV845Bk5JJi5LG15aWL5btz5b185pFh5pRk5pZs5px558Nc6ItI6KR16cFp6pBI66lx7ZxQ7aNO7q1h7rR17tjW76BO78BX8KpP8LJk8buC8stZ9LhX9Net9PPz9efR9fHz9fX198BY98dz98xX99/s9+Lt9+3R+MVe+N2d+dOA+deU+eat+sBQ+stf+8hm+8xZ+9Bw/Lzd/MtQ/N2E/N6G/dlx/sxP/s5R/tRa/tZk/tdp/9JQ/9JR/9NThpihEAAAAAN0Uk5TAFJ4LCUCBgAAAKRJREFUOI1jYBgKgJEJL2BkYCcAqKCAgwBgiCYAYApiQ/xCY/AoiLGR4Vb2wKkgyDxaUVhI0CjaEIcCH1N3aTVLL+9wgzDsCoLtdLS1lQJdoxwisCvQF+WTFWFxsVcQs8auwFjCSY6TmZ/HQtwRuwJPtwApKU09SV9bf+wKdFWc1TVMBOStVM2wK2Bj1YqODI6I5mXlwq4AHyAcWXRIMAQT7VAAACQKgMq9uRSqAAAAAElFTkSuQmCC',
'front' => true,
'[new]' => false,
'[accessible]' => [
[maximum depth reached]
],
'[dirty]' => [[maximum depth reached]],
'[original]' => [[maximum depth reached]],
'[virtual]' => [[maximum depth reached]],
'[hasErrors]' => false,
'[errors]' => [[maximum depth reached]],
'[invalid]' => [[maximum depth reached]],
'[repository]' => 'Locales'
},
(int) 2 => object(App\Model\Entity\Locale) {
'id' => '99c33239-48e4-4692-adb0-30a7c352e556',
'locale' => 'en',
'name' => 'English',
'position' => (int) 0,
'active' => true,
'flag' => 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAAA3QAAAN0BcFOiBwAAABl0RVh0U29mdHdhcmUAd3d3Lmlua3NjYXBlLm9yZ5vuPBoAAATuSURBVFiF7ZdrUNRlFMZ/+2dhXVoW5DJcAgTjamopziiWYuhMYpHGRUk0Gs1gIshboIYMoWNqahQyig41hJLXcgSvQ6VyS2WE1IBABRSZ5b673BZYdvtQ4QUYHb7QB55v7zlz5nnOvO+c57wivV7PSEIYUfZRAf8HAeJL65MbJ8UuvSQ2EveVPewy3naqxkPZ0SsZqmD+KxYPI9+0u9/iH+n9eNw8K6Uw5UKd4/k/ml98FqmrjVQd/65DhTg1015suzvFsuHM+SDV6nA8Q3xIWeHCrqxaUnPq6NbqBhR7jTdxBLx7coueTjk2tvWQW64aktja1IiNixxZ0ldDh1/CRM3tSgR1oD/CnWrGRsRQ89YnNBf9ReJiJ4q+9CJ4hhUi0bP6eTakRgIx/g4UhZmxMHk7qoBotOX3MF4ZiJDptwz1qTQ0Pt5I8q8jXfghle8nIGlt5eBH7vwS9yoz3UyHRSyIIPR1a4rXOhP56yE6fMPozilEMn8WlgWZyHfHICSdrcXvmJqL0bG0pu2hz9MFk9Pn0M8OoXRdMu5mcHbDJDKjPHG1kT43ue/LZuTFerKj/jdEc96jK+M0hpPdMM/ex9gju1Db2bMh8x4iArL7R6GLjZSEwHE45ediuf97qKsHK3OaVoXhuSYYvYFAVYMGVxspCrPpTxDaKK+ScKKaizdb2RrkyIziXNq3HUBX34yBvQ2yzRFIF89Ho9WTmlPH7uxa1F3aJwX8B283OYnv2GF8+CcsM46iV7ejc3VGGb2KCcvnAgwqoKpBg23JDdrjk9GW30MklyFbG4ZxRAhIjDh+tZEtJ6t50NzdXyc6kVs1qBkIgoiZrnI661tQXLn1iMhnMub2FoMK0LWo6L1R2h8znOKJYGEGQF1rN6W1nQN4REqlclhuNJiA4UBUjvuI2uGIj+JRASP+CMU5t1oHBCfYG2M39h9D1DUr6S0u688ZTp2AYD74aG6pbUZx+eYjUbMnYWxtTkGlGp1u8D7FQV//2X9wsJCwOdAJWzMJek0PnfuP0L4nHb26HbHHeGSJUdRoJTgP0Y25vQUKnQ6zbw8iVFbRK5dxd/kSTEIDiD9TR2GFekCNACCXivki2Inr27xYPN0SzbFzNE0Lpi0hBZFUgvybjdw8sBffPCnpVxRD0EOlogu3UF+sCw7TtGkNeokRFilpOASt4CvjuxyK9MDlKT8RIubZUbJjGp/62SNcLaH5jQ9QhSega1Ehi11JU1YGy5pcCEgqo7S2Y0hygMN59XjH3eDCbSUTY0IwuXaclpXLECnVWMZvZ0r0GjK8NOwMfQkLmSHw7yPUVlTTFr+X7vO5IAhIQ9+mK2oFW/La+TG/nsevb/UCexKCnIY0o6SztQDMdDNl6xJnpjrLaLijQJW4H5PsC6DTofHxpuezcDIVUsTqdTvpTD8F2j4k87wRx31McpWE5D1VdPUM3IieFwUVKuZuLSFouhXxgU64/pBAVW4wwvZ9jLlcyJj8ayxduABxZ9pJxBNdeSExiqMG4/gy/T71qp5hEz8OvR6O/97I6aJmwufZsd7fHfmZvZQduYxpUiryk1mIZXER17ThS2s///mBW6WiUe5mK8XNdujFw8rE6CFw32jWNO+nUoVWJkaOszxMB11Ki6vbiPzuTvemRePKPUN8OrUBrxnc2pE5RzT6NRsVMNIC/gaY0PLtJgQJ0gAAAABJRU5ErkJggg==',
'front' => true,
'[new]' => false,
'[accessible]' => [
[maximum depth reached]
],
'[dirty]' => [[maximum depth reached]],
'[original]' => [[maximum depth reached]],
'[virtual]' => [[maximum depth reached]],
'[hasErrors]' => false,
'[errors]' => [[maximum depth reached]],
'[invalid]' => [[maximum depth reached]],
'[repository]' => 'Locales'
},
(int) 3 => object(App\Model\Entity\Locale) {
'id' => 'a20c3c73-53c0-11e9-bb3d-7054d219d6c5',
'locale' => 'de',
'name' => 'Deutsch',
'position' => (int) 0,
'active' => true,
'flag' => 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgBAMAAACBVGfHAAAAA3NCSVQICAjb4U/gAAAACXBIWXMAAADdAAAA3QFwU6IHAAAAGXRFWHRTb2Z0d2FyZQB3d3cuaW5rc2NhcGUub3Jnm+48GgAAAB5QTFRF////SEhU/+BaRkZV/+FZwUlV/31WRkZV/0tV/+FagNv1tgAAAAd0Uk5TAFJSeHjAwPIGe2oAAAAqSURBVCjPY2FAAyzUEBBWQOH/Y0mhhS0YAvfQBYyHs7Xd6IF85w71bQEAwy4HmS9PAQYAAAAASUVORK5CYII=',
'front' => true,
'[new]' => false,
'[accessible]' => [
[maximum depth reached]
],
'[dirty]' => [[maximum depth reached]],
'[original]' => [[maximum depth reached]],
'[virtual]' => [[maximum depth reached]],
'[hasErrors]' => false,
'[errors]' => [[maximum depth reached]],
'[invalid]' => [[maximum depth reached]],
'[repository]' => 'Locales'
}
]
$session = object(Cake\Http\Session) {
[protected] _engine => null
[protected] _started => true
[protected] _lifetime => (int) 86400
[protected] _isCLI => false
}
$lng = 'la-maison'
$currentLocal = 'la-maison'
$settingsDB = object(SoftDelete\ORM\Query) {
'(help)' => 'This is a Query object, to get the results execute or iterate it.',
'sql' => 'SELECT Settings.id AS `Settings__id`, Settings.meta_key AS `Settings__meta_key`, Settings.meta_value AS `Settings__meta_value`, Settings.name AS `Settings__name`, Settings.description AS `Settings__description`, Settings.deleted AS `Settings__deleted`, Settings_meta_value_translation.id AS `Settings_meta_value_translation__id`, Settings_meta_value_translation.locale AS `Settings_meta_value_translation__locale`, Settings_meta_value_translation.model AS `Settings_meta_value_translation__model`, Settings_meta_value_translation.foreign_key AS `Settings_meta_value_translation__foreign_key`, Settings_meta_value_translation.field AS `Settings_meta_value_translation__field`, Settings_meta_value_translation.content AS `Settings_meta_value_translation__content`, Settings_name_translation.id AS `Settings_name_translation__id`, Settings_name_translation.locale AS `Settings_name_translation__locale`, Settings_name_translation.model AS `Settings_name_translation__model`, Settings_name_translation.foreign_key AS `Settings_name_translation__foreign_key`, Settings_name_translation.field AS `Settings_name_translation__field`, Settings_name_translation.content AS `Settings_name_translation__content`, Settings_description_translation.id AS `Settings_description_translation__id`, Settings_description_translation.locale AS `Settings_description_translation__locale`, Settings_description_translation.model AS `Settings_description_translation__model`, Settings_description_translation.foreign_key AS `Settings_description_translation__foreign_key`, Settings_description_translation.field AS `Settings_description_translation__field`, Settings_description_translation.content AS `Settings_description_translation__content` FROM settings Settings LEFT JOIN i18n Settings_meta_value_translation ON (Settings_meta_value_translation.model = :c0 AND Settings_meta_value_translation.field = :c1 AND Settings_meta_value_translation.locale = :c2 AND Settings.id = (Settings_meta_value_translation.foreign_key)) LEFT JOIN i18n Settings_name_translation ON (Settings_name_translation.model = :c3 AND Settings_name_translation.field = :c4 AND Settings_name_translation.locale = :c5 AND Settings.id = (Settings_name_translation.foreign_key)) LEFT JOIN i18n Settings_description_translation ON (Settings_description_translation.model = :c6 AND Settings_description_translation.field = :c7 AND Settings_description_translation.locale = :c8 AND Settings.id = (Settings_description_translation.foreign_key)) WHERE Settings.deleted IS NULL',
'params' => [
':c0' => [
[maximum depth reached]
],
':c1' => [
[maximum depth reached]
],
':c2' => [
[maximum depth reached]
],
':c3' => [
[maximum depth reached]
],
':c4' => [
[maximum depth reached]
],
':c5' => [
[maximum depth reached]
],
':c6' => [
[maximum depth reached]
],
':c7' => [
[maximum depth reached]
],
':c8' => [
[maximum depth reached]
]
],
'defaultTypes' => [
'Settings__id' => 'uuid',
'Settings.id' => 'uuid',
'id' => 'uuid',
'Settings__meta_key' => 'string',
'Settings.meta_key' => 'string',
'meta_key' => 'string',
'Settings__meta_value' => 'text',
'Settings.meta_value' => 'text',
'meta_value' => 'text',
'Settings__name' => 'string',
'Settings.name' => 'string',
'name' => 'string',
'Settings__description' => 'text',
'Settings.description' => 'text',
'description' => 'text',
'Settings__deleted' => 'datetime',
'Settings.deleted' => 'datetime',
'deleted' => 'datetime',
'I18n__id' => 'integer',
'I18n.id' => 'integer',
'I18n__locale' => 'string',
'I18n.locale' => 'string',
'locale' => 'string',
'I18n__model' => 'string',
'I18n.model' => 'string',
'model' => 'string',
'I18n__foreign_key' => 'uuid',
'I18n.foreign_key' => 'uuid',
'foreign_key' => 'uuid',
'I18n__field' => 'string',
'I18n.field' => 'string',
'field' => 'string',
'I18n__content' => 'text',
'I18n.content' => 'text',
'content' => 'text',
'Settings_meta_value_translation__id' => 'integer',
'Settings_meta_value_translation.id' => 'integer',
'Settings_meta_value_translation__locale' => 'string',
'Settings_meta_value_translation.locale' => 'string',
'Settings_meta_value_translation__model' => 'string',
'Settings_meta_value_translation.model' => 'string',
'Settings_meta_value_translation__foreign_key' => 'uuid',
'Settings_meta_value_translation.foreign_key' => 'uuid',
'Settings_meta_value_translation__field' => 'string',
'Settings_meta_value_translation.field' => 'string',
'Settings_meta_value_translation__content' => 'text',
'Settings_meta_value_translation.content' => 'text',
'Settings_name_translation__id' => 'integer',
'Settings_name_translation.id' => 'integer',
'Settings_name_translation__locale' => 'string',
'Settings_name_translation.locale' => 'string',
'Settings_name_translation__model' => 'string',
'Settings_name_translation.model' => 'string',
'Settings_name_translation__foreign_key' => 'uuid',
'Settings_name_translation.foreign_key' => 'uuid',
'Settings_name_translation__field' => 'string',
'Settings_name_translation.field' => 'string',
'Settings_name_translation__content' => 'text',
'Settings_name_translation.content' => 'text',
'Settings_description_translation__id' => 'integer',
'Settings_description_translation.id' => 'integer',
'Settings_description_translation__locale' => 'string',
'Settings_description_translation.locale' => 'string',
'Settings_description_translation__model' => 'string',
'Settings_description_translation.model' => 'string',
'Settings_description_translation__foreign_key' => 'uuid',
'Settings_description_translation.foreign_key' => 'uuid',
'Settings_description_translation__field' => 'string',
'Settings_description_translation.field' => 'string',
'Settings_description_translation__content' => 'text',
'Settings_description_translation.content' => 'text'
],
'decorators' => (int) 0,
'executed' => true,
'hydrate' => true,
'buffered' => true,
'formatters' => (int) 2,
'mapReducers' => (int) 0,
'contain' => [
'I18n' => [
[maximum depth reached]
],
'Settings_meta_value_translation' => [
[maximum depth reached]
],
'Settings_name_translation' => [
[maximum depth reached]
],
'Settings_description_translation' => [
[maximum depth reached]
]
],
'matching' => [],
'extraOptions' => [],
'repository' => object(App\Model\Table\SettingsTable) {}
}
$settings = [
'copyright' => null,
'facebook' => null,
'title_faq' => null,
'btn_discover_name' => null,
'btn_choose' => null,
'systempay_key' => null,
'partners_section_title' => null,
'assembly' => null
]
$titles = [
'copyright' => null,
'facebook' => null,
'title_faq' => null,
'btn_discover_name' => null,
'btn_choose' => null,
'systempay_key' => null,
'partners_section_title' => null,
'assembly' => null
]
$key = (int) 8
$s = object(App\Model\Entity\Setting) {
'id' => '20def908-b1a2-43fb-8d6b-7ede1ca82eee',
'meta_key' => 'team_section_title',
'meta_value' => '',
'name' => 'L'équipe',
'description' => '',
'deleted' => null,
'_locale' => 'la-maison',
'_translations' => [
'fr' => object(App\Model\Entity\Setting) {},
'en' => object(App\Model\Entity\Setting) {},
'es' => object(App\Model\Entity\Setting) {},
'pt' => object(App\Model\Entity\Setting) {},
'de' => object(App\Model\Entity\Setting) {},
'it' => object(App\Model\Entity\Setting) {}
],
'[new]' => false,
'[accessible]' => [
'meta_key' => true,
'meta_value' => true,
'name' => true,
'description' => true
],
'[dirty]' => [],
'[original]' => [],
'[virtual]' => [],
'[hasErrors]' => false,
'[errors]' => [],
'[invalid]' => [],
'[repository]' => 'Settings'
}
App\Controller\AppController::initialize() - APP/Controller/AppController.php, line 110
App\Controller\PagesController::initialize() - APP/Controller/PagesController.php, line 38
Cake\Controller\Controller::__construct() - CORE/src/Controller/Controller.php, line 273
ReflectionClass::newInstance() - [internal], line ??
Cake\Http\ControllerFactory::create() - CORE/src/Http/ControllerFactory.php, line 47
Cake\Http\ActionDispatcher::dispatch() - CORE/src/Http/ActionDispatcher.php, line 91
Cake\Http\BaseApplication::__invoke() - CORE/src/Http/BaseApplication.php, line 235
Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65
Cake\Routing\Middleware\RoutingMiddleware::__invoke() - CORE/src/Routing/Middleware/RoutingMiddleware.php, line 162
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 96
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 98
[main] - ROOT/webroot/index.php, line 40
Notice (8): Trying to get property of non-object [APP/Controller/AppController.php, line 110]Code Context foreach ($settingsDB as $key => $s) {
$settings[$s->meta_key] = $s->_translations[$this->getCurrentLocale()]->meta_value;
$titles[$s->meta_key] = $s->_translations[$this->getCurrentLocale()]->name;
$locales = [
(int) 0 => object(App\Model\Entity\Locale) {
'id' => 'c79e08dd-4b98-40da-812f-166a5627cafe',
'locale' => 'fr',
'name' => 'French',
'position' => (int) 1,
'active' => true,
'flag' => 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgBAMAAACBVGfHAAAAA3NCSVQICAjb4U/gAAAACXBIWXMAAADdAAAA3QFwU6IHAAAAGXRFWHRTb2Z0d2FyZQB3d3cuaW5rc2NhcGUub3Jnm+48GgAAACdQTFRF////QUib/0tUh4y+/XiAQkab9PT0/0pVkpTC/mRtQUeb9fX1/0tVpPINxQAAAAp0Uk5TAFJSamp4eHjGxmzCt2wAAAArSURBVCjPY2RAA4zUEBB1AJIPDYDEP2Eg8ZtxFQOKAMOoAOUCGIFMi6gEAD39PvX2T/ZKAAAAAElFTkSuQmCC',
'front' => true,
'[new]' => false,
'[accessible]' => [
[maximum depth reached]
],
'[dirty]' => [[maximum depth reached]],
'[original]' => [[maximum depth reached]],
'[virtual]' => [[maximum depth reached]],
'[hasErrors]' => false,
'[errors]' => [[maximum depth reached]],
'[invalid]' => [[maximum depth reached]],
'[repository]' => 'Locales'
},
(int) 1 => object(App\Model\Entity\Locale) {
'id' => '073aae08-53c1-11e9-bb3d-7054d219d6c5',
'locale' => 'es',
'name' => 'Español',
'position' => (int) 0,
'active' => true,
'flag' => 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAMAAABEpIrGAAAAA3NCSVQICAjb4U/gAAAACXBIWXMAAADdAAAA3QFwU6IHAAAAGXRFWHRTb2Z0d2FyZQB3d3cuaW5rc2NhcGUub3Jnm+48GgAAARpQTFRF////x0FLyEJKgXaZoI6wuKV1watwyEFLy0pLzntc0rZn1GJZ1WVW1bhm1mxd13JW13Vx2nFQ229L23JN23xM3IyF3I+V3JKY3Y2G3nVJ33dJ34Zs4JOA4XhH4X9Q4ZV845Bk5JJi5LG15aWL5btz5b185pFh5pRk5pZs5px558Nc6ItI6KR16cFp6pBI66lx7ZxQ7aNO7q1h7rR17tjW76BO78BX8KpP8LJk8buC8stZ9LhX9Net9PPz9efR9fHz9fX198BY98dz98xX99/s9+Lt9+3R+MVe+N2d+dOA+deU+eat+sBQ+stf+8hm+8xZ+9Bw/Lzd/MtQ/N2E/N6G/dlx/sxP/s5R/tRa/tZk/tdp/9JQ/9JR/9NThpihEAAAAAN0Uk5TAFJ4LCUCBgAAAKRJREFUOI1jYBgKgJEJL2BkYCcAqKCAgwBgiCYAYApiQ/xCY/AoiLGR4Vb2wKkgyDxaUVhI0CjaEIcCH1N3aTVLL+9wgzDsCoLtdLS1lQJdoxwisCvQF+WTFWFxsVcQs8auwFjCSY6TmZ/HQtwRuwJPtwApKU09SV9bf+wKdFWc1TVMBOStVM2wK2Bj1YqODI6I5mXlwq4AHyAcWXRIMAQT7VAAACQKgMq9uRSqAAAAAElFTkSuQmCC',
'front' => true,
'[new]' => false,
'[accessible]' => [
[maximum depth reached]
],
'[dirty]' => [[maximum depth reached]],
'[original]' => [[maximum depth reached]],
'[virtual]' => [[maximum depth reached]],
'[hasErrors]' => false,
'[errors]' => [[maximum depth reached]],
'[invalid]' => [[maximum depth reached]],
'[repository]' => 'Locales'
},
(int) 2 => object(App\Model\Entity\Locale) {
'id' => '99c33239-48e4-4692-adb0-30a7c352e556',
'locale' => 'en',
'name' => 'English',
'position' => (int) 0,
'active' => true,
'flag' => 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAAA3QAAAN0BcFOiBwAAABl0RVh0U29mdHdhcmUAd3d3Lmlua3NjYXBlLm9yZ5vuPBoAAATuSURBVFiF7ZdrUNRlFMZ/+2dhXVoW5DJcAgTjamopziiWYuhMYpHGRUk0Gs1gIshboIYMoWNqahQyig41hJLXcgSvQ6VyS2WE1IBABRSZ5b673BZYdvtQ4QUYHb7QB55v7zlz5nnOvO+c57wivV7PSEIYUfZRAf8HAeJL65MbJ8UuvSQ2EveVPewy3naqxkPZ0SsZqmD+KxYPI9+0u9/iH+n9eNw8K6Uw5UKd4/k/ml98FqmrjVQd/65DhTg1015suzvFsuHM+SDV6nA8Q3xIWeHCrqxaUnPq6NbqBhR7jTdxBLx7coueTjk2tvWQW64aktja1IiNixxZ0ldDh1/CRM3tSgR1oD/CnWrGRsRQ89YnNBf9ReJiJ4q+9CJ4hhUi0bP6eTakRgIx/g4UhZmxMHk7qoBotOX3MF4ZiJDptwz1qTQ0Pt5I8q8jXfghle8nIGlt5eBH7vwS9yoz3UyHRSyIIPR1a4rXOhP56yE6fMPozilEMn8WlgWZyHfHICSdrcXvmJqL0bG0pu2hz9MFk9Pn0M8OoXRdMu5mcHbDJDKjPHG1kT43ue/LZuTFerKj/jdEc96jK+M0hpPdMM/ex9gju1Db2bMh8x4iArL7R6GLjZSEwHE45ediuf97qKsHK3OaVoXhuSYYvYFAVYMGVxspCrPpTxDaKK+ScKKaizdb2RrkyIziXNq3HUBX34yBvQ2yzRFIF89Ho9WTmlPH7uxa1F3aJwX8B283OYnv2GF8+CcsM46iV7ejc3VGGb2KCcvnAgwqoKpBg23JDdrjk9GW30MklyFbG4ZxRAhIjDh+tZEtJ6t50NzdXyc6kVs1qBkIgoiZrnI661tQXLn1iMhnMub2FoMK0LWo6L1R2h8znOKJYGEGQF1rN6W1nQN4REqlclhuNJiA4UBUjvuI2uGIj+JRASP+CMU5t1oHBCfYG2M39h9D1DUr6S0u688ZTp2AYD74aG6pbUZx+eYjUbMnYWxtTkGlGp1u8D7FQV//2X9wsJCwOdAJWzMJek0PnfuP0L4nHb26HbHHeGSJUdRoJTgP0Y25vQUKnQ6zbw8iVFbRK5dxd/kSTEIDiD9TR2GFekCNACCXivki2Inr27xYPN0SzbFzNE0Lpi0hBZFUgvybjdw8sBffPCnpVxRD0EOlogu3UF+sCw7TtGkNeokRFilpOASt4CvjuxyK9MDlKT8RIubZUbJjGp/62SNcLaH5jQ9QhSega1Ehi11JU1YGy5pcCEgqo7S2Y0hygMN59XjH3eDCbSUTY0IwuXaclpXLECnVWMZvZ0r0GjK8NOwMfQkLmSHw7yPUVlTTFr+X7vO5IAhIQ9+mK2oFW/La+TG/nsevb/UCexKCnIY0o6SztQDMdDNl6xJnpjrLaLijQJW4H5PsC6DTofHxpuezcDIVUsTqdTvpTD8F2j4k87wRx31McpWE5D1VdPUM3IieFwUVKuZuLSFouhXxgU64/pBAVW4wwvZ9jLlcyJj8ayxduABxZ9pJxBNdeSExiqMG4/gy/T71qp5hEz8OvR6O/97I6aJmwufZsd7fHfmZvZQduYxpUiryk1mIZXER17ThS2s///mBW6WiUe5mK8XNdujFw8rE6CFw32jWNO+nUoVWJkaOszxMB11Ki6vbiPzuTvemRePKPUN8OrUBrxnc2pE5RzT6NRsVMNIC/gaY0PLtJgQJ0gAAAABJRU5ErkJggg==',
'front' => true,
'[new]' => false,
'[accessible]' => [
[maximum depth reached]
],
'[dirty]' => [[maximum depth reached]],
'[original]' => [[maximum depth reached]],
'[virtual]' => [[maximum depth reached]],
'[hasErrors]' => false,
'[errors]' => [[maximum depth reached]],
'[invalid]' => [[maximum depth reached]],
'[repository]' => 'Locales'
},
(int) 3 => object(App\Model\Entity\Locale) {
'id' => 'a20c3c73-53c0-11e9-bb3d-7054d219d6c5',
'locale' => 'de',
'name' => 'Deutsch',
'position' => (int) 0,
'active' => true,
'flag' => 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgBAMAAACBVGfHAAAAA3NCSVQICAjb4U/gAAAACXBIWXMAAADdAAAA3QFwU6IHAAAAGXRFWHRTb2Z0d2FyZQB3d3cuaW5rc2NhcGUub3Jnm+48GgAAAB5QTFRF////SEhU/+BaRkZV/+FZwUlV/31WRkZV/0tV/+FagNv1tgAAAAd0Uk5TAFJSeHjAwPIGe2oAAAAqSURBVCjPY2FAAyzUEBBWQOH/Y0mhhS0YAvfQBYyHs7Xd6IF85w71bQEAwy4HmS9PAQYAAAAASUVORK5CYII=',
'front' => true,
'[new]' => false,
'[accessible]' => [
[maximum depth reached]
],
'[dirty]' => [[maximum depth reached]],
'[original]' => [[maximum depth reached]],
'[virtual]' => [[maximum depth reached]],
'[hasErrors]' => false,
'[errors]' => [[maximum depth reached]],
'[invalid]' => [[maximum depth reached]],
'[repository]' => 'Locales'
}
]
$session = object(Cake\Http\Session) {
[protected] _engine => null
[protected] _started => true
[protected] _lifetime => (int) 86400
[protected] _isCLI => false
}
$lng = 'la-maison'
$currentLocal = 'la-maison'
$settingsDB = object(SoftDelete\ORM\Query) {
'(help)' => 'This is a Query object, to get the results execute or iterate it.',
'sql' => 'SELECT Settings.id AS `Settings__id`, Settings.meta_key AS `Settings__meta_key`, Settings.meta_value AS `Settings__meta_value`, Settings.name AS `Settings__name`, Settings.description AS `Settings__description`, Settings.deleted AS `Settings__deleted`, Settings_meta_value_translation.id AS `Settings_meta_value_translation__id`, Settings_meta_value_translation.locale AS `Settings_meta_value_translation__locale`, Settings_meta_value_translation.model AS `Settings_meta_value_translation__model`, Settings_meta_value_translation.foreign_key AS `Settings_meta_value_translation__foreign_key`, Settings_meta_value_translation.field AS `Settings_meta_value_translation__field`, Settings_meta_value_translation.content AS `Settings_meta_value_translation__content`, Settings_name_translation.id AS `Settings_name_translation__id`, Settings_name_translation.locale AS `Settings_name_translation__locale`, Settings_name_translation.model AS `Settings_name_translation__model`, Settings_name_translation.foreign_key AS `Settings_name_translation__foreign_key`, Settings_name_translation.field AS `Settings_name_translation__field`, Settings_name_translation.content AS `Settings_name_translation__content`, Settings_description_translation.id AS `Settings_description_translation__id`, Settings_description_translation.locale AS `Settings_description_translation__locale`, Settings_description_translation.model AS `Settings_description_translation__model`, Settings_description_translation.foreign_key AS `Settings_description_translation__foreign_key`, Settings_description_translation.field AS `Settings_description_translation__field`, Settings_description_translation.content AS `Settings_description_translation__content` FROM settings Settings LEFT JOIN i18n Settings_meta_value_translation ON (Settings_meta_value_translation.model = :c0 AND Settings_meta_value_translation.field = :c1 AND Settings_meta_value_translation.locale = :c2 AND Settings.id = (Settings_meta_value_translation.foreign_key)) LEFT JOIN i18n Settings_name_translation ON (Settings_name_translation.model = :c3 AND Settings_name_translation.field = :c4 AND Settings_name_translation.locale = :c5 AND Settings.id = (Settings_name_translation.foreign_key)) LEFT JOIN i18n Settings_description_translation ON (Settings_description_translation.model = :c6 AND Settings_description_translation.field = :c7 AND Settings_description_translation.locale = :c8 AND Settings.id = (Settings_description_translation.foreign_key)) WHERE Settings.deleted IS NULL',
'params' => [
':c0' => [
[maximum depth reached]
],
':c1' => [
[maximum depth reached]
],
':c2' => [
[maximum depth reached]
],
':c3' => [
[maximum depth reached]
],
':c4' => [
[maximum depth reached]
],
':c5' => [
[maximum depth reached]
],
':c6' => [
[maximum depth reached]
],
':c7' => [
[maximum depth reached]
],
':c8' => [
[maximum depth reached]
]
],
'defaultTypes' => [
'Settings__id' => 'uuid',
'Settings.id' => 'uuid',
'id' => 'uuid',
'Settings__meta_key' => 'string',
'Settings.meta_key' => 'string',
'meta_key' => 'string',
'Settings__meta_value' => 'text',
'Settings.meta_value' => 'text',
'meta_value' => 'text',
'Settings__name' => 'string',
'Settings.name' => 'string',
'name' => 'string',
'Settings__description' => 'text',
'Settings.description' => 'text',
'description' => 'text',
'Settings__deleted' => 'datetime',
'Settings.deleted' => 'datetime',
'deleted' => 'datetime',
'I18n__id' => 'integer',
'I18n.id' => 'integer',
'I18n__locale' => 'string',
'I18n.locale' => 'string',
'locale' => 'string',
'I18n__model' => 'string',
'I18n.model' => 'string',
'model' => 'string',
'I18n__foreign_key' => 'uuid',
'I18n.foreign_key' => 'uuid',
'foreign_key' => 'uuid',
'I18n__field' => 'string',
'I18n.field' => 'string',
'field' => 'string',
'I18n__content' => 'text',
'I18n.content' => 'text',
'content' => 'text',
'Settings_meta_value_translation__id' => 'integer',
'Settings_meta_value_translation.id' => 'integer',
'Settings_meta_value_translation__locale' => 'string',
'Settings_meta_value_translation.locale' => 'string',
'Settings_meta_value_translation__model' => 'string',
'Settings_meta_value_translation.model' => 'string',
'Settings_meta_value_translation__foreign_key' => 'uuid',
'Settings_meta_value_translation.foreign_key' => 'uuid',
'Settings_meta_value_translation__field' => 'string',
'Settings_meta_value_translation.field' => 'string',
'Settings_meta_value_translation__content' => 'text',
'Settings_meta_value_translation.content' => 'text',
'Settings_name_translation__id' => 'integer',
'Settings_name_translation.id' => 'integer',
'Settings_name_translation__locale' => 'string',
'Settings_name_translation.locale' => 'string',
'Settings_name_translation__model' => 'string',
'Settings_name_translation.model' => 'string',
'Settings_name_translation__foreign_key' => 'uuid',
'Settings_name_translation.foreign_key' => 'uuid',
'Settings_name_translation__field' => 'string',
'Settings_name_translation.field' => 'string',
'Settings_name_translation__content' => 'text',
'Settings_name_translation.content' => 'text',
'Settings_description_translation__id' => 'integer',
'Settings_description_translation.id' => 'integer',
'Settings_description_translation__locale' => 'string',
'Settings_description_translation.locale' => 'string',
'Settings_description_translation__model' => 'string',
'Settings_description_translation.model' => 'string',
'Settings_description_translation__foreign_key' => 'uuid',
'Settings_description_translation.foreign_key' => 'uuid',
'Settings_description_translation__field' => 'string',
'Settings_description_translation.field' => 'string',
'Settings_description_translation__content' => 'text',
'Settings_description_translation.content' => 'text'
],
'decorators' => (int) 0,
'executed' => true,
'hydrate' => true,
'buffered' => true,
'formatters' => (int) 2,
'mapReducers' => (int) 0,
'contain' => [
'I18n' => [
[maximum depth reached]
],
'Settings_meta_value_translation' => [
[maximum depth reached]
],
'Settings_name_translation' => [
[maximum depth reached]
],
'Settings_description_translation' => [
[maximum depth reached]
]
],
'matching' => [],
'extraOptions' => [],
'repository' => object(App\Model\Table\SettingsTable) {}
}
$settings = [
'copyright' => null,
'facebook' => null,
'title_faq' => null,
'btn_discover_name' => null,
'btn_choose' => null,
'systempay_key' => null,
'partners_section_title' => null,
'assembly' => null
]
$titles = [
'copyright' => null,
'facebook' => null,
'title_faq' => null,
'btn_discover_name' => null,
'btn_choose' => null,
'systempay_key' => null,
'partners_section_title' => null,
'assembly' => null
]
$key = (int) 8
$s = object(App\Model\Entity\Setting) {
'id' => '20def908-b1a2-43fb-8d6b-7ede1ca82eee',
'meta_key' => 'team_section_title',
'meta_value' => '',
'name' => 'L'équipe',
'description' => '',
'deleted' => null,
'_locale' => 'la-maison',
'_translations' => [
'fr' => object(App\Model\Entity\Setting) {},
'en' => object(App\Model\Entity\Setting) {},
'es' => object(App\Model\Entity\Setting) {},
'pt' => object(App\Model\Entity\Setting) {},
'de' => object(App\Model\Entity\Setting) {},
'it' => object(App\Model\Entity\Setting) {}
],
'[new]' => false,
'[accessible]' => [
'meta_key' => true,
'meta_value' => true,
'name' => true,
'description' => true
],
'[dirty]' => [],
'[original]' => [],
'[virtual]' => [],
'[hasErrors]' => false,
'[errors]' => [],
'[invalid]' => [],
'[repository]' => 'Settings'
}
App\Controller\AppController::initialize() - APP/Controller/AppController.php, line 110
App\Controller\PagesController::initialize() - APP/Controller/PagesController.php, line 38
Cake\Controller\Controller::__construct() - CORE/src/Controller/Controller.php, line 273
ReflectionClass::newInstance() - [internal], line ??
Cake\Http\ControllerFactory::create() - CORE/src/Http/ControllerFactory.php, line 47
Cake\Http\ActionDispatcher::dispatch() - CORE/src/Http/ActionDispatcher.php, line 91
Cake\Http\BaseApplication::__invoke() - CORE/src/Http/BaseApplication.php, line 235
Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65
Cake\Routing\Middleware\RoutingMiddleware::__invoke() - CORE/src/Routing/Middleware/RoutingMiddleware.php, line 162
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 96
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 98
[main] - ROOT/webroot/index.php, line 40
Notice (8): Undefined index: la-maison [APP/Controller/AppController.php, line 111]Code Context $settings[$s->meta_key] = $s->_translations[$this->getCurrentLocale()]->meta_value;
$titles[$s->meta_key] = $s->_translations[$this->getCurrentLocale()]->name;
}
$locales = [
(int) 0 => object(App\Model\Entity\Locale) {
'id' => 'c79e08dd-4b98-40da-812f-166a5627cafe',
'locale' => 'fr',
'name' => 'French',
'position' => (int) 1,
'active' => true,
'flag' => 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgBAMAAACBVGfHAAAAA3NCSVQICAjb4U/gAAAACXBIWXMAAADdAAAA3QFwU6IHAAAAGXRFWHRTb2Z0d2FyZQB3d3cuaW5rc2NhcGUub3Jnm+48GgAAACdQTFRF////QUib/0tUh4y+/XiAQkab9PT0/0pVkpTC/mRtQUeb9fX1/0tVpPINxQAAAAp0Uk5TAFJSamp4eHjGxmzCt2wAAAArSURBVCjPY2RAA4zUEBB1AJIPDYDEP2Eg8ZtxFQOKAMOoAOUCGIFMi6gEAD39PvX2T/ZKAAAAAElFTkSuQmCC',
'front' => true,
'[new]' => false,
'[accessible]' => [
[maximum depth reached]
],
'[dirty]' => [[maximum depth reached]],
'[original]' => [[maximum depth reached]],
'[virtual]' => [[maximum depth reached]],
'[hasErrors]' => false,
'[errors]' => [[maximum depth reached]],
'[invalid]' => [[maximum depth reached]],
'[repository]' => 'Locales'
},
(int) 1 => object(App\Model\Entity\Locale) {
'id' => '073aae08-53c1-11e9-bb3d-7054d219d6c5',
'locale' => 'es',
'name' => 'Español',
'position' => (int) 0,
'active' => true,
'flag' => 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAMAAABEpIrGAAAAA3NCSVQICAjb4U/gAAAACXBIWXMAAADdAAAA3QFwU6IHAAAAGXRFWHRTb2Z0d2FyZQB3d3cuaW5rc2NhcGUub3Jnm+48GgAAARpQTFRF////x0FLyEJKgXaZoI6wuKV1watwyEFLy0pLzntc0rZn1GJZ1WVW1bhm1mxd13JW13Vx2nFQ229L23JN23xM3IyF3I+V3JKY3Y2G3nVJ33dJ34Zs4JOA4XhH4X9Q4ZV845Bk5JJi5LG15aWL5btz5b185pFh5pRk5pZs5px558Nc6ItI6KR16cFp6pBI66lx7ZxQ7aNO7q1h7rR17tjW76BO78BX8KpP8LJk8buC8stZ9LhX9Net9PPz9efR9fHz9fX198BY98dz98xX99/s9+Lt9+3R+MVe+N2d+dOA+deU+eat+sBQ+stf+8hm+8xZ+9Bw/Lzd/MtQ/N2E/N6G/dlx/sxP/s5R/tRa/tZk/tdp/9JQ/9JR/9NThpihEAAAAAN0Uk5TAFJ4LCUCBgAAAKRJREFUOI1jYBgKgJEJL2BkYCcAqKCAgwBgiCYAYApiQ/xCY/AoiLGR4Vb2wKkgyDxaUVhI0CjaEIcCH1N3aTVLL+9wgzDsCoLtdLS1lQJdoxwisCvQF+WTFWFxsVcQs8auwFjCSY6TmZ/HQtwRuwJPtwApKU09SV9bf+wKdFWc1TVMBOStVM2wK2Bj1YqODI6I5mXlwq4AHyAcWXRIMAQT7VAAACQKgMq9uRSqAAAAAElFTkSuQmCC',
'front' => true,
'[new]' => false,
'[accessible]' => [
[maximum depth reached]
],
'[dirty]' => [[maximum depth reached]],
'[original]' => [[maximum depth reached]],
'[virtual]' => [[maximum depth reached]],
'[hasErrors]' => false,
'[errors]' => [[maximum depth reached]],
'[invalid]' => [[maximum depth reached]],
'[repository]' => 'Locales'
},
(int) 2 => object(App\Model\Entity\Locale) {
'id' => '99c33239-48e4-4692-adb0-30a7c352e556',
'locale' => 'en',
'name' => 'English',
'position' => (int) 0,
'active' => true,
'flag' => 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAAA3QAAAN0BcFOiBwAAABl0RVh0U29mdHdhcmUAd3d3Lmlua3NjYXBlLm9yZ5vuPBoAAATuSURBVFiF7ZdrUNRlFMZ/+2dhXVoW5DJcAgTjamopziiWYuhMYpHGRUk0Gs1gIshboIYMoWNqahQyig41hJLXcgSvQ6VyS2WE1IBABRSZ5b673BZYdvtQ4QUYHb7QB55v7zlz5nnOvO+c57wivV7PSEIYUfZRAf8HAeJL65MbJ8UuvSQ2EveVPewy3naqxkPZ0SsZqmD+KxYPI9+0u9/iH+n9eNw8K6Uw5UKd4/k/ml98FqmrjVQd/65DhTg1015suzvFsuHM+SDV6nA8Q3xIWeHCrqxaUnPq6NbqBhR7jTdxBLx7coueTjk2tvWQW64aktja1IiNixxZ0ldDh1/CRM3tSgR1oD/CnWrGRsRQ89YnNBf9ReJiJ4q+9CJ4hhUi0bP6eTakRgIx/g4UhZmxMHk7qoBotOX3MF4ZiJDptwz1qTQ0Pt5I8q8jXfghle8nIGlt5eBH7vwS9yoz3UyHRSyIIPR1a4rXOhP56yE6fMPozilEMn8WlgWZyHfHICSdrcXvmJqL0bG0pu2hz9MFk9Pn0M8OoXRdMu5mcHbDJDKjPHG1kT43ue/LZuTFerKj/jdEc96jK+M0hpPdMM/ex9gju1Db2bMh8x4iArL7R6GLjZSEwHE45ediuf97qKsHK3OaVoXhuSYYvYFAVYMGVxspCrPpTxDaKK+ScKKaizdb2RrkyIziXNq3HUBX34yBvQ2yzRFIF89Ho9WTmlPH7uxa1F3aJwX8B283OYnv2GF8+CcsM46iV7ejc3VGGb2KCcvnAgwqoKpBg23JDdrjk9GW30MklyFbG4ZxRAhIjDh+tZEtJ6t50NzdXyc6kVs1qBkIgoiZrnI661tQXLn1iMhnMub2FoMK0LWo6L1R2h8znOKJYGEGQF1rN6W1nQN4REqlclhuNJiA4UBUjvuI2uGIj+JRASP+CMU5t1oHBCfYG2M39h9D1DUr6S0u688ZTp2AYD74aG6pbUZx+eYjUbMnYWxtTkGlGp1u8D7FQV//2X9wsJCwOdAJWzMJek0PnfuP0L4nHb26HbHHeGSJUdRoJTgP0Y25vQUKnQ6zbw8iVFbRK5dxd/kSTEIDiD9TR2GFekCNACCXivki2Inr27xYPN0SzbFzNE0Lpi0hBZFUgvybjdw8sBffPCnpVxRD0EOlogu3UF+sCw7TtGkNeokRFilpOASt4CvjuxyK9MDlKT8RIubZUbJjGp/62SNcLaH5jQ9QhSega1Ehi11JU1YGy5pcCEgqo7S2Y0hygMN59XjH3eDCbSUTY0IwuXaclpXLECnVWMZvZ0r0GjK8NOwMfQkLmSHw7yPUVlTTFr+X7vO5IAhIQ9+mK2oFW/La+TG/nsevb/UCexKCnIY0o6SztQDMdDNl6xJnpjrLaLijQJW4H5PsC6DTofHxpuezcDIVUsTqdTvpTD8F2j4k87wRx31McpWE5D1VdPUM3IieFwUVKuZuLSFouhXxgU64/pBAVW4wwvZ9jLlcyJj8ayxduABxZ9pJxBNdeSExiqMG4/gy/T71qp5hEz8OvR6O/97I6aJmwufZsd7fHfmZvZQduYxpUiryk1mIZXER17ThS2s///mBW6WiUe5mK8XNdujFw8rE6CFw32jWNO+nUoVWJkaOszxMB11Ki6vbiPzuTvemRePKPUN8OrUBrxnc2pE5RzT6NRsVMNIC/gaY0PLtJgQJ0gAAAABJRU5ErkJggg==',
'front' => true,
'[new]' => false,
'[accessible]' => [
[maximum depth reached]
],
'[dirty]' => [[maximum depth reached]],
'[original]' => [[maximum depth reached]],
'[virtual]' => [[maximum depth reached]],
'[hasErrors]' => false,
'[errors]' => [[maximum depth reached]],
'[invalid]' => [[maximum depth reached]],
'[repository]' => 'Locales'
},
(int) 3 => object(App\Model\Entity\Locale) {
'id' => 'a20c3c73-53c0-11e9-bb3d-7054d219d6c5',
'locale' => 'de',
'name' => 'Deutsch',
'position' => (int) 0,
'active' => true,
'flag' => 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgBAMAAACBVGfHAAAAA3NCSVQICAjb4U/gAAAACXBIWXMAAADdAAAA3QFwU6IHAAAAGXRFWHRTb2Z0d2FyZQB3d3cuaW5rc2NhcGUub3Jnm+48GgAAAB5QTFRF////SEhU/+BaRkZV/+FZwUlV/31WRkZV/0tV/+FagNv1tgAAAAd0Uk5TAFJSeHjAwPIGe2oAAAAqSURBVCjPY2FAAyzUEBBWQOH/Y0mhhS0YAvfQBYyHs7Xd6IF85w71bQEAwy4HmS9PAQYAAAAASUVORK5CYII=',
'front' => true,
'[new]' => false,
'[accessible]' => [
[maximum depth reached]
],
'[dirty]' => [[maximum depth reached]],
'[original]' => [[maximum depth reached]],
'[virtual]' => [[maximum depth reached]],
'[hasErrors]' => false,
'[errors]' => [[maximum depth reached]],
'[invalid]' => [[maximum depth reached]],
'[repository]' => 'Locales'
}
]
$session = object(Cake\Http\Session) {
[protected] _engine => null
[protected] _started => true
[protected] _lifetime => (int) 86400
[protected] _isCLI => false
}
$lng = 'la-maison'
$currentLocal = 'la-maison'
$settingsDB = object(SoftDelete\ORM\Query) {
'(help)' => 'This is a Query object, to get the results execute or iterate it.',
'sql' => 'SELECT Settings.id AS `Settings__id`, Settings.meta_key AS `Settings__meta_key`, Settings.meta_value AS `Settings__meta_value`, Settings.name AS `Settings__name`, Settings.description AS `Settings__description`, Settings.deleted AS `Settings__deleted`, Settings_meta_value_translation.id AS `Settings_meta_value_translation__id`, Settings_meta_value_translation.locale AS `Settings_meta_value_translation__locale`, Settings_meta_value_translation.model AS `Settings_meta_value_translation__model`, Settings_meta_value_translation.foreign_key AS `Settings_meta_value_translation__foreign_key`, Settings_meta_value_translation.field AS `Settings_meta_value_translation__field`, Settings_meta_value_translation.content AS `Settings_meta_value_translation__content`, Settings_name_translation.id AS `Settings_name_translation__id`, Settings_name_translation.locale AS `Settings_name_translation__locale`, Settings_name_translation.model AS `Settings_name_translation__model`, Settings_name_translation.foreign_key AS `Settings_name_translation__foreign_key`, Settings_name_translation.field AS `Settings_name_translation__field`, Settings_name_translation.content AS `Settings_name_translation__content`, Settings_description_translation.id AS `Settings_description_translation__id`, Settings_description_translation.locale AS `Settings_description_translation__locale`, Settings_description_translation.model AS `Settings_description_translation__model`, Settings_description_translation.foreign_key AS `Settings_description_translation__foreign_key`, Settings_description_translation.field AS `Settings_description_translation__field`, Settings_description_translation.content AS `Settings_description_translation__content` FROM settings Settings LEFT JOIN i18n Settings_meta_value_translation ON (Settings_meta_value_translation.model = :c0 AND Settings_meta_value_translation.field = :c1 AND Settings_meta_value_translation.locale = :c2 AND Settings.id = (Settings_meta_value_translation.foreign_key)) LEFT JOIN i18n Settings_name_translation ON (Settings_name_translation.model = :c3 AND Settings_name_translation.field = :c4 AND Settings_name_translation.locale = :c5 AND Settings.id = (Settings_name_translation.foreign_key)) LEFT JOIN i18n Settings_description_translation ON (Settings_description_translation.model = :c6 AND Settings_description_translation.field = :c7 AND Settings_description_translation.locale = :c8 AND Settings.id = (Settings_description_translation.foreign_key)) WHERE Settings.deleted IS NULL',
'params' => [
':c0' => [
[maximum depth reached]
],
':c1' => [
[maximum depth reached]
],
':c2' => [
[maximum depth reached]
],
':c3' => [
[maximum depth reached]
],
':c4' => [
[maximum depth reached]
],
':c5' => [
[maximum depth reached]
],
':c6' => [
[maximum depth reached]
],
':c7' => [
[maximum depth reached]
],
':c8' => [
[maximum depth reached]
]
],
'defaultTypes' => [
'Settings__id' => 'uuid',
'Settings.id' => 'uuid',
'id' => 'uuid',
'Settings__meta_key' => 'string',
'Settings.meta_key' => 'string',
'meta_key' => 'string',
'Settings__meta_value' => 'text',
'Settings.meta_value' => 'text',
'meta_value' => 'text',
'Settings__name' => 'string',
'Settings.name' => 'string',
'name' => 'string',
'Settings__description' => 'text',
'Settings.description' => 'text',
'description' => 'text',
'Settings__deleted' => 'datetime',
'Settings.deleted' => 'datetime',
'deleted' => 'datetime',
'I18n__id' => 'integer',
'I18n.id' => 'integer',
'I18n__locale' => 'string',
'I18n.locale' => 'string',
'locale' => 'string',
'I18n__model' => 'string',
'I18n.model' => 'string',
'model' => 'string',
'I18n__foreign_key' => 'uuid',
'I18n.foreign_key' => 'uuid',
'foreign_key' => 'uuid',
'I18n__field' => 'string',
'I18n.field' => 'string',
'field' => 'string',
'I18n__content' => 'text',
'I18n.content' => 'text',
'content' => 'text',
'Settings_meta_value_translation__id' => 'integer',
'Settings_meta_value_translation.id' => 'integer',
'Settings_meta_value_translation__locale' => 'string',
'Settings_meta_value_translation.locale' => 'string',
'Settings_meta_value_translation__model' => 'string',
'Settings_meta_value_translation.model' => 'string',
'Settings_meta_value_translation__foreign_key' => 'uuid',
'Settings_meta_value_translation.foreign_key' => 'uuid',
'Settings_meta_value_translation__field' => 'string',
'Settings_meta_value_translation.field' => 'string',
'Settings_meta_value_translation__content' => 'text',
'Settings_meta_value_translation.content' => 'text',
'Settings_name_translation__id' => 'integer',
'Settings_name_translation.id' => 'integer',
'Settings_name_translation__locale' => 'string',
'Settings_name_translation.locale' => 'string',
'Settings_name_translation__model' => 'string',
'Settings_name_translation.model' => 'string',
'Settings_name_translation__foreign_key' => 'uuid',
'Settings_name_translation.foreign_key' => 'uuid',
'Settings_name_translation__field' => 'string',
'Settings_name_translation.field' => 'string',
'Settings_name_translation__content' => 'text',
'Settings_name_translation.content' => 'text',
'Settings_description_translation__id' => 'integer',
'Settings_description_translation.id' => 'integer',
'Settings_description_translation__locale' => 'string',
'Settings_description_translation.locale' => 'string',
'Settings_description_translation__model' => 'string',
'Settings_description_translation.model' => 'string',
'Settings_description_translation__foreign_key' => 'uuid',
'Settings_description_translation.foreign_key' => 'uuid',
'Settings_description_translation__field' => 'string',
'Settings_description_translation.field' => 'string',
'Settings_description_translation__content' => 'text',
'Settings_description_translation.content' => 'text'
],
'decorators' => (int) 0,
'executed' => true,
'hydrate' => true,
'buffered' => true,
'formatters' => (int) 2,
'mapReducers' => (int) 0,
'contain' => [
'I18n' => [
[maximum depth reached]
],
'Settings_meta_value_translation' => [
[maximum depth reached]
],
'Settings_name_translation' => [
[maximum depth reached]
],
'Settings_description_translation' => [
[maximum depth reached]
]
],
'matching' => [],
'extraOptions' => [],
'repository' => object(App\Model\Table\SettingsTable) {}
}
$settings = [
'copyright' => null,
'facebook' => null,
'title_faq' => null,
'btn_discover_name' => null,
'btn_choose' => null,
'systempay_key' => null,
'partners_section_title' => null,
'assembly' => null,
'team_section_title' => null
]
$titles = [
'copyright' => null,
'facebook' => null,
'title_faq' => null,
'btn_discover_name' => null,
'btn_choose' => null,
'systempay_key' => null,
'partners_section_title' => null,
'assembly' => null
]
$key = (int) 8
$s = object(App\Model\Entity\Setting) {
'id' => '20def908-b1a2-43fb-8d6b-7ede1ca82eee',
'meta_key' => 'team_section_title',
'meta_value' => '',
'name' => 'L'équipe',
'description' => '',
'deleted' => null,
'_locale' => 'la-maison',
'_translations' => [
'fr' => object(App\Model\Entity\Setting) {},
'en' => object(App\Model\Entity\Setting) {},
'es' => object(App\Model\Entity\Setting) {},
'pt' => object(App\Model\Entity\Setting) {},
'de' => object(App\Model\Entity\Setting) {},
'it' => object(App\Model\Entity\Setting) {}
],
'[new]' => false,
'[accessible]' => [
'meta_key' => true,
'meta_value' => true,
'name' => true,
'description' => true
],
'[dirty]' => [],
'[original]' => [],
'[virtual]' => [],
'[hasErrors]' => false,
'[errors]' => [],
'[invalid]' => [],
'[repository]' => 'Settings'
}
App\Controller\AppController::initialize() - APP/Controller/AppController.php, line 111
App\Controller\PagesController::initialize() - APP/Controller/PagesController.php, line 38
Cake\Controller\Controller::__construct() - CORE/src/Controller/Controller.php, line 273
ReflectionClass::newInstance() - [internal], line ??
Cake\Http\ControllerFactory::create() - CORE/src/Http/ControllerFactory.php, line 47
Cake\Http\ActionDispatcher::dispatch() - CORE/src/Http/ActionDispatcher.php, line 91
Cake\Http\BaseApplication::__invoke() - CORE/src/Http/BaseApplication.php, line 235
Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65
Cake\Routing\Middleware\RoutingMiddleware::__invoke() - CORE/src/Routing/Middleware/RoutingMiddleware.php, line 162
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 96
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 98
[main] - ROOT/webroot/index.php, line 40
Notice (8): Trying to get property of non-object [APP/Controller/AppController.php, line 111]Code Context $settings[$s->meta_key] = $s->_translations[$this->getCurrentLocale()]->meta_value;
$titles[$s->meta_key] = $s->_translations[$this->getCurrentLocale()]->name;
}
$locales = [
(int) 0 => object(App\Model\Entity\Locale) {
'id' => 'c79e08dd-4b98-40da-812f-166a5627cafe',
'locale' => 'fr',
'name' => 'French',
'position' => (int) 1,
'active' => true,
'flag' => 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgBAMAAACBVGfHAAAAA3NCSVQICAjb4U/gAAAACXBIWXMAAADdAAAA3QFwU6IHAAAAGXRFWHRTb2Z0d2FyZQB3d3cuaW5rc2NhcGUub3Jnm+48GgAAACdQTFRF////QUib/0tUh4y+/XiAQkab9PT0/0pVkpTC/mRtQUeb9fX1/0tVpPINxQAAAAp0Uk5TAFJSamp4eHjGxmzCt2wAAAArSURBVCjPY2RAA4zUEBB1AJIPDYDEP2Eg8ZtxFQOKAMOoAOUCGIFMi6gEAD39PvX2T/ZKAAAAAElFTkSuQmCC',
'front' => true,
'[new]' => false,
'[accessible]' => [
[maximum depth reached]
],
'[dirty]' => [[maximum depth reached]],
'[original]' => [[maximum depth reached]],
'[virtual]' => [[maximum depth reached]],
'[hasErrors]' => false,
'[errors]' => [[maximum depth reached]],
'[invalid]' => [[maximum depth reached]],
'[repository]' => 'Locales'
},
(int) 1 => object(App\Model\Entity\Locale) {
'id' => '073aae08-53c1-11e9-bb3d-7054d219d6c5',
'locale' => 'es',
'name' => 'Español',
'position' => (int) 0,
'active' => true,
'flag' => 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAMAAABEpIrGAAAAA3NCSVQICAjb4U/gAAAACXBIWXMAAADdAAAA3QFwU6IHAAAAGXRFWHRTb2Z0d2FyZQB3d3cuaW5rc2NhcGUub3Jnm+48GgAAARpQTFRF////x0FLyEJKgXaZoI6wuKV1watwyEFLy0pLzntc0rZn1GJZ1WVW1bhm1mxd13JW13Vx2nFQ229L23JN23xM3IyF3I+V3JKY3Y2G3nVJ33dJ34Zs4JOA4XhH4X9Q4ZV845Bk5JJi5LG15aWL5btz5b185pFh5pRk5pZs5px558Nc6ItI6KR16cFp6pBI66lx7ZxQ7aNO7q1h7rR17tjW76BO78BX8KpP8LJk8buC8stZ9LhX9Net9PPz9efR9fHz9fX198BY98dz98xX99/s9+Lt9+3R+MVe+N2d+dOA+deU+eat+sBQ+stf+8hm+8xZ+9Bw/Lzd/MtQ/N2E/N6G/dlx/sxP/s5R/tRa/tZk/tdp/9JQ/9JR/9NThpihEAAAAAN0Uk5TAFJ4LCUCBgAAAKRJREFUOI1jYBgKgJEJL2BkYCcAqKCAgwBgiCYAYApiQ/xCY/AoiLGR4Vb2wKkgyDxaUVhI0CjaEIcCH1N3aTVLL+9wgzDsCoLtdLS1lQJdoxwisCvQF+WTFWFxsVcQs8auwFjCSY6TmZ/HQtwRuwJPtwApKU09SV9bf+wKdFWc1TVMBOStVM2wK2Bj1YqODI6I5mXlwq4AHyAcWXRIMAQT7VAAACQKgMq9uRSqAAAAAElFTkSuQmCC',
'front' => true,
'[new]' => false,
'[accessible]' => [
[maximum depth reached]
],
'[dirty]' => [[maximum depth reached]],
'[original]' => [[maximum depth reached]],
'[virtual]' => [[maximum depth reached]],
'[hasErrors]' => false,
'[errors]' => [[maximum depth reached]],
'[invalid]' => [[maximum depth reached]],
'[repository]' => 'Locales'
},
(int) 2 => object(App\Model\Entity\Locale) {
'id' => '99c33239-48e4-4692-adb0-30a7c352e556',
'locale' => 'en',
'name' => 'English',
'position' => (int) 0,
'active' => true,
'flag' => 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAAA3QAAAN0BcFOiBwAAABl0RVh0U29mdHdhcmUAd3d3Lmlua3NjYXBlLm9yZ5vuPBoAAATuSURBVFiF7ZdrUNRlFMZ/+2dhXVoW5DJcAgTjamopziiWYuhMYpHGRUk0Gs1gIshboIYMoWNqahQyig41hJLXcgSvQ6VyS2WE1IBABRSZ5b673BZYdvtQ4QUYHb7QB55v7zlz5nnOvO+c57wivV7PSEIYUfZRAf8HAeJL65MbJ8UuvSQ2EveVPewy3naqxkPZ0SsZqmD+KxYPI9+0u9/iH+n9eNw8K6Uw5UKd4/k/ml98FqmrjVQd/65DhTg1015suzvFsuHM+SDV6nA8Q3xIWeHCrqxaUnPq6NbqBhR7jTdxBLx7coueTjk2tvWQW64aktja1IiNixxZ0ldDh1/CRM3tSgR1oD/CnWrGRsRQ89YnNBf9ReJiJ4q+9CJ4hhUi0bP6eTakRgIx/g4UhZmxMHk7qoBotOX3MF4ZiJDptwz1qTQ0Pt5I8q8jXfghle8nIGlt5eBH7vwS9yoz3UyHRSyIIPR1a4rXOhP56yE6fMPozilEMn8WlgWZyHfHICSdrcXvmJqL0bG0pu2hz9MFk9Pn0M8OoXRdMu5mcHbDJDKjPHG1kT43ue/LZuTFerKj/jdEc96jK+M0hpPdMM/ex9gju1Db2bMh8x4iArL7R6GLjZSEwHE45ediuf97qKsHK3OaVoXhuSYYvYFAVYMGVxspCrPpTxDaKK+ScKKaizdb2RrkyIziXNq3HUBX34yBvQ2yzRFIF89Ho9WTmlPH7uxa1F3aJwX8B283OYnv2GF8+CcsM46iV7ejc3VGGb2KCcvnAgwqoKpBg23JDdrjk9GW30MklyFbG4ZxRAhIjDh+tZEtJ6t50NzdXyc6kVs1qBkIgoiZrnI661tQXLn1iMhnMub2FoMK0LWo6L1R2h8znOKJYGEGQF1rN6W1nQN4REqlclhuNJiA4UBUjvuI2uGIj+JRASP+CMU5t1oHBCfYG2M39h9D1DUr6S0u688ZTp2AYD74aG6pbUZx+eYjUbMnYWxtTkGlGp1u8D7FQV//2X9wsJCwOdAJWzMJek0PnfuP0L4nHb26HbHHeGSJUdRoJTgP0Y25vQUKnQ6zbw8iVFbRK5dxd/kSTEIDiD9TR2GFekCNACCXivki2Inr27xYPN0SzbFzNE0Lpi0hBZFUgvybjdw8sBffPCnpVxRD0EOlogu3UF+sCw7TtGkNeokRFilpOASt4CvjuxyK9MDlKT8RIubZUbJjGp/62SNcLaH5jQ9QhSega1Ehi11JU1YGy5pcCEgqo7S2Y0hygMN59XjH3eDCbSUTY0IwuXaclpXLECnVWMZvZ0r0GjK8NOwMfQkLmSHw7yPUVlTTFr+X7vO5IAhIQ9+mK2oFW/La+TG/nsevb/UCexKCnIY0o6SztQDMdDNl6xJnpjrLaLijQJW4H5PsC6DTofHxpuezcDIVUsTqdTvpTD8F2j4k87wRx31McpWE5D1VdPUM3IieFwUVKuZuLSFouhXxgU64/pBAVW4wwvZ9jLlcyJj8ayxduABxZ9pJxBNdeSExiqMG4/gy/T71qp5hEz8OvR6O/97I6aJmwufZsd7fHfmZvZQduYxpUiryk1mIZXER17ThS2s///mBW6WiUe5mK8XNdujFw8rE6CFw32jWNO+nUoVWJkaOszxMB11Ki6vbiPzuTvemRePKPUN8OrUBrxnc2pE5RzT6NRsVMNIC/gaY0PLtJgQJ0gAAAABJRU5ErkJggg==',
'front' => true,
'[new]' => false,
'[accessible]' => [
[maximum depth reached]
],
'[dirty]' => [[maximum depth reached]],
'[original]' => [[maximum depth reached]],
'[virtual]' => [[maximum depth reached]],
'[hasErrors]' => false,
'[errors]' => [[maximum depth reached]],
'[invalid]' => [[maximum depth reached]],
'[repository]' => 'Locales'
},
(int) 3 => object(App\Model\Entity\Locale) {
'id' => 'a20c3c73-53c0-11e9-bb3d-7054d219d6c5',
'locale' => 'de',
'name' => 'Deutsch',
'position' => (int) 0,
'active' => true,
'flag' => 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgBAMAAACBVGfHAAAAA3NCSVQICAjb4U/gAAAACXBIWXMAAADdAAAA3QFwU6IHAAAAGXRFWHRTb2Z0d2FyZQB3d3cuaW5rc2NhcGUub3Jnm+48GgAAAB5QTFRF////SEhU/+BaRkZV/+FZwUlV/31WRkZV/0tV/+FagNv1tgAAAAd0Uk5TAFJSeHjAwPIGe2oAAAAqSURBVCjPY2FAAyzUEBBWQOH/Y0mhhS0YAvfQBYyHs7Xd6IF85w71bQEAwy4HmS9PAQYAAAAASUVORK5CYII=',
'front' => true,
'[new]' => false,
'[accessible]' => [
[maximum depth reached]
],
'[dirty]' => [[maximum depth reached]],
'[original]' => [[maximum depth reached]],
'[virtual]' => [[maximum depth reached]],
'[hasErrors]' => false,
'[errors]' => [[maximum depth reached]],
'[invalid]' => [[maximum depth reached]],
'[repository]' => 'Locales'
}
]
$session = object(Cake\Http\Session) {
[protected] _engine => null
[protected] _started => true
[protected] _lifetime => (int) 86400
[protected] _isCLI => false
}
$lng = 'la-maison'
$currentLocal = 'la-maison'
$settingsDB = object(SoftDelete\ORM\Query) {
'(help)' => 'This is a Query object, to get the results execute or iterate it.',
'sql' => 'SELECT Settings.id AS `Settings__id`, Settings.meta_key AS `Settings__meta_key`, Settings.meta_value AS `Settings__meta_value`, Settings.name AS `Settings__name`, Settings.description AS `Settings__description`, Settings.deleted AS `Settings__deleted`, Settings_meta_value_translation.id AS `Settings_meta_value_translation__id`, Settings_meta_value_translation.locale AS `Settings_meta_value_translation__locale`, Settings_meta_value_translation.model AS `Settings_meta_value_translation__model`, Settings_meta_value_translation.foreign_key AS `Settings_meta_value_translation__foreign_key`, Settings_meta_value_translation.field AS `Settings_meta_value_translation__field`, Settings_meta_value_translation.content AS `Settings_meta_value_translation__content`, Settings_name_translation.id AS `Settings_name_translation__id`, Settings_name_translation.locale AS `Settings_name_translation__locale`, Settings_name_translation.model AS `Settings_name_translation__model`, Settings_name_translation.foreign_key AS `Settings_name_translation__foreign_key`, Settings_name_translation.field AS `Settings_name_translation__field`, Settings_name_translation.content AS `Settings_name_translation__content`, Settings_description_translation.id AS `Settings_description_translation__id`, Settings_description_translation.locale AS `Settings_description_translation__locale`, Settings_description_translation.model AS `Settings_description_translation__model`, Settings_description_translation.foreign_key AS `Settings_description_translation__foreign_key`, Settings_description_translation.field AS `Settings_description_translation__field`, Settings_description_translation.content AS `Settings_description_translation__content` FROM settings Settings LEFT JOIN i18n Settings_meta_value_translation ON (Settings_meta_value_translation.model = :c0 AND Settings_meta_value_translation.field = :c1 AND Settings_meta_value_translation.locale = :c2 AND Settings.id = (Settings_meta_value_translation.foreign_key)) LEFT JOIN i18n Settings_name_translation ON (Settings_name_translation.model = :c3 AND Settings_name_translation.field = :c4 AND Settings_name_translation.locale = :c5 AND Settings.id = (Settings_name_translation.foreign_key)) LEFT JOIN i18n Settings_description_translation ON (Settings_description_translation.model = :c6 AND Settings_description_translation.field = :c7 AND Settings_description_translation.locale = :c8 AND Settings.id = (Settings_description_translation.foreign_key)) WHERE Settings.deleted IS NULL',
'params' => [
':c0' => [
[maximum depth reached]
],
':c1' => [
[maximum depth reached]
],
':c2' => [
[maximum depth reached]
],
':c3' => [
[maximum depth reached]
],
':c4' => [
[maximum depth reached]
],
':c5' => [
[maximum depth reached]
],
':c6' => [
[maximum depth reached]
],
':c7' => [
[maximum depth reached]
],
':c8' => [
[maximum depth reached]
]
],
'defaultTypes' => [
'Settings__id' => 'uuid',
'Settings.id' => 'uuid',
'id' => 'uuid',
'Settings__meta_key' => 'string',
'Settings.meta_key' => 'string',
'meta_key' => 'string',
'Settings__meta_value' => 'text',
'Settings.meta_value' => 'text',
'meta_value' => 'text',
'Settings__name' => 'string',
'Settings.name' => 'string',
'name' => 'string',
'Settings__description' => 'text',
'Settings.description' => 'text',
'description' => 'text',
'Settings__deleted' => 'datetime',
'Settings.deleted' => 'datetime',
'deleted' => 'datetime',
'I18n__id' => 'integer',
'I18n.id' => 'integer',
'I18n__locale' => 'string',
'I18n.locale' => 'string',
'locale' => 'string',
'I18n__model' => 'string',
'I18n.model' => 'string',
'model' => 'string',
'I18n__foreign_key' => 'uuid',
'I18n.foreign_key' => 'uuid',
'foreign_key' => 'uuid',
'I18n__field' => 'string',
'I18n.field' => 'string',
'field' => 'string',
'I18n__content' => 'text',
'I18n.content' => 'text',
'content' => 'text',
'Settings_meta_value_translation__id' => 'integer',
'Settings_meta_value_translation.id' => 'integer',
'Settings_meta_value_translation__locale' => 'string',
'Settings_meta_value_translation.locale' => 'string',
'Settings_meta_value_translation__model' => 'string',
'Settings_meta_value_translation.model' => 'string',
'Settings_meta_value_translation__foreign_key' => 'uuid',
'Settings_meta_value_translation.foreign_key' => 'uuid',
'Settings_meta_value_translation__field' => 'string',
'Settings_meta_value_translation.field' => 'string',
'Settings_meta_value_translation__content' => 'text',
'Settings_meta_value_translation.content' => 'text',
'Settings_name_translation__id' => 'integer',
'Settings_name_translation.id' => 'integer',
'Settings_name_translation__locale' => 'string',
'Settings_name_translation.locale' => 'string',
'Settings_name_translation__model' => 'string',
'Settings_name_translation.model' => 'string',
'Settings_name_translation__foreign_key' => 'uuid',
'Settings_name_translation.foreign_key' => 'uuid',
'Settings_name_translation__field' => 'string',
'Settings_name_translation.field' => 'string',
'Settings_name_translation__content' => 'text',
'Settings_name_translation.content' => 'text',
'Settings_description_translation__id' => 'integer',
'Settings_description_translation.id' => 'integer',
'Settings_description_translation__locale' => 'string',
'Settings_description_translation.locale' => 'string',
'Settings_description_translation__model' => 'string',
'Settings_description_translation.model' => 'string',
'Settings_description_translation__foreign_key' => 'uuid',
'Settings_description_translation.foreign_key' => 'uuid',
'Settings_description_translation__field' => 'string',
'Settings_description_translation.field' => 'string',
'Settings_description_translation__content' => 'text',
'Settings_description_translation.content' => 'text'
],
'decorators' => (int) 0,
'executed' => true,
'hydrate' => true,
'buffered' => true,
'formatters' => (int) 2,
'mapReducers' => (int) 0,
'contain' => [
'I18n' => [
[maximum depth reached]
],
'Settings_meta_value_translation' => [
[maximum depth reached]
],
'Settings_name_translation' => [
[maximum depth reached]
],
'Settings_description_translation' => [
[maximum depth reached]
]
],
'matching' => [],
'extraOptions' => [],
'repository' => object(App\Model\Table\SettingsTable) {}
}
$settings = [
'copyright' => null,
'facebook' => null,
'title_faq' => null,
'btn_discover_name' => null,
'btn_choose' => null,
'systempay_key' => null,
'partners_section_title' => null,
'assembly' => null,
'team_section_title' => null
]
$titles = [
'copyright' => null,
'facebook' => null,
'title_faq' => null,
'btn_discover_name' => null,
'btn_choose' => null,
'systempay_key' => null,
'partners_section_title' => null,
'assembly' => null
]
$key = (int) 8
$s = object(App\Model\Entity\Setting) {
'id' => '20def908-b1a2-43fb-8d6b-7ede1ca82eee',
'meta_key' => 'team_section_title',
'meta_value' => '',
'name' => 'L'équipe',
'description' => '',
'deleted' => null,
'_locale' => 'la-maison',
'_translations' => [
'fr' => object(App\Model\Entity\Setting) {},
'en' => object(App\Model\Entity\Setting) {},
'es' => object(App\Model\Entity\Setting) {},
'pt' => object(App\Model\Entity\Setting) {},
'de' => object(App\Model\Entity\Setting) {},
'it' => object(App\Model\Entity\Setting) {}
],
'[new]' => false,
'[accessible]' => [
'meta_key' => true,
'meta_value' => true,
'name' => true,
'description' => true
],
'[dirty]' => [],
'[original]' => [],
'[virtual]' => [],
'[hasErrors]' => false,
'[errors]' => [],
'[invalid]' => [],
'[repository]' => 'Settings'
}
App\Controller\AppController::initialize() - APP/Controller/AppController.php, line 111
App\Controller\PagesController::initialize() - APP/Controller/PagesController.php, line 38
Cake\Controller\Controller::__construct() - CORE/src/Controller/Controller.php, line 273
ReflectionClass::newInstance() - [internal], line ??
Cake\Http\ControllerFactory::create() - CORE/src/Http/ControllerFactory.php, line 47
Cake\Http\ActionDispatcher::dispatch() - CORE/src/Http/ActionDispatcher.php, line 91
Cake\Http\BaseApplication::__invoke() - CORE/src/Http/BaseApplication.php, line 235
Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65
Cake\Routing\Middleware\RoutingMiddleware::__invoke() - CORE/src/Routing/Middleware/RoutingMiddleware.php, line 162
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 96
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 98
[main] - ROOT/webroot/index.php, line 40
Notice (8): Undefined index: la-maison [APP/Controller/AppController.php, line 110]Code Context foreach ($settingsDB as $key => $s) {
$settings[$s->meta_key] = $s->_translations[$this->getCurrentLocale()]->meta_value;
$titles[$s->meta_key] = $s->_translations[$this->getCurrentLocale()]->name;
$locales = [
(int) 0 => object(App\Model\Entity\Locale) {
'id' => 'c79e08dd-4b98-40da-812f-166a5627cafe',
'locale' => 'fr',
'name' => 'French',
'position' => (int) 1,
'active' => true,
'flag' => 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgBAMAAACBVGfHAAAAA3NCSVQICAjb4U/gAAAACXBIWXMAAADdAAAA3QFwU6IHAAAAGXRFWHRTb2Z0d2FyZQB3d3cuaW5rc2NhcGUub3Jnm+48GgAAACdQTFRF////QUib/0tUh4y+/XiAQkab9PT0/0pVkpTC/mRtQUeb9fX1/0tVpPINxQAAAAp0Uk5TAFJSamp4eHjGxmzCt2wAAAArSURBVCjPY2RAA4zUEBB1AJIPDYDEP2Eg8ZtxFQOKAMOoAOUCGIFMi6gEAD39PvX2T/ZKAAAAAElFTkSuQmCC',
'front' => true,
'[new]' => false,
'[accessible]' => [
[maximum depth reached]
],
'[dirty]' => [[maximum depth reached]],
'[original]' => [[maximum depth reached]],
'[virtual]' => [[maximum depth reached]],
'[hasErrors]' => false,
'[errors]' => [[maximum depth reached]],
'[invalid]' => [[maximum depth reached]],
'[repository]' => 'Locales'
},
(int) 1 => object(App\Model\Entity\Locale) {
'id' => '073aae08-53c1-11e9-bb3d-7054d219d6c5',
'locale' => 'es',
'name' => 'Español',
'position' => (int) 0,
'active' => true,
'flag' => 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAMAAABEpIrGAAAAA3NCSVQICAjb4U/gAAAACXBIWXMAAADdAAAA3QFwU6IHAAAAGXRFWHRTb2Z0d2FyZQB3d3cuaW5rc2NhcGUub3Jnm+48GgAAARpQTFRF////x0FLyEJKgXaZoI6wuKV1watwyEFLy0pLzntc0rZn1GJZ1WVW1bhm1mxd13JW13Vx2nFQ229L23JN23xM3IyF3I+V3JKY3Y2G3nVJ33dJ34Zs4JOA4XhH4X9Q4ZV845Bk5JJi5LG15aWL5btz5b185pFh5pRk5pZs5px558Nc6ItI6KR16cFp6pBI66lx7ZxQ7aNO7q1h7rR17tjW76BO78BX8KpP8LJk8buC8stZ9LhX9Net9PPz9efR9fHz9fX198BY98dz98xX99/s9+Lt9+3R+MVe+N2d+dOA+deU+eat+sBQ+stf+8hm+8xZ+9Bw/Lzd/MtQ/N2E/N6G/dlx/sxP/s5R/tRa/tZk/tdp/9JQ/9JR/9NThpihEAAAAAN0Uk5TAFJ4LCUCBgAAAKRJREFUOI1jYBgKgJEJL2BkYCcAqKCAgwBgiCYAYApiQ/xCY/AoiLGR4Vb2wKkgyDxaUVhI0CjaEIcCH1N3aTVLL+9wgzDsCoLtdLS1lQJdoxwisCvQF+WTFWFxsVcQs8auwFjCSY6TmZ/HQtwRuwJPtwApKU09SV9bf+wKdFWc1TVMBOStVM2wK2Bj1YqODI6I5mXlwq4AHyAcWXRIMAQT7VAAACQKgMq9uRSqAAAAAElFTkSuQmCC',
'front' => true,
'[new]' => false,
'[accessible]' => [
[maximum depth reached]
],
'[dirty]' => [[maximum depth reached]],
'[original]' => [[maximum depth reached]],
'[virtual]' => [[maximum depth reached]],
'[hasErrors]' => false,
'[errors]' => [[maximum depth reached]],
'[invalid]' => [[maximum depth reached]],
'[repository]' => 'Locales'
},
(int) 2 => object(App\Model\Entity\Locale) {
'id' => '99c33239-48e4-4692-adb0-30a7c352e556',
'locale' => 'en',
'name' => 'English',
'position' => (int) 0,
'active' => true,
'flag' => 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAAA3QAAAN0BcFOiBwAAABl0RVh0U29mdHdhcmUAd3d3Lmlua3NjYXBlLm9yZ5vuPBoAAATuSURBVFiF7ZdrUNRlFMZ/+2dhXVoW5DJcAgTjamopziiWYuhMYpHGRUk0Gs1gIshboIYMoWNqahQyig41hJLXcgSvQ6VyS2WE1IBABRSZ5b673BZYdvtQ4QUYHb7QB55v7zlz5nnOvO+c57wivV7PSEIYUfZRAf8HAeJL65MbJ8UuvSQ2EveVPewy3naqxkPZ0SsZqmD+KxYPI9+0u9/iH+n9eNw8K6Uw5UKd4/k/ml98FqmrjVQd/65DhTg1015suzvFsuHM+SDV6nA8Q3xIWeHCrqxaUnPq6NbqBhR7jTdxBLx7coueTjk2tvWQW64aktja1IiNixxZ0ldDh1/CRM3tSgR1oD/CnWrGRsRQ89YnNBf9ReJiJ4q+9CJ4hhUi0bP6eTakRgIx/g4UhZmxMHk7qoBotOX3MF4ZiJDptwz1qTQ0Pt5I8q8jXfghle8nIGlt5eBH7vwS9yoz3UyHRSyIIPR1a4rXOhP56yE6fMPozilEMn8WlgWZyHfHICSdrcXvmJqL0bG0pu2hz9MFk9Pn0M8OoXRdMu5mcHbDJDKjPHG1kT43ue/LZuTFerKj/jdEc96jK+M0hpPdMM/ex9gju1Db2bMh8x4iArL7R6GLjZSEwHE45ediuf97qKsHK3OaVoXhuSYYvYFAVYMGVxspCrPpTxDaKK+ScKKaizdb2RrkyIziXNq3HUBX34yBvQ2yzRFIF89Ho9WTmlPH7uxa1F3aJwX8B283OYnv2GF8+CcsM46iV7ejc3VGGb2KCcvnAgwqoKpBg23JDdrjk9GW30MklyFbG4ZxRAhIjDh+tZEtJ6t50NzdXyc6kVs1qBkIgoiZrnI661tQXLn1iMhnMub2FoMK0LWo6L1R2h8znOKJYGEGQF1rN6W1nQN4REqlclhuNJiA4UBUjvuI2uGIj+JRASP+CMU5t1oHBCfYG2M39h9D1DUr6S0u688ZTp2AYD74aG6pbUZx+eYjUbMnYWxtTkGlGp1u8D7FQV//2X9wsJCwOdAJWzMJek0PnfuP0L4nHb26HbHHeGSJUdRoJTgP0Y25vQUKnQ6zbw8iVFbRK5dxd/kSTEIDiD9TR2GFekCNACCXivki2Inr27xYPN0SzbFzNE0Lpi0hBZFUgvybjdw8sBffPCnpVxRD0EOlogu3UF+sCw7TtGkNeokRFilpOASt4CvjuxyK9MDlKT8RIubZUbJjGp/62SNcLaH5jQ9QhSega1Ehi11JU1YGy5pcCEgqo7S2Y0hygMN59XjH3eDCbSUTY0IwuXaclpXLECnVWMZvZ0r0GjK8NOwMfQkLmSHw7yPUVlTTFr+X7vO5IAhIQ9+mK2oFW/La+TG/nsevb/UCexKCnIY0o6SztQDMdDNl6xJnpjrLaLijQJW4H5PsC6DTofHxpuezcDIVUsTqdTvpTD8F2j4k87wRx31McpWE5D1VdPUM3IieFwUVKuZuLSFouhXxgU64/pBAVW4wwvZ9jLlcyJj8ayxduABxZ9pJxBNdeSExiqMG4/gy/T71qp5hEz8OvR6O/97I6aJmwufZsd7fHfmZvZQduYxpUiryk1mIZXER17ThS2s///mBW6WiUe5mK8XNdujFw8rE6CFw32jWNO+nUoVWJkaOszxMB11Ki6vbiPzuTvemRePKPUN8OrUBrxnc2pE5RzT6NRsVMNIC/gaY0PLtJgQJ0gAAAABJRU5ErkJggg==',
'front' => true,
'[new]' => false,
'[accessible]' => [
[maximum depth reached]
],
'[dirty]' => [[maximum depth reached]],
'[original]' => [[maximum depth reached]],
'[virtual]' => [[maximum depth reached]],
'[hasErrors]' => false,
'[errors]' => [[maximum depth reached]],
'[invalid]' => [[maximum depth reached]],
'[repository]' => 'Locales'
},
(int) 3 => object(App\Model\Entity\Locale) {
'id' => 'a20c3c73-53c0-11e9-bb3d-7054d219d6c5',
'locale' => 'de',
'name' => 'Deutsch',
'position' => (int) 0,
'active' => true,
'flag' => 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgBAMAAACBVGfHAAAAA3NCSVQICAjb4U/gAAAACXBIWXMAAADdAAAA3QFwU6IHAAAAGXRFWHRTb2Z0d2FyZQB3d3cuaW5rc2NhcGUub3Jnm+48GgAAAB5QTFRF////SEhU/+BaRkZV/+FZwUlV/31WRkZV/0tV/+FagNv1tgAAAAd0Uk5TAFJSeHjAwPIGe2oAAAAqSURBVCjPY2FAAyzUEBBWQOH/Y0mhhS0YAvfQBYyHs7Xd6IF85w71bQEAwy4HmS9PAQYAAAAASUVORK5CYII=',
'front' => true,
'[new]' => false,
'[accessible]' => [
[maximum depth reached]
],
'[dirty]' => [[maximum depth reached]],
'[original]' => [[maximum depth reached]],
'[virtual]' => [[maximum depth reached]],
'[hasErrors]' => false,
'[errors]' => [[maximum depth reached]],
'[invalid]' => [[maximum depth reached]],
'[repository]' => 'Locales'
}
]
$session = object(Cake\Http\Session) {
[protected] _engine => null
[protected] _started => true
[protected] _lifetime => (int) 86400
[protected] _isCLI => false
}
$lng = 'la-maison'
$currentLocal = 'la-maison'
$settingsDB = object(SoftDelete\ORM\Query) {
'(help)' => 'This is a Query object, to get the results execute or iterate it.',
'sql' => 'SELECT Settings.id AS `Settings__id`, Settings.meta_key AS `Settings__meta_key`, Settings.meta_value AS `Settings__meta_value`, Settings.name AS `Settings__name`, Settings.description AS `Settings__description`, Settings.deleted AS `Settings__deleted`, Settings_meta_value_translation.id AS `Settings_meta_value_translation__id`, Settings_meta_value_translation.locale AS `Settings_meta_value_translation__locale`, Settings_meta_value_translation.model AS `Settings_meta_value_translation__model`, Settings_meta_value_translation.foreign_key AS `Settings_meta_value_translation__foreign_key`, Settings_meta_value_translation.field AS `Settings_meta_value_translation__field`, Settings_meta_value_translation.content AS `Settings_meta_value_translation__content`, Settings_name_translation.id AS `Settings_name_translation__id`, Settings_name_translation.locale AS `Settings_name_translation__locale`, Settings_name_translation.model AS `Settings_name_translation__model`, Settings_name_translation.foreign_key AS `Settings_name_translation__foreign_key`, Settings_name_translation.field AS `Settings_name_translation__field`, Settings_name_translation.content AS `Settings_name_translation__content`, Settings_description_translation.id AS `Settings_description_translation__id`, Settings_description_translation.locale AS `Settings_description_translation__locale`, Settings_description_translation.model AS `Settings_description_translation__model`, Settings_description_translation.foreign_key AS `Settings_description_translation__foreign_key`, Settings_description_translation.field AS `Settings_description_translation__field`, Settings_description_translation.content AS `Settings_description_translation__content` FROM settings Settings LEFT JOIN i18n Settings_meta_value_translation ON (Settings_meta_value_translation.model = :c0 AND Settings_meta_value_translation.field = :c1 AND Settings_meta_value_translation.locale = :c2 AND Settings.id = (Settings_meta_value_translation.foreign_key)) LEFT JOIN i18n Settings_name_translation ON (Settings_name_translation.model = :c3 AND Settings_name_translation.field = :c4 AND Settings_name_translation.locale = :c5 AND Settings.id = (Settings_name_translation.foreign_key)) LEFT JOIN i18n Settings_description_translation ON (Settings_description_translation.model = :c6 AND Settings_description_translation.field = :c7 AND Settings_description_translation.locale = :c8 AND Settings.id = (Settings_description_translation.foreign_key)) WHERE Settings.deleted IS NULL',
'params' => [
':c0' => [
[maximum depth reached]
],
':c1' => [
[maximum depth reached]
],
':c2' => [
[maximum depth reached]
],
':c3' => [
[maximum depth reached]
],
':c4' => [
[maximum depth reached]
],
':c5' => [
[maximum depth reached]
],
':c6' => [
[maximum depth reached]
],
':c7' => [
[maximum depth reached]
],
':c8' => [
[maximum depth reached]
]
],
'defaultTypes' => [
'Settings__id' => 'uuid',
'Settings.id' => 'uuid',
'id' => 'uuid',
'Settings__meta_key' => 'string',
'Settings.meta_key' => 'string',
'meta_key' => 'string',
'Settings__meta_value' => 'text',
'Settings.meta_value' => 'text',
'meta_value' => 'text',
'Settings__name' => 'string',
'Settings.name' => 'string',
'name' => 'string',
'Settings__description' => 'text',
'Settings.description' => 'text',
'description' => 'text',
'Settings__deleted' => 'datetime',
'Settings.deleted' => 'datetime',
'deleted' => 'datetime',
'I18n__id' => 'integer',
'I18n.id' => 'integer',
'I18n__locale' => 'string',
'I18n.locale' => 'string',
'locale' => 'string',
'I18n__model' => 'string',
'I18n.model' => 'string',
'model' => 'string',
'I18n__foreign_key' => 'uuid',
'I18n.foreign_key' => 'uuid',
'foreign_key' => 'uuid',
'I18n__field' => 'string',
'I18n.field' => 'string',
'field' => 'string',
'I18n__content' => 'text',
'I18n.content' => 'text',
'content' => 'text',
'Settings_meta_value_translation__id' => 'integer',
'Settings_meta_value_translation.id' => 'integer',
'Settings_meta_value_translation__locale' => 'string',
'Settings_meta_value_translation.locale' => 'string',
'Settings_meta_value_translation__model' => 'string',
'Settings_meta_value_translation.model' => 'string',
'Settings_meta_value_translation__foreign_key' => 'uuid',
'Settings_meta_value_translation.foreign_key' => 'uuid',
'Settings_meta_value_translation__field' => 'string',
'Settings_meta_value_translation.field' => 'string',
'Settings_meta_value_translation__content' => 'text',
'Settings_meta_value_translation.content' => 'text',
'Settings_name_translation__id' => 'integer',
'Settings_name_translation.id' => 'integer',
'Settings_name_translation__locale' => 'string',
'Settings_name_translation.locale' => 'string',
'Settings_name_translation__model' => 'string',
'Settings_name_translation.model' => 'string',
'Settings_name_translation__foreign_key' => 'uuid',
'Settings_name_translation.foreign_key' => 'uuid',
'Settings_name_translation__field' => 'string',
'Settings_name_translation.field' => 'string',
'Settings_name_translation__content' => 'text',
'Settings_name_translation.content' => 'text',
'Settings_description_translation__id' => 'integer',
'Settings_description_translation.id' => 'integer',
'Settings_description_translation__locale' => 'string',
'Settings_description_translation.locale' => 'string',
'Settings_description_translation__model' => 'string',
'Settings_description_translation.model' => 'string',
'Settings_description_translation__foreign_key' => 'uuid',
'Settings_description_translation.foreign_key' => 'uuid',
'Settings_description_translation__field' => 'string',
'Settings_description_translation.field' => 'string',
'Settings_description_translation__content' => 'text',
'Settings_description_translation.content' => 'text'
],
'decorators' => (int) 0,
'executed' => true,
'hydrate' => true,
'buffered' => true,
'formatters' => (int) 2,
'mapReducers' => (int) 0,
'contain' => [
'I18n' => [
[maximum depth reached]
],
'Settings_meta_value_translation' => [
[maximum depth reached]
],
'Settings_name_translation' => [
[maximum depth reached]
],
'Settings_description_translation' => [
[maximum depth reached]
]
],
'matching' => [],
'extraOptions' => [],
'repository' => object(App\Model\Table\SettingsTable) {}
}
$settings = [
'copyright' => null,
'facebook' => null,
'title_faq' => null,
'btn_discover_name' => null,
'btn_choose' => null,
'systempay_key' => null,
'partners_section_title' => null,
'assembly' => null,
'team_section_title' => null
]
$titles = [
'copyright' => null,
'facebook' => null,
'title_faq' => null,
'btn_discover_name' => null,
'btn_choose' => null,
'systempay_key' => null,
'partners_section_title' => null,
'assembly' => null,
'team_section_title' => null
]
$key = (int) 9
$s = object(App\Model\Entity\Setting) {
'id' => '271cc651-2b46-4da2-bee5-dec7af65507e',
'meta_key' => 'sous_total',
'meta_value' => '',
'name' => 'Sous-total (TTC)',
'description' => '',
'deleted' => null,
'_locale' => 'la-maison',
'_translations' => [
'fr' => object(App\Model\Entity\Setting) {},
'en' => object(App\Model\Entity\Setting) {},
'es' => object(App\Model\Entity\Setting) {},
'pt' => object(App\Model\Entity\Setting) {},
'de' => object(App\Model\Entity\Setting) {},
'it' => object(App\Model\Entity\Setting) {}
],
'[new]' => false,
'[accessible]' => [
'meta_key' => true,
'meta_value' => true,
'name' => true,
'description' => true
],
'[dirty]' => [],
'[original]' => [],
'[virtual]' => [],
'[hasErrors]' => false,
'[errors]' => [],
'[invalid]' => [],
'[repository]' => 'Settings'
}
App\Controller\AppController::initialize() - APP/Controller/AppController.php, line 110
App\Controller\PagesController::initialize() - APP/Controller/PagesController.php, line 38
Cake\Controller\Controller::__construct() - CORE/src/Controller/Controller.php, line 273
ReflectionClass::newInstance() - [internal], line ??
Cake\Http\ControllerFactory::create() - CORE/src/Http/ControllerFactory.php, line 47
Cake\Http\ActionDispatcher::dispatch() - CORE/src/Http/ActionDispatcher.php, line 91
Cake\Http\BaseApplication::__invoke() - CORE/src/Http/BaseApplication.php, line 235
Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65
Cake\Routing\Middleware\RoutingMiddleware::__invoke() - CORE/src/Routing/Middleware/RoutingMiddleware.php, line 162
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 96
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 98
[main] - ROOT/webroot/index.php, line 40
Notice (8): Trying to get property of non-object [APP/Controller/AppController.php, line 110]Code Context foreach ($settingsDB as $key => $s) {
$settings[$s->meta_key] = $s->_translations[$this->getCurrentLocale()]->meta_value;
$titles[$s->meta_key] = $s->_translations[$this->getCurrentLocale()]->name;
$locales = [
(int) 0 => object(App\Model\Entity\Locale) {
'id' => 'c79e08dd-4b98-40da-812f-166a5627cafe',
'locale' => 'fr',
'name' => 'French',
'position' => (int) 1,
'active' => true,
'flag' => 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgBAMAAACBVGfHAAAAA3NCSVQICAjb4U/gAAAACXBIWXMAAADdAAAA3QFwU6IHAAAAGXRFWHRTb2Z0d2FyZQB3d3cuaW5rc2NhcGUub3Jnm+48GgAAACdQTFRF////QUib/0tUh4y+/XiAQkab9PT0/0pVkpTC/mRtQUeb9fX1/0tVpPINxQAAAAp0Uk5TAFJSamp4eHjGxmzCt2wAAAArSURBVCjPY2RAA4zUEBB1AJIPDYDEP2Eg8ZtxFQOKAMOoAOUCGIFMi6gEAD39PvX2T/ZKAAAAAElFTkSuQmCC',
'front' => true,
'[new]' => false,
'[accessible]' => [
[maximum depth reached]
],
'[dirty]' => [[maximum depth reached]],
'[original]' => [[maximum depth reached]],
'[virtual]' => [[maximum depth reached]],
'[hasErrors]' => false,
'[errors]' => [[maximum depth reached]],
'[invalid]' => [[maximum depth reached]],
'[repository]' => 'Locales'
},
(int) 1 => object(App\Model\Entity\Locale) {
'id' => '073aae08-53c1-11e9-bb3d-7054d219d6c5',
'locale' => 'es',
'name' => 'Español',
'position' => (int) 0,
'active' => true,
'flag' => 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAMAAABEpIrGAAAAA3NCSVQICAjb4U/gAAAACXBIWXMAAADdAAAA3QFwU6IHAAAAGXRFWHRTb2Z0d2FyZQB3d3cuaW5rc2NhcGUub3Jnm+48GgAAARpQTFRF////x0FLyEJKgXaZoI6wuKV1watwyEFLy0pLzntc0rZn1GJZ1WVW1bhm1mxd13JW13Vx2nFQ229L23JN23xM3IyF3I+V3JKY3Y2G3nVJ33dJ34Zs4JOA4XhH4X9Q4ZV845Bk5JJi5LG15aWL5btz5b185pFh5pRk5pZs5px558Nc6ItI6KR16cFp6pBI66lx7ZxQ7aNO7q1h7rR17tjW76BO78BX8KpP8LJk8buC8stZ9LhX9Net9PPz9efR9fHz9fX198BY98dz98xX99/s9+Lt9+3R+MVe+N2d+dOA+deU+eat+sBQ+stf+8hm+8xZ+9Bw/Lzd/MtQ/N2E/N6G/dlx/sxP/s5R/tRa/tZk/tdp/9JQ/9JR/9NThpihEAAAAAN0Uk5TAFJ4LCUCBgAAAKRJREFUOI1jYBgKgJEJL2BkYCcAqKCAgwBgiCYAYApiQ/xCY/AoiLGR4Vb2wKkgyDxaUVhI0CjaEIcCH1N3aTVLL+9wgzDsCoLtdLS1lQJdoxwisCvQF+WTFWFxsVcQs8auwFjCSY6TmZ/HQtwRuwJPtwApKU09SV9bf+wKdFWc1TVMBOStVM2wK2Bj1YqODI6I5mXlwq4AHyAcWXRIMAQT7VAAACQKgMq9uRSqAAAAAElFTkSuQmCC',
'front' => true,
'[new]' => false,
'[accessible]' => [
[maximum depth reached]
],
'[dirty]' => [[maximum depth reached]],
'[original]' => [[maximum depth reached]],
'[virtual]' => [[maximum depth reached]],
'[hasErrors]' => false,
'[errors]' => [[maximum depth reached]],
'[invalid]' => [[maximum depth reached]],
'[repository]' => 'Locales'
},
(int) 2 => object(App\Model\Entity\Locale) {
'id' => '99c33239-48e4-4692-adb0-30a7c352e556',
'locale' => 'en',
'name' => 'English',
'position' => (int) 0,
'active' => true,
'flag' => 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAAA3QAAAN0BcFOiBwAAABl0RVh0U29mdHdhcmUAd3d3Lmlua3NjYXBlLm9yZ5vuPBoAAATuSURBVFiF7ZdrUNRlFMZ/+2dhXVoW5DJcAgTjamopziiWYuhMYpHGRUk0Gs1gIshboIYMoWNqahQyig41hJLXcgSvQ6VyS2WE1IBABRSZ5b673BZYdvtQ4QUYHb7QB55v7zlz5nnOvO+c57wivV7PSEIYUfZRAf8HAeJL65MbJ8UuvSQ2EveVPewy3naqxkPZ0SsZqmD+KxYPI9+0u9/iH+n9eNw8K6Uw5UKd4/k/ml98FqmrjVQd/65DhTg1015suzvFsuHM+SDV6nA8Q3xIWeHCrqxaUnPq6NbqBhR7jTdxBLx7coueTjk2tvWQW64aktja1IiNixxZ0ldDh1/CRM3tSgR1oD/CnWrGRsRQ89YnNBf9ReJiJ4q+9CJ4hhUi0bP6eTakRgIx/g4UhZmxMHk7qoBotOX3MF4ZiJDptwz1qTQ0Pt5I8q8jXfghle8nIGlt5eBH7vwS9yoz3UyHRSyIIPR1a4rXOhP56yE6fMPozilEMn8WlgWZyHfHICSdrcXvmJqL0bG0pu2hz9MFk9Pn0M8OoXRdMu5mcHbDJDKjPHG1kT43ue/LZuTFerKj/jdEc96jK+M0hpPdMM/ex9gju1Db2bMh8x4iArL7R6GLjZSEwHE45ediuf97qKsHK3OaVoXhuSYYvYFAVYMGVxspCrPpTxDaKK+ScKKaizdb2RrkyIziXNq3HUBX34yBvQ2yzRFIF89Ho9WTmlPH7uxa1F3aJwX8B283OYnv2GF8+CcsM46iV7ejc3VGGb2KCcvnAgwqoKpBg23JDdrjk9GW30MklyFbG4ZxRAhIjDh+tZEtJ6t50NzdXyc6kVs1qBkIgoiZrnI661tQXLn1iMhnMub2FoMK0LWo6L1R2h8znOKJYGEGQF1rN6W1nQN4REqlclhuNJiA4UBUjvuI2uGIj+JRASP+CMU5t1oHBCfYG2M39h9D1DUr6S0u688ZTp2AYD74aG6pbUZx+eYjUbMnYWxtTkGlGp1u8D7FQV//2X9wsJCwOdAJWzMJek0PnfuP0L4nHb26HbHHeGSJUdRoJTgP0Y25vQUKnQ6zbw8iVFbRK5dxd/kSTEIDiD9TR2GFekCNACCXivki2Inr27xYPN0SzbFzNE0Lpi0hBZFUgvybjdw8sBffPCnpVxRD0EOlogu3UF+sCw7TtGkNeokRFilpOASt4CvjuxyK9MDlKT8RIubZUbJjGp/62SNcLaH5jQ9QhSega1Ehi11JU1YGy5pcCEgqo7S2Y0hygMN59XjH3eDCbSUTY0IwuXaclpXLECnVWMZvZ0r0GjK8NOwMfQkLmSHw7yPUVlTTFr+X7vO5IAhIQ9+mK2oFW/La+TG/nsevb/UCexKCnIY0o6SztQDMdDNl6xJnpjrLaLijQJW4H5PsC6DTofHxpuezcDIVUsTqdTvpTD8F2j4k87wRx31McpWE5D1VdPUM3IieFwUVKuZuLSFouhXxgU64/pBAVW4wwvZ9jLlcyJj8ayxduABxZ9pJxBNdeSExiqMG4/gy/T71qp5hEz8OvR6O/97I6aJmwufZsd7fHfmZvZQduYxpUiryk1mIZXER17ThS2s///mBW6WiUe5mK8XNdujFw8rE6CFw32jWNO+nUoVWJkaOszxMB11Ki6vbiPzuTvemRePKPUN8OrUBrxnc2pE5RzT6NRsVMNIC/gaY0PLtJgQJ0gAAAABJRU5ErkJggg==',
'front' => true,
'[new]' => false,
'[accessible]' => [
[maximum depth reached]
],
'[dirty]' => [[maximum depth reached]],
'[original]' => [[maximum depth reached]],
'[virtual]' => [[maximum depth reached]],
'[hasErrors]' => false,
'[errors]' => [[maximum depth reached]],
'[invalid]' => [[maximum depth reached]],
'[repository]' => 'Locales'
},
(int) 3 => object(App\Model\Entity\Locale) {
'id' => 'a20c3c73-53c0-11e9-bb3d-7054d219d6c5',
'locale' => 'de',
'name' => 'Deutsch',
'position' => (int) 0,
'active' => true,
'flag' => 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgBAMAAACBVGfHAAAAA3NCSVQICAjb4U/gAAAACXBIWXMAAADdAAAA3QFwU6IHAAAAGXRFWHRTb2Z0d2FyZQB3d3cuaW5rc2NhcGUub3Jnm+48GgAAAB5QTFRF////SEhU/+BaRkZV/+FZwUlV/31WRkZV/0tV/+FagNv1tgAAAAd0Uk5TAFJSeHjAwPIGe2oAAAAqSURBVCjPY2FAAyzUEBBWQOH/Y0mhhS0YAvfQBYyHs7Xd6IF85w71bQEAwy4HmS9PAQYAAAAASUVORK5CYII=',
'front' => true,
'[new]' => false,
'[accessible]' => [
[maximum depth reached]
],
'[dirty]' => [[maximum depth reached]],
'[original]' => [[maximum depth reached]],
'[virtual]' => [[maximum depth reached]],
'[hasErrors]' => false,
'[errors]' => [[maximum depth reached]],
'[invalid]' => [[maximum depth reached]],
'[repository]' => 'Locales'
}
]
$session = object(Cake\Http\Session) {
[protected] _engine => null
[protected] _started => true
[protected] _lifetime => (int) 86400
[protected] _isCLI => false
}
$lng = 'la-maison'
$currentLocal = 'la-maison'
$settingsDB = object(SoftDelete\ORM\Query) {
'(help)' => 'This is a Query object, to get the results execute or iterate it.',
'sql' => 'SELECT Settings.id AS `Settings__id`, Settings.meta_key AS `Settings__meta_key`, Settings.meta_value AS `Settings__meta_value`, Settings.name AS `Settings__name`, Settings.description AS `Settings__description`, Settings.deleted AS `Settings__deleted`, Settings_meta_value_translation.id AS `Settings_meta_value_translation__id`, Settings_meta_value_translation.locale AS `Settings_meta_value_translation__locale`, Settings_meta_value_translation.model AS `Settings_meta_value_translation__model`, Settings_meta_value_translation.foreign_key AS `Settings_meta_value_translation__foreign_key`, Settings_meta_value_translation.field AS `Settings_meta_value_translation__field`, Settings_meta_value_translation.content AS `Settings_meta_value_translation__content`, Settings_name_translation.id AS `Settings_name_translation__id`, Settings_name_translation.locale AS `Settings_name_translation__locale`, Settings_name_translation.model AS `Settings_name_translation__model`, Settings_name_translation.foreign_key AS `Settings_name_translation__foreign_key`, Settings_name_translation.field AS `Settings_name_translation__field`, Settings_name_translation.content AS `Settings_name_translation__content`, Settings_description_translation.id AS `Settings_description_translation__id`, Settings_description_translation.locale AS `Settings_description_translation__locale`, Settings_description_translation.model AS `Settings_description_translation__model`, Settings_description_translation.foreign_key AS `Settings_description_translation__foreign_key`, Settings_description_translation.field AS `Settings_description_translation__field`, Settings_description_translation.content AS `Settings_description_translation__content` FROM settings Settings LEFT JOIN i18n Settings_meta_value_translation ON (Settings_meta_value_translation.model = :c0 AND Settings_meta_value_translation.field = :c1 AND Settings_meta_value_translation.locale = :c2 AND Settings.id = (Settings_meta_value_translation.foreign_key)) LEFT JOIN i18n Settings_name_translation ON (Settings_name_translation.model = :c3 AND Settings_name_translation.field = :c4 AND Settings_name_translation.locale = :c5 AND Settings.id = (Settings_name_translation.foreign_key)) LEFT JOIN i18n Settings_description_translation ON (Settings_description_translation.model = :c6 AND Settings_description_translation.field = :c7 AND Settings_description_translation.locale = :c8 AND Settings.id = (Settings_description_translation.foreign_key)) WHERE Settings.deleted IS NULL',
'params' => [
':c0' => [
[maximum depth reached]
],
':c1' => [
[maximum depth reached]
],
':c2' => [
[maximum depth reached]
],
':c3' => [
[maximum depth reached]
],
':c4' => [
[maximum depth reached]
],
':c5' => [
[maximum depth reached]
],
':c6' => [
[maximum depth reached]
],
':c7' => [
[maximum depth reached]
],
':c8' => [
[maximum depth reached]
]
],
'defaultTypes' => [
'Settings__id' => 'uuid',
'Settings.id' => 'uuid',
'id' => 'uuid',
'Settings__meta_key' => 'string',
'Settings.meta_key' => 'string',
'meta_key' => 'string',
'Settings__meta_value' => 'text',
'Settings.meta_value' => 'text',
'meta_value' => 'text',
'Settings__name' => 'string',
'Settings.name' => 'string',
'name' => 'string',
'Settings__description' => 'text',
'Settings.description' => 'text',
'description' => 'text',
'Settings__deleted' => 'datetime',
'Settings.deleted' => 'datetime',
'deleted' => 'datetime',
'I18n__id' => 'integer',
'I18n.id' => 'integer',
'I18n__locale' => 'string',
'I18n.locale' => 'string',
'locale' => 'string',
'I18n__model' => 'string',
'I18n.model' => 'string',
'model' => 'string',
'I18n__foreign_key' => 'uuid',
'I18n.foreign_key' => 'uuid',
'foreign_key' => 'uuid',
'I18n__field' => 'string',
'I18n.field' => 'string',
'field' => 'string',
'I18n__content' => 'text',
'I18n.content' => 'text',
'content' => 'text',
'Settings_meta_value_translation__id' => 'integer',
'Settings_meta_value_translation.id' => 'integer',
'Settings_meta_value_translation__locale' => 'string',
'Settings_meta_value_translation.locale' => 'string',
'Settings_meta_value_translation__model' => 'string',
'Settings_meta_value_translation.model' => 'string',
'Settings_meta_value_translation__foreign_key' => 'uuid',
'Settings_meta_value_translation.foreign_key' => 'uuid',
'Settings_meta_value_translation__field' => 'string',
'Settings_meta_value_translation.field' => 'string',
'Settings_meta_value_translation__content' => 'text',
'Settings_meta_value_translation.content' => 'text',
'Settings_name_translation__id' => 'integer',
'Settings_name_translation.id' => 'integer',
'Settings_name_translation__locale' => 'string',
'Settings_name_translation.locale' => 'string',
'Settings_name_translation__model' => 'string',
'Settings_name_translation.model' => 'string',
'Settings_name_translation__foreign_key' => 'uuid',
'Settings_name_translation.foreign_key' => 'uuid',
'Settings_name_translation__field' => 'string',
'Settings_name_translation.field' => 'string',
'Settings_name_translation__content' => 'text',
'Settings_name_translation.content' => 'text',
'Settings_description_translation__id' => 'integer',
'Settings_description_translation.id' => 'integer',
'Settings_description_translation__locale' => 'string',
'Settings_description_translation.locale' => 'string',
'Settings_description_translation__model' => 'string',
'Settings_description_translation.model' => 'string',
'Settings_description_translation__foreign_key' => 'uuid',
'Settings_description_translation.foreign_key' => 'uuid',
'Settings_description_translation__field' => 'string',
'Settings_description_translation.field' => 'string',
'Settings_description_translation__content' => 'text',
'Settings_description_translation.content' => 'text'
],
'decorators' => (int) 0,
'executed' => true,
'hydrate' => true,
'buffered' => true,
'formatters' => (int) 2,
'mapReducers' => (int) 0,
'contain' => [
'I18n' => [
[maximum depth reached]
],
'Settings_meta_value_translation' => [
[maximum depth reached]
],
'Settings_name_translation' => [
[maximum depth reached]
],
'Settings_description_translation' => [
[maximum depth reached]
]
],
'matching' => [],
'extraOptions' => [],
'repository' => object(App\Model\Table\SettingsTable) {}
}
$settings = [
'copyright' => null,
'facebook' => null,
'title_faq' => null,
'btn_discover_name' => null,
'btn_choose' => null,
'systempay_key' => null,
'partners_section_title' => null,
'assembly' => null,
'team_section_title' => null
]
$titles = [
'copyright' => null,
'facebook' => null,
'title_faq' => null,
'btn_discover_name' => null,
'btn_choose' => null,
'systempay_key' => null,
'partners_section_title' => null,
'assembly' => null,
'team_section_title' => null
]
$key = (int) 9
$s = object(App\Model\Entity\Setting) {
'id' => '271cc651-2b46-4da2-bee5-dec7af65507e',
'meta_key' => 'sous_total',
'meta_value' => '',
'name' => 'Sous-total (TTC)',
'description' => '',
'deleted' => null,
'_locale' => 'la-maison',
'_translations' => [
'fr' => object(App\Model\Entity\Setting) {},
'en' => object(App\Model\Entity\Setting) {},
'es' => object(App\Model\Entity\Setting) {},
'pt' => object(App\Model\Entity\Setting) {},
'de' => object(App\Model\Entity\Setting) {},
'it' => object(App\Model\Entity\Setting) {}
],
'[new]' => false,
'[accessible]' => [
'meta_key' => true,
'meta_value' => true,
'name' => true,
'description' => true
],
'[dirty]' => [],
'[original]' => [],
'[virtual]' => [],
'[hasErrors]' => false,
'[errors]' => [],
'[invalid]' => [],
'[repository]' => 'Settings'
}
App\Controller\AppController::initialize() - APP/Controller/AppController.php, line 110
App\Controller\PagesController::initialize() - APP/Controller/PagesController.php, line 38
Cake\Controller\Controller::__construct() - CORE/src/Controller/Controller.php, line 273
ReflectionClass::newInstance() - [internal], line ??
Cake\Http\ControllerFactory::create() - CORE/src/Http/ControllerFactory.php, line 47
Cake\Http\ActionDispatcher::dispatch() - CORE/src/Http/ActionDispatcher.php, line 91
Cake\Http\BaseApplication::__invoke() - CORE/src/Http/BaseApplication.php, line 235
Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65
Cake\Routing\Middleware\RoutingMiddleware::__invoke() - CORE/src/Routing/Middleware/RoutingMiddleware.php, line 162
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 96
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 98
[main] - ROOT/webroot/index.php, line 40
Notice (8): Undefined index: la-maison [APP/Controller/AppController.php, line 111]Code Context $settings[$s->meta_key] = $s->_translations[$this->getCurrentLocale()]->meta_value;
$titles[$s->meta_key] = $s->_translations[$this->getCurrentLocale()]->name;
}
$locales = [
(int) 0 => object(App\Model\Entity\Locale) {
'id' => 'c79e08dd-4b98-40da-812f-166a5627cafe',
'locale' => 'fr',
'name' => 'French',
'position' => (int) 1,
'active' => true,
'flag' => 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgBAMAAACBVGfHAAAAA3NCSVQICAjb4U/gAAAACXBIWXMAAADdAAAA3QFwU6IHAAAAGXRFWHRTb2Z0d2FyZQB3d3cuaW5rc2NhcGUub3Jnm+48GgAAACdQTFRF////QUib/0tUh4y+/XiAQkab9PT0/0pVkpTC/mRtQUeb9fX1/0tVpPINxQAAAAp0Uk5TAFJSamp4eHjGxmzCt2wAAAArSURBVCjPY2RAA4zUEBB1AJIPDYDEP2Eg8ZtxFQOKAMOoAOUCGIFMi6gEAD39PvX2T/ZKAAAAAElFTkSuQmCC',
'front' => true,
'[new]' => false,
'[accessible]' => [
[maximum depth reached]
],
'[dirty]' => [[maximum depth reached]],
'[original]' => [[maximum depth reached]],
'[virtual]' => [[maximum depth reached]],
'[hasErrors]' => false,
'[errors]' => [[maximum depth reached]],
'[invalid]' => [[maximum depth reached]],
'[repository]' => 'Locales'
},
(int) 1 => object(App\Model\Entity\Locale) {
'id' => '073aae08-53c1-11e9-bb3d-7054d219d6c5',
'locale' => 'es',
'name' => 'Español',
'position' => (int) 0,
'active' => true,
'flag' => 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAMAAABEpIrGAAAAA3NCSVQICAjb4U/gAAAACXBIWXMAAADdAAAA3QFwU6IHAAAAGXRFWHRTb2Z0d2FyZQB3d3cuaW5rc2NhcGUub3Jnm+48GgAAARpQTFRF////x0FLyEJKgXaZoI6wuKV1watwyEFLy0pLzntc0rZn1GJZ1WVW1bhm1mxd13JW13Vx2nFQ229L23JN23xM3IyF3I+V3JKY3Y2G3nVJ33dJ34Zs4JOA4XhH4X9Q4ZV845Bk5JJi5LG15aWL5btz5b185pFh5pRk5pZs5px558Nc6ItI6KR16cFp6pBI66lx7ZxQ7aNO7q1h7rR17tjW76BO78BX8KpP8LJk8buC8stZ9LhX9Net9PPz9efR9fHz9fX198BY98dz98xX99/s9+Lt9+3R+MVe+N2d+dOA+deU+eat+sBQ+stf+8hm+8xZ+9Bw/Lzd/MtQ/N2E/N6G/dlx/sxP/s5R/tRa/tZk/tdp/9JQ/9JR/9NThpihEAAAAAN0Uk5TAFJ4LCUCBgAAAKRJREFUOI1jYBgKgJEJL2BkYCcAqKCAgwBgiCYAYApiQ/xCY/AoiLGR4Vb2wKkgyDxaUVhI0CjaEIcCH1N3aTVLL+9wgzDsCoLtdLS1lQJdoxwisCvQF+WTFWFxsVcQs8auwFjCSY6TmZ/HQtwRuwJPtwApKU09SV9bf+wKdFWc1TVMBOStVM2wK2Bj1YqODI6I5mXlwq4AHyAcWXRIMAQT7VAAACQKgMq9uRSqAAAAAElFTkSuQmCC',
'front' => true,
'[new]' => false,
'[accessible]' => [
[maximum depth reached]
],
'[dirty]' => [[maximum depth reached]],
'[original]' => [[maximum depth reached]],
'[virtual]' => [[maximum depth reached]],
'[hasErrors]' => false,
'[errors]' => [[maximum depth reached]],
'[invalid]' => [[maximum depth reached]],
'[repository]' => 'Locales'
},
(int) 2 => object(App\Model\Entity\Locale) {
'id' => '99c33239-48e4-4692-adb0-30a7c352e556',
'locale' => 'en',
'name' => 'English',
'position' => (int) 0,
'active' => true,
'flag' => 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAAA3QAAAN0BcFOiBwAAABl0RVh0U29mdHdhcmUAd3d3Lmlua3NjYXBlLm9yZ5vuPBoAAATuSURBVFiF7ZdrUNRlFMZ/+2dhXVoW5DJcAgTjamopziiWYuhMYpHGRUk0Gs1gIshboIYMoWNqahQyig41hJLXcgSvQ6VyS2WE1IBABRSZ5b673BZYdvtQ4QUYHb7QB55v7zlz5nnOvO+c57wivV7PSEIYUfZRAf8HAeJL65MbJ8UuvSQ2EveVPewy3naqxkPZ0SsZqmD+KxYPI9+0u9/iH+n9eNw8K6Uw5UKd4/k/ml98FqmrjVQd/65DhTg1015suzvFsuHM+SDV6nA8Q3xIWeHCrqxaUnPq6NbqBhR7jTdxBLx7coueTjk2tvWQW64aktja1IiNixxZ0ldDh1/CRM3tSgR1oD/CnWrGRsRQ89YnNBf9ReJiJ4q+9CJ4hhUi0bP6eTakRgIx/g4UhZmxMHk7qoBotOX3MF4ZiJDptwz1qTQ0Pt5I8q8jXfghle8nIGlt5eBH7vwS9yoz3UyHRSyIIPR1a4rXOhP56yE6fMPozilEMn8WlgWZyHfHICSdrcXvmJqL0bG0pu2hz9MFk9Pn0M8OoXRdMu5mcHbDJDKjPHG1kT43ue/LZuTFerKj/jdEc96jK+M0hpPdMM/ex9gju1Db2bMh8x4iArL7R6GLjZSEwHE45ediuf97qKsHK3OaVoXhuSYYvYFAVYMGVxspCrPpTxDaKK+ScKKaizdb2RrkyIziXNq3HUBX34yBvQ2yzRFIF89Ho9WTmlPH7uxa1F3aJwX8B283OYnv2GF8+CcsM46iV7ejc3VGGb2KCcvnAgwqoKpBg23JDdrjk9GW30MklyFbG4ZxRAhIjDh+tZEtJ6t50NzdXyc6kVs1qBkIgoiZrnI661tQXLn1iMhnMub2FoMK0LWo6L1R2h8znOKJYGEGQF1rN6W1nQN4REqlclhuNJiA4UBUjvuI2uGIj+JRASP+CMU5t1oHBCfYG2M39h9D1DUr6S0u688ZTp2AYD74aG6pbUZx+eYjUbMnYWxtTkGlGp1u8D7FQV//2X9wsJCwOdAJWzMJek0PnfuP0L4nHb26HbHHeGSJUdRoJTgP0Y25vQUKnQ6zbw8iVFbRK5dxd/kSTEIDiD9TR2GFekCNACCXivki2Inr27xYPN0SzbFzNE0Lpi0hBZFUgvybjdw8sBffPCnpVxRD0EOlogu3UF+sCw7TtGkNeokRFilpOASt4CvjuxyK9MDlKT8RIubZUbJjGp/62SNcLaH5jQ9QhSega1Ehi11JU1YGy5pcCEgqo7S2Y0hygMN59XjH3eDCbSUTY0IwuXaclpXLECnVWMZvZ0r0GjK8NOwMfQkLmSHw7yPUVlTTFr+X7vO5IAhIQ9+mK2oFW/La+TG/nsevb/UCexKCnIY0o6SztQDMdDNl6xJnpjrLaLijQJW4H5PsC6DTofHxpuezcDIVUsTqdTvpTD8F2j4k87wRx31McpWE5D1VdPUM3IieFwUVKuZuLSFouhXxgU64/pBAVW4wwvZ9jLlcyJj8ayxduABxZ9pJxBNdeSExiqMG4/gy/T71qp5hEz8OvR6O/97I6aJmwufZsd7fHfmZvZQduYxpUiryk1mIZXER17ThS2s///mBW6WiUe5mK8XNdujFw8rE6CFw32jWNO+nUoVWJkaOszxMB11Ki6vbiPzuTvemRePKPUN8OrUBrxnc2pE5RzT6NRsVMNIC/gaY0PLtJgQJ0gAAAABJRU5ErkJggg==',
'front' => true,
'[new]' => false,
'[accessible]' => [
[maximum depth reached]
],
'[dirty]' => [[maximum depth reached]],
'[original]' => [[maximum depth reached]],
'[virtual]' => [[maximum depth reached]],
'[hasErrors]' => false,
'[errors]' => [[maximum depth reached]],
'[invalid]' => [[maximum depth reached]],
'[repository]' => 'Locales'
},
(int) 3 => object(App\Model\Entity\Locale) {
'id' => 'a20c3c73-53c0-11e9-bb3d-7054d219d6c5',
'locale' => 'de',
'name' => 'Deutsch',
'position' => (int) 0,
'active' => true,
'flag' => 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgBAMAAACBVGfHAAAAA3NCSVQICAjb4U/gAAAACXBIWXMAAADdAAAA3QFwU6IHAAAAGXRFWHRTb2Z0d2FyZQB3d3cuaW5rc2NhcGUub3Jnm+48GgAAAB5QTFRF////SEhU/+BaRkZV/+FZwUlV/31WRkZV/0tV/+FagNv1tgAAAAd0Uk5TAFJSeHjAwPIGe2oAAAAqSURBVCjPY2FAAyzUEBBWQOH/Y0mhhS0YAvfQBYyHs7Xd6IF85w71bQEAwy4HmS9PAQYAAAAASUVORK5CYII=',
'front' => true,
'[new]' => false,
'[accessible]' => [
[maximum depth reached]
],
'[dirty]' => [[maximum depth reached]],
'[original]' => [[maximum depth reached]],
'[virtual]' => [[maximum depth reached]],
'[hasErrors]' => false,
'[errors]' => [[maximum depth reached]],
'[invalid]' => [[maximum depth reached]],
'[repository]' => 'Locales'
}
]
$session = object(Cake\Http\Session) {
[protected] _engine => null
[protected] _started => true
[protected] _lifetime => (int) 86400
[protected] _isCLI => false
}
$lng = 'la-maison'
$currentLocal = 'la-maison'
$settingsDB = object(SoftDelete\ORM\Query) {
'(help)' => 'This is a Query object, to get the results execute or iterate it.',
'sql' => 'SELECT Settings.id AS `Settings__id`, Settings.meta_key AS `Settings__meta_key`, Settings.meta_value AS `Settings__meta_value`, Settings.name AS `Settings__name`, Settings.description AS `Settings__description`, Settings.deleted AS `Settings__deleted`, Settings_meta_value_translation.id AS `Settings_meta_value_translation__id`, Settings_meta_value_translation.locale AS `Settings_meta_value_translation__locale`, Settings_meta_value_translation.model AS `Settings_meta_value_translation__model`, Settings_meta_value_translation.foreign_key AS `Settings_meta_value_translation__foreign_key`, Settings_meta_value_translation.field AS `Settings_meta_value_translation__field`, Settings_meta_value_translation.content AS `Settings_meta_value_translation__content`, Settings_name_translation.id AS `Settings_name_translation__id`, Settings_name_translation.locale AS `Settings_name_translation__locale`, Settings_name_translation.model AS `Settings_name_translation__model`, Settings_name_translation.foreign_key AS `Settings_name_translation__foreign_key`, Settings_name_translation.field AS `Settings_name_translation__field`, Settings_name_translation.content AS `Settings_name_translation__content`, Settings_description_translation.id AS `Settings_description_translation__id`, Settings_description_translation.locale AS `Settings_description_translation__locale`, Settings_description_translation.model AS `Settings_description_translation__model`, Settings_description_translation.foreign_key AS `Settings_description_translation__foreign_key`, Settings_description_translation.field AS `Settings_description_translation__field`, Settings_description_translation.content AS `Settings_description_translation__content` FROM settings Settings LEFT JOIN i18n Settings_meta_value_translation ON (Settings_meta_value_translation.model = :c0 AND Settings_meta_value_translation.field = :c1 AND Settings_meta_value_translation.locale = :c2 AND Settings.id = (Settings_meta_value_translation.foreign_key)) LEFT JOIN i18n Settings_name_translation ON (Settings_name_translation.model = :c3 AND Settings_name_translation.field = :c4 AND Settings_name_translation.locale = :c5 AND Settings.id = (Settings_name_translation.foreign_key)) LEFT JOIN i18n Settings_description_translation ON (Settings_description_translation.model = :c6 AND Settings_description_translation.field = :c7 AND Settings_description_translation.locale = :c8 AND Settings.id = (Settings_description_translation.foreign_key)) WHERE Settings.deleted IS NULL',
'params' => [
':c0' => [
[maximum depth reached]
],
':c1' => [
[maximum depth reached]
],
':c2' => [
[maximum depth reached]
],
':c3' => [
[maximum depth reached]
],
':c4' => [
[maximum depth reached]
],
':c5' => [
[maximum depth reached]
],
':c6' => [
[maximum depth reached]
],
':c7' => [
[maximum depth reached]
],
':c8' => [
[maximum depth reached]
]
],
'defaultTypes' => [
'Settings__id' => 'uuid',
'Settings.id' => 'uuid',
'id' => 'uuid',
'Settings__meta_key' => 'string',
'Settings.meta_key' => 'string',
'meta_key' => 'string',
'Settings__meta_value' => 'text',
'Settings.meta_value' => 'text',
'meta_value' => 'text',
'Settings__name' => 'string',
'Settings.name' => 'string',
'name' => 'string',
'Settings__description' => 'text',
'Settings.description' => 'text',
'description' => 'text',
'Settings__deleted' => 'datetime',
'Settings.deleted' => 'datetime',
'deleted' => 'datetime',
'I18n__id' => 'integer',
'I18n.id' => 'integer',
'I18n__locale' => 'string',
'I18n.locale' => 'string',
'locale' => 'string',
'I18n__model' => 'string',
'I18n.model' => 'string',
'model' => 'string',
'I18n__foreign_key' => 'uuid',
'I18n.foreign_key' => 'uuid',
'foreign_key' => 'uuid',
'I18n__field' => 'string',
'I18n.field' => 'string',
'field' => 'string',
'I18n__content' => 'text',
'I18n.content' => 'text',
'content' => 'text',
'Settings_meta_value_translation__id' => 'integer',
'Settings_meta_value_translation.id' => 'integer',
'Settings_meta_value_translation__locale' => 'string',
'Settings_meta_value_translation.locale' => 'string',
'Settings_meta_value_translation__model' => 'string',
'Settings_meta_value_translation.model' => 'string',
'Settings_meta_value_translation__foreign_key' => 'uuid',
'Settings_meta_value_translation.foreign_key' => 'uuid',
'Settings_meta_value_translation__field' => 'string',
'Settings_meta_value_translation.field' => 'string',
'Settings_meta_value_translation__content' => 'text',
'Settings_meta_value_translation.content' => 'text',
'Settings_name_translation__id' => 'integer',
'Settings_name_translation.id' => 'integer',
'Settings_name_translation__locale' => 'string',
'Settings_name_translation.locale' => 'string',
'Settings_name_translation__model' => 'string',
'Settings_name_translation.model' => 'string',
'Settings_name_translation__foreign_key' => 'uuid',
'Settings_name_translation.foreign_key' => 'uuid',
'Settings_name_translation__field' => 'string',
'Settings_name_translation.field' => 'string',
'Settings_name_translation__content' => 'text',
'Settings_name_translation.content' => 'text',
'Settings_description_translation__id' => 'integer',
'Settings_description_translation.id' => 'integer',
'Settings_description_translation__locale' => 'string',
'Settings_description_translation.locale' => 'string',
'Settings_description_translation__model' => 'string',
'Settings_description_translation.model' => 'string',
'Settings_description_translation__foreign_key' => 'uuid',
'Settings_description_translation.foreign_key' => 'uuid',
'Settings_description_translation__field' => 'string',
'Settings_description_translation.field' => 'string',
'Settings_description_translation__content' => 'text',
'Settings_description_translation.content' => 'text'
],
'decorators' => (int) 0,
'executed' => true,
'hydrate' => true,
'buffered' => true,
'formatters' => (int) 2,
'mapReducers' => (int) 0,
'contain' => [
'I18n' => [
[maximum depth reached]
],
'Settings_meta_value_translation' => [
[maximum depth reached]
],
'Settings_name_translation' => [
[maximum depth reached]
],
'Settings_description_translation' => [
[maximum depth reached]
]
],
'matching' => [],
'extraOptions' => [],
'repository' => object(App\Model\Table\SettingsTable) {}
}
$settings = [
'copyright' => null,
'facebook' => null,
'title_faq' => null,
'btn_discover_name' => null,
'btn_choose' => null,
'systempay_key' => null,
'partners_section_title' => null,
'assembly' => null,
'team_section_title' => null,
'sous_total' => null
]
$titles = [
'copyright' => null,
'facebook' => null,
'title_faq' => null,
'btn_discover_name' => null,
'btn_choose' => null,
'systempay_key' => null,
'partners_section_title' => null,
'assembly' => null,
'team_section_title' => null
]
$key = (int) 9
$s = object(App\Model\Entity\Setting) {
'id' => '271cc651-2b46-4da2-bee5-dec7af65507e',
'meta_key' => 'sous_total',
'meta_value' => '',
'name' => 'Sous-total (TTC)',
'description' => '',
'deleted' => null,
'_locale' => 'la-maison',
'_translations' => [
'fr' => object(App\Model\Entity\Setting) {},
'en' => object(App\Model\Entity\Setting) {},
'es' => object(App\Model\Entity\Setting) {},
'pt' => object(App\Model\Entity\Setting) {},
'de' => object(App\Model\Entity\Setting) {},
'it' => object(App\Model\Entity\Setting) {}
],
'[new]' => false,
'[accessible]' => [
'meta_key' => true,
'meta_value' => true,
'name' => true,
'description' => true
],
'[dirty]' => [],
'[original]' => [],
'[virtual]' => [],
'[hasErrors]' => false,
'[errors]' => [],
'[invalid]' => [],
'[repository]' => 'Settings'
}
App\Controller\AppController::initialize() - APP/Controller/AppController.php, line 111
App\Controller\PagesController::initialize() - APP/Controller/PagesController.php, line 38
Cake\Controller\Controller::__construct() - CORE/src/Controller/Controller.php, line 273
ReflectionClass::newInstance() - [internal], line ??
Cake\Http\ControllerFactory::create() - CORE/src/Http/ControllerFactory.php, line 47
Cake\Http\ActionDispatcher::dispatch() - CORE/src/Http/ActionDispatcher.php, line 91
Cake\Http\BaseApplication::__invoke() - CORE/src/Http/BaseApplication.php, line 235
Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65
Cake\Routing\Middleware\RoutingMiddleware::__invoke() - CORE/src/Routing/Middleware/RoutingMiddleware.php, line 162
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 96
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 98
[main] - ROOT/webroot/index.php, line 40
Notice (8): Trying to get property of non-object [APP/Controller/AppController.php, line 111]Code Context $settings[$s->meta_key] = $s->_translations[$this->getCurrentLocale()]->meta_value;
$titles[$s->meta_key] = $s->_translations[$this->getCurrentLocale()]->name;
}
$locales = [
(int) 0 => object(App\Model\Entity\Locale) {
'id' => 'c79e08dd-4b98-40da-812f-166a5627cafe',
'locale' => 'fr',
'name' => 'French',
'position' => (int) 1,
'active' => true,
'flag' => 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgBAMAAACBVGfHAAAAA3NCSVQICAjb4U/gAAAACXBIWXMAAADdAAAA3QFwU6IHAAAAGXRFWHRTb2Z0d2FyZQB3d3cuaW5rc2NhcGUub3Jnm+48GgAAACdQTFRF////QUib/0tUh4y+/XiAQkab9PT0/0pVkpTC/mRtQUeb9fX1/0tVpPINxQAAAAp0Uk5TAFJSamp4eHjGxmzCt2wAAAArSURBVCjPY2RAA4zUEBB1AJIPDYDEP2Eg8ZtxFQOKAMOoAOUCGIFMi6gEAD39PvX2T/ZKAAAAAElFTkSuQmCC',
'front' => true,
'[new]' => false,
'[accessible]' => [
[maximum depth reached]
],
'[dirty]' => [[maximum depth reached]],
'[original]' => [[maximum depth reached]],
'[virtual]' => [[maximum depth reached]],
'[hasErrors]' => false,
'[errors]' => [[maximum depth reached]],
'[invalid]' => [[maximum depth reached]],
'[repository]' => 'Locales'
},
(int) 1 => object(App\Model\Entity\Locale) {
'id' => '073aae08-53c1-11e9-bb3d-7054d219d6c5',
'locale' => 'es',
'name' => 'Español',
'position' => (int) 0,
'active' => true,
'flag' => 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAMAAABEpIrGAAAAA3NCSVQICAjb4U/gAAAACXBIWXMAAADdAAAA3QFwU6IHAAAAGXRFWHRTb2Z0d2FyZQB3d3cuaW5rc2NhcGUub3Jnm+48GgAAARpQTFRF////x0FLyEJKgXaZoI6wuKV1watwyEFLy0pLzntc0rZn1GJZ1WVW1bhm1mxd13JW13Vx2nFQ229L23JN23xM3IyF3I+V3JKY3Y2G3nVJ33dJ34Zs4JOA4XhH4X9Q4ZV845Bk5JJi5LG15aWL5btz5b185pFh5pRk5pZs5px558Nc6ItI6KR16cFp6pBI66lx7ZxQ7aNO7q1h7rR17tjW76BO78BX8KpP8LJk8buC8stZ9LhX9Net9PPz9efR9fHz9fX198BY98dz98xX99/s9+Lt9+3R+MVe+N2d+dOA+deU+eat+sBQ+stf+8hm+8xZ+9Bw/Lzd/MtQ/N2E/N6G/dlx/sxP/s5R/tRa/tZk/tdp/9JQ/9JR/9NThpihEAAAAAN0Uk5TAFJ4LCUCBgAAAKRJREFUOI1jYBgKgJEJL2BkYCcAqKCAgwBgiCYAYApiQ/xCY/AoiLGR4Vb2wKkgyDxaUVhI0CjaEIcCH1N3aTVLL+9wgzDsCoLtdLS1lQJdoxwisCvQF+WTFWFxsVcQs8auwFjCSY6TmZ/HQtwRuwJPtwApKU09SV9bf+wKdFWc1TVMBOStVM2wK2Bj1YqODI6I5mXlwq4AHyAcWXRIMAQT7VAAACQKgMq9uRSqAAAAAElFTkSuQmCC',
'front' => true,
'[new]' => false,
'[accessible]' => [
[maximum depth reached]
],
'[dirty]' => [[maximum depth reached]],
'[original]' => [[maximum depth reached]],
'[virtual]' => [[maximum depth reached]],
'[hasErrors]' => false,
'[errors]' => [[maximum depth reached]],
'[invalid]' => [[maximum depth reached]],
'[repository]' => 'Locales'
},
(int) 2 => object(App\Model\Entity\Locale) {
'id' => '99c33239-48e4-4692-adb0-30a7c352e556',
'locale' => 'en',
'name' => 'English',
'position' => (int) 0,
'active' => true,
'flag' => 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAAA3QAAAN0BcFOiBwAAABl0RVh0U29mdHdhcmUAd3d3Lmlua3NjYXBlLm9yZ5vuPBoAAATuSURBVFiF7ZdrUNRlFMZ/+2dhXVoW5DJcAgTjamopziiWYuhMYpHGRUk0Gs1gIshboIYMoWNqahQyig41hJLXcgSvQ6VyS2WE1IBABRSZ5b673BZYdvtQ4QUYHb7QB55v7zlz5nnOvO+c57wivV7PSEIYUfZRAf8HAeJL65MbJ8UuvSQ2EveVPewy3naqxkPZ0SsZqmD+KxYPI9+0u9/iH+n9eNw8K6Uw5UKd4/k/ml98FqmrjVQd/65DhTg1015suzvFsuHM+SDV6nA8Q3xIWeHCrqxaUnPq6NbqBhR7jTdxBLx7coueTjk2tvWQW64aktja1IiNixxZ0ldDh1/CRM3tSgR1oD/CnWrGRsRQ89YnNBf9ReJiJ4q+9CJ4hhUi0bP6eTakRgIx/g4UhZmxMHk7qoBotOX3MF4ZiJDptwz1qTQ0Pt5I8q8jXfghle8nIGlt5eBH7vwS9yoz3UyHRSyIIPR1a4rXOhP56yE6fMPozilEMn8WlgWZyHfHICSdrcXvmJqL0bG0pu2hz9MFk9Pn0M8OoXRdMu5mcHbDJDKjPHG1kT43ue/LZuTFerKj/jdEc96jK+M0hpPdMM/ex9gju1Db2bMh8x4iArL7R6GLjZSEwHE45ediuf97qKsHK3OaVoXhuSYYvYFAVYMGVxspCrPpTxDaKK+ScKKaizdb2RrkyIziXNq3HUBX34yBvQ2yzRFIF89Ho9WTmlPH7uxa1F3aJwX8B283OYnv2GF8+CcsM46iV7ejc3VGGb2KCcvnAgwqoKpBg23JDdrjk9GW30MklyFbG4ZxRAhIjDh+tZEtJ6t50NzdXyc6kVs1qBkIgoiZrnI661tQXLn1iMhnMub2FoMK0LWo6L1R2h8znOKJYGEGQF1rN6W1nQN4REqlclhuNJiA4UBUjvuI2uGIj+JRASP+CMU5t1oHBCfYG2M39h9D1DUr6S0u688ZTp2AYD74aG6pbUZx+eYjUbMnYWxtTkGlGp1u8D7FQV//2X9wsJCwOdAJWzMJek0PnfuP0L4nHb26HbHHeGSJUdRoJTgP0Y25vQUKnQ6zbw8iVFbRK5dxd/kSTEIDiD9TR2GFekCNACCXivki2Inr27xYPN0SzbFzNE0Lpi0hBZFUgvybjdw8sBffPCnpVxRD0EOlogu3UF+sCw7TtGkNeokRFilpOASt4CvjuxyK9MDlKT8RIubZUbJjGp/62SNcLaH5jQ9QhSega1Ehi11JU1YGy5pcCEgqo7S2Y0hygMN59XjH3eDCbSUTY0IwuXaclpXLECnVWMZvZ0r0GjK8NOwMfQkLmSHw7yPUVlTTFr+X7vO5IAhIQ9+mK2oFW/La+TG/nsevb/UCexKCnIY0o6SztQDMdDNl6xJnpjrLaLijQJW4H5PsC6DTofHxpuezcDIVUsTqdTvpTD8F2j4k87wRx31McpWE5D1VdPUM3IieFwUVKuZuLSFouhXxgU64/pBAVW4wwvZ9jLlcyJj8ayxduABxZ9pJxBNdeSExiqMG4/gy/T71qp5hEz8OvR6O/97I6aJmwufZsd7fHfmZvZQduYxpUiryk1mIZXER17ThS2s///mBW6WiUe5mK8XNdujFw8rE6CFw32jWNO+nUoVWJkaOszxMB11Ki6vbiPzuTvemRePKPUN8OrUBrxnc2pE5RzT6NRsVMNIC/gaY0PLtJgQJ0gAAAABJRU5ErkJggg==',
'front' => true,
'[new]' => false,
'[accessible]' => [
[maximum depth reached]
],
'[dirty]' => [[maximum depth reached]],
'[original]' => [[maximum depth reached]],
'[virtual]' => [[maximum depth reached]],
'[hasErrors]' => false,
'[errors]' => [[maximum depth reached]],
'[invalid]' => [[maximum depth reached]],
'[repository]' => 'Locales'
},
(int) 3 => object(App\Model\Entity\Locale) {
'id' => 'a20c3c73-53c0-11e9-bb3d-7054d219d6c5',
'locale' => 'de',
'name' => 'Deutsch',
'position' => (int) 0,
'active' => true,
'flag' => 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgBAMAAACBVGfHAAAAA3NCSVQICAjb4U/gAAAACXBIWXMAAADdAAAA3QFwU6IHAAAAGXRFWHRTb2Z0d2FyZQB3d3cuaW5rc2NhcGUub3Jnm+48GgAAAB5QTFRF////SEhU/+BaRkZV/+FZwUlV/31WRkZV/0tV/+FagNv1tgAAAAd0Uk5TAFJSeHjAwPIGe2oAAAAqSURBVCjPY2FAAyzUEBBWQOH/Y0mhhS0YAvfQBYyHs7Xd6IF85w71bQEAwy4HmS9PAQYAAAAASUVORK5CYII=',
'front' => true,
'[new]' => false,
'[accessible]' => [
[maximum depth reached]
],
'[dirty]' => [[maximum depth reached]],
'[original]' => [[maximum depth reached]],
'[virtual]' => [[maximum depth reached]],
'[hasErrors]' => false,
'[errors]' => [[maximum depth reached]],
'[invalid]' => [[maximum depth reached]],
'[repository]' => 'Locales'
}
]
$session = object(Cake\Http\Session) {
[protected] _engine => null
[protected] _started => true
[protected] _lifetime => (int) 86400
[protected] _isCLI => false
}
$lng = 'la-maison'
$currentLocal = 'la-maison'
$settingsDB = object(SoftDelete\ORM\Query) {
'(help)' => 'This is a Query object, to get the results execute or iterate it.',
'sql' => 'SELECT Settings.id AS `Settings__id`, Settings.meta_key AS `Settings__meta_key`, Settings.meta_value AS `Settings__meta_value`, Settings.name AS `Settings__name`, Settings.description AS `Settings__description`, Settings.deleted AS `Settings__deleted`, Settings_meta_value_translation.id AS `Settings_meta_value_translation__id`, Settings_meta_value_translation.locale AS `Settings_meta_value_translation__locale`, Settings_meta_value_translation.model AS `Settings_meta_value_translation__model`, Settings_meta_value_translation.foreign_key AS `Settings_meta_value_translation__foreign_key`, Settings_meta_value_translation.field AS `Settings_meta_value_translation__field`, Settings_meta_value_translation.content AS `Settings_meta_value_translation__content`, Settings_name_translation.id AS `Settings_name_translation__id`, Settings_name_translation.locale AS `Settings_name_translation__locale`, Settings_name_translation.model AS `Settings_name_translation__model`, Settings_name_translation.foreign_key AS `Settings_name_translation__foreign_key`, Settings_name_translation.field AS `Settings_name_translation__field`, Settings_name_translation.content AS `Settings_name_translation__content`, Settings_description_translation.id AS `Settings_description_translation__id`, Settings_description_translation.locale AS `Settings_description_translation__locale`, Settings_description_translation.model AS `Settings_description_translation__model`, Settings_description_translation.foreign_key AS `Settings_description_translation__foreign_key`, Settings_description_translation.field AS `Settings_description_translation__field`, Settings_description_translation.content AS `Settings_description_translation__content` FROM settings Settings LEFT JOIN i18n Settings_meta_value_translation ON (Settings_meta_value_translation.model = :c0 AND Settings_meta_value_translation.field = :c1 AND Settings_meta_value_translation.locale = :c2 AND Settings.id = (Settings_meta_value_translation.foreign_key)) LEFT JOIN i18n Settings_name_translation ON (Settings_name_translation.model = :c3 AND Settings_name_translation.field = :c4 AND Settings_name_translation.locale = :c5 AND Settings.id = (Settings_name_translation.foreign_key)) LEFT JOIN i18n Settings_description_translation ON (Settings_description_translation.model = :c6 AND Settings_description_translation.field = :c7 AND Settings_description_translation.locale = :c8 AND Settings.id = (Settings_description_translation.foreign_key)) WHERE Settings.deleted IS NULL',
'params' => [
':c0' => [
[maximum depth reached]
],
':c1' => [
[maximum depth reached]
],
':c2' => [
[maximum depth reached]
],
':c3' => [
[maximum depth reached]
],
':c4' => [
[maximum depth reached]
],
':c5' => [
[maximum depth reached]
],
':c6' => [
[maximum depth reached]
],
':c7' => [
[maximum depth reached]
],
':c8' => [
[maximum depth reached]
]
],
'defaultTypes' => [
'Settings__id' => 'uuid',
'Settings.id' => 'uuid',
'id' => 'uuid',
'Settings__meta_key' => 'string',
'Settings.meta_key' => 'string',
'meta_key' => 'string',
'Settings__meta_value' => 'text',
'Settings.meta_value' => 'text',
'meta_value' => 'text',
'Settings__name' => 'string',
'Settings.name' => 'string',
'name' => 'string',
'Settings__description' => 'text',
'Settings.description' => 'text',
'description' => 'text',
'Settings__deleted' => 'datetime',
'Settings.deleted' => 'datetime',
'deleted' => 'datetime',
'I18n__id' => 'integer',
'I18n.id' => 'integer',
'I18n__locale' => 'string',
'I18n.locale' => 'string',
'locale' => 'string',
'I18n__model' => 'string',
'I18n.model' => 'string',
'model' => 'string',
'I18n__foreign_key' => 'uuid',
'I18n.foreign_key' => 'uuid',
'foreign_key' => 'uuid',
'I18n__field' => 'string',
'I18n.field' => 'string',
'field' => 'string',
'I18n__content' => 'text',
'I18n.content' => 'text',
'content' => 'text',
'Settings_meta_value_translation__id' => 'integer',
'Settings_meta_value_translation.id' => 'integer',
'Settings_meta_value_translation__locale' => 'string',
'Settings_meta_value_translation.locale' => 'string',
'Settings_meta_value_translation__model' => 'string',
'Settings_meta_value_translation.model' => 'string',
'Settings_meta_value_translation__foreign_key' => 'uuid',
'Settings_meta_value_translation.foreign_key' => 'uuid',
'Settings_meta_value_translation__field' => 'string',
'Settings_meta_value_translation.field' => 'string',
'Settings_meta_value_translation__content' => 'text',
'Settings_meta_value_translation.content' => 'text',
'Settings_name_translation__id' => 'integer',
'Settings_name_translation.id' => 'integer',
'Settings_name_translation__locale' => 'string',
'Settings_name_translation.locale' => 'string',
'Settings_name_translation__model' => 'string',
'Settings_name_translation.model' => 'string',
'Settings_name_translation__foreign_key' => 'uuid',
'Settings_name_translation.foreign_key' => 'uuid',
'Settings_name_translation__field' => 'string',
'Settings_name_translation.field' => 'string',
'Settings_name_translation__content' => 'text',
'Settings_name_translation.content' => 'text',
'Settings_description_translation__id' => 'integer',
'Settings_description_translation.id' => 'integer',
'Settings_description_translation__locale' => 'string',
'Settings_description_translation.locale' => 'string',
'Settings_description_translation__model' => 'string',
'Settings_description_translation.model' => 'string',
'Settings_description_translation__foreign_key' => 'uuid',
'Settings_description_translation.foreign_key' => 'uuid',
'Settings_description_translation__field' => 'string',
'Settings_description_translation.field' => 'string',
'Settings_description_translation__content' => 'text',
'Settings_description_translation.content' => 'text'
],
'decorators' => (int) 0,
'executed' => true,
'hydrate' => true,
'buffered' => true,
'formatters' => (int) 2,
'mapReducers' => (int) 0,
'contain' => [
'I18n' => [
[maximum depth reached]
],
'Settings_meta_value_translation' => [
[maximum depth reached]
],
'Settings_name_translation' => [
[maximum depth reached]
],
'Settings_description_translation' => [
[maximum depth reached]
]
],
'matching' => [],
'extraOptions' => [],
'repository' => object(App\Model\Table\SettingsTable) {}
}
$settings = [
'copyright' => null,
'facebook' => null,
'title_faq' => null,
'btn_discover_name' => null,
'btn_choose' => null,
'systempay_key' => null,
'partners_section_title' => null,
'assembly' => null,
'team_section_title' => null,
'sous_total' => null
]
$titles = [
'copyright' => null,
'facebook' => null,
'title_faq' => null,
'btn_discover_name' => null,
'btn_choose' => null,
'systempay_key' => null,
'partners_section_title' => null,
'assembly' => null,
'team_section_title' => null
]
$key = (int) 9
$s = object(App\Model\Entity\Setting) {
'id' => '271cc651-2b46-4da2-bee5-dec7af65507e',
'meta_key' => 'sous_total',
'meta_value' => '',
'name' => 'Sous-total (TTC)',
'description' => '',
'deleted' => null,
'_locale' => 'la-maison',
'_translations' => [
'fr' => object(App\Model\Entity\Setting) {},
'en' => object(App\Model\Entity\Setting) {},
'es' => object(App\Model\Entity\Setting) {},
'pt' => object(App\Model\Entity\Setting) {},
'de' => object(App\Model\Entity\Setting) {},
'it' => object(App\Model\Entity\Setting) {}
],
'[new]' => false,
'[accessible]' => [
'meta_key' => true,
'meta_value' => true,
'name' => true,
'description' => true
],
'[dirty]' => [],
'[original]' => [],
'[virtual]' => [],
'[hasErrors]' => false,
'[errors]' => [],
'[invalid]' => [],
'[repository]' => 'Settings'
}
App\Controller\AppController::initialize() - APP/Controller/AppController.php, line 111
App\Controller\PagesController::initialize() - APP/Controller/PagesController.php, line 38
Cake\Controller\Controller::__construct() - CORE/src/Controller/Controller.php, line 273
ReflectionClass::newInstance() - [internal], line ??
Cake\Http\ControllerFactory::create() - CORE/src/Http/ControllerFactory.php, line 47
Cake\Http\ActionDispatcher::dispatch() - CORE/src/Http/ActionDispatcher.php, line 91
Cake\Http\BaseApplication::__invoke() - CORE/src/Http/BaseApplication.php, line 235
Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65
Cake\Routing\Middleware\RoutingMiddleware::__invoke() - CORE/src/Routing/Middleware/RoutingMiddleware.php, line 162
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 96
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 98
[main] - ROOT/webroot/index.php, line 40
Notice (8): Undefined index: la-maison [APP/Controller/AppController.php, line 110]Code Context foreach ($settingsDB as $key => $s) {
$settings[$s->meta_key] = $s->_translations[$this->getCurrentLocale()]->meta_value;
$titles[$s->meta_key] = $s->_translations[$this->getCurrentLocale()]->name;
$locales = [
(int) 0 => object(App\Model\Entity\Locale) {
'id' => 'c79e08dd-4b98-40da-812f-166a5627cafe',
'locale' => 'fr',
'name' => 'French',
'position' => (int) 1,
'active' => true,
'flag' => 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgBAMAAACBVGfHAAAAA3NCSVQICAjb4U/gAAAACXBIWXMAAADdAAAA3QFwU6IHAAAAGXRFWHRTb2Z0d2FyZQB3d3cuaW5rc2NhcGUub3Jnm+48GgAAACdQTFRF////QUib/0tUh4y+/XiAQkab9PT0/0pVkpTC/mRtQUeb9fX1/0tVpPINxQAAAAp0Uk5TAFJSamp4eHjGxmzCt2wAAAArSURBVCjPY2RAA4zUEBB1AJIPDYDEP2Eg8ZtxFQOKAMOoAOUCGIFMi6gEAD39PvX2T/ZKAAAAAElFTkSuQmCC',
'front' => true,
'[new]' => false,
'[accessible]' => [
[maximum depth reached]
],
'[dirty]' => [[maximum depth reached]],
'[original]' => [[maximum depth reached]],
'[virtual]' => [[maximum depth reached]],
'[hasErrors]' => false,
'[errors]' => [[maximum depth reached]],
'[invalid]' => [[maximum depth reached]],
'[repository]' => 'Locales'
},
(int) 1 => object(App\Model\Entity\Locale) {
'id' => '073aae08-53c1-11e9-bb3d-7054d219d6c5',
'locale' => 'es',
'name' => 'Español',
'position' => (int) 0,
'active' => true,
'flag' => 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAMAAABEpIrGAAAAA3NCSVQICAjb4U/gAAAACXBIWXMAAADdAAAA3QFwU6IHAAAAGXRFWHRTb2Z0d2FyZQB3d3cuaW5rc2NhcGUub3Jnm+48GgAAARpQTFRF////x0FLyEJKgXaZoI6wuKV1watwyEFLy0pLzntc0rZn1GJZ1WVW1bhm1mxd13JW13Vx2nFQ229L23JN23xM3IyF3I+V3JKY3Y2G3nVJ33dJ34Zs4JOA4XhH4X9Q4ZV845Bk5JJi5LG15aWL5btz5b185pFh5pRk5pZs5px558Nc6ItI6KR16cFp6pBI66lx7ZxQ7aNO7q1h7rR17tjW76BO78BX8KpP8LJk8buC8stZ9LhX9Net9PPz9efR9fHz9fX198BY98dz98xX99/s9+Lt9+3R+MVe+N2d+dOA+deU+eat+sBQ+stf+8hm+8xZ+9Bw/Lzd/MtQ/N2E/N6G/dlx/sxP/s5R/tRa/tZk/tdp/9JQ/9JR/9NThpihEAAAAAN0Uk5TAFJ4LCUCBgAAAKRJREFUOI1jYBgKgJEJL2BkYCcAqKCAgwBgiCYAYApiQ/xCY/AoiLGR4Vb2wKkgyDxaUVhI0CjaEIcCH1N3aTVLL+9wgzDsCoLtdLS1lQJdoxwisCvQF+WTFWFxsVcQs8auwFjCSY6TmZ/HQtwRuwJPtwApKU09SV9bf+wKdFWc1TVMBOStVM2wK2Bj1YqODI6I5mXlwq4AHyAcWXRIMAQT7VAAACQKgMq9uRSqAAAAAElFTkSuQmCC',
'front' => true,
'[new]' => false,
'[accessible]' => [
[maximum depth reached]
],
'[dirty]' => [[maximum depth reached]],
'[original]' => [[maximum depth reached]],
'[virtual]' => [[maximum depth reached]],
'[hasErrors]' => false,
'[errors]' => [[maximum depth reached]],
'[invalid]' => [[maximum depth reached]],
'[repository]' => 'Locales'
},
(int) 2 => object(App\Model\Entity\Locale) {
'id' => '99c33239-48e4-4692-adb0-30a7c352e556',
'locale' => 'en',
'name' => 'English',
'position' => (int) 0,
'active' => true,
'flag' => 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAAA3QAAAN0BcFOiBwAAABl0RVh0U29mdHdhcmUAd3d3Lmlua3NjYXBlLm9yZ5vuPBoAAATuSURBVFiF7ZdrUNRlFMZ/+2dhXVoW5DJcAgTjamopziiWYuhMYpHGRUk0Gs1gIshboIYMoWNqahQyig41hJLXcgSvQ6VyS2WE1IBABRSZ5b673BZYdvtQ4QUYHb7QB55v7zlz5nnOvO+c57wivV7PSEIYUfZRAf8HAeJL65MbJ8UuvSQ2EveVPewy3naqxkPZ0SsZqmD+KxYPI9+0u9/iH+n9eNw8K6Uw5UKd4/k/ml98FqmrjVQd/65DhTg1015suzvFsuHM+SDV6nA8Q3xIWeHCrqxaUnPq6NbqBhR7jTdxBLx7coueTjk2tvWQW64aktja1IiNixxZ0ldDh1/CRM3tSgR1oD/CnWrGRsRQ89YnNBf9ReJiJ4q+9CJ4hhUi0bP6eTakRgIx/g4UhZmxMHk7qoBotOX3MF4ZiJDptwz1qTQ0Pt5I8q8jXfghle8nIGlt5eBH7vwS9yoz3UyHRSyIIPR1a4rXOhP56yE6fMPozilEMn8WlgWZyHfHICSdrcXvmJqL0bG0pu2hz9MFk9Pn0M8OoXRdMu5mcHbDJDKjPHG1kT43ue/LZuTFerKj/jdEc96jK+M0hpPdMM/ex9gju1Db2bMh8x4iArL7R6GLjZSEwHE45ediuf97qKsHK3OaVoXhuSYYvYFAVYMGVxspCrPpTxDaKK+ScKKaizdb2RrkyIziXNq3HUBX34yBvQ2yzRFIF89Ho9WTmlPH7uxa1F3aJwX8B283OYnv2GF8+CcsM46iV7ejc3VGGb2KCcvnAgwqoKpBg23JDdrjk9GW30MklyFbG4ZxRAhIjDh+tZEtJ6t50NzdXyc6kVs1qBkIgoiZrnI661tQXLn1iMhnMub2FoMK0LWo6L1R2h8znOKJYGEGQF1rN6W1nQN4REqlclhuNJiA4UBUjvuI2uGIj+JRASP+CMU5t1oHBCfYG2M39h9D1DUr6S0u688ZTp2AYD74aG6pbUZx+eYjUbMnYWxtTkGlGp1u8D7FQV//2X9wsJCwOdAJWzMJek0PnfuP0L4nHb26HbHHeGSJUdRoJTgP0Y25vQUKnQ6zbw8iVFbRK5dxd/kSTEIDiD9TR2GFekCNACCXivki2Inr27xYPN0SzbFzNE0Lpi0hBZFUgvybjdw8sBffPCnpVxRD0EOlogu3UF+sCw7TtGkNeokRFilpOASt4CvjuxyK9MDlKT8RIubZUbJjGp/62SNcLaH5jQ9QhSega1Ehi11JU1YGy5pcCEgqo7S2Y0hygMN59XjH3eDCbSUTY0IwuXaclpXLECnVWMZvZ0r0GjK8NOwMfQkLmSHw7yPUVlTTFr+X7vO5IAhIQ9+mK2oFW/La+TG/nsevb/UCexKCnIY0o6SztQDMdDNl6xJnpjrLaLijQJW4H5PsC6DTofHxpuezcDIVUsTqdTvpTD8F2j4k87wRx31McpWE5D1VdPUM3IieFwUVKuZuLSFouhXxgU64/pBAVW4wwvZ9jLlcyJj8ayxduABxZ9pJxBNdeSExiqMG4/gy/T71qp5hEz8OvR6O/97I6aJmwufZsd7fHfmZvZQduYxpUiryk1mIZXER17ThS2s///mBW6WiUe5mK8XNdujFw8rE6CFw32jWNO+nUoVWJkaOszxMB11Ki6vbiPzuTvemRePKPUN8OrUBrxnc2pE5RzT6NRsVMNIC/gaY0PLtJgQJ0gAAAABJRU5ErkJggg==',
'front' => true,
'[new]' => false,
'[accessible]' => [
[maximum depth reached]
],
'[dirty]' => [[maximum depth reached]],
'[original]' => [[maximum depth reached]],
'[virtual]' => [[maximum depth reached]],
'[hasErrors]' => false,
'[errors]' => [[maximum depth reached]],
'[invalid]' => [[maximum depth reached]],
'[repository]' => 'Locales'
},
(int) 3 => object(App\Model\Entity\Locale) {
'id' => 'a20c3c73-53c0-11e9-bb3d-7054d219d6c5',
'locale' => 'de',
'name' => 'Deutsch',
'position' => (int) 0,
'active' => true,
'flag' => 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgBAMAAACBVGfHAAAAA3NCSVQICAjb4U/gAAAACXBIWXMAAADdAAAA3QFwU6IHAAAAGXRFWHRTb2Z0d2FyZQB3d3cuaW5rc2NhcGUub3Jnm+48GgAAAB5QTFRF////SEhU/+BaRkZV/+FZwUlV/31WRkZV/0tV/+FagNv1tgAAAAd0Uk5TAFJSeHjAwPIGe2oAAAAqSURBVCjPY2FAAyzUEBBWQOH/Y0mhhS0YAvfQBYyHs7Xd6IF85w71bQEAwy4HmS9PAQYAAAAASUVORK5CYII=',
'front' => true,
'[new]' => false,
'[accessible]' => [
[maximum depth reached]
],
'[dirty]' => [[maximum depth reached]],
'[original]' => [[maximum depth reached]],
'[virtual]' => [[maximum depth reached]],
'[hasErrors]' => false,
'[errors]' => [[maximum depth reached]],
'[invalid]' => [[maximum depth reached]],
'[repository]' => 'Locales'
}
]
$session = object(Cake\Http\Session) {
[protected] _engine => null
[protected] _started => true
[protected] _lifetime => (int) 86400
[protected] _isCLI => false
}
$lng = 'la-maison'
$currentLocal = 'la-maison'
$settingsDB = object(SoftDelete\ORM\Query) {
'(help)' => 'This is a Query object, to get the results execute or iterate it.',
'sql' => 'SELECT Settings.id AS `Settings__id`, Settings.meta_key AS `Settings__meta_key`, Settings.meta_value AS `Settings__meta_value`, Settings.name AS `Settings__name`, Settings.description AS `Settings__description`, Settings.deleted AS `Settings__deleted`, Settings_meta_value_translation.id AS `Settings_meta_value_translation__id`, Settings_meta_value_translation.locale AS `Settings_meta_value_translation__locale`, Settings_meta_value_translation.model AS `Settings_meta_value_translation__model`, Settings_meta_value_translation.foreign_key AS `Settings_meta_value_translation__foreign_key`, Settings_meta_value_translation.field AS `Settings_meta_value_translation__field`, Settings_meta_value_translation.content AS `Settings_meta_value_translation__content`, Settings_name_translation.id AS `Settings_name_translation__id`, Settings_name_translation.locale AS `Settings_name_translation__locale`, Settings_name_translation.model AS `Settings_name_translation__model`, Settings_name_translation.foreign_key AS `Settings_name_translation__foreign_key`, Settings_name_translation.field AS `Settings_name_translation__field`, Settings_name_translation.content AS `Settings_name_translation__content`, Settings_description_translation.id AS `Settings_description_translation__id`, Settings_description_translation.locale AS `Settings_description_translation__locale`, Settings_description_translation.model AS `Settings_description_translation__model`, Settings_description_translation.foreign_key AS `Settings_description_translation__foreign_key`, Settings_description_translation.field AS `Settings_description_translation__field`, Settings_description_translation.content AS `Settings_description_translation__content` FROM settings Settings LEFT JOIN i18n Settings_meta_value_translation ON (Settings_meta_value_translation.model = :c0 AND Settings_meta_value_translation.field = :c1 AND Settings_meta_value_translation.locale = :c2 AND Settings.id = (Settings_meta_value_translation.foreign_key)) LEFT JOIN i18n Settings_name_translation ON (Settings_name_translation.model = :c3 AND Settings_name_translation.field = :c4 AND Settings_name_translation.locale = :c5 AND Settings.id = (Settings_name_translation.foreign_key)) LEFT JOIN i18n Settings_description_translation ON (Settings_description_translation.model = :c6 AND Settings_description_translation.field = :c7 AND Settings_description_translation.locale = :c8 AND Settings.id = (Settings_description_translation.foreign_key)) WHERE Settings.deleted IS NULL',
'params' => [
':c0' => [
[maximum depth reached]
],
':c1' => [
[maximum depth reached]
],
':c2' => [
[maximum depth reached]
],
':c3' => [
[maximum depth reached]
],
':c4' => [
[maximum depth reached]
],
':c5' => [
[maximum depth reached]
],
':c6' => [
[maximum depth reached]
],
':c7' => [
[maximum depth reached]
],
':c8' => [
[maximum depth reached]
]
],
'defaultTypes' => [
'Settings__id' => 'uuid',
'Settings.id' => 'uuid',
'id' => 'uuid',
'Settings__meta_key' => 'string',
'Settings.meta_key' => 'string',
'meta_key' => 'string',
'Settings__meta_value' => 'text',
'Settings.meta_value' => 'text',
'meta_value' => 'text',
'Settings__name' => 'string',
'Settings.name' => 'string',
'name' => 'string',
'Settings__description' => 'text',
'Settings.description' => 'text',
'description' => 'text',
'Settings__deleted' => 'datetime',
'Settings.deleted' => 'datetime',
'deleted' => 'datetime',
'I18n__id' => 'integer',
'I18n.id' => 'integer',
'I18n__locale' => 'string',
'I18n.locale' => 'string',
'locale' => 'string',
'I18n__model' => 'string',
'I18n.model' => 'string',
'model' => 'string',
'I18n__foreign_key' => 'uuid',
'I18n.foreign_key' => 'uuid',
'foreign_key' => 'uuid',
'I18n__field' => 'string',
'I18n.field' => 'string',
'field' => 'string',
'I18n__content' => 'text',
'I18n.content' => 'text',
'content' => 'text',
'Settings_meta_value_translation__id' => 'integer',
'Settings_meta_value_translation.id' => 'integer',
'Settings_meta_value_translation__locale' => 'string',
'Settings_meta_value_translation.locale' => 'string',
'Settings_meta_value_translation__model' => 'string',
'Settings_meta_value_translation.model' => 'string',
'Settings_meta_value_translation__foreign_key' => 'uuid',
'Settings_meta_value_translation.foreign_key' => 'uuid',
'Settings_meta_value_translation__field' => 'string',
'Settings_meta_value_translation.field' => 'string',
'Settings_meta_value_translation__content' => 'text',
'Settings_meta_value_translation.content' => 'text',
'Settings_name_translation__id' => 'integer',
'Settings_name_translation.id' => 'integer',
'Settings_name_translation__locale' => 'string',
'Settings_name_translation.locale' => 'string',
'Settings_name_translation__model' => 'string',
'Settings_name_translation.model' => 'string',
'Settings_name_translation__foreign_key' => 'uuid',
'Settings_name_translation.foreign_key' => 'uuid',
'Settings_name_translation__field' => 'string',
'Settings_name_translation.field' => 'string',
'Settings_name_translation__content' => 'text',
'Settings_name_translation.content' => 'text',
'Settings_description_translation__id' => 'integer',
'Settings_description_translation.id' => 'integer',
'Settings_description_translation__locale' => 'string',
'Settings_description_translation.locale' => 'string',
'Settings_description_translation__model' => 'string',
'Settings_description_translation.model' => 'string',
'Settings_description_translation__foreign_key' => 'uuid',
'Settings_description_translation.foreign_key' => 'uuid',
'Settings_description_translation__field' => 'string',
'Settings_description_translation.field' => 'string',
'Settings_description_translation__content' => 'text',
'Settings_description_translation.content' => 'text'
],
'decorators' => (int) 0,
'executed' => true,
'hydrate' => true,
'buffered' => true,
'formatters' => (int) 2,
'mapReducers' => (int) 0,
'contain' => [
'I18n' => [
[maximum depth reached]
],
'Settings_meta_value_translation' => [
[maximum depth reached]
],
'Settings_name_translation' => [
[maximum depth reached]
],
'Settings_description_translation' => [
[maximum depth reached]
]
],
'matching' => [],
'extraOptions' => [],
'repository' => object(App\Model\Table\SettingsTable) {}
}
$settings = [
'copyright' => null,
'facebook' => null,
'title_faq' => null,
'btn_discover_name' => null,
'btn_choose' => null,
'systempay_key' => null,
'partners_section_title' => null,
'assembly' => null,
'team_section_title' => null,
'sous_total' => null
]
$titles = [
'copyright' => null,
'facebook' => null,
'title_faq' => null,
'btn_discover_name' => null,
'btn_choose' => null,
'systempay_key' => null,
'partners_section_title' => null,
'assembly' => null,
'team_section_title' => null,
'sous_total' => null
]
$key = (int) 10
$s = object(App\Model\Entity\Setting) {
'id' => '27c8e9e2-d4b0-4937-ad61-cc4e79699606',
'meta_key' => 'title_cart',
'meta_value' => '',
'name' => 'Panier',
'description' => '',
'deleted' => null,
'_locale' => 'la-maison',
'_translations' => [
'fr' => object(App\Model\Entity\Setting) {},
'en' => object(App\Model\Entity\Setting) {},
'es' => object(App\Model\Entity\Setting) {},
'pt' => object(App\Model\Entity\Setting) {},
'de' => object(App\Model\Entity\Setting) {},
'it' => object(App\Model\Entity\Setting) {}
],
'[new]' => false,
'[accessible]' => [
'meta_key' => true,
'meta_value' => true,
'name' => true,
'description' => true
],
'[dirty]' => [],
'[original]' => [],
'[virtual]' => [],
'[hasErrors]' => false,
'[errors]' => [],
'[invalid]' => [],
'[repository]' => 'Settings'
}
App\Controller\AppController::initialize() - APP/Controller/AppController.php, line 110
App\Controller\PagesController::initialize() - APP/Controller/PagesController.php, line 38
Cake\Controller\Controller::__construct() - CORE/src/Controller/Controller.php, line 273
ReflectionClass::newInstance() - [internal], line ??
Cake\Http\ControllerFactory::create() - CORE/src/Http/ControllerFactory.php, line 47
Cake\Http\ActionDispatcher::dispatch() - CORE/src/Http/ActionDispatcher.php, line 91
Cake\Http\BaseApplication::__invoke() - CORE/src/Http/BaseApplication.php, line 235
Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65
Cake\Routing\Middleware\RoutingMiddleware::__invoke() - CORE/src/Routing/Middleware/RoutingMiddleware.php, line 162
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 96
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 98
[main] - ROOT/webroot/index.php, line 40
Notice (8): Trying to get property of non-object [APP/Controller/AppController.php, line 110]Code Context foreach ($settingsDB as $key => $s) {
$settings[$s->meta_key] = $s->_translations[$this->getCurrentLocale()]->meta_value;
$titles[$s->meta_key] = $s->_translations[$this->getCurrentLocale()]->name;
$locales = [
(int) 0 => object(App\Model\Entity\Locale) {
'id' => 'c79e08dd-4b98-40da-812f-166a5627cafe',
'locale' => 'fr',
'name' => 'French',
'position' => (int) 1,
'active' => true,
'flag' => 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgBAMAAACBVGfHAAAAA3NCSVQICAjb4U/gAAAACXBIWXMAAADdAAAA3QFwU6IHAAAAGXRFWHRTb2Z0d2FyZQB3d3cuaW5rc2NhcGUub3Jnm+48GgAAACdQTFRF////QUib/0tUh4y+/XiAQkab9PT0/0pVkpTC/mRtQUeb9fX1/0tVpPINxQAAAAp0Uk5TAFJSamp4eHjGxmzCt2wAAAArSURBVCjPY2RAA4zUEBB1AJIPDYDEP2Eg8ZtxFQOKAMOoAOUCGIFMi6gEAD39PvX2T/ZKAAAAAElFTkSuQmCC',
'front' => true,
'[new]' => false,
'[accessible]' => [
[maximum depth reached]
],
'[dirty]' => [[maximum depth reached]],
'[original]' => [[maximum depth reached]],
'[virtual]' => [[maximum depth reached]],
'[hasErrors]' => false,
'[errors]' => [[maximum depth reached]],
'[invalid]' => [[maximum depth reached]],
'[repository]' => 'Locales'
},
(int) 1 => object(App\Model\Entity\Locale) {
'id' => '073aae08-53c1-11e9-bb3d-7054d219d6c5',
'locale' => 'es',
'name' => 'Español',
'position' => (int) 0,
'active' => true,
'flag' => 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAMAAABEpIrGAAAAA3NCSVQICAjb4U/gAAAACXBIWXMAAADdAAAA3QFwU6IHAAAAGXRFWHRTb2Z0d2FyZQB3d3cuaW5rc2NhcGUub3Jnm+48GgAAARpQTFRF////x0FLyEJKgXaZoI6wuKV1watwyEFLy0pLzntc0rZn1GJZ1WVW1bhm1mxd13JW13Vx2nFQ229L23JN23xM3IyF3I+V3JKY3Y2G3nVJ33dJ34Zs4JOA4XhH4X9Q4ZV845Bk5JJi5LG15aWL5btz5b185pFh5pRk5pZs5px558Nc6ItI6KR16cFp6pBI66lx7ZxQ7aNO7q1h7rR17tjW76BO78BX8KpP8LJk8buC8stZ9LhX9Net9PPz9efR9fHz9fX198BY98dz98xX99/s9+Lt9+3R+MVe+N2d+dOA+deU+eat+sBQ+stf+8hm+8xZ+9Bw/Lzd/MtQ/N2E/N6G/dlx/sxP/s5R/tRa/tZk/tdp/9JQ/9JR/9NThpihEAAAAAN0Uk5TAFJ4LCUCBgAAAKRJREFUOI1jYBgKgJEJL2BkYCcAqKCAgwBgiCYAYApiQ/xCY/AoiLGR4Vb2wKkgyDxaUVhI0CjaEIcCH1N3aTVLL+9wgzDsCoLtdLS1lQJdoxwisCvQF+WTFWFxsVcQs8auwFjCSY6TmZ/HQtwRuwJPtwApKU09SV9bf+wKdFWc1TVMBOStVM2wK2Bj1YqODI6I5mXlwq4AHyAcWXRIMAQT7VAAACQKgMq9uRSqAAAAAElFTkSuQmCC',
'front' => true,
'[new]' => false,
'[accessible]' => [
[maximum depth reached]
],
'[dirty]' => [[maximum depth reached]],
'[original]' => [[maximum depth reached]],
'[virtual]' => [[maximum depth reached]],
'[hasErrors]' => false,
'[errors]' => [[maximum depth reached]],
'[invalid]' => [[maximum depth reached]],
'[repository]' => 'Locales'
},
(int) 2 => object(App\Model\Entity\Locale) {
'id' => '99c33239-48e4-4692-adb0-30a7c352e556',
'locale' => 'en',
'name' => 'English',
'position' => (int) 0,
'active' => true,
'flag' => 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAAA3QAAAN0BcFOiBwAAABl0RVh0U29mdHdhcmUAd3d3Lmlua3NjYXBlLm9yZ5vuPBoAAATuSURBVFiF7ZdrUNRlFMZ/+2dhXVoW5DJcAgTjamopziiWYuhMYpHGRUk0Gs1gIshboIYMoWNqahQyig41hJLXcgSvQ6VyS2WE1IBABRSZ5b673BZYdvtQ4QUYHb7QB55v7zlz5nnOvO+c57wivV7PSEIYUfZRAf8HAeJL65MbJ8UuvSQ2EveVPewy3naqxkPZ0SsZqmD+KxYPI9+0u9/iH+n9eNw8K6Uw5UKd4/k/ml98FqmrjVQd/65DhTg1015suzvFsuHM+SDV6nA8Q3xIWeHCrqxaUnPq6NbqBhR7jTdxBLx7coueTjk2tvWQW64aktja1IiNixxZ0ldDh1/CRM3tSgR1oD/CnWrGRsRQ89YnNBf9ReJiJ4q+9CJ4hhUi0bP6eTakRgIx/g4UhZmxMHk7qoBotOX3MF4ZiJDptwz1qTQ0Pt5I8q8jXfghle8nIGlt5eBH7vwS9yoz3UyHRSyIIPR1a4rXOhP56yE6fMPozilEMn8WlgWZyHfHICSdrcXvmJqL0bG0pu2hz9MFk9Pn0M8OoXRdMu5mcHbDJDKjPHG1kT43ue/LZuTFerKj/jdEc96jK+M0hpPdMM/ex9gju1Db2bMh8x4iArL7R6GLjZSEwHE45ediuf97qKsHK3OaVoXhuSYYvYFAVYMGVxspCrPpTxDaKK+ScKKaizdb2RrkyIziXNq3HUBX34yBvQ2yzRFIF89Ho9WTmlPH7uxa1F3aJwX8B283OYnv2GF8+CcsM46iV7ejc3VGGb2KCcvnAgwqoKpBg23JDdrjk9GW30MklyFbG4ZxRAhIjDh+tZEtJ6t50NzdXyc6kVs1qBkIgoiZrnI661tQXLn1iMhnMub2FoMK0LWo6L1R2h8znOKJYGEGQF1rN6W1nQN4REqlclhuNJiA4UBUjvuI2uGIj+JRASP+CMU5t1oHBCfYG2M39h9D1DUr6S0u688ZTp2AYD74aG6pbUZx+eYjUbMnYWxtTkGlGp1u8D7FQV//2X9wsJCwOdAJWzMJek0PnfuP0L4nHb26HbHHeGSJUdRoJTgP0Y25vQUKnQ6zbw8iVFbRK5dxd/kSTEIDiD9TR2GFekCNACCXivki2Inr27xYPN0SzbFzNE0Lpi0hBZFUgvybjdw8sBffPCnpVxRD0EOlogu3UF+sCw7TtGkNeokRFilpOASt4CvjuxyK9MDlKT8RIubZUbJjGp/62SNcLaH5jQ9QhSega1Ehi11JU1YGy5pcCEgqo7S2Y0hygMN59XjH3eDCbSUTY0IwuXaclpXLECnVWMZvZ0r0GjK8NOwMfQkLmSHw7yPUVlTTFr+X7vO5IAhIQ9+mK2oFW/La+TG/nsevb/UCexKCnIY0o6SztQDMdDNl6xJnpjrLaLijQJW4H5PsC6DTofHxpuezcDIVUsTqdTvpTD8F2j4k87wRx31McpWE5D1VdPUM3IieFwUVKuZuLSFouhXxgU64/pBAVW4wwvZ9jLlcyJj8ayxduABxZ9pJxBNdeSExiqMG4/gy/T71qp5hEz8OvR6O/97I6aJmwufZsd7fHfmZvZQduYxpUiryk1mIZXER17ThS2s///mBW6WiUe5mK8XNdujFw8rE6CFw32jWNO+nUoVWJkaOszxMB11Ki6vbiPzuTvemRePKPUN8OrUBrxnc2pE5RzT6NRsVMNIC/gaY0PLtJgQJ0gAAAABJRU5ErkJggg==',
'front' => true,
'[new]' => false,
'[accessible]' => [
[maximum depth reached]
],
'[dirty]' => [[maximum depth reached]],
'[original]' => [[maximum depth reached]],
'[virtual]' => [[maximum depth reached]],
'[hasErrors]' => false,
'[errors]' => [[maximum depth reached]],
'[invalid]' => [[maximum depth reached]],
'[repository]' => 'Locales'
},
(int) 3 => object(App\Model\Entity\Locale) {
'id' => 'a20c3c73-53c0-11e9-bb3d-7054d219d6c5',
'locale' => 'de',
'name' => 'Deutsch',
'position' => (int) 0,
'active' => true,
'flag' => 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgBAMAAACBVGfHAAAAA3NCSVQICAjb4U/gAAAACXBIWXMAAADdAAAA3QFwU6IHAAAAGXRFWHRTb2Z0d2FyZQB3d3cuaW5rc2NhcGUub3Jnm+48GgAAAB5QTFRF////SEhU/+BaRkZV/+FZwUlV/31WRkZV/0tV/+FagNv1tgAAAAd0Uk5TAFJSeHjAwPIGe2oAAAAqSURBVCjPY2FAAyzUEBBWQOH/Y0mhhS0YAvfQBYyHs7Xd6IF85w71bQEAwy4HmS9PAQYAAAAASUVORK5CYII=',
'front' => true,
'[new]' => false,
'[accessible]' => [
[maximum depth reached]
],
'[dirty]' => [[maximum depth reached]],
'[original]' => [[maximum depth reached]],
'[virtual]' => [[maximum depth reached]],
'[hasErrors]' => false,
'[errors]' => [[maximum depth reached]],
'[invalid]' => [[maximum depth reached]],
'[repository]' => 'Locales'
}
]
$session = object(Cake\Http\Session) {
[protected] _engine => null
[protected] _started => true
[protected] _lifetime => (int) 86400
[protected] _isCLI => false
}
$lng = 'la-maison'
$currentLocal = 'la-maison'
$settingsDB = object(SoftDelete\ORM\Query) {
'(help)' => 'This is a Query object, to get the results execute or iterate it.',
'sql' => 'SELECT Settings.id AS `Settings__id`, Settings.meta_key AS `Settings__meta_key`, Settings.meta_value AS `Settings__meta_value`, Settings.name AS `Settings__name`, Settings.description AS `Settings__description`, Settings.deleted AS `Settings__deleted`, Settings_meta_value_translation.id AS `Settings_meta_value_translation__id`, Settings_meta_value_translation.locale AS `Settings_meta_value_translation__locale`, Settings_meta_value_translation.model AS `Settings_meta_value_translation__model`, Settings_meta_value_translation.foreign_key AS `Settings_meta_value_translation__foreign_key`, Settings_meta_value_translation.field AS `Settings_meta_value_translation__field`, Settings_meta_value_translation.content AS `Settings_meta_value_translation__content`, Settings_name_translation.id AS `Settings_name_translation__id`, Settings_name_translation.locale AS `Settings_name_translation__locale`, Settings_name_translation.model AS `Settings_name_translation__model`, Settings_name_translation.foreign_key AS `Settings_name_translation__foreign_key`, Settings_name_translation.field AS `Settings_name_translation__field`, Settings_name_translation.content AS `Settings_name_translation__content`, Settings_description_translation.id AS `Settings_description_translation__id`, Settings_description_translation.locale AS `Settings_description_translation__locale`, Settings_description_translation.model AS `Settings_description_translation__model`, Settings_description_translation.foreign_key AS `Settings_description_translation__foreign_key`, Settings_description_translation.field AS `Settings_description_translation__field`, Settings_description_translation.content AS `Settings_description_translation__content` FROM settings Settings LEFT JOIN i18n Settings_meta_value_translation ON (Settings_meta_value_translation.model = :c0 AND Settings_meta_value_translation.field = :c1 AND Settings_meta_value_translation.locale = :c2 AND Settings.id = (Settings_meta_value_translation.foreign_key)) LEFT JOIN i18n Settings_name_translation ON (Settings_name_translation.model = :c3 AND Settings_name_translation.field = :c4 AND Settings_name_translation.locale = :c5 AND Settings.id = (Settings_name_translation.foreign_key)) LEFT JOIN i18n Settings_description_translation ON (Settings_description_translation.model = :c6 AND Settings_description_translation.field = :c7 AND Settings_description_translation.locale = :c8 AND Settings.id = (Settings_description_translation.foreign_key)) WHERE Settings.deleted IS NULL',
'params' => [
':c0' => [
[maximum depth reached]
],
':c1' => [
[maximum depth reached]
],
':c2' => [
[maximum depth reached]
],
':c3' => [
[maximum depth reached]
],
':c4' => [
[maximum depth reached]
],
':c5' => [
[maximum depth reached]
],
':c6' => [
[maximum depth reached]
],
':c7' => [
[maximum depth reached]
],
':c8' => [
[maximum depth reached]
]
],
'defaultTypes' => [
'Settings__id' => 'uuid',
'Settings.id' => 'uuid',
'id' => 'uuid',
'Settings__meta_key' => 'string',
'Settings.meta_key' => 'string',
'meta_key' => 'string',
'Settings__meta_value' => 'text',
'Settings.meta_value' => 'text',
'meta_value' => 'text',
'Settings__name' => 'string',
'Settings.name' => 'string',
'name' => 'string',
'Settings__description' => 'text',
'Settings.description' => 'text',
'description' => 'text',
'Settings__deleted' => 'datetime',
'Settings.deleted' => 'datetime',
'deleted' => 'datetime',
'I18n__id' => 'integer',
'I18n.id' => 'integer',
'I18n__locale' => 'string',
'I18n.locale' => 'string',
'locale' => 'string',
'I18n__model' => 'string',
'I18n.model' => 'string',
'model' => 'string',
'I18n__foreign_key' => 'uuid',
'I18n.foreign_key' => 'uuid',
'foreign_key' => 'uuid',
'I18n__field' => 'string',
'I18n.field' => 'string',
'field' => 'string',
'I18n__content' => 'text',
'I18n.content' => 'text',
'content' => 'text',
'Settings_meta_value_translation__id' => 'integer',
'Settings_meta_value_translation.id' => 'integer',
'Settings_meta_value_translation__locale' => 'string',
'Settings_meta_value_translation.locale' => 'string',
'Settings_meta_value_translation__model' => 'string',
'Settings_meta_value_translation.model' => 'string',
'Settings_meta_value_translation__foreign_key' => 'uuid',
'Settings_meta_value_translation.foreign_key' => 'uuid',
'Settings_meta_value_translation__field' => 'string',
'Settings_meta_value_translation.field' => 'string',
'Settings_meta_value_translation__content' => 'text',
'Settings_meta_value_translation.content' => 'text',
'Settings_name_translation__id' => 'integer',
'Settings_name_translation.id' => 'integer',
'Settings_name_translation__locale' => 'string',
'Settings_name_translation.locale' => 'string',
'Settings_name_translation__model' => 'string',
'Settings_name_translation.model' => 'string',
'Settings_name_translation__foreign_key' => 'uuid',
'Settings_name_translation.foreign_key' => 'uuid',
'Settings_name_translation__field' => 'string',
'Settings_name_translation.field' => 'string',
'Settings_name_translation__content' => 'text',
'Settings_name_translation.content' => 'text',
'Settings_description_translation__id' => 'integer',
'Settings_description_translation.id' => 'integer',
'Settings_description_translation__locale' => 'string',
'Settings_description_translation.locale' => 'string',
'Settings_description_translation__model' => 'string',
'Settings_description_translation.model' => 'string',
'Settings_description_translation__foreign_key' => 'uuid',
'Settings_description_translation.foreign_key' => 'uuid',
'Settings_description_translation__field' => 'string',
'Settings_description_translation.field' => 'string',
'Settings_description_translation__content' => 'text',
'Settings_description_translation.content' => 'text'
],
'decorators' => (int) 0,
'executed' => true,
'hydrate' => true,
'buffered' => true,
'formatters' => (int) 2,
'mapReducers' => (int) 0,
'contain' => [
'I18n' => [
[maximum depth reached]
],
'Settings_meta_value_translation' => [
[maximum depth reached]
],
'Settings_name_translation' => [
[maximum depth reached]
],
'Settings_description_translation' => [
[maximum depth reached]
]
],
'matching' => [],
'extraOptions' => [],
'repository' => object(App\Model\Table\SettingsTable) {}
}
$settings = [
'copyright' => null,
'facebook' => null,
'title_faq' => null,
'btn_discover_name' => null,
'btn_choose' => null,
'systempay_key' => null,
'partners_section_title' => null,
'assembly' => null,
'team_section_title' => null,
'sous_total' => null
]
$titles = [
'copyright' => null,
'facebook' => null,
'title_faq' => null,
'btn_discover_name' => null,
'btn_choose' => null,
'systempay_key' => null,
'partners_section_title' => null,
'assembly' => null,
'team_section_title' => null,
'sous_total' => null
]
$key = (int) 10
$s = object(App\Model\Entity\Setting) {
'id' => '27c8e9e2-d4b0-4937-ad61-cc4e79699606',
'meta_key' => 'title_cart',
'meta_value' => '',
'name' => 'Panier',
'description' => '',
'deleted' => null,
'_locale' => 'la-maison',
'_translations' => [
'fr' => object(App\Model\Entity\Setting) {},
'en' => object(App\Model\Entity\Setting) {},
'es' => object(App\Model\Entity\Setting) {},
'pt' => object(App\Model\Entity\Setting) {},
'de' => object(App\Model\Entity\Setting) {},
'it' => object(App\Model\Entity\Setting) {}
],
'[new]' => false,
'[accessible]' => [
'meta_key' => true,
'meta_value' => true,
'name' => true,
'description' => true
],
'[dirty]' => [],
'[original]' => [],
'[virtual]' => [],
'[hasErrors]' => false,
'[errors]' => [],
'[invalid]' => [],
'[repository]' => 'Settings'
}
App\Controller\AppController::initialize() - APP/Controller/AppController.php, line 110
App\Controller\PagesController::initialize() - APP/Controller/PagesController.php, line 38
Cake\Controller\Controller::__construct() - CORE/src/Controller/Controller.php, line 273
ReflectionClass::newInstance() - [internal], line ??
Cake\Http\ControllerFactory::create() - CORE/src/Http/ControllerFactory.php, line 47
Cake\Http\ActionDispatcher::dispatch() - CORE/src/Http/ActionDispatcher.php, line 91
Cake\Http\BaseApplication::__invoke() - CORE/src/Http/BaseApplication.php, line 235
Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65
Cake\Routing\Middleware\RoutingMiddleware::__invoke() - CORE/src/Routing/Middleware/RoutingMiddleware.php, line 162
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 96
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 98
[main] - ROOT/webroot/index.php, line 40
Notice (8): Undefined index: la-maison [APP/Controller/AppController.php, line 111]Code Context $settings[$s->meta_key] = $s->_translations[$this->getCurrentLocale()]->meta_value;
$titles[$s->meta_key] = $s->_translations[$this->getCurrentLocale()]->name;
}
$locales = [
(int) 0 => object(App\Model\Entity\Locale) {
'id' => 'c79e08dd-4b98-40da-812f-166a5627cafe',
'locale' => 'fr',
'name' => 'French',
'position' => (int) 1,
'active' => true,
'flag' => 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgBAMAAACBVGfHAAAAA3NCSVQICAjb4U/gAAAACXBIWXMAAADdAAAA3QFwU6IHAAAAGXRFWHRTb2Z0d2FyZQB3d3cuaW5rc2NhcGUub3Jnm+48GgAAACdQTFRF////QUib/0tUh4y+/XiAQkab9PT0/0pVkpTC/mRtQUeb9fX1/0tVpPINxQAAAAp0Uk5TAFJSamp4eHjGxmzCt2wAAAArSURBVCjPY2RAA4zUEBB1AJIPDYDEP2Eg8ZtxFQOKAMOoAOUCGIFMi6gEAD39PvX2T/ZKAAAAAElFTkSuQmCC',
'front' => true,
'[new]' => false,
'[accessible]' => [
[maximum depth reached]
],
'[dirty]' => [[maximum depth reached]],
'[original]' => [[maximum depth reached]],
'[virtual]' => [[maximum depth reached]],
'[hasErrors]' => false,
'[errors]' => [[maximum depth reached]],
'[invalid]' => [[maximum depth reached]],
'[repository]' => 'Locales'
},
(int) 1 => object(App\Model\Entity\Locale) {
'id' => '073aae08-53c1-11e9-bb3d-7054d219d6c5',
'locale' => 'es',
'name' => 'Español',
'position' => (int) 0,
'active' => true,
'flag' => 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAMAAABEpIrGAAAAA3NCSVQICAjb4U/gAAAACXBIWXMAAADdAAAA3QFwU6IHAAAAGXRFWHRTb2Z0d2FyZQB3d3cuaW5rc2NhcGUub3Jnm+48GgAAARpQTFRF////x0FLyEJKgXaZoI6wuKV1watwyEFLy0pLzntc0rZn1GJZ1WVW1bhm1mxd13JW13Vx2nFQ229L23JN23xM3IyF3I+V3JKY3Y2G3nVJ33dJ34Zs4JOA4XhH4X9Q4ZV845Bk5JJi5LG15aWL5btz5b185pFh5pRk5pZs5px558Nc6ItI6KR16cFp6pBI66lx7ZxQ7aNO7q1h7rR17tjW76BO78BX8KpP8LJk8buC8stZ9LhX9Net9PPz9efR9fHz9fX198BY98dz98xX99/s9+Lt9+3R+MVe+N2d+dOA+deU+eat+sBQ+stf+8hm+8xZ+9Bw/Lzd/MtQ/N2E/N6G/dlx/sxP/s5R/tRa/tZk/tdp/9JQ/9JR/9NThpihEAAAAAN0Uk5TAFJ4LCUCBgAAAKRJREFUOI1jYBgKgJEJL2BkYCcAqKCAgwBgiCYAYApiQ/xCY/AoiLGR4Vb2wKkgyDxaUVhI0CjaEIcCH1N3aTVLL+9wgzDsCoLtdLS1lQJdoxwisCvQF+WTFWFxsVcQs8auwFjCSY6TmZ/HQtwRuwJPtwApKU09SV9bf+wKdFWc1TVMBOStVM2wK2Bj1YqODI6I5mXlwq4AHyAcWXRIMAQT7VAAACQKgMq9uRSqAAAAAElFTkSuQmCC',
'front' => true,
'[new]' => false,
'[accessible]' => [
[maximum depth reached]
],
'[dirty]' => [[maximum depth reached]],
'[original]' => [[maximum depth reached]],
'[virtual]' => [[maximum depth reached]],
'[hasErrors]' => false,
'[errors]' => [[maximum depth reached]],
'[invalid]' => [[maximum depth reached]],
'[repository]' => 'Locales'
},
(int) 2 => object(App\Model\Entity\Locale) {
'id' => '99c33239-48e4-4692-adb0-30a7c352e556',
'locale' => 'en',
'name' => 'English',
'position' => (int) 0,
'active' => true,
'flag' => 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAAA3QAAAN0BcFOiBwAAABl0RVh0U29mdHdhcmUAd3d3Lmlua3NjYXBlLm9yZ5vuPBoAAATuSURBVFiF7ZdrUNRlFMZ/+2dhXVoW5DJcAgTjamopziiWYuhMYpHGRUk0Gs1gIshboIYMoWNqahQyig41hJLXcgSvQ6VyS2WE1IBABRSZ5b673BZYdvtQ4QUYHb7QB55v7zlz5nnOvO+c57wivV7PSEIYUfZRAf8HAeJL65MbJ8UuvSQ2EveVPewy3naqxkPZ0SsZqmD+KxYPI9+0u9/iH+n9eNw8K6Uw5UKd4/k/ml98FqmrjVQd/65DhTg1015suzvFsuHM+SDV6nA8Q3xIWeHCrqxaUnPq6NbqBhR7jTdxBLx7coueTjk2tvWQW64aktja1IiNixxZ0ldDh1/CRM3tSgR1oD/CnWrGRsRQ89YnNBf9ReJiJ4q+9CJ4hhUi0bP6eTakRgIx/g4UhZmxMHk7qoBotOX3MF4ZiJDptwz1qTQ0Pt5I8q8jXfghle8nIGlt5eBH7vwS9yoz3UyHRSyIIPR1a4rXOhP56yE6fMPozilEMn8WlgWZyHfHICSdrcXvmJqL0bG0pu2hz9MFk9Pn0M8OoXRdMu5mcHbDJDKjPHG1kT43ue/LZuTFerKj/jdEc96jK+M0hpPdMM/ex9gju1Db2bMh8x4iArL7R6GLjZSEwHE45ediuf97qKsHK3OaVoXhuSYYvYFAVYMGVxspCrPpTxDaKK+ScKKaizdb2RrkyIziXNq3HUBX34yBvQ2yzRFIF89Ho9WTmlPH7uxa1F3aJwX8B283OYnv2GF8+CcsM46iV7ejc3VGGb2KCcvnAgwqoKpBg23JDdrjk9GW30MklyFbG4ZxRAhIjDh+tZEtJ6t50NzdXyc6kVs1qBkIgoiZrnI661tQXLn1iMhnMub2FoMK0LWo6L1R2h8znOKJYGEGQF1rN6W1nQN4REqlclhuNJiA4UBUjvuI2uGIj+JRASP+CMU5t1oHBCfYG2M39h9D1DUr6S0u688ZTp2AYD74aG6pbUZx+eYjUbMnYWxtTkGlGp1u8D7FQV//2X9wsJCwOdAJWzMJek0PnfuP0L4nHb26HbHHeGSJUdRoJTgP0Y25vQUKnQ6zbw8iVFbRK5dxd/kSTEIDiD9TR2GFekCNACCXivki2Inr27xYPN0SzbFzNE0Lpi0hBZFUgvybjdw8sBffPCnpVxRD0EOlogu3UF+sCw7TtGkNeokRFilpOASt4CvjuxyK9MDlKT8RIubZUbJjGp/62SNcLaH5jQ9QhSega1Ehi11JU1YGy5pcCEgqo7S2Y0hygMN59XjH3eDCbSUTY0IwuXaclpXLECnVWMZvZ0r0GjK8NOwMfQkLmSHw7yPUVlTTFr+X7vO5IAhIQ9+mK2oFW/La+TG/nsevb/UCexKCnIY0o6SztQDMdDNl6xJnpjrLaLijQJW4H5PsC6DTofHxpuezcDIVUsTqdTvpTD8F2j4k87wRx31McpWE5D1VdPUM3IieFwUVKuZuLSFouhXxgU64/pBAVW4wwvZ9jLlcyJj8ayxduABxZ9pJxBNdeSExiqMG4/gy/T71qp5hEz8OvR6O/97I6aJmwufZsd7fHfmZvZQduYxpUiryk1mIZXER17ThS2s///mBW6WiUe5mK8XNdujFw8rE6CFw32jWNO+nUoVWJkaOszxMB11Ki6vbiPzuTvemRePKPUN8OrUBrxnc2pE5RzT6NRsVMNIC/gaY0PLtJgQJ0gAAAABJRU5ErkJggg==',
'front' => true,
'[new]' => false,
'[accessible]' => [
[maximum depth reached]
],
'[dirty]' => [[maximum depth reached]],
'[original]' => [[maximum depth reached]],
'[virtual]' => [[maximum depth reached]],
'[hasErrors]' => false,
'[errors]' => [[maximum depth reached]],
'[invalid]' => [[maximum depth reached]],
'[repository]' => 'Locales'
},
(int) 3 => object(App\Model\Entity\Locale) {
'id' => 'a20c3c73-53c0-11e9-bb3d-7054d219d6c5',
'locale' => 'de',
'name' => 'Deutsch',
'position' => (int) 0,
'active' => true,
'flag' => 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgBAMAAACBVGfHAAAAA3NCSVQICAjb4U/gAAAACXBIWXMAAADdAAAA3QFwU6IHAAAAGXRFWHRTb2Z0d2FyZQB3d3cuaW5rc2NhcGUub3Jnm+48GgAAAB5QTFRF////SEhU/+BaRkZV/+FZwUlV/31WRkZV/0tV/+FagNv1tgAAAAd0Uk5TAFJSeHjAwPIGe2oAAAAqSURBVCjPY2FAAyzUEBBWQOH/Y0mhhS0YAvfQBYyHs7Xd6IF85w71bQEAwy4HmS9PAQYAAAAASUVORK5CYII=',
'front' => true,
'[new]' => false,
'[accessible]' => [
[maximum depth reached]
],
'[dirty]' => [[maximum depth reached]],
'[original]' => [[maximum depth reached]],
'[virtual]' => [[maximum depth reached]],
'[hasErrors]' => false,
'[errors]' => [[maximum depth reached]],
'[invalid]' => [[maximum depth reached]],
'[repository]' => 'Locales'
}
]
$session = object(Cake\Http\Session) {
[protected] _engine => null
[protected] _started => true
[protected] _lifetime => (int) 86400
[protected] _isCLI => false
}
$lng = 'la-maison'
$currentLocal = 'la-maison'
$settingsDB = object(SoftDelete\ORM\Query) {
'(help)' => 'This is a Query object, to get the results execute or iterate it.',
'sql' => 'SELECT Settings.id AS `Settings__id`, Settings.meta_key AS `Settings__meta_key`, Settings.meta_value AS `Settings__meta_value`, Settings.name AS `Settings__name`, Settings.description AS `Settings__description`, Settings.deleted AS `Settings__deleted`, Settings_meta_value_translation.id AS `Settings_meta_value_translation__id`, Settings_meta_value_translation.locale AS `Settings_meta_value_translation__locale`, Settings_meta_value_translation.model AS `Settings_meta_value_translation__model`, Settings_meta_value_translation.foreign_key AS `Settings_meta_value_translation__foreign_key`, Settings_meta_value_translation.field AS `Settings_meta_value_translation__field`, Settings_meta_value_translation.content AS `Settings_meta_value_translation__content`, Settings_name_translation.id AS `Settings_name_translation__id`, Settings_name_translation.locale AS `Settings_name_translation__locale`, Settings_name_translation.model AS `Settings_name_translation__model`, Settings_name_translation.foreign_key AS `Settings_name_translation__foreign_key`, Settings_name_translation.field AS `Settings_name_translation__field`, Settings_name_translation.content AS `Settings_name_translation__content`, Settings_description_translation.id AS `Settings_description_translation__id`, Settings_description_translation.locale AS `Settings_description_translation__locale`, Settings_description_translation.model AS `Settings_description_translation__model`, Settings_description_translation.foreign_key AS `Settings_description_translation__foreign_key`, Settings_description_translation.field AS `Settings_description_translation__field`, Settings_description_translation.content AS `Settings_description_translation__content` FROM settings Settings LEFT JOIN i18n Settings_meta_value_translation ON (Settings_meta_value_translation.model = :c0 AND Settings_meta_value_translation.field = :c1 AND Settings_meta_value_translation.locale = :c2 AND Settings.id = (Settings_meta_value_translation.foreign_key)) LEFT JOIN i18n Settings_name_translation ON (Settings_name_translation.model = :c3 AND Settings_name_translation.field = :c4 AND Settings_name_translation.locale = :c5 AND Settings.id = (Settings_name_translation.foreign_key)) LEFT JOIN i18n Settings_description_translation ON (Settings_description_translation.model = :c6 AND Settings_description_translation.field = :c7 AND Settings_description_translation.locale = :c8 AND Settings.id = (Settings_description_translation.foreign_key)) WHERE Settings.deleted IS NULL',
'params' => [
':c0' => [
[maximum depth reached]
],
':c1' => [
[maximum depth reached]
],
':c2' => [
[maximum depth reached]
],
':c3' => [
[maximum depth reached]
],
':c4' => [
[maximum depth reached]
],
':c5' => [
[maximum depth reached]
],
':c6' => [
[maximum depth reached]
],
':c7' => [
[maximum depth reached]
],
':c8' => [
[maximum depth reached]
]
],
'defaultTypes' => [
'Settings__id' => 'uuid',
'Settings.id' => 'uuid',
'id' => 'uuid',
'Settings__meta_key' => 'string',
'Settings.meta_key' => 'string',
'meta_key' => 'string',
'Settings__meta_value' => 'text',
'Settings.meta_value' => 'text',
'meta_value' => 'text',
'Settings__name' => 'string',
'Settings.name' => 'string',
'name' => 'string',
'Settings__description' => 'text',
'Settings.description' => 'text',
'description' => 'text',
'Settings__deleted' => 'datetime',
'Settings.deleted' => 'datetime',
'deleted' => 'datetime',
'I18n__id' => 'integer',
'I18n.id' => 'integer',
'I18n__locale' => 'string',
'I18n.locale' => 'string',
'locale' => 'string',
'I18n__model' => 'string',
'I18n.model' => 'string',
'model' => 'string',
'I18n__foreign_key' => 'uuid',
'I18n.foreign_key' => 'uuid',
'foreign_key' => 'uuid',
'I18n__field' => 'string',
'I18n.field' => 'string',
'field' => 'string',
'I18n__content' => 'text',
'I18n.content' => 'text',
'content' => 'text',
'Settings_meta_value_translation__id' => 'integer',
'Settings_meta_value_translation.id' => 'integer',
'Settings_meta_value_translation__locale' => 'string',
'Settings_meta_value_translation.locale' => 'string',
'Settings_meta_value_translation__model' => 'string',
'Settings_meta_value_translation.model' => 'string',
'Settings_meta_value_translation__foreign_key' => 'uuid',
'Settings_meta_value_translation.foreign_key' => 'uuid',
'Settings_meta_value_translation__field' => 'string',
'Settings_meta_value_translation.field' => 'string',
'Settings_meta_value_translation__content' => 'text',
'Settings_meta_value_translation.content' => 'text',
'Settings_name_translation__id' => 'integer',
'Settings_name_translation.id' => 'integer',
'Settings_name_translation__locale' => 'string',
'Settings_name_translation.locale' => 'string',
'Settings_name_translation__model' => 'string',
'Settings_name_translation.model' => 'string',
'Settings_name_translation__foreign_key' => 'uuid',
'Settings_name_translation.foreign_key' => 'uuid',
'Settings_name_translation__field' => 'string',
'Settings_name_translation.field' => 'string',
'Settings_name_translation__content' => 'text',
'Settings_name_translation.content' => 'text',
'Settings_description_translation__id' => 'integer',
'Settings_description_translation.id' => 'integer',
'Settings_description_translation__locale' => 'string',
'Settings_description_translation.locale' => 'string',
'Settings_description_translation__model' => 'string',
'Settings_description_translation.model' => 'string',
'Settings_description_translation__foreign_key' => 'uuid',
'Settings_description_translation.foreign_key' => 'uuid',
'Settings_description_translation__field' => 'string',
'Settings_description_translation.field' => 'string',
'Settings_description_translation__content' => 'text',
'Settings_description_translation.content' => 'text'
],
'decorators' => (int) 0,
'executed' => true,
'hydrate' => true,
'buffered' => true,
'formatters' => (int) 2,
'mapReducers' => (int) 0,
'contain' => [
'I18n' => [
[maximum depth reached]
],
'Settings_meta_value_translation' => [
[maximum depth reached]
],
'Settings_name_translation' => [
[maximum depth reached]
],
'Settings_description_translation' => [
[maximum depth reached]
]
],
'matching' => [],
'extraOptions' => [],
'repository' => object(App\Model\Table\SettingsTable) {}
}
$settings = [
'copyright' => null,
'facebook' => null,
'title_faq' => null,
'btn_discover_name' => null,
'btn_choose' => null,
'systempay_key' => null,
'partners_section_title' => null,
'assembly' => null,
'team_section_title' => null,
'sous_total' => null,
'title_cart' => null
]
$titles = [
'copyright' => null,
'facebook' => null,
'title_faq' => null,
'btn_discover_name' => null,
'btn_choose' => null,
'systempay_key' => null,
'partners_section_title' => null,
'assembly' => null,
'team_section_title' => null,
'sous_total' => null
]
$key = (int) 10
$s = object(App\Model\Entity\Setting) {
'id' => '27c8e9e2-d4b0-4937-ad61-cc4e79699606',
'meta_key' => 'title_cart',
'meta_value' => '',
'name' => 'Panier',
'description' => '',
'deleted' => null,
'_locale' => 'la-maison',
'_translations' => [
'fr' => object(App\Model\Entity\Setting) {},
'en' => object(App\Model\Entity\Setting) {},
'es' => object(App\Model\Entity\Setting) {},
'pt' => object(App\Model\Entity\Setting) {},
'de' => object(App\Model\Entity\Setting) {},
'it' => object(App\Model\Entity\Setting) {}
],
'[new]' => false,
'[accessible]' => [
'meta_key' => true,
'meta_value' => true,
'name' => true,
'description' => true
],
'[dirty]' => [],
'[original]' => [],
'[virtual]' => [],
'[hasErrors]' => false,
'[errors]' => [],
'[invalid]' => [],
'[repository]' => 'Settings'
}
App\Controller\AppController::initialize() - APP/Controller/AppController.php, line 111
App\Controller\PagesController::initialize() - APP/Controller/PagesController.php, line 38
Cake\Controller\Controller::__construct() - CORE/src/Controller/Controller.php, line 273
ReflectionClass::newInstance() - [internal], line ??
Cake\Http\ControllerFactory::create() - CORE/src/Http/ControllerFactory.php, line 47
Cake\Http\ActionDispatcher::dispatch() - CORE/src/Http/ActionDispatcher.php, line 91
Cake\Http\BaseApplication::__invoke() - CORE/src/Http/BaseApplication.php, line 235
Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65
Cake\Routing\Middleware\RoutingMiddleware::__invoke() - CORE/src/Routing/Middleware/RoutingMiddleware.php, line 162
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 96
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 98
[main] - ROOT/webroot/index.php, line 40
Notice (8): Trying to get property of non-object [APP/Controller/AppController.php, line 111]Code Context $settings[$s->meta_key] = $s->_translations[$this->getCurrentLocale()]->meta_value;
$titles[$s->meta_key] = $s->_translations[$this->getCurrentLocale()]->name;
}
$locales = [
(int) 0 => object(App\Model\Entity\Locale) {
'id' => 'c79e08dd-4b98-40da-812f-166a5627cafe',
'locale' => 'fr',
'name' => 'French',
'position' => (int) 1,
'active' => true,
'flag' => 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgBAMAAACBVGfHAAAAA3NCSVQICAjb4U/gAAAACXBIWXMAAADdAAAA3QFwU6IHAAAAGXRFWHRTb2Z0d2FyZQB3d3cuaW5rc2NhcGUub3Jnm+48GgAAACdQTFRF////QUib/0tUh4y+/XiAQkab9PT0/0pVkpTC/mRtQUeb9fX1/0tVpPINxQAAAAp0Uk5TAFJSamp4eHjGxmzCt2wAAAArSURBVCjPY2RAA4zUEBB1AJIPDYDEP2Eg8ZtxFQOKAMOoAOUCGIFMi6gEAD39PvX2T/ZKAAAAAElFTkSuQmCC',
'front' => true,
'[new]' => false,
'[accessible]' => [
[maximum depth reached]
],
'[dirty]' => [[maximum depth reached]],
'[original]' => [[maximum depth reached]],
'[virtual]' => [[maximum depth reached]],
'[hasErrors]' => false,
'[errors]' => [[maximum depth reached]],
'[invalid]' => [[maximum depth reached]],
'[repository]' => 'Locales'
},
(int) 1 => object(App\Model\Entity\Locale) {
'id' => '073aae08-53c1-11e9-bb3d-7054d219d6c5',
'locale' => 'es',
'name' => 'Español',
'position' => (int) 0,
'active' => true,
'flag' => 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAMAAABEpIrGAAAAA3NCSVQICAjb4U/gAAAACXBIWXMAAADdAAAA3QFwU6IHAAAAGXRFWHRTb2Z0d2FyZQB3d3cuaW5rc2NhcGUub3Jnm+48GgAAARpQTFRF////x0FLyEJKgXaZoI6wuKV1watwyEFLy0pLzntc0rZn1GJZ1WVW1bhm1mxd13JW13Vx2nFQ229L23JN23xM3IyF3I+V3JKY3Y2G3nVJ33dJ34Zs4JOA4XhH4X9Q4ZV845Bk5JJi5LG15aWL5btz5b185pFh5pRk5pZs5px558Nc6ItI6KR16cFp6pBI66lx7ZxQ7aNO7q1h7rR17tjW76BO78BX8KpP8LJk8buC8stZ9LhX9Net9PPz9efR9fHz9fX198BY98dz98xX99/s9+Lt9+3R+MVe+N2d+dOA+deU+eat+sBQ+stf+8hm+8xZ+9Bw/Lzd/MtQ/N2E/N6G/dlx/sxP/s5R/tRa/tZk/tdp/9JQ/9JR/9NThpihEAAAAAN0Uk5TAFJ4LCUCBgAAAKRJREFUOI1jYBgKgJEJL2BkYCcAqKCAgwBgiCYAYApiQ/xCY/AoiLGR4Vb2wKkgyDxaUVhI0CjaEIcCH1N3aTVLL+9wgzDsCoLtdLS1lQJdoxwisCvQF+WTFWFxsVcQs8auwFjCSY6TmZ/HQtwRuwJPtwApKU09SV9bf+wKdFWc1TVMBOStVM2wK2Bj1YqODI6I5mXlwq4AHyAcWXRIMAQT7VAAACQKgMq9uRSqAAAAAElFTkSuQmCC',
'front' => true,
'[new]' => false,
'[accessible]' => [
[maximum depth reached]
],
'[dirty]' => [[maximum depth reached]],
'[original]' => [[maximum depth reached]],
'[virtual]' => [[maximum depth reached]],
'[hasErrors]' => false,
'[errors]' => [[maximum depth reached]],
'[invalid]' => [[maximum depth reached]],
'[repository]' => 'Locales'
},
(int) 2 => object(App\Model\Entity\Locale) {
'id' => '99c33239-48e4-4692-adb0-30a7c352e556',
'locale' => 'en',
'name' => 'English',
'position' => (int) 0,
'active' => true,
'flag' => 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAAA3QAAAN0BcFOiBwAAABl0RVh0U29mdHdhcmUAd3d3Lmlua3NjYXBlLm9yZ5vuPBoAAATuSURBVFiF7ZdrUNRlFMZ/+2dhXVoW5DJcAgTjamopziiWYuhMYpHGRUk0Gs1gIshboIYMoWNqahQyig41hJLXcgSvQ6VyS2WE1IBABRSZ5b673BZYdvtQ4QUYHb7QB55v7zlz5nnOvO+c57wivV7PSEIYUfZRAf8HAeJL65MbJ8UuvSQ2EveVPewy3naqxkPZ0SsZqmD+KxYPI9+0u9/iH+n9eNw8K6Uw5UKd4/k/ml98FqmrjVQd/65DhTg1015suzvFsuHM+SDV6nA8Q3xIWeHCrqxaUnPq6NbqBhR7jTdxBLx7coueTjk2tvWQW64aktja1IiNixxZ0ldDh1/CRM3tSgR1oD/CnWrGRsRQ89YnNBf9ReJiJ4q+9CJ4hhUi0bP6eTakRgIx/g4UhZmxMHk7qoBotOX3MF4ZiJDptwz1qTQ0Pt5I8q8jXfghle8nIGlt5eBH7vwS9yoz3UyHRSyIIPR1a4rXOhP56yE6fMPozilEMn8WlgWZyHfHICSdrcXvmJqL0bG0pu2hz9MFk9Pn0M8OoXRdMu5mcHbDJDKjPHG1kT43ue/LZuTFerKj/jdEc96jK+M0hpPdMM/ex9gju1Db2bMh8x4iArL7R6GLjZSEwHE45ediuf97qKsHK3OaVoXhuSYYvYFAVYMGVxspCrPpTxDaKK+ScKKaizdb2RrkyIziXNq3HUBX34yBvQ2yzRFIF89Ho9WTmlPH7uxa1F3aJwX8B283OYnv2GF8+CcsM46iV7ejc3VGGb2KCcvnAgwqoKpBg23JDdrjk9GW30MklyFbG4ZxRAhIjDh+tZEtJ6t50NzdXyc6kVs1qBkIgoiZrnI661tQXLn1iMhnMub2FoMK0LWo6L1R2h8znOKJYGEGQF1rN6W1nQN4REqlclhuNJiA4UBUjvuI2uGIj+JRASP+CMU5t1oHBCfYG2M39h9D1DUr6S0u688ZTp2AYD74aG6pbUZx+eYjUbMnYWxtTkGlGp1u8D7FQV//2X9wsJCwOdAJWzMJek0PnfuP0L4nHb26HbHHeGSJUdRoJTgP0Y25vQUKnQ6zbw8iVFbRK5dxd/kSTEIDiD9TR2GFekCNACCXivki2Inr27xYPN0SzbFzNE0Lpi0hBZFUgvybjdw8sBffPCnpVxRD0EOlogu3UF+sCw7TtGkNeokRFilpOASt4CvjuxyK9MDlKT8RIubZUbJjGp/62SNcLaH5jQ9QhSega1Ehi11JU1YGy5pcCEgqo7S2Y0hygMN59XjH3eDCbSUTY0IwuXaclpXLECnVWMZvZ0r0GjK8NOwMfQkLmSHw7yPUVlTTFr+X7vO5IAhIQ9+mK2oFW/La+TG/nsevb/UCexKCnIY0o6SztQDMdDNl6xJnpjrLaLijQJW4H5PsC6DTofHxpuezcDIVUsTqdTvpTD8F2j4k87wRx31McpWE5D1VdPUM3IieFwUVKuZuLSFouhXxgU64/pBAVW4wwvZ9jLlcyJj8ayxduABxZ9pJxBNdeSExiqMG4/gy/T71qp5hEz8OvR6O/97I6aJmwufZsd7fHfmZvZQduYxpUiryk1mIZXER17ThS2s///mBW6WiUe5mK8XNdujFw8rE6CFw32jWNO+nUoVWJkaOszxMB11Ki6vbiPzuTvemRePKPUN8OrUBrxnc2pE5RzT6NRsVMNIC/gaY0PLtJgQJ0gAAAABJRU5ErkJggg==',
'front' => true,
'[new]' => false,
'[accessible]' => [
[maximum depth reached]
],
'[dirty]' => [[maximum depth reached]],
'[original]' => [[maximum depth reached]],
'[virtual]' => [[maximum depth reached]],
'[hasErrors]' => false,
'[errors]' => [[maximum depth reached]],
'[invalid]' => [[maximum depth reached]],
'[repository]' => 'Locales'
},
(int) 3 => object(App\Model\Entity\Locale) {
'id' => 'a20c3c73-53c0-11e9-bb3d-7054d219d6c5',
'locale' => 'de',
'name' => 'Deutsch',
'position' => (int) 0,
'active' => true,
'flag' => 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgBAMAAACBVGfHAAAAA3NCSVQICAjb4U/gAAAACXBIWXMAAADdAAAA3QFwU6IHAAAAGXRFWHRTb2Z0d2FyZQB3d3cuaW5rc2NhcGUub3Jnm+48GgAAAB5QTFRF////SEhU/+BaRkZV/+FZwUlV/31WRkZV/0tV/+FagNv1tgAAAAd0Uk5TAFJSeHjAwPIGe2oAAAAqSURBVCjPY2FAAyzUEBBWQOH/Y0mhhS0YAvfQBYyHs7Xd6IF85w71bQEAwy4HmS9PAQYAAAAASUVORK5CYII=',
'front' => true,
'[new]' => false,
'[accessible]' => [
[maximum depth reached]
],
'[dirty]' => [[maximum depth reached]],
'[original]' => [[maximum depth reached]],
'[virtual]' => [[maximum depth reached]],
'[hasErrors]' => false,
'[errors]' => [[maximum depth reached]],
'[invalid]' => [[maximum depth reached]],
'[repository]' => 'Locales'
}
]
$session = object(Cake\Http\Session) {
[protected] _engine => null
[protected] _started => true
[protected] _lifetime => (int) 86400
[protected] _isCLI => false
}
$lng = 'la-maison'
$currentLocal = 'la-maison'
$settingsDB = object(SoftDelete\ORM\Query) {
'(help)' => 'This is a Query object, to get the results execute or iterate it.',
'sql' => 'SELECT Settings.id AS `Settings__id`, Settings.meta_key AS `Settings__meta_key`, Settings.meta_value AS `Settings__meta_value`, Settings.name AS `Settings__name`, Settings.description AS `Settings__description`, Settings.deleted AS `Settings__deleted`, Settings_meta_value_translation.id AS `Settings_meta_value_translation__id`, Settings_meta_value_translation.locale AS `Settings_meta_value_translation__locale`, Settings_meta_value_translation.model AS `Settings_meta_value_translation__model`, Settings_meta_value_translation.foreign_key AS `Settings_meta_value_translation__foreign_key`, Settings_meta_value_translation.field AS `Settings_meta_value_translation__field`, Settings_meta_value_translation.content AS `Settings_meta_value_translation__content`, Settings_name_translation.id AS `Settings_name_translation__id`, Settings_name_translation.locale AS `Settings_name_translation__locale`, Settings_name_translation.model AS `Settings_name_translation__model`, Settings_name_translation.foreign_key AS `Settings_name_translation__foreign_key`, Settings_name_translation.field AS `Settings_name_translation__field`, Settings_name_translation.content AS `Settings_name_translation__content`, Settings_description_translation.id AS `Settings_description_translation__id`, Settings_description_translation.locale AS `Settings_description_translation__locale`, Settings_description_translation.model AS `Settings_description_translation__model`, Settings_description_translation.foreign_key AS `Settings_description_translation__foreign_key`, Settings_description_translation.field AS `Settings_description_translation__field`, Settings_description_translation.content AS `Settings_description_translation__content` FROM settings Settings LEFT JOIN i18n Settings_meta_value_translation ON (Settings_meta_value_translation.model = :c0 AND Settings_meta_value_translation.field = :c1 AND Settings_meta_value_translation.locale = :c2 AND Settings.id = (Settings_meta_value_translation.foreign_key)) LEFT JOIN i18n Settings_name_translation ON (Settings_name_translation.model = :c3 AND Settings_name_translation.field = :c4 AND Settings_name_translation.locale = :c5 AND Settings.id = (Settings_name_translation.foreign_key)) LEFT JOIN i18n Settings_description_translation ON (Settings_description_translation.model = :c6 AND Settings_description_translation.field = :c7 AND Settings_description_translation.locale = :c8 AND Settings.id = (Settings_description_translation.foreign_key)) WHERE Settings.deleted IS NULL',
'params' => [
':c0' => [
[maximum depth reached]
],
':c1' => [
[maximum depth reached]
],
':c2' => [
[maximum depth reached]
],
':c3' => [
[maximum depth reached]
],
':c4' => [
[maximum depth reached]
],
':c5' => [
[maximum depth reached]
],
':c6' => [
[maximum depth reached]
],
':c7' => [
[maximum depth reached]
],
':c8' => [
[maximum depth reached]
]
],
'defaultTypes' => [
'Settings__id' => 'uuid',
'Settings.id' => 'uuid',
'id' => 'uuid',
'Settings__meta_key' => 'string',
'Settings.meta_key' => 'string',
'meta_key' => 'string',
'Settings__meta_value' => 'text',
'Settings.meta_value' => 'text',
'meta_value' => 'text',
'Settings__name' => 'string',
'Settings.name' => 'string',
'name' => 'string',
'Settings__description' => 'text',
'Settings.description' => 'text',
'description' => 'text',
'Settings__deleted' => 'datetime',
'Settings.deleted' => 'datetime',
'deleted' => 'datetime',
'I18n__id' => 'integer',
'I18n.id' => 'integer',
'I18n__locale' => 'string',
'I18n.locale' => 'string',
'locale' => 'string',
'I18n__model' => 'string',
'I18n.model' => 'string',
'model' => 'string',
'I18n__foreign_key' => 'uuid',
'I18n.foreign_key' => 'uuid',
'foreign_key' => 'uuid',
'I18n__field' => 'string',
'I18n.field' => 'string',
'field' => 'string',
'I18n__content' => 'text',
'I18n.content' => 'text',
'content' => 'text',
'Settings_meta_value_translation__id' => 'integer',
'Settings_meta_value_translation.id' => 'integer',
'Settings_meta_value_translation__locale' => 'string',
'Settings_meta_value_translation.locale' => 'string',
'Settings_meta_value_translation__model' => 'string',
'Settings_meta_value_translation.model' => 'string',
'Settings_meta_value_translation__foreign_key' => 'uuid',
'Settings_meta_value_translation.foreign_key' => 'uuid',
'Settings_meta_value_translation__field' => 'string',
'Settings_meta_value_translation.field' => 'string',
'Settings_meta_value_translation__content' => 'text',
'Settings_meta_value_translation.content' => 'text',
'Settings_name_translation__id' => 'integer',
'Settings_name_translation.id' => 'integer',
'Settings_name_translation__locale' => 'string',
'Settings_name_translation.locale' => 'string',
'Settings_name_translation__model' => 'string',
'Settings_name_translation.model' => 'string',
'Settings_name_translation__foreign_key' => 'uuid',
'Settings_name_translation.foreign_key' => 'uuid',
'Settings_name_translation__field' => 'string',
'Settings_name_translation.field' => 'string',
'Settings_name_translation__content' => 'text',
'Settings_name_translation.content' => 'text',
'Settings_description_translation__id' => 'integer',
'Settings_description_translation.id' => 'integer',
'Settings_description_translation__locale' => 'string',
'Settings_description_translation.locale' => 'string',
'Settings_description_translation__model' => 'string',
'Settings_description_translation.model' => 'string',
'Settings_description_translation__foreign_key' => 'uuid',
'Settings_description_translation.foreign_key' => 'uuid',
'Settings_description_translation__field' => 'string',
'Settings_description_translation.field' => 'string',
'Settings_description_translation__content' => 'text',
'Settings_description_translation.content' => 'text'
],
'decorators' => (int) 0,
'executed' => true,
'hydrate' => true,
'buffered' => true,
'formatters' => (int) 2,
'mapReducers' => (int) 0,
'contain' => [
'I18n' => [
[maximum depth reached]
],
'Settings_meta_value_translation' => [
[maximum depth reached]
],
'Settings_name_translation' => [
[maximum depth reached]
],
'Settings_description_translation' => [
[maximum depth reached]
]
],
'matching' => [],
'extraOptions' => [],
'repository' => object(App\Model\Table\SettingsTable) {}
}
$settings = [
'copyright' => null,
'facebook' => null,
'title_faq' => null,
'btn_discover_name' => null,
'btn_choose' => null,
'systempay_key' => null,
'partners_section_title' => null,
'assembly' => null,
'team_section_title' => null,
'sous_total' => null,
'title_cart' => null
]
$titles = [
'copyright' => null,
'facebook' => null,
'title_faq' => null,
'btn_discover_name' => null,
'btn_choose' => null,
'systempay_key' => null,
'partners_section_title' => null,
'assembly' => null,
'team_section_title' => null,
'sous_total' => null
]
$key = (int) 10
$s = object(App\Model\Entity\Setting) {
'id' => '27c8e9e2-d4b0-4937-ad61-cc4e79699606',
'meta_key' => 'title_cart',
'meta_value' => '',
'name' => 'Panier',
'description' => '',
'deleted' => null,
'_locale' => 'la-maison',
'_translations' => [
'fr' => object(App\Model\Entity\Setting) {},
'en' => object(App\Model\Entity\Setting) {},
'es' => object(App\Model\Entity\Setting) {},
'pt' => object(App\Model\Entity\Setting) {},
'de' => object(App\Model\Entity\Setting) {},
'it' => object(App\Model\Entity\Setting) {}
],
'[new]' => false,
'[accessible]' => [
'meta_key' => true,
'meta_value' => true,
'name' => true,
'description' => true
],
'[dirty]' => [],
'[original]' => [],
'[virtual]' => [],
'[hasErrors]' => false,
'[errors]' => [],
'[invalid]' => [],
'[repository]' => 'Settings'
}
App\Controller\AppController::initialize() - APP/Controller/AppController.php, line 111
App\Controller\PagesController::initialize() - APP/Controller/PagesController.php, line 38
Cake\Controller\Controller::__construct() - CORE/src/Controller/Controller.php, line 273
ReflectionClass::newInstance() - [internal], line ??
Cake\Http\ControllerFactory::create() - CORE/src/Http/ControllerFactory.php, line 47
Cake\Http\ActionDispatcher::dispatch() - CORE/src/Http/ActionDispatcher.php, line 91
Cake\Http\BaseApplication::__invoke() - CORE/src/Http/BaseApplication.php, line 235
Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65
Cake\Routing\Middleware\RoutingMiddleware::__invoke() - CORE/src/Routing/Middleware/RoutingMiddleware.php, line 162
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 96
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 98
[main] - ROOT/webroot/index.php, line 40
Notice (8): Undefined index: la-maison [APP/Controller/AppController.php, line 110]Code Context foreach ($settingsDB as $key => $s) {
$settings[$s->meta_key] = $s->_translations[$this->getCurrentLocale()]->meta_value;
$titles[$s->meta_key] = $s->_translations[$this->getCurrentLocale()]->name;
$locales = [
(int) 0 => object(App\Model\Entity\Locale) {
'id' => 'c79e08dd-4b98-40da-812f-166a5627cafe',
'locale' => 'fr',
'name' => 'French',
'position' => (int) 1,
'active' => true,
'flag' => 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgBAMAAACBVGfHAAAAA3NCSVQICAjb4U/gAAAACXBIWXMAAADdAAAA3QFwU6IHAAAAGXRFWHRTb2Z0d2FyZQB3d3cuaW5rc2NhcGUub3Jnm+48GgAAACdQTFRF////QUib/0tUh4y+/XiAQkab9PT0/0pVkpTC/mRtQUeb9fX1/0tVpPINxQAAAAp0Uk5TAFJSamp4eHjGxmzCt2wAAAArSURBVCjPY2RAA4zUEBB1AJIPDYDEP2Eg8ZtxFQOKAMOoAOUCGIFMi6gEAD39PvX2T/ZKAAAAAElFTkSuQmCC',
'front' => true,
'[new]' => false,
'[accessible]' => [
[maximum depth reached]
],
'[dirty]' => [[maximum depth reached]],
'[original]' => [[maximum depth reached]],
'[virtual]' => [[maximum depth reached]],
'[hasErrors]' => false,
'[errors]' => [[maximum depth reached]],
'[invalid]' => [[maximum depth reached]],
'[repository]' => 'Locales'
},
(int) 1 => object(App\Model\Entity\Locale) {
'id' => '073aae08-53c1-11e9-bb3d-7054d219d6c5',
'locale' => 'es',
'name' => 'Español',
'position' => (int) 0,
'active' => true,
'flag' => 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAMAAABEpIrGAAAAA3NCSVQICAjb4U/gAAAACXBIWXMAAADdAAAA3QFwU6IHAAAAGXRFWHRTb2Z0d2FyZQB3d3cuaW5rc2NhcGUub3Jnm+48GgAAARpQTFRF////x0FLyEJKgXaZoI6wuKV1watwyEFLy0pLzntc0rZn1GJZ1WVW1bhm1mxd13JW13Vx2nFQ229L23JN23xM3IyF3I+V3JKY3Y2G3nVJ33dJ34Zs4JOA4XhH4X9Q4ZV845Bk5JJi5LG15aWL5btz5b185pFh5pRk5pZs5px558Nc6ItI6KR16cFp6pBI66lx7ZxQ7aNO7q1h7rR17tjW76BO78BX8KpP8LJk8buC8stZ9LhX9Net9PPz9efR9fHz9fX198BY98dz98xX99/s9+Lt9+3R+MVe+N2d+dOA+deU+eat+sBQ+stf+8hm+8xZ+9Bw/Lzd/MtQ/N2E/N6G/dlx/sxP/s5R/tRa/tZk/tdp/9JQ/9JR/9NThpihEAAAAAN0Uk5TAFJ4LCUCBgAAAKRJREFUOI1jYBgKgJEJL2BkYCcAqKCAgwBgiCYAYApiQ/xCY/AoiLGR4Vb2wKkgyDxaUVhI0CjaEIcCH1N3aTVLL+9wgzDsCoLtdLS1lQJdoxwisCvQF+WTFWFxsVcQs8auwFjCSY6TmZ/HQtwRuwJPtwApKU09SV9bf+wKdFWc1TVMBOStVM2wK2Bj1YqODI6I5mXlwq4AHyAcWXRIMAQT7VAAACQKgMq9uRSqAAAAAElFTkSuQmCC',
'front' => true,
'[new]' => false,
'[accessible]' => [
[maximum depth reached]
],
'[dirty]' => [[maximum depth reached]],
'[original]' => [[maximum depth reached]],
'[virtual]' => [[maximum depth reached]],
'[hasErrors]' => false,
'[errors]' => [[maximum depth reached]],
'[invalid]' => [[maximum depth reached]],
'[repository]' => 'Locales'
},
(int) 2 => object(App\Model\Entity\Locale) {
'id' => '99c33239-48e4-4692-adb0-30a7c352e556',
'locale' => 'en',
'name' => 'English',
'position' => (int) 0,
'active' => true,
'flag' => 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAAA3QAAAN0BcFOiBwAAABl0RVh0U29mdHdhcmUAd3d3Lmlua3NjYXBlLm9yZ5vuPBoAAATuSURBVFiF7ZdrUNRlFMZ/+2dhXVoW5DJcAgTjamopziiWYuhMYpHGRUk0Gs1gIshboIYMoWNqahQyig41hJLXcgSvQ6VyS2WE1IBABRSZ5b673BZYdvtQ4QUYHb7QB55v7zlz5nnOvO+c57wivV7PSEIYUfZRAf8HAeJL65MbJ8UuvSQ2EveVPewy3naqxkPZ0SsZqmD+KxYPI9+0u9/iH+n9eNw8K6Uw5UKd4/k/ml98FqmrjVQd/65DhTg1015suzvFsuHM+SDV6nA8Q3xIWeHCrqxaUnPq6NbqBhR7jTdxBLx7coueTjk2tvWQW64aktja1IiNixxZ0ldDh1/CRM3tSgR1oD/CnWrGRsRQ89YnNBf9ReJiJ4q+9CJ4hhUi0bP6eTakRgIx/g4UhZmxMHk7qoBotOX3MF4ZiJDptwz1qTQ0Pt5I8q8jXfghle8nIGlt5eBH7vwS9yoz3UyHRSyIIPR1a4rXOhP56yE6fMPozilEMn8WlgWZyHfHICSdrcXvmJqL0bG0pu2hz9MFk9Pn0M8OoXRdMu5mcHbDJDKjPHG1kT43ue/LZuTFerKj/jdEc96jK+M0hpPdMM/ex9gju1Db2bMh8x4iArL7R6GLjZSEwHE45ediuf97qKsHK3OaVoXhuSYYvYFAVYMGVxspCrPpTxDaKK+ScKKaizdb2RrkyIziXNq3HUBX34yBvQ2yzRFIF89Ho9WTmlPH7uxa1F3aJwX8B283OYnv2GF8+CcsM46iV7ejc3VGGb2KCcvnAgwqoKpBg23JDdrjk9GW30MklyFbG4ZxRAhIjDh+tZEtJ6t50NzdXyc6kVs1qBkIgoiZrnI661tQXLn1iMhnMub2FoMK0LWo6L1R2h8znOKJYGEGQF1rN6W1nQN4REqlclhuNJiA4UBUjvuI2uGIj+JRASP+CMU5t1oHBCfYG2M39h9D1DUr6S0u688ZTp2AYD74aG6pbUZx+eYjUbMnYWxtTkGlGp1u8D7FQV//2X9wsJCwOdAJWzMJek0PnfuP0L4nHb26HbHHeGSJUdRoJTgP0Y25vQUKnQ6zbw8iVFbRK5dxd/kSTEIDiD9TR2GFekCNACCXivki2Inr27xYPN0SzbFzNE0Lpi0hBZFUgvybjdw8sBffPCnpVxRD0EOlogu3UF+sCw7TtGkNeokRFilpOASt4CvjuxyK9MDlKT8RIubZUbJjGp/62SNcLaH5jQ9QhSega1Ehi11JU1YGy5pcCEgqo7S2Y0hygMN59XjH3eDCbSUTY0IwuXaclpXLECnVWMZvZ0r0GjK8NOwMfQkLmSHw7yPUVlTTFr+X7vO5IAhIQ9+mK2oFW/La+TG/nsevb/UCexKCnIY0o6SztQDMdDNl6xJnpjrLaLijQJW4H5PsC6DTofHxpuezcDIVUsTqdTvpTD8F2j4k87wRx31McpWE5D1VdPUM3IieFwUVKuZuLSFouhXxgU64/pBAVW4wwvZ9jLlcyJj8ayxduABxZ9pJxBNdeSExiqMG4/gy/T71qp5hEz8OvR6O/97I6aJmwufZsd7fHfmZvZQduYxpUiryk1mIZXER17ThS2s///mBW6WiUe5mK8XNdujFw8rE6CFw32jWNO+nUoVWJkaOszxMB11Ki6vbiPzuTvemRePKPUN8OrUBrxnc2pE5RzT6NRsVMNIC/gaY0PLtJgQJ0gAAAABJRU5ErkJggg==',
'front' => true,
'[new]' => false,
'[accessible]' => [
[maximum depth reached]
],
'[dirty]' => [[maximum depth reached]],
'[original]' => [[maximum depth reached]],
'[virtual]' => [[maximum depth reached]],
'[hasErrors]' => false,
'[errors]' => [[maximum depth reached]],
'[invalid]' => [[maximum depth reached]],
'[repository]' => 'Locales'
},
(int) 3 => object(App\Model\Entity\Locale) {
'id' => 'a20c3c73-53c0-11e9-bb3d-7054d219d6c5',
'locale' => 'de',
'name' => 'Deutsch',
'position' => (int) 0,
'active' => true,
'flag' => 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgBAMAAACBVGfHAAAAA3NCSVQICAjb4U/gAAAACXBIWXMAAADdAAAA3QFwU6IHAAAAGXRFWHRTb2Z0d2FyZQB3d3cuaW5rc2NhcGUub3Jnm+48GgAAAB5QTFRF////SEhU/+BaRkZV/+FZwUlV/31WRkZV/0tV/+FagNv1tgAAAAd0Uk5TAFJSeHjAwPIGe2oAAAAqSURBVCjPY2FAAyzUEBBWQOH/Y0mhhS0YAvfQBYyHs7Xd6IF85w71bQEAwy4HmS9PAQYAAAAASUVORK5CYII=',
'front' => true,
'[new]' => false,
'[accessible]' => [
[maximum depth reached]
],
'[dirty]' => [[maximum depth reached]],
'[original]' => [[maximum depth reached]],
'[virtual]' => [[maximum depth reached]],
'[hasErrors]' => false,
'[errors]' => [[maximum depth reached]],
'[invalid]' => [[maximum depth reached]],
'[repository]' => 'Locales'
}
]
$session = object(Cake\Http\Session) {
[protected] _engine => null
[protected] _started => true
[protected] _lifetime => (int) 86400
[protected] _isCLI => false
}
$lng = 'la-maison'
$currentLocal = 'la-maison'
$settingsDB = object(SoftDelete\ORM\Query) {
'(help)' => 'This is a Query object, to get the results execute or iterate it.',
'sql' => 'SELECT Settings.id AS `Settings__id`, Settings.meta_key AS `Settings__meta_key`, Settings.meta_value AS `Settings__meta_value`, Settings.name AS `Settings__name`, Settings.description AS `Settings__description`, Settings.deleted AS `Settings__deleted`, Settings_meta_value_translation.id AS `Settings_meta_value_translation__id`, Settings_meta_value_translation.locale AS `Settings_meta_value_translation__locale`, Settings_meta_value_translation.model AS `Settings_meta_value_translation__model`, Settings_meta_value_translation.foreign_key AS `Settings_meta_value_translation__foreign_key`, Settings_meta_value_translation.field AS `Settings_meta_value_translation__field`, Settings_meta_value_translation.content AS `Settings_meta_value_translation__content`, Settings_name_translation.id AS `Settings_name_translation__id`, Settings_name_translation.locale AS `Settings_name_translation__locale`, Settings_name_translation.model AS `Settings_name_translation__model`, Settings_name_translation.foreign_key AS `Settings_name_translation__foreign_key`, Settings_name_translation.field AS `Settings_name_translation__field`, Settings_name_translation.content AS `Settings_name_translation__content`, Settings_description_translation.id AS `Settings_description_translation__id`, Settings_description_translation.locale AS `Settings_description_translation__locale`, Settings_description_translation.model AS `Settings_description_translation__model`, Settings_description_translation.foreign_key AS `Settings_description_translation__foreign_key`, Settings_description_translation.field AS `Settings_description_translation__field`, Settings_description_translation.content AS `Settings_description_translation__content` FROM settings Settings LEFT JOIN i18n Settings_meta_value_translation ON (Settings_meta_value_translation.model = :c0 AND Settings_meta_value_translation.field = :c1 AND Settings_meta_value_translation.locale = :c2 AND Settings.id = (Settings_meta_value_translation.foreign_key)) LEFT JOIN i18n Settings_name_translation ON (Settings_name_translation.model = :c3 AND Settings_name_translation.field = :c4 AND Settings_name_translation.locale = :c5 AND Settings.id = (Settings_name_translation.foreign_key)) LEFT JOIN i18n Settings_description_translation ON (Settings_description_translation.model = :c6 AND Settings_description_translation.field = :c7 AND Settings_description_translation.locale = :c8 AND Settings.id = (Settings_description_translation.foreign_key)) WHERE Settings.deleted IS NULL',
'params' => [
':c0' => [
[maximum depth reached]
],
':c1' => [
[maximum depth reached]
],
':c2' => [
[maximum depth reached]
],
':c3' => [
[maximum depth reached]
],
':c4' => [
[maximum depth reached]
],
':c5' => [
[maximum depth reached]
],
':c6' => [
[maximum depth reached]
],
':c7' => [
[maximum depth reached]
],
':c8' => [
[maximum depth reached]
]
],
'defaultTypes' => [
'Settings__id' => 'uuid',
'Settings.id' => 'uuid',
'id' => 'uuid',
'Settings__meta_key' => 'string',
'Settings.meta_key' => 'string',
'meta_key' => 'string',
'Settings__meta_value' => 'text',
'Settings.meta_value' => 'text',
'meta_value' => 'text',
'Settings__name' => 'string',
'Settings.name' => 'string',
'name' => 'string',
'Settings__description' => 'text',
'Settings.description' => 'text',
'description' => 'text',
'Settings__deleted' => 'datetime',
'Settings.deleted' => 'datetime',
'deleted' => 'datetime',
'I18n__id' => 'integer',
'I18n.id' => 'integer',
'I18n__locale' => 'string',
'I18n.locale' => 'string',
'locale' => 'string',
'I18n__model' => 'string',
'I18n.model' => 'string',
'model' => 'string',
'I18n__foreign_key' => 'uuid',
'I18n.foreign_key' => 'uuid',
'foreign_key' => 'uuid',
'I18n__field' => 'string',
'I18n.field' => 'string',
'field' => 'string',
'I18n__content' => 'text',
'I18n.content' => 'text',
'content' => 'text',
'Settings_meta_value_translation__id' => 'integer',
'Settings_meta_value_translation.id' => 'integer',
'Settings_meta_value_translation__locale' => 'string',
'Settings_meta_value_translation.locale' => 'string',
'Settings_meta_value_translation__model' => 'string',
'Settings_meta_value_translation.model' => 'string',
'Settings_meta_value_translation__foreign_key' => 'uuid',
'Settings_meta_value_translation.foreign_key' => 'uuid',
'Settings_meta_value_translation__field' => 'string',
'Settings_meta_value_translation.field' => 'string',
'Settings_meta_value_translation__content' => 'text',
'Settings_meta_value_translation.content' => 'text',
'Settings_name_translation__id' => 'integer',
'Settings_name_translation.id' => 'integer',
'Settings_name_translation__locale' => 'string',
'Settings_name_translation.locale' => 'string',
'Settings_name_translation__model' => 'string',
'Settings_name_translation.model' => 'string',
'Settings_name_translation__foreign_key' => 'uuid',
'Settings_name_translation.foreign_key' => 'uuid',
'Settings_name_translation__field' => 'string',
'Settings_name_translation.field' => 'string',
'Settings_name_translation__content' => 'text',
'Settings_name_translation.content' => 'text',
'Settings_description_translation__id' => 'integer',
'Settings_description_translation.id' => 'integer',
'Settings_description_translation__locale' => 'string',
'Settings_description_translation.locale' => 'string',
'Settings_description_translation__model' => 'string',
'Settings_description_translation.model' => 'string',
'Settings_description_translation__foreign_key' => 'uuid',
'Settings_description_translation.foreign_key' => 'uuid',
'Settings_description_translation__field' => 'string',
'Settings_description_translation.field' => 'string',
'Settings_description_translation__content' => 'text',
'Settings_description_translation.content' => 'text'
],
'decorators' => (int) 0,
'executed' => true,
'hydrate' => true,
'buffered' => true,
'formatters' => (int) 2,
'mapReducers' => (int) 0,
'contain' => [
'I18n' => [
[maximum depth reached]
],
'Settings_meta_value_translation' => [
[maximum depth reached]
],
'Settings_name_translation' => [
[maximum depth reached]
],
'Settings_description_translation' => [
[maximum depth reached]
]
],
'matching' => [],
'extraOptions' => [],
'repository' => object(App\Model\Table\SettingsTable) {}
}
$settings = [
'copyright' => null,
'facebook' => null,
'title_faq' => null,
'btn_discover_name' => null,
'btn_choose' => null,
'systempay_key' => null,
'partners_section_title' => null,
'assembly' => null,
'team_section_title' => null,
'sous_total' => null,
'title_cart' => null
]
$titles = [
'copyright' => null,
'facebook' => null,
'title_faq' => null,
'btn_discover_name' => null,
'btn_choose' => null,
'systempay_key' => null,
'partners_section_title' => null,
'assembly' => null,
'team_section_title' => null,
'sous_total' => null,
'title_cart' => null
]
$key = (int) 11
$s = object(App\Model\Entity\Setting) {
'id' => '2af8a92b-4457-4a87-bbcb-77d2754b8a8a',
'meta_key' => 'title_house',
'meta_value' => '',
'name' => 'Maison',
'description' => '',
'deleted' => null,
'_locale' => 'la-maison',
'_translations' => [
'fr' => object(App\Model\Entity\Setting) {},
'en' => object(App\Model\Entity\Setting) {},
'es' => object(App\Model\Entity\Setting) {},
'pt' => object(App\Model\Entity\Setting) {},
'de' => object(App\Model\Entity\Setting) {},
'it' => object(App\Model\Entity\Setting) {}
],
'[new]' => false,
'[accessible]' => [
'meta_key' => true,
'meta_value' => true,
'name' => true,
'description' => true
],
'[dirty]' => [],
'[original]' => [],
'[virtual]' => [],
'[hasErrors]' => false,
'[errors]' => [],
'[invalid]' => [],
'[repository]' => 'Settings'
}
App\Controller\AppController::initialize() - APP/Controller/AppController.php, line 110
App\Controller\PagesController::initialize() - APP/Controller/PagesController.php, line 38
Cake\Controller\Controller::__construct() - CORE/src/Controller/Controller.php, line 273
ReflectionClass::newInstance() - [internal], line ??
Cake\Http\ControllerFactory::create() - CORE/src/Http/ControllerFactory.php, line 47
Cake\Http\ActionDispatcher::dispatch() - CORE/src/Http/ActionDispatcher.php, line 91
Cake\Http\BaseApplication::__invoke() - CORE/src/Http/BaseApplication.php, line 235
Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65
Cake\Routing\Middleware\RoutingMiddleware::__invoke() - CORE/src/Routing/Middleware/RoutingMiddleware.php, line 162
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 96
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 98
[main] - ROOT/webroot/index.php, line 40
Notice (8): Trying to get property of non-object [APP/Controller/AppController.php, line 110]Code Context foreach ($settingsDB as $key => $s) {
$settings[$s->meta_key] = $s->_translations[$this->getCurrentLocale()]->meta_value;
$titles[$s->meta_key] = $s->_translations[$this->getCurrentLocale()]->name;
$locales = [
(int) 0 => object(App\Model\Entity\Locale) {
'id' => 'c79e08dd-4b98-40da-812f-166a5627cafe',
'locale' => 'fr',
'name' => 'French',
'position' => (int) 1,
'active' => true,
'flag' => 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgBAMAAACBVGfHAAAAA3NCSVQICAjb4U/gAAAACXBIWXMAAADdAAAA3QFwU6IHAAAAGXRFWHRTb2Z0d2FyZQB3d3cuaW5rc2NhcGUub3Jnm+48GgAAACdQTFRF////QUib/0tUh4y+/XiAQkab9PT0/0pVkpTC/mRtQUeb9fX1/0tVpPINxQAAAAp0Uk5TAFJSamp4eHjGxmzCt2wAAAArSURBVCjPY2RAA4zUEBB1AJIPDYDEP2Eg8ZtxFQOKAMOoAOUCGIFMi6gEAD39PvX2T/ZKAAAAAElFTkSuQmCC',
'front' => true,
'[new]' => false,
'[accessible]' => [
[maximum depth reached]
],
'[dirty]' => [[maximum depth reached]],
'[original]' => [[maximum depth reached]],
'[virtual]' => [[maximum depth reached]],
'[hasErrors]' => false,
'[errors]' => [[maximum depth reached]],
'[invalid]' => [[maximum depth reached]],
'[repository]' => 'Locales'
},
(int) 1 => object(App\Model\Entity\Locale) {
'id' => '073aae08-53c1-11e9-bb3d-7054d219d6c5',
'locale' => 'es',
'name' => 'Español',
'position' => (int) 0,
'active' => true,
'flag' => 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAMAAABEpIrGAAAAA3NCSVQICAjb4U/gAAAACXBIWXMAAADdAAAA3QFwU6IHAAAAGXRFWHRTb2Z0d2FyZQB3d3cuaW5rc2NhcGUub3Jnm+48GgAAARpQTFRF////x0FLyEJKgXaZoI6wuKV1watwyEFLy0pLzntc0rZn1GJZ1WVW1bhm1mxd13JW13Vx2nFQ229L23JN23xM3IyF3I+V3JKY3Y2G3nVJ33dJ34Zs4JOA4XhH4X9Q4ZV845Bk5JJi5LG15aWL5btz5b185pFh5pRk5pZs5px558Nc6ItI6KR16cFp6pBI66lx7ZxQ7aNO7q1h7rR17tjW76BO78BX8KpP8LJk8buC8stZ9LhX9Net9PPz9efR9fHz9fX198BY98dz98xX99/s9+Lt9+3R+MVe+N2d+dOA+deU+eat+sBQ+stf+8hm+8xZ+9Bw/Lzd/MtQ/N2E/N6G/dlx/sxP/s5R/tRa/tZk/tdp/9JQ/9JR/9NThpihEAAAAAN0Uk5TAFJ4LCUCBgAAAKRJREFUOI1jYBgKgJEJL2BkYCcAqKCAgwBgiCYAYApiQ/xCY/AoiLGR4Vb2wKkgyDxaUVhI0CjaEIcCH1N3aTVLL+9wgzDsCoLtdLS1lQJdoxwisCvQF+WTFWFxsVcQs8auwFjCSY6TmZ/HQtwRuwJPtwApKU09SV9bf+wKdFWc1TVMBOStVM2wK2Bj1YqODI6I5mXlwq4AHyAcWXRIMAQT7VAAACQKgMq9uRSqAAAAAElFTkSuQmCC',
'front' => true,
'[new]' => false,
'[accessible]' => [
[maximum depth reached]
],
'[dirty]' => [[maximum depth reached]],
'[original]' => [[maximum depth reached]],
'[virtual]' => [[maximum depth reached]],
'[hasErrors]' => false,
'[errors]' => [[maximum depth reached]],
'[invalid]' => [[maximum depth reached]],
'[repository]' => 'Locales'
},
(int) 2 => object(App\Model\Entity\Locale) {
'id' => '99c33239-48e4-4692-adb0-30a7c352e556',
'locale' => 'en',
'name' => 'English',
'position' => (int) 0,
'active' => true,
'flag' => 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAAA3QAAAN0BcFOiBwAAABl0RVh0U29mdHdhcmUAd3d3Lmlua3NjYXBlLm9yZ5vuPBoAAATuSURBVFiF7ZdrUNRlFMZ/+2dhXVoW5DJcAgTjamopziiWYuhMYpHGRUk0Gs1gIshboIYMoWNqahQyig41hJLXcgSvQ6VyS2WE1IBABRSZ5b673BZYdvtQ4QUYHb7QB55v7zlz5nnOvO+c57wivV7PSEIYUfZRAf8HAeJL65MbJ8UuvSQ2EveVPewy3naqxkPZ0SsZqmD+KxYPI9+0u9/iH+n9eNw8K6Uw5UKd4/k/ml98FqmrjVQd/65DhTg1015suzvFsuHM+SDV6nA8Q3xIWeHCrqxaUnPq6NbqBhR7jTdxBLx7coueTjk2tvWQW64aktja1IiNixxZ0ldDh1/CRM3tSgR1oD/CnWrGRsRQ89YnNBf9ReJiJ4q+9CJ4hhUi0bP6eTakRgIx/g4UhZmxMHk7qoBotOX3MF4ZiJDptwz1qTQ0Pt5I8q8jXfghle8nIGlt5eBH7vwS9yoz3UyHRSyIIPR1a4rXOhP56yE6fMPozilEMn8WlgWZyHfHICSdrcXvmJqL0bG0pu2hz9MFk9Pn0M8OoXRdMu5mcHbDJDKjPHG1kT43ue/LZuTFerKj/jdEc96jK+M0hpPdMM/ex9gju1Db2bMh8x4iArL7R6GLjZSEwHE45ediuf97qKsHK3OaVoXhuSYYvYFAVYMGVxspCrPpTxDaKK+ScKKaizdb2RrkyIziXNq3HUBX34yBvQ2yzRFIF89Ho9WTmlPH7uxa1F3aJwX8B283OYnv2GF8+CcsM46iV7ejc3VGGb2KCcvnAgwqoKpBg23JDdrjk9GW30MklyFbG4ZxRAhIjDh+tZEtJ6t50NzdXyc6kVs1qBkIgoiZrnI661tQXLn1iMhnMub2FoMK0LWo6L1R2h8znOKJYGEGQF1rN6W1nQN4REqlclhuNJiA4UBUjvuI2uGIj+JRASP+CMU5t1oHBCfYG2M39h9D1DUr6S0u688ZTp2AYD74aG6pbUZx+eYjUbMnYWxtTkGlGp1u8D7FQV//2X9wsJCwOdAJWzMJek0PnfuP0L4nHb26HbHHeGSJUdRoJTgP0Y25vQUKnQ6zbw8iVFbRK5dxd/kSTEIDiD9TR2GFekCNACCXivki2Inr27xYPN0SzbFzNE0Lpi0hBZFUgvybjdw8sBffPCnpVxRD0EOlogu3UF+sCw7TtGkNeokRFilpOASt4CvjuxyK9MDlKT8RIubZUbJjGp/62SNcLaH5jQ9QhSega1Ehi11JU1YGy5pcCEgqo7S2Y0hygMN59XjH3eDCbSUTY0IwuXaclpXLECnVWMZvZ0r0GjK8NOwMfQkLmSHw7yPUVlTTFr+X7vO5IAhIQ9+mK2oFW/La+TG/nsevb/UCexKCnIY0o6SztQDMdDNl6xJnpjrLaLijQJW4H5PsC6DTofHxpuezcDIVUsTqdTvpTD8F2j4k87wRx31McpWE5D1VdPUM3IieFwUVKuZuLSFouhXxgU64/pBAVW4wwvZ9jLlcyJj8ayxduABxZ9pJxBNdeSExiqMG4/gy/T71qp5hEz8OvR6O/97I6aJmwufZsd7fHfmZvZQduYxpUiryk1mIZXER17ThS2s///mBW6WiUe5mK8XNdujFw8rE6CFw32jWNO+nUoVWJkaOszxMB11Ki6vbiPzuTvemRePKPUN8OrUBrxnc2pE5RzT6NRsVMNIC/gaY0PLtJgQJ0gAAAABJRU5ErkJggg==',
'front' => true,
'[new]' => false,
'[accessible]' => [
[maximum depth reached]
],
'[dirty]' => [[maximum depth reached]],
'[original]' => [[maximum depth reached]],
'[virtual]' => [[maximum depth reached]],
'[hasErrors]' => false,
'[errors]' => [[maximum depth reached]],
'[invalid]' => [[maximum depth reached]],
'[repository]' => 'Locales'
},
(int) 3 => object(App\Model\Entity\Locale) {
'id' => 'a20c3c73-53c0-11e9-bb3d-7054d219d6c5',
'locale' => 'de',
'name' => 'Deutsch',
'position' => (int) 0,
'active' => true,
'flag' => 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgBAMAAACBVGfHAAAAA3NCSVQICAjb4U/gAAAACXBIWXMAAADdAAAA3QFwU6IHAAAAGXRFWHRTb2Z0d2FyZQB3d3cuaW5rc2NhcGUub3Jnm+48GgAAAB5QTFRF////SEhU/+BaRkZV/+FZwUlV/31WRkZV/0tV/+FagNv1tgAAAAd0Uk5TAFJSeHjAwPIGe2oAAAAqSURBVCjPY2FAAyzUEBBWQOH/Y0mhhS0YAvfQBYyHs7Xd6IF85w71bQEAwy4HmS9PAQYAAAAASUVORK5CYII=',
'front' => true,
'[new]' => false,
'[accessible]' => [
[maximum depth reached]
],
'[dirty]' => [[maximum depth reached]],
'[original]' => [[maximum depth reached]],
'[virtual]' => [[maximum depth reached]],
'[hasErrors]' => false,
'[errors]' => [[maximum depth reached]],
'[invalid]' => [[maximum depth reached]],
'[repository]' => 'Locales'
}
]
$session = object(Cake\Http\Session) {
[protected] _engine => null
[protected] _started => true
[protected] _lifetime => (int) 86400
[protected] _isCLI => false
}
$lng = 'la-maison'
$currentLocal = 'la-maison'
$settingsDB = object(SoftDelete\ORM\Query) {
'(help)' => 'This is a Query object, to get the results execute or iterate it.',
'sql' => 'SELECT Settings.id AS `Settings__id`, Settings.meta_key AS `Settings__meta_key`, Settings.meta_value AS `Settings__meta_value`, Settings.name AS `Settings__name`, Settings.description AS `Settings__description`, Settings.deleted AS `Settings__deleted`, Settings_meta_value_translation.id AS `Settings_meta_value_translation__id`, Settings_meta_value_translation.locale AS `Settings_meta_value_translation__locale`, Settings_meta_value_translation.model AS `Settings_meta_value_translation__model`, Settings_meta_value_translation.foreign_key AS `Settings_meta_value_translation__foreign_key`, Settings_meta_value_translation.field AS `Settings_meta_value_translation__field`, Settings_meta_value_translation.content AS `Settings_meta_value_translation__content`, Settings_name_translation.id AS `Settings_name_translation__id`, Settings_name_translation.locale AS `Settings_name_translation__locale`, Settings_name_translation.model AS `Settings_name_translation__model`, Settings_name_translation.foreign_key AS `Settings_name_translation__foreign_key`, Settings_name_translation.field AS `Settings_name_translation__field`, Settings_name_translation.content AS `Settings_name_translation__content`, Settings_description_translation.id AS `Settings_description_translation__id`, Settings_description_translation.locale AS `Settings_description_translation__locale`, Settings_description_translation.model AS `Settings_description_translation__model`, Settings_description_translation.foreign_key AS `Settings_description_translation__foreign_key`, Settings_description_translation.field AS `Settings_description_translation__field`, Settings_description_translation.content AS `Settings_description_translation__content` FROM settings Settings LEFT JOIN i18n Settings_meta_value_translation ON (Settings_meta_value_translation.model = :c0 AND Settings_meta_value_translation.field = :c1 AND Settings_meta_value_translation.locale = :c2 AND Settings.id = (Settings_meta_value_translation.foreign_key)) LEFT JOIN i18n Settings_name_translation ON (Settings_name_translation.model = :c3 AND Settings_name_translation.field = :c4 AND Settings_name_translation.locale = :c5 AND Settings.id = (Settings_name_translation.foreign_key)) LEFT JOIN i18n Settings_description_translation ON (Settings_description_translation.model = :c6 AND Settings_description_translation.field = :c7 AND Settings_description_translation.locale = :c8 AND Settings.id = (Settings_description_translation.foreign_key)) WHERE Settings.deleted IS NULL',
'params' => [
':c0' => [
[maximum depth reached]
],
':c1' => [
[maximum depth reached]
],
':c2' => [
[maximum depth reached]
],
':c3' => [
[maximum depth reached]
],
':c4' => [
[maximum depth reached]
],
':c5' => [
[maximum depth reached]
],
':c6' => [
[maximum depth reached]
],
':c7' => [
[maximum depth reached]
],
':c8' => [
[maximum depth reached]
]
],
'defaultTypes' => [
'Settings__id' => 'uuid',
'Settings.id' => 'uuid',
'id' => 'uuid',
'Settings__meta_key' => 'string',
'Settings.meta_key' => 'string',
'meta_key' => 'string',
'Settings__meta_value' => 'text',
'Settings.meta_value' => 'text',
'meta_value' => 'text',
'Settings__name' => 'string',
'Settings.name' => 'string',
'name' => 'string',
'Settings__description' => 'text',
'Settings.description' => 'text',
'description' => 'text',
'Settings__deleted' => 'datetime',
'Settings.deleted' => 'datetime',
'deleted' => 'datetime',
'I18n__id' => 'integer',
'I18n.id' => 'integer',
'I18n__locale' => 'string',
'I18n.locale' => 'string',
'locale' => 'string',
'I18n__model' => 'string',
'I18n.model' => 'string',
'model' => 'string',
'I18n__foreign_key' => 'uuid',
'I18n.foreign_key' => 'uuid',
'foreign_key' => 'uuid',
'I18n__field' => 'string',
'I18n.field' => 'string',
'field' => 'string',
'I18n__content' => 'text',
'I18n.content' => 'text',
'content' => 'text',
'Settings_meta_value_translation__id' => 'integer',
'Settings_meta_value_translation.id' => 'integer',
'Settings_meta_value_translation__locale' => 'string',
'Settings_meta_value_translation.locale' => 'string',
'Settings_meta_value_translation__model' => 'string',
'Settings_meta_value_translation.model' => 'string',
'Settings_meta_value_translation__foreign_key' => 'uuid',
'Settings_meta_value_translation.foreign_key' => 'uuid',
'Settings_meta_value_translation__field' => 'string',
'Settings_meta_value_translation.field' => 'string',
'Settings_meta_value_translation__content' => 'text',
'Settings_meta_value_translation.content' => 'text',
'Settings_name_translation__id' => 'integer',
'Settings_name_translation.id' => 'integer',
'Settings_name_translation__locale' => 'string',
'Settings_name_translation.locale' => 'string',
'Settings_name_translation__model' => 'string',
'Settings_name_translation.model' => 'string',
'Settings_name_translation__foreign_key' => 'uuid',
'Settings_name_translation.foreign_key' => 'uuid',
'Settings_name_translation__field' => 'string',
'Settings_name_translation.field' => 'string',
'Settings_name_translation__content' => 'text',
'Settings_name_translation.content' => 'text',
'Settings_description_translation__id' => 'integer',
'Settings_description_translation.id' => 'integer',
'Settings_description_translation__locale' => 'string',
'Settings_description_translation.locale' => 'string',
'Settings_description_translation__model' => 'string',
'Settings_description_translation.model' => 'string',
'Settings_description_translation__foreign_key' => 'uuid',
'Settings_description_translation.foreign_key' => 'uuid',
'Settings_description_translation__field' => 'string',
'Settings_description_translation.field' => 'string',
'Settings_description_translation__content' => 'text',
'Settings_description_translation.content' => 'text'
],
'decorators' => (int) 0,
'executed' => true,
'hydrate' => true,
'buffered' => true,
'formatters' => (int) 2,
'mapReducers' => (int) 0,
'contain' => [
'I18n' => [
[maximum depth reached]
],
'Settings_meta_value_translation' => [
[maximum depth reached]
],
'Settings_name_translation' => [
[maximum depth reached]
],
'Settings_description_translation' => [
[maximum depth reached]
]
],
'matching' => [],
'extraOptions' => [],
'repository' => object(App\Model\Table\SettingsTable) {}
}
$settings = [
'copyright' => null,
'facebook' => null,
'title_faq' => null,
'btn_discover_name' => null,
'btn_choose' => null,
'systempay_key' => null,
'partners_section_title' => null,
'assembly' => null,
'team_section_title' => null,
'sous_total' => null,
'title_cart' => null
]
$titles = [
'copyright' => null,
'facebook' => null,
'title_faq' => null,
'btn_discover_name' => null,
'btn_choose' => null,
'systempay_key' => null,
'partners_section_title' => null,
'assembly' => null,
'team_section_title' => null,
'sous_total' => null,
'title_cart' => null
]
$key = (int) 11
$s = object(App\Model\Entity\Setting) {
'id' => '2af8a92b-4457-4a87-bbcb-77d2754b8a8a',
'meta_key' => 'title_house',
'meta_value' => '',
'name' => 'Maison',
'description' => '',
'deleted' => null,
'_locale' => 'la-maison',
'_translations' => [
'fr' => object(App\Model\Entity\Setting) {},
'en' => object(App\Model\Entity\Setting) {},
'es' => object(App\Model\Entity\Setting) {},
'pt' => object(App\Model\Entity\Setting) {},
'de' => object(App\Model\Entity\Setting) {},
'it' => object(App\Model\Entity\Setting) {}
],
'[new]' => false,
'[accessible]' => [
'meta_key' => true,
'meta_value' => true,
'name' => true,
'description' => true
],
'[dirty]' => [],
'[original]' => [],
'[virtual]' => [],
'[hasErrors]' => false,
'[errors]' => [],
'[invalid]' => [],
'[repository]' => 'Settings'
}
App\Controller\AppController::initialize() - APP/Controller/AppController.php, line 110
App\Controller\PagesController::initialize() - APP/Controller/PagesController.php, line 38
Cake\Controller\Controller::__construct() - CORE/src/Controller/Controller.php, line 273
ReflectionClass::newInstance() - [internal], line ??
Cake\Http\ControllerFactory::create() - CORE/src/Http/ControllerFactory.php, line 47
Cake\Http\ActionDispatcher::dispatch() - CORE/src/Http/ActionDispatcher.php, line 91
Cake\Http\BaseApplication::__invoke() - CORE/src/Http/BaseApplication.php, line 235
Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65
Cake\Routing\Middleware\RoutingMiddleware::__invoke() - CORE/src/Routing/Middleware/RoutingMiddleware.php, line 162
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 96
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 98
[main] - ROOT/webroot/index.php, line 40
Notice (8): Undefined index: la-maison [APP/Controller/AppController.php, line 111]Code Context $settings[$s->meta_key] = $s->_translations[$this->getCurrentLocale()]->meta_value;
$titles[$s->meta_key] = $s->_translations[$this->getCurrentLocale()]->name;
}
$locales = [
(int) 0 => object(App\Model\Entity\Locale) {
'id' => 'c79e08dd-4b98-40da-812f-166a5627cafe',
'locale' => 'fr',
'name' => 'French',
'position' => (int) 1,
'active' => true,
'flag' => 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgBAMAAACBVGfHAAAAA3NCSVQICAjb4U/gAAAACXBIWXMAAADdAAAA3QFwU6IHAAAAGXRFWHRTb2Z0d2FyZQB3d3cuaW5rc2NhcGUub3Jnm+48GgAAACdQTFRF////QUib/0tUh4y+/XiAQkab9PT0/0pVkpTC/mRtQUeb9fX1/0tVpPINxQAAAAp0Uk5TAFJSamp4eHjGxmzCt2wAAAArSURBVCjPY2RAA4zUEBB1AJIPDYDEP2Eg8ZtxFQOKAMOoAOUCGIFMi6gEAD39PvX2T/ZKAAAAAElFTkSuQmCC',
'front' => true,
'[new]' => false,
'[accessible]' => [
[maximum depth reached]
],
'[dirty]' => [[maximum depth reached]],
'[original]' => [[maximum depth reached]],
'[virtual]' => [[maximum depth reached]],
'[hasErrors]' => false,
'[errors]' => [[maximum depth reached]],
'[invalid]' => [[maximum depth reached]],
'[repository]' => 'Locales'
},
(int) 1 => object(App\Model\Entity\Locale) {
'id' => '073aae08-53c1-11e9-bb3d-7054d219d6c5',
'locale' => 'es',
'name' => 'Español',
'position' => (int) 0,
'active' => true,
'flag' => 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAMAAABEpIrGAAAAA3NCSVQICAjb4U/gAAAACXBIWXMAAADdAAAA3QFwU6IHAAAAGXRFWHRTb2Z0d2FyZQB3d3cuaW5rc2NhcGUub3Jnm+48GgAAARpQTFRF////x0FLyEJKgXaZoI6wuKV1watwyEFLy0pLzntc0rZn1GJZ1WVW1bhm1mxd13JW13Vx2nFQ229L23JN23xM3IyF3I+V3JKY3Y2G3nVJ33dJ34Zs4JOA4XhH4X9Q4ZV845Bk5JJi5LG15aWL5btz5b185pFh5pRk5pZs5px558Nc6ItI6KR16cFp6pBI66lx7ZxQ7aNO7q1h7rR17tjW76BO78BX8KpP8LJk8buC8stZ9LhX9Net9PPz9efR9fHz9fX198BY98dz98xX99/s9+Lt9+3R+MVe+N2d+dOA+deU+eat+sBQ+stf+8hm+8xZ+9Bw/Lzd/MtQ/N2E/N6G/dlx/sxP/s5R/tRa/tZk/tdp/9JQ/9JR/9NThpihEAAAAAN0Uk5TAFJ4LCUCBgAAAKRJREFUOI1jYBgKgJEJL2BkYCcAqKCAgwBgiCYAYApiQ/xCY/AoiLGR4Vb2wKkgyDxaUVhI0CjaEIcCH1N3aTVLL+9wgzDsCoLtdLS1lQJdoxwisCvQF+WTFWFxsVcQs8auwFjCSY6TmZ/HQtwRuwJPtwApKU09SV9bf+wKdFWc1TVMBOStVM2wK2Bj1YqODI6I5mXlwq4AHyAcWXRIMAQT7VAAACQKgMq9uRSqAAAAAElFTkSuQmCC',
'front' => true,
'[new]' => false,
'[accessible]' => [
[maximum depth reached]
],
'[dirty]' => [[maximum depth reached]],
'[original]' => [[maximum depth reached]],
'[virtual]' => [[maximum depth reached]],
'[hasErrors]' => false,
'[errors]' => [[maximum depth reached]],
'[invalid]' => [[maximum depth reached]],
'[repository]' => 'Locales'
},
(int) 2 => object(App\Model\Entity\Locale) {
'id' => '99c33239-48e4-4692-adb0-30a7c352e556',
'locale' => 'en',
'name' => 'English',
'position' => (int) 0,
'active' => true,
'flag' => 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAAA3QAAAN0BcFOiBwAAABl0RVh0U29mdHdhcmUAd3d3Lmlua3NjYXBlLm9yZ5vuPBoAAATuSURBVFiF7ZdrUNRlFMZ/+2dhXVoW5DJcAgTjamopziiWYuhMYpHGRUk0Gs1gIshboIYMoWNqahQyig41hJLXcgSvQ6VyS2WE1IBABRSZ5b673BZYdvtQ4QUYHb7QB55v7zlz5nnOvO+c57wivV7PSEIYUfZRAf8HAeJL65MbJ8UuvSQ2EveVPewy3naqxkPZ0SsZqmD+KxYPI9+0u9/iH+n9eNw8K6Uw5UKd4/k/ml98FqmrjVQd/65DhTg1015suzvFsuHM+SDV6nA8Q3xIWeHCrqxaUnPq6NbqBhR7jTdxBLx7coueTjk2tvWQW64aktja1IiNixxZ0ldDh1/CRM3tSgR1oD/CnWrGRsRQ89YnNBf9ReJiJ4q+9CJ4hhUi0bP6eTakRgIx/g4UhZmxMHk7qoBotOX3MF4ZiJDptwz1qTQ0Pt5I8q8jXfghle8nIGlt5eBH7vwS9yoz3UyHRSyIIPR1a4rXOhP56yE6fMPozilEMn8WlgWZyHfHICSdrcXvmJqL0bG0pu2hz9MFk9Pn0M8OoXRdMu5mcHbDJDKjPHG1kT43ue/LZuTFerKj/jdEc96jK+M0hpPdMM/ex9gju1Db2bMh8x4iArL7R6GLjZSEwHE45ediuf97qKsHK3OaVoXhuSYYvYFAVYMGVxspCrPpTxDaKK+ScKKaizdb2RrkyIziXNq3HUBX34yBvQ2yzRFIF89Ho9WTmlPH7uxa1F3aJwX8B283OYnv2GF8+CcsM46iV7ejc3VGGb2KCcvnAgwqoKpBg23JDdrjk9GW30MklyFbG4ZxRAhIjDh+tZEtJ6t50NzdXyc6kVs1qBkIgoiZrnI661tQXLn1iMhnMub2FoMK0LWo6L1R2h8znOKJYGEGQF1rN6W1nQN4REqlclhuNJiA4UBUjvuI2uGIj+JRASP+CMU5t1oHBCfYG2M39h9D1DUr6S0u688ZTp2AYD74aG6pbUZx+eYjUbMnYWxtTkGlGp1u8D7FQV//2X9wsJCwOdAJWzMJek0PnfuP0L4nHb26HbHHeGSJUdRoJTgP0Y25vQUKnQ6zbw8iVFbRK5dxd/kSTEIDiD9TR2GFekCNACCXivki2Inr27xYPN0SzbFzNE0Lpi0hBZFUgvybjdw8sBffPCnpVxRD0EOlogu3UF+sCw7TtGkNeokRFilpOASt4CvjuxyK9MDlKT8RIubZUbJjGp/62SNcLaH5jQ9QhSega1Ehi11JU1YGy5pcCEgqo7S2Y0hygMN59XjH3eDCbSUTY0IwuXaclpXLECnVWMZvZ0r0GjK8NOwMfQkLmSHw7yPUVlTTFr+X7vO5IAhIQ9+mK2oFW/La+TG/nsevb/UCexKCnIY0o6SztQDMdDNl6xJnpjrLaLijQJW4H5PsC6DTofHxpuezcDIVUsTqdTvpTD8F2j4k87wRx31McpWE5D1VdPUM3IieFwUVKuZuLSFouhXxgU64/pBAVW4wwvZ9jLlcyJj8ayxduABxZ9pJxBNdeSExiqMG4/gy/T71qp5hEz8OvR6O/97I6aJmwufZsd7fHfmZvZQduYxpUiryk1mIZXER17ThS2s///mBW6WiUe5mK8XNdujFw8rE6CFw32jWNO+nUoVWJkaOszxMB11Ki6vbiPzuTvemRePKPUN8OrUBrxnc2pE5RzT6NRsVMNIC/gaY0PLtJgQJ0gAAAABJRU5ErkJggg==',
'front' => true,
'[new]' => false,
'[accessible]' => [
[maximum depth reached]
],
'[dirty]' => [[maximum depth reached]],
'[original]' => [[maximum depth reached]],
'[virtual]' => [[maximum depth reached]],
'[hasErrors]' => false,
'[errors]' => [[maximum depth reached]],
'[invalid]' => [[maximum depth reached]],
'[repository]' => 'Locales'
},
(int) 3 => object(App\Model\Entity\Locale) {
'id' => 'a20c3c73-53c0-11e9-bb3d-7054d219d6c5',
'locale' => 'de',
'name' => 'Deutsch',
'position' => (int) 0,
'active' => true,
'flag' => 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgBAMAAACBVGfHAAAAA3NCSVQICAjb4U/gAAAACXBIWXMAAADdAAAA3QFwU6IHAAAAGXRFWHRTb2Z0d2FyZQB3d3cuaW5rc2NhcGUub3Jnm+48GgAAAB5QTFRF////SEhU/+BaRkZV/+FZwUlV/31WRkZV/0tV/+FagNv1tgAAAAd0Uk5TAFJSeHjAwPIGe2oAAAAqSURBVCjPY2FAAyzUEBBWQOH/Y0mhhS0YAvfQBYyHs7Xd6IF85w71bQEAwy4HmS9PAQYAAAAASUVORK5CYII=',
'front' => true,
'[new]' => false,
'[accessible]' => [
[maximum depth reached]
],
'[dirty]' => [[maximum depth reached]],
'[original]' => [[maximum depth reached]],
'[virtual]' => [[maximum depth reached]],
'[hasErrors]' => false,
'[errors]' => [[maximum depth reached]],
'[invalid]' => [[maximum depth reached]],
'[repository]' => 'Locales'
}
]
$session = object(Cake\Http\Session) {
[protected] _engine => null
[protected] _started => true
[protected] _lifetime => (int) 86400
[protected] _isCLI => false
}
$lng = 'la-maison'
$currentLocal = 'la-maison'
$settingsDB = object(SoftDelete\ORM\Query) {
'(help)' => 'This is a Query object, to get the results execute or iterate it.',
'sql' => 'SELECT Settings.id AS `Settings__id`, Settings.meta_key AS `Settings__meta_key`, Settings.meta_value AS `Settings__meta_value`, Settings.name AS `Settings__name`, Settings.description AS `Settings__description`, Settings.deleted AS `Settings__deleted`, Settings_meta_value_translation.id AS `Settings_meta_value_translation__id`, Settings_meta_value_translation.locale AS `Settings_meta_value_translation__locale`, Settings_meta_value_translation.model AS `Settings_meta_value_translation__model`, Settings_meta_value_translation.foreign_key AS `Settings_meta_value_translation__foreign_key`, Settings_meta_value_translation.field AS `Settings_meta_value_translation__field`, Settings_meta_value_translation.content AS `Settings_meta_value_translation__content`, Settings_name_translation.id AS `Settings_name_translation__id`, Settings_name_translation.locale AS `Settings_name_translation__locale`, Settings_name_translation.model AS `Settings_name_translation__model`, Settings_name_translation.foreign_key AS `Settings_name_translation__foreign_key`, Settings_name_translation.field AS `Settings_name_translation__field`, Settings_name_translation.content AS `Settings_name_translation__content`, Settings_description_translation.id AS `Settings_description_translation__id`, Settings_description_translation.locale AS `Settings_description_translation__locale`, Settings_description_translation.model AS `Settings_description_translation__model`, Settings_description_translation.foreign_key AS `Settings_description_translation__foreign_key`, Settings_description_translation.field AS `Settings_description_translation__field`, Settings_description_translation.content AS `Settings_description_translation__content` FROM settings Settings LEFT JOIN i18n Settings_meta_value_translation ON (Settings_meta_value_translation.model = :c0 AND Settings_meta_value_translation.field = :c1 AND Settings_meta_value_translation.locale = :c2 AND Settings.id = (Settings_meta_value_translation.foreign_key)) LEFT JOIN i18n Settings_name_translation ON (Settings_name_translation.model = :c3 AND Settings_name_translation.field = :c4 AND Settings_name_translation.locale = :c5 AND Settings.id = (Settings_name_translation.foreign_key)) LEFT JOIN i18n Settings_description_translation ON (Settings_description_translation.model = :c6 AND Settings_description_translation.field = :c7 AND Settings_description_translation.locale = :c8 AND Settings.id = (Settings_description_translation.foreign_key)) WHERE Settings.deleted IS NULL',
'params' => [
':c0' => [
[maximum depth reached]
],
':c1' => [
[maximum depth reached]
],
':c2' => [
[maximum depth reached]
],
':c3' => [
[maximum depth reached]
],
':c4' => [
[maximum depth reached]
],
':c5' => [
[maximum depth reached]
],
':c6' => [
[maximum depth reached]
],
':c7' => [
[maximum depth reached]
],
':c8' => [
[maximum depth reached]
]
],
'defaultTypes' => [
'Settings__id' => 'uuid',
'Settings.id' => 'uuid',
'id' => 'uuid',
'Settings__meta_key' => 'string',
'Settings.meta_key' => 'string',
'meta_key' => 'string',
'Settings__meta_value' => 'text',
'Settings.meta_value' => 'text',
'meta_value' => 'text',
'Settings__name' => 'string',
'Settings.name' => 'string',
'name' => 'string',
'Settings__description' => 'text',
'Settings.description' => 'text',
'description' => 'text',
'Settings__deleted' => 'datetime',
'Settings.deleted' => 'datetime',
'deleted' => 'datetime',
'I18n__id' => 'integer',
'I18n.id' => 'integer',
'I18n__locale' => 'string',
'I18n.locale' => 'string',
'locale' => 'string',
'I18n__model' => 'string',
'I18n.model' => 'string',
'model' => 'string',
'I18n__foreign_key' => 'uuid',
'I18n.foreign_key' => 'uuid',
'foreign_key' => 'uuid',
'I18n__field' => 'string',
'I18n.field' => 'string',
'field' => 'string',
'I18n__content' => 'text',
'I18n.content' => 'text',
'content' => 'text',
'Settings_meta_value_translation__id' => 'integer',
'Settings_meta_value_translation.id' => 'integer',
'Settings_meta_value_translation__locale' => 'string',
'Settings_meta_value_translation.locale' => 'string',
'Settings_meta_value_translation__model' => 'string',
'Settings_meta_value_translation.model' => 'string',
'Settings_meta_value_translation__foreign_key' => 'uuid',
'Settings_meta_value_translation.foreign_key' => 'uuid',
'Settings_meta_value_translation__field' => 'string',
'Settings_meta_value_translation.field' => 'string',
'Settings_meta_value_translation__content' => 'text',
'Settings_meta_value_translation.content' => 'text',
'Settings_name_translation__id' => 'integer',
'Settings_name_translation.id' => 'integer',
'Settings_name_translation__locale' => 'string',
'Settings_name_translation.locale' => 'string',
'Settings_name_translation__model' => 'string',
'Settings_name_translation.model' => 'string',
'Settings_name_translation__foreign_key' => 'uuid',
'Settings_name_translation.foreign_key' => 'uuid',
'Settings_name_translation__field' => 'string',
'Settings_name_translation.field' => 'string',
'Settings_name_translation__content' => 'text',
'Settings_name_translation.content' => 'text',
'Settings_description_translation__id' => 'integer',
'Settings_description_translation.id' => 'integer',
'Settings_description_translation__locale' => 'string',
'Settings_description_translation.locale' => 'string',
'Settings_description_translation__model' => 'string',
'Settings_description_translation.model' => 'string',
'Settings_description_translation__foreign_key' => 'uuid',
'Settings_description_translation.foreign_key' => 'uuid',
'Settings_description_translation__field' => 'string',
'Settings_description_translation.field' => 'string',
'Settings_description_translation__content' => 'text',
'Settings_description_translation.content' => 'text'
],
'decorators' => (int) 0,
'executed' => true,
'hydrate' => true,
'buffered' => true,
'formatters' => (int) 2,
'mapReducers' => (int) 0,
'contain' => [
'I18n' => [
[maximum depth reached]
],
'Settings_meta_value_translation' => [
[maximum depth reached]
],
'Settings_name_translation' => [
[maximum depth reached]
],
'Settings_description_translation' => [
[maximum depth reached]
]
],
'matching' => [],
'extraOptions' => [],
'repository' => object(App\Model\Table\SettingsTable) {}
}
$settings = [
'copyright' => null,
'facebook' => null,
'title_faq' => null,
'btn_discover_name' => null,
'btn_choose' => null,
'systempay_key' => null,
'partners_section_title' => null,
'assembly' => null,
'team_section_title' => null,
'sous_total' => null,
'title_cart' => null,
'title_house' => null
]
$titles = [
'copyright' => null,
'facebook' => null,
'title_faq' => null,
'btn_discover_name' => null,
'btn_choose' => null,
'systempay_key' => null,
'partners_section_title' => null,
'assembly' => null,
'team_section_title' => null,
'sous_total' => null,
'title_cart' => null
]
$key = (int) 11
$s = object(App\Model\Entity\Setting) {
'id' => '2af8a92b-4457-4a87-bbcb-77d2754b8a8a',
'meta_key' => 'title_house',
'meta_value' => '',
'name' => 'Maison',
'description' => '',
'deleted' => null,
'_locale' => 'la-maison',
'_translations' => [
'fr' => object(App\Model\Entity\Setting) {},
'en' => object(App\Model\Entity\Setting) {},
'es' => object(App\Model\Entity\Setting) {},
'pt' => object(App\Model\Entity\Setting) {},
'de' => object(App\Model\Entity\Setting) {},
'it' => object(App\Model\Entity\Setting) {}
],
'[new]' => false,
'[accessible]' => [
'meta_key' => true,
'meta_value' => true,
'name' => true,
'description' => true
],
'[dirty]' => [],
'[original]' => [],
'[virtual]' => [],
'[hasErrors]' => false,
'[errors]' => [],
'[invalid]' => [],
'[repository]' => 'Settings'
}
App\Controller\AppController::initialize() - APP/Controller/AppController.php, line 111
App\Controller\PagesController::initialize() - APP/Controller/PagesController.php, line 38
Cake\Controller\Controller::__construct() - CORE/src/Controller/Controller.php, line 273
ReflectionClass::newInstance() - [internal], line ??
Cake\Http\ControllerFactory::create() - CORE/src/Http/ControllerFactory.php, line 47
Cake\Http\ActionDispatcher::dispatch() - CORE/src/Http/ActionDispatcher.php, line 91
Cake\Http\BaseApplication::__invoke() - CORE/src/Http/BaseApplication.php, line 235
Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65
Cake\Routing\Middleware\RoutingMiddleware::__invoke() - CORE/src/Routing/Middleware/RoutingMiddleware.php, line 162
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 96
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 98
[main] - ROOT/webroot/index.php, line 40
Notice (8): Trying to get property of non-object [APP/Controller/AppController.php, line 111]Code Context $settings[$s->meta_key] = $s->_translations[$this->getCurrentLocale()]->meta_value;
$titles[$s->meta_key] = $s->_translations[$this->getCurrentLocale()]->name;
}
$locales = [
(int) 0 => object(App\Model\Entity\Locale) {
'id' => 'c79e08dd-4b98-40da-812f-166a5627cafe',
'locale' => 'fr',
'name' => 'French',
'position' => (int) 1,
'active' => true,
'flag' => 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgBAMAAACBVGfHAAAAA3NCSVQICAjb4U/gAAAACXBIWXMAAADdAAAA3QFwU6IHAAAAGXRFWHRTb2Z0d2FyZQB3d3cuaW5rc2NhcGUub3Jnm+48GgAAACdQTFRF////QUib/0tUh4y+/XiAQkab9PT0/0pVkpTC/mRtQUeb9fX1/0tVpPINxQAAAAp0Uk5TAFJSamp4eHjGxmzCt2wAAAArSURBVCjPY2RAA4zUEBB1AJIPDYDEP2Eg8ZtxFQOKAMOoAOUCGIFMi6gEAD39PvX2T/ZKAAAAAElFTkSuQmCC',
'front' => true,
'[new]' => false,
'[accessible]' => [
[maximum depth reached]
],
'[dirty]' => [[maximum depth reached]],
'[original]' => [[maximum depth reached]],
'[virtual]' => [[maximum depth reached]],
'[hasErrors]' => false,
'[errors]' => [[maximum depth reached]],
'[invalid]' => [[maximum depth reached]],
'[repository]' => 'Locales'
},
(int) 1 => object(App\Model\Entity\Locale) {
'id' => '073aae08-53c1-11e9-bb3d-7054d219d6c5',
'locale' => 'es',
'name' => 'Español',
'position' => (int) 0,
'active' => true,
'flag' => 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAMAAABEpIrGAAAAA3NCSVQICAjb4U/gAAAACXBIWXMAAADdAAAA3QFwU6IHAAAAGXRFWHRTb2Z0d2FyZQB3d3cuaW5rc2NhcGUub3Jnm+48GgAAARpQTFRF////x0FLyEJKgXaZoI6wuKV1watwyEFLy0pLzntc0rZn1GJZ1WVW1bhm1mxd13JW13Vx2nFQ229L23JN23xM3IyF3I+V3JKY3Y2G3nVJ33dJ34Zs4JOA4XhH4X9Q4ZV845Bk5JJi5LG15aWL5btz5b185pFh5pRk5pZs5px558Nc6ItI6KR16cFp6pBI66lx7ZxQ7aNO7q1h7rR17tjW76BO78BX8KpP8LJk8buC8stZ9LhX9Net9PPz9efR9fHz9fX198BY98dz98xX99/s9+Lt9+3R+MVe+N2d+dOA+deU+eat+sBQ+stf+8hm+8xZ+9Bw/Lzd/MtQ/N2E/N6G/dlx/sxP/s5R/tRa/tZk/tdp/9JQ/9JR/9NThpihEAAAAAN0Uk5TAFJ4LCUCBgAAAKRJREFUOI1jYBgKgJEJL2BkYCcAqKCAgwBgiCYAYApiQ/xCY/AoiLGR4Vb2wKkgyDxaUVhI0CjaEIcCH1N3aTVLL+9wgzDsCoLtdLS1lQJdoxwisCvQF+WTFWFxsVcQs8auwFjCSY6TmZ/HQtwRuwJPtwApKU09SV9bf+wKdFWc1TVMBOStVM2wK2Bj1YqODI6I5mXlwq4AHyAcWXRIMAQT7VAAACQKgMq9uRSqAAAAAElFTkSuQmCC',
'front' => true,
'[new]' => false,
'[accessible]' => [
[maximum depth reached]
],
'[dirty]' => [[maximum depth reached]],
'[original]' => [[maximum depth reached]],
'[virtual]' => [[maximum depth reached]],
'[hasErrors]' => false,
'[errors]' => [[maximum depth reached]],
'[invalid]' => [[maximum depth reached]],
'[repository]' => 'Locales'
},
(int) 2 => object(App\Model\Entity\Locale) {
'id' => '99c33239-48e4-4692-adb0-30a7c352e556',
'locale' => 'en',
'name' => 'English',
'position' => (int) 0,
'active' => true,
'flag' => 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAAA3QAAAN0BcFOiBwAAABl0RVh0U29mdHdhcmUAd3d3Lmlua3NjYXBlLm9yZ5vuPBoAAATuSURBVFiF7ZdrUNRlFMZ/+2dhXVoW5DJcAgTjamopziiWYuhMYpHGRUk0Gs1gIshboIYMoWNqahQyig41hJLXcgSvQ6VyS2WE1IBABRSZ5b673BZYdvtQ4QUYHb7QB55v7zlz5nnOvO+c57wivV7PSEIYUfZRAf8HAeJL65MbJ8UuvSQ2EveVPewy3naqxkPZ0SsZqmD+KxYPI9+0u9/iH+n9eNw8K6Uw5UKd4/k/ml98FqmrjVQd/65DhTg1015suzvFsuHM+SDV6nA8Q3xIWeHCrqxaUnPq6NbqBhR7jTdxBLx7coueTjk2tvWQW64aktja1IiNixxZ0ldDh1/CRM3tSgR1oD/CnWrGRsRQ89YnNBf9ReJiJ4q+9CJ4hhUi0bP6eTakRgIx/g4UhZmxMHk7qoBotOX3MF4ZiJDptwz1qTQ0Pt5I8q8jXfghle8nIGlt5eBH7vwS9yoz3UyHRSyIIPR1a4rXOhP56yE6fMPozilEMn8WlgWZyHfHICSdrcXvmJqL0bG0pu2hz9MFk9Pn0M8OoXRdMu5mcHbDJDKjPHG1kT43ue/LZuTFerKj/jdEc96jK+M0hpPdMM/ex9gju1Db2bMh8x4iArL7R6GLjZSEwHE45ediuf97qKsHK3OaVoXhuSYYvYFAVYMGVxspCrPpTxDaKK+ScKKaizdb2RrkyIziXNq3HUBX34yBvQ2yzRFIF89Ho9WTmlPH7uxa1F3aJwX8B283OYnv2GF8+CcsM46iV7ejc3VGGb2KCcvnAgwqoKpBg23JDdrjk9GW30MklyFbG4ZxRAhIjDh+tZEtJ6t50NzdXyc6kVs1qBkIgoiZrnI661tQXLn1iMhnMub2FoMK0LWo6L1R2h8znOKJYGEGQF1rN6W1nQN4REqlclhuNJiA4UBUjvuI2uGIj+JRASP+CMU5t1oHBCfYG2M39h9D1DUr6S0u688ZTp2AYD74aG6pbUZx+eYjUbMnYWxtTkGlGp1u8D7FQV//2X9wsJCwOdAJWzMJek0PnfuP0L4nHb26HbHHeGSJUdRoJTgP0Y25vQUKnQ6zbw8iVFbRK5dxd/kSTEIDiD9TR2GFekCNACCXivki2Inr27xYPN0SzbFzNE0Lpi0hBZFUgvybjdw8sBffPCnpVxRD0EOlogu3UF+sCw7TtGkNeokRFilpOASt4CvjuxyK9MDlKT8RIubZUbJjGp/62SNcLaH5jQ9QhSega1Ehi11JU1YGy5pcCEgqo7S2Y0hygMN59XjH3eDCbSUTY0IwuXaclpXLECnVWMZvZ0r0GjK8NOwMfQkLmSHw7yPUVlTTFr+X7vO5IAhIQ9+mK2oFW/La+TG/nsevb/UCexKCnIY0o6SztQDMdDNl6xJnpjrLaLijQJW4H5PsC6DTofHxpuezcDIVUsTqdTvpTD8F2j4k87wRx31McpWE5D1VdPUM3IieFwUVKuZuLSFouhXxgU64/pBAVW4wwvZ9jLlcyJj8ayxduABxZ9pJxBNdeSExiqMG4/gy/T71qp5hEz8OvR6O/97I6aJmwufZsd7fHfmZvZQduYxpUiryk1mIZXER17ThS2s///mBW6WiUe5mK8XNdujFw8rE6CFw32jWNO+nUoVWJkaOszxMB11Ki6vbiPzuTvemRePKPUN8OrUBrxnc2pE5RzT6NRsVMNIC/gaY0PLtJgQJ0gAAAABJRU5ErkJggg==',
'front' => true,
'[new]' => false,
'[accessible]' => [
[maximum depth reached]
],
'[dirty]' => [[maximum depth reached]],
'[original]' => [[maximum depth reached]],
'[virtual]' => [[maximum depth reached]],
'[hasErrors]' => false,
'[errors]' => [[maximum depth reached]],
'[invalid]' => [[maximum depth reached]],
'[repository]' => 'Locales'
},
(int) 3 => object(App\Model\Entity\Locale) {
'id' => 'a20c3c73-53c0-11e9-bb3d-7054d219d6c5',
'locale' => 'de',
'name' => 'Deutsch',
'position' => (int) 0,
'active' => true,
'flag' => 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgBAMAAACBVGfHAAAAA3NCSVQICAjb4U/gAAAACXBIWXMAAADdAAAA3QFwU6IHAAAAGXRFWHRTb2Z0d2FyZQB3d3cuaW5rc2NhcGUub3Jnm+48GgAAAB5QTFRF////SEhU/+BaRkZV/+FZwUlV/31WRkZV/0tV/+FagNv1tgAAAAd0Uk5TAFJSeHjAwPIGe2oAAAAqSURBVCjPY2FAAyzUEBBWQOH/Y0mhhS0YAvfQBYyHs7Xd6IF85w71bQEAwy4HmS9PAQYAAAAASUVORK5CYII=',
'front' => true,
'[new]' => false,
'[accessible]' => [
[maximum depth reached]
],
'[dirty]' => [[maximum depth reached]],
'[original]' => [[maximum depth reached]],
'[virtual]' => [[maximum depth reached]],
'[hasErrors]' => false,
'[errors]' => [[maximum depth reached]],
'[invalid]' => [[maximum depth reached]],
'[repository]' => 'Locales'
}
]
$session = object(Cake\Http\Session) {
[protected] _engine => null
[protected] _started => true
[protected] _lifetime => (int) 86400
[protected] _isCLI => false
}
$lng = 'la-maison'
$currentLocal = 'la-maison'
$settingsDB = object(SoftDelete\ORM\Query) {
'(help)' => 'This is a Query object, to get the results execute or iterate it.',
'sql' => 'SELECT Settings.id AS `Settings__id`, Settings.meta_key AS `Settings__meta_key`, Settings.meta_value AS `Settings__meta_value`, Settings.name AS `Settings__name`, Settings.description AS `Settings__description`, Settings.deleted AS `Settings__deleted`, Settings_meta_value_translation.id AS `Settings_meta_value_translation__id`, Settings_meta_value_translation.locale AS `Settings_meta_value_translation__locale`, Settings_meta_value_translation.model AS `Settings_meta_value_translation__model`, Settings_meta_value_translation.foreign_key AS `Settings_meta_value_translation__foreign_key`, Settings_meta_value_translation.field AS `Settings_meta_value_translation__field`, Settings_meta_value_translation.content AS `Settings_meta_value_translation__content`, Settings_name_translation.id AS `Settings_name_translation__id`, Settings_name_translation.locale AS `Settings_name_translation__locale`, Settings_name_translation.model AS `Settings_name_translation__model`, Settings_name_translation.foreign_key AS `Settings_name_translation__foreign_key`, Settings_name_translation.field AS `Settings_name_translation__field`, Settings_name_translation.content AS `Settings_name_translation__content`, Settings_description_translation.id AS `Settings_description_translation__id`, Settings_description_translation.locale AS `Settings_description_translation__locale`, Settings_description_translation.model AS `Settings_description_translation__model`, Settings_description_translation.foreign_key AS `Settings_description_translation__foreign_key`, Settings_description_translation.field AS `Settings_description_translation__field`, Settings_description_translation.content AS `Settings_description_translation__content` FROM settings Settings LEFT JOIN i18n Settings_meta_value_translation ON (Settings_meta_value_translation.model = :c0 AND Settings_meta_value_translation.field = :c1 AND Settings_meta_value_translation.locale = :c2 AND Settings.id = (Settings_meta_value_translation.foreign_key)) LEFT JOIN i18n Settings_name_translation ON (Settings_name_translation.model = :c3 AND Settings_name_translation.field = :c4 AND Settings_name_translation.locale = :c5 AND Settings.id = (Settings_name_translation.foreign_key)) LEFT JOIN i18n Settings_description_translation ON (Settings_description_translation.model = :c6 AND Settings_description_translation.field = :c7 AND Settings_description_translation.locale = :c8 AND Settings.id = (Settings_description_translation.foreign_key)) WHERE Settings.deleted IS NULL',
'params' => [
':c0' => [
[maximum depth reached]
],
':c1' => [
[maximum depth reached]
],
':c2' => [
[maximum depth reached]
],
':c3' => [
[maximum depth reached]
],
':c4' => [
[maximum depth reached]
],
':c5' => [
[maximum depth reached]
],
':c6' => [
[maximum depth reached]
],
':c7' => [
[maximum depth reached]
],
':c8' => [
[maximum depth reached]
]
],
'defaultTypes' => [
'Settings__id' => 'uuid',
'Settings.id' => 'uuid',
'id' => 'uuid',
'Settings__meta_key' => 'string',
'Settings.meta_key' => 'string',
'meta_key' => 'string',
'Settings__meta_value' => 'text',
'Settings.meta_value' => 'text',
'meta_value' => 'text',
'Settings__name' => 'string',
'Settings.name' => 'string',
'name' => 'string',
'Settings__description' => 'text',
'Settings.description' => 'text',
'description' => 'text',
'Settings__deleted' => 'datetime',
'Settings.deleted' => 'datetime',
'deleted' => 'datetime',
'I18n__id' => 'integer',
'I18n.id' => 'integer',
'I18n__locale' => 'string',
'I18n.locale' => 'string',
'locale' => 'string',
'I18n__model' => 'string',
'I18n.model' => 'string',
'model' => 'string',
'I18n__foreign_key' => 'uuid',
'I18n.foreign_key' => 'uuid',
'foreign_key' => 'uuid',
'I18n__field' => 'string',
'I18n.field' => 'string',
'field' => 'string',
'I18n__content' => 'text',
'I18n.content' => 'text',
'content' => 'text',
'Settings_meta_value_translation__id' => 'integer',
'Settings_meta_value_translation.id' => 'integer',
'Settings_meta_value_translation__locale' => 'string',
'Settings_meta_value_translation.locale' => 'string',
'Settings_meta_value_translation__model' => 'string',
'Settings_meta_value_translation.model' => 'string',
'Settings_meta_value_translation__foreign_key' => 'uuid',
'Settings_meta_value_translation.foreign_key' => 'uuid',
'Settings_meta_value_translation__field' => 'string',
'Settings_meta_value_translation.field' => 'string',
'Settings_meta_value_translation__content' => 'text',
'Settings_meta_value_translation.content' => 'text',
'Settings_name_translation__id' => 'integer',
'Settings_name_translation.id' => 'integer',
'Settings_name_translation__locale' => 'string',
'Settings_name_translation.locale' => 'string',
'Settings_name_translation__model' => 'string',
'Settings_name_translation.model' => 'string',
'Settings_name_translation__foreign_key' => 'uuid',
'Settings_name_translation.foreign_key' => 'uuid',
'Settings_name_translation__field' => 'string',
'Settings_name_translation.field' => 'string',
'Settings_name_translation__content' => 'text',
'Settings_name_translation.content' => 'text',
'Settings_description_translation__id' => 'integer',
'Settings_description_translation.id' => 'integer',
'Settings_description_translation__locale' => 'string',
'Settings_description_translation.locale' => 'string',
'Settings_description_translation__model' => 'string',
'Settings_description_translation.model' => 'string',
'Settings_description_translation__foreign_key' => 'uuid',
'Settings_description_translation.foreign_key' => 'uuid',
'Settings_description_translation__field' => 'string',
'Settings_description_translation.field' => 'string',
'Settings_description_translation__content' => 'text',
'Settings_description_translation.content' => 'text'
],
'decorators' => (int) 0,
'executed' => true,
'hydrate' => true,
'buffered' => true,
'formatters' => (int) 2,
'mapReducers' => (int) 0,
'contain' => [
'I18n' => [
[maximum depth reached]
],
'Settings_meta_value_translation' => [
[maximum depth reached]
],
'Settings_name_translation' => [
[maximum depth reached]
],
'Settings_description_translation' => [
[maximum depth reached]
]
],
'matching' => [],
'extraOptions' => [],
'repository' => object(App\Model\Table\SettingsTable) {}
}
$settings = [
'copyright' => null,
'facebook' => null,
'title_faq' => null,
'btn_discover_name' => null,
'btn_choose' => null,
'systempay_key' => null,
'partners_section_title' => null,
'assembly' => null,
'team_section_title' => null,
'sous_total' => null,
'title_cart' => null,
'title_house' => null
]
$titles = [
'copyright' => null,
'facebook' => null,
'title_faq' => null,
'btn_discover_name' => null,
'btn_choose' => null,
'systempay_key' => null,
'partners_section_title' => null,
'assembly' => null,
'team_section_title' => null,
'sous_total' => null,
'title_cart' => null
]
$key = (int) 11
$s = object(App\Model\Entity\Setting) {
'id' => '2af8a92b-4457-4a87-bbcb-77d2754b8a8a',
'meta_key' => 'title_house',
'meta_value' => '',
'name' => 'Maison',
'description' => '',
'deleted' => null,
'_locale' => 'la-maison',
'_translations' => [
'fr' => object(App\Model\Entity\Setting) {},
'en' => object(App\Model\Entity\Setting) {},
'es' => object(App\Model\Entity\Setting) {},
'pt' => object(App\Model\Entity\Setting) {},
'de' => object(App\Model\Entity\Setting) {},
'it' => object(App\Model\Entity\Setting) {}
],
'[new]' => false,
'[accessible]' => [
'meta_key' => true,
'meta_value' => true,
'name' => true,
'description' => true
],
'[dirty]' => [],
'[original]' => [],
'[virtual]' => [],
'[hasErrors]' => false,
'[errors]' => [],
'[invalid]' => [],
'[repository]' => 'Settings'
}
App\Controller\AppController::initialize() - APP/Controller/AppController.php, line 111
App\Controller\PagesController::initialize() - APP/Controller/PagesController.php, line 38
Cake\Controller\Controller::__construct() - CORE/src/Controller/Controller.php, line 273
ReflectionClass::newInstance() - [internal], line ??
Cake\Http\ControllerFactory::create() - CORE/src/Http/ControllerFactory.php, line 47
Cake\Http\ActionDispatcher::dispatch() - CORE/src/Http/ActionDispatcher.php, line 91
Cake\Http\BaseApplication::__invoke() - CORE/src/Http/BaseApplication.php, line 235
Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65
Cake\Routing\Middleware\RoutingMiddleware::__invoke() - CORE/src/Routing/Middleware/RoutingMiddleware.php, line 162
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 96
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 98
[main] - ROOT/webroot/index.php, line 40
Notice (8): Undefined index: la-maison [APP/Controller/AppController.php, line 110]Code Context foreach ($settingsDB as $key => $s) {
$settings[$s->meta_key] = $s->_translations[$this->getCurrentLocale()]->meta_value;
$titles[$s->meta_key] = $s->_translations[$this->getCurrentLocale()]->name;
$locales = [
(int) 0 => object(App\Model\Entity\Locale) {
'id' => 'c79e08dd-4b98-40da-812f-166a5627cafe',
'locale' => 'fr',
'name' => 'French',
'position' => (int) 1,
'active' => true,
'flag' => 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgBAMAAACBVGfHAAAAA3NCSVQICAjb4U/gAAAACXBIWXMAAADdAAAA3QFwU6IHAAAAGXRFWHRTb2Z0d2FyZQB3d3cuaW5rc2NhcGUub3Jnm+48GgAAACdQTFRF////QUib/0tUh4y+/XiAQkab9PT0/0pVkpTC/mRtQUeb9fX1/0tVpPINxQAAAAp0Uk5TAFJSamp4eHjGxmzCt2wAAAArSURBVCjPY2RAA4zUEBB1AJIPDYDEP2Eg8ZtxFQOKAMOoAOUCGIFMi6gEAD39PvX2T/ZKAAAAAElFTkSuQmCC',
'front' => true,
'[new]' => false,
'[accessible]' => [
[maximum depth reached]
],
'[dirty]' => [[maximum depth reached]],
'[original]' => [[maximum depth reached]],
'[virtual]' => [[maximum depth reached]],
'[hasErrors]' => false,
'[errors]' => [[maximum depth reached]],
'[invalid]' => [[maximum depth reached]],
'[repository]' => 'Locales'
},
(int) 1 => object(App\Model\Entity\Locale) {
'id' => '073aae08-53c1-11e9-bb3d-7054d219d6c5',
'locale' => 'es',
'name' => 'Español',
'position' => (int) 0,
'active' => true,
'flag' => 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAMAAABEpIrGAAAAA3NCSVQICAjb4U/gAAAACXBIWXMAAADdAAAA3QFwU6IHAAAAGXRFWHRTb2Z0d2FyZQB3d3cuaW5rc2NhcGUub3Jnm+48GgAAARpQTFRF////x0FLyEJKgXaZoI6wuKV1watwyEFLy0pLzntc0rZn1GJZ1WVW1bhm1mxd13JW13Vx2nFQ229L23JN23xM3IyF3I+V3JKY3Y2G3nVJ33dJ34Zs4JOA4XhH4X9Q4ZV845Bk5JJi5LG15aWL5btz5b185pFh5pRk5pZs5px558Nc6ItI6KR16cFp6pBI66lx7ZxQ7aNO7q1h7rR17tjW76BO78BX8KpP8LJk8buC8stZ9LhX9Net9PPz9efR9fHz9fX198BY98dz98xX99/s9+Lt9+3R+MVe+N2d+dOA+deU+eat+sBQ+stf+8hm+8xZ+9Bw/Lzd/MtQ/N2E/N6G/dlx/sxP/s5R/tRa/tZk/tdp/9JQ/9JR/9NThpihEAAAAAN0Uk5TAFJ4LCUCBgAAAKRJREFUOI1jYBgKgJEJL2BkYCcAqKCAgwBgiCYAYApiQ/xCY/AoiLGR4Vb2wKkgyDxaUVhI0CjaEIcCH1N3aTVLL+9wgzDsCoLtdLS1lQJdoxwisCvQF+WTFWFxsVcQs8auwFjCSY6TmZ/HQtwRuwJPtwApKU09SV9bf+wKdFWc1TVMBOStVM2wK2Bj1YqODI6I5mXlwq4AHyAcWXRIMAQT7VAAACQKgMq9uRSqAAAAAElFTkSuQmCC',
'front' => true,
'[new]' => false,
'[accessible]' => [
[maximum depth reached]
],
'[dirty]' => [[maximum depth reached]],
'[original]' => [[maximum depth reached]],
'[virtual]' => [[maximum depth reached]],
'[hasErrors]' => false,
'[errors]' => [[maximum depth reached]],
'[invalid]' => [[maximum depth reached]],
'[repository]' => 'Locales'
},
(int) 2 => object(App\Model\Entity\Locale) {
'id' => '99c33239-48e4-4692-adb0-30a7c352e556',
'locale' => 'en',
'name' => 'English',
'position' => (int) 0,
'active