Long Eaton Office
Notice (8): Trying to get property 'name' of non-object [ROOT/templates/Pages/office.php, line 11]Code Context<?=
'<span class="theme-color"><b>' . $category->location->name . '</b></span><br/>' .
$category->location->street . '<br/>' .
$templateFile ='/var/www/vhosts/drcs.org.uk/httpdocs/templates/Pages/office.php'$dataForView =[ 'category' => object(App\Model\Entity\CategoryDataset) id:0 { 'id' => (int) 30 'h1' => 'Long Eaton Office' 'meta_title' => 'Long Eaton Office' 'meta_keywords' => 'long eaton office drcs, long eaton, office, drcs' 'meta_description' => 'Contact details for the DRCS Long Eaton office' 'description' => 'Contact details for the DRCS Long Eaton office' 'sub_description' => '' 'banner_image' => '' 'category_image' => '' 'forward_date' => null 'template' => 'office' 'url' => 'long-eaton-office' 'disabled' => (int) 0 'created' => object(Cake\I18n\FrozenTime) id:1 { } 'modified' => object(Cake\I18n\FrozenTime) id:2 { } 'faqs' => [ ] 'location' => null 'categories' => [ (int) 0 => object(App\Model\Entity\Category) id:3 { }, ] '_matchingData' => [ 'Categories' => object(App\Model\Entity\Category) id:4 { }, 'Domains' => object(App\Model\Entity\Domain) id:5 { }, 'CategoriesDomains' => object(Cake\ORM\Entity) id:6 { }, ] '[new]' => false '[accessible]' => [ 'h1' => true, 'meta_title' => true, 'meta_keywords' => true, 'meta_description' => true, 'description' => true, 'sub_description' => true, 'banner_image' => true, 'category_image' => true, 'forward_date' => true, 'template' => true, 'url' => true, 'disabled' => true, 'created' => true, 'modified' => true, 'categories' => true, 'faqs' => true, ] '[dirty]' => [ ] '[original]' => [ ] '[virtual]' => [ ] '[hasErrors]' => false '[errors]' => [ ] '[invalid]' => [ ] '[repository]' => 'CategoryDatasets' protected _accessible => [ '' => [maximum depth reached], ] protected _fields => [ '' => [maximum depth reached], ] protected _original => [ '' => [maximum depth reached], ] protected _hidden => [ '' => [maximum depth reached], ] protected _virtual => [ '' => [maximum depth reached], ] protected _dirty => [ '' => [maximum depth reached], ] protected _accessors => [ '' => [maximum depth reached], ] protected _new => false protected _errors => [ '' => [maximum depth reached], ] protected _invalid => [ '' => [maximum depth reached], ] protected _registryAlias => 'CategoryDatasets' }, 'breadcrumbs' => object(Cake\ORM\ResultSet) id:7 { 'items' => [ (int) 0 => object(App\Model\Entity\Category) id:8 { }, (int) 1 => object(App\Model\Entity\Category) id:9 { }, ] protected _statement => object(Cake\Database\Statement\CallbackStatement) id:10 { } protected _index => (int) 2 protected _current => object(App\Model\Entity\Category) id: 9 {} protected _defaultTable => object(App\Model\Table\CategoriesTable) id:11 { } protected _defaultAlias => 'Categories' protected _matchingMap => [ '' => [maximum depth reached], ] protected _containMap => [ '' => [maximum depth reached], ] protected _map => [ '' => [maximum depth reached], ] protected _matchingMapColumns => [ '' => [maximum depth reached], ] protected _results => object(SplFixedArray) id:12 { } protected _hydrate => true protected _autoFields => null protected _entityClass => 'App\Model\Entity\Category' protected _useBuffering => true protected _count => (int) 2 protected _driver => object(Cake\Database\Driver\Mysql) id:13 { } }, 'categories' => object(Cake\ORM\Query) id:14 { '(help)' => 'This is a Query object, to get the results execute or iterate it.' 'sql' => 'SELECT Categories.id AS Categories__id, Categories.name AS Categories__name, Categories.position AS Categories__position, Categories.category_dataset_id AS Categories__category_dataset_id, Categories.exclude_from_menu AS Categories__exclude_from_menu, Categories.parent_id AS Categories__parent_id, Categories.lft AS Categories__lft, Categories.rght AS Categories__rght, CategoryDatasets.id AS CategoryDatasets__id, CategoryDatasets.h1 AS CategoryDatasets__h1, CategoryDatasets.meta_title AS CategoryDatasets__meta_title, CategoryDatasets.meta_keywords AS CategoryDatasets__meta_keywords, CategoryDatasets.meta_description AS CategoryDatasets__meta_description, CategoryDatasets.description AS CategoryDatasets__description, CategoryDatasets.sub_description AS CategoryDatasets__sub_description, CategoryDatasets.banner_image AS CategoryDatasets__banner_image, CategoryDatasets.category_image AS CategoryDatasets__category_image, CategoryDatasets.forward_date AS CategoryDatasets__forward_date, CategoryDatasets.template AS CategoryDatasets__template, CategoryDatasets.url AS CategoryDatasets__url, CategoryDatasets.disabled AS CategoryDatasets__disabled, CategoryDatasets.created AS CategoryDatasets__created, CategoryDatasets.modified AS CategoryDatasets__modified, CategoriesDomains.id AS CategoriesDomains__id, CategoriesDomains.category_id AS CategoriesDomains__category_id, CategoriesDomains.domain_id AS CategoriesDomains__domain_id, Domains.id AS Domains__id, Domains.domain AS Domains__domain FROM categories Categories INNER JOIN category_datasets CategoryDatasets ON (CategoryDatasets.disabled = :c0 AND ((forward_date) IS NULL OR forward_date <= (CURRENT_DATE())) AND CategoryDatasets.id = (Categories.category_dataset_id)) INNER JOIN categories_domains CategoriesDomains ON Categories.id = (CategoriesDomains.category_id) INNER JOIN domains Domains ON (domain = :c1 AND Domains.id = (CategoriesDomains.domain_id)) WHERE exclude_from_menu = :c2 ORDER BY position' 'params' => [ ':c0' => [ '' => [maximum depth reached], ], ':c1' => [ '' => [maximum depth reached], ], ':c2' => [ '' => [maximum depth reached], ], ] 'defaultTypes' => [ 'Categories__id' => 'smallinteger', 'Categories.id' => 'smallinteger', 'id' => 'smallinteger', 'Categories__name' => 'string', 'Categories.name' => 'string', 'name' => 'string', 'Categories__position' => 'smallinteger', 'Categories.position' => 'smallinteger', 'position' => 'smallinteger', 'Categories__category_dataset_id' => 'smallinteger', 'Categories.category_dataset_id' => 'smallinteger', 'category_dataset_id' => 'smallinteger', 'Categories__exclude_from_menu' => 'tinyinteger', 'Categories.exclude_from_menu' => 'tinyinteger', 'exclude_from_menu' => 'tinyinteger', 'Categories__parent_id' => 'integer', 'Categories.parent_id' => 'integer', 'parent_id' => 'integer', 'Categories__lft' => 'integer', 'Categories.lft' => 'integer', 'lft' => 'integer', 'Categories__rght' => 'integer', 'Categories.rght' => 'integer', 'rght' => 'integer', 'CategoryDatasets__id' => 'smallinteger', 'CategoryDatasets.id' => 'smallinteger', 'CategoryDatasets__h1' => 'string', 'CategoryDatasets.h1' => 'string', 'h1' => 'string', 'CategoryDatasets__meta_title' => 'string', 'CategoryDatasets.meta_title' => 'string', 'meta_title' => 'string', 'CategoryDatasets__meta_keywords' => 'string', 'CategoryDatasets.meta_keywords' => 'string', 'meta_keywords' => 'string', 'CategoryDatasets__meta_description' => 'text', 'CategoryDatasets.meta_description' => 'text', 'meta_description' => 'text', 'CategoryDatasets__description' => 'string', 'CategoryDatasets.description' => 'string', 'description' => 'string', 'CategoryDatasets__sub_description' => 'text', 'CategoryDatasets.sub_description' => 'text', 'sub_description' => 'text', 'CategoryDatasets__banner_image' => 'string', 'CategoryDatasets.banner_image' => 'string', 'banner_image' => 'string', 'CategoryDatasets__category_image' => 'string', 'CategoryDatasets.category_image' => 'string', 'category_image' => 'string', 'CategoryDatasets__forward_date' => 'date', 'CategoryDatasets.forward_date' => 'date', 'forward_date' => 'date', 'CategoryDatasets__template' => 'string', 'CategoryDatasets.template' => 'string', 'template' => 'string', 'CategoryDatasets__url' => 'string', 'CategoryDatasets.url' => 'string', 'url' => 'string', 'CategoryDatasets__disabled' => 'tinyinteger', 'CategoryDatasets.disabled' => 'tinyinteger', 'disabled' => 'tinyinteger', 'CategoryDatasets__created' => 'datetime', 'CategoryDatasets.created' => 'datetime', 'created' => 'datetime', 'CategoryDatasets__modified' => 'datetime', 'CategoryDatasets.modified' => 'datetime', 'modified' => 'datetime', 'Domains__id' => 'tinyinteger', 'Domains.id' => 'tinyinteger', 'Domains__domain' => 'string', 'Domains.domain' => 'string', 'domain' => 'string', 'CategoriesDomains__id' => 'integer', 'CategoriesDomains.id' => 'integer', 'CategoriesDomains__category_id' => 'smallinteger', 'CategoriesDomains.category_id' => 'smallinteger', 'category_id' => 'smallinteger', 'CategoriesDomains__domain_id' => 'tinyinteger', 'CategoriesDomains.domain_id' => 'tinyinteger', 'domain_id' => 'tinyinteger', ] 'decorators' => (int) 0 'executed' => false 'hydrate' => true 'buffered' => true 'formatters' => (int) 1 'mapReducers' => (int) 0 'contain' => [ 'CategoryDatasets' => [ '' => [maximum depth reached], ], ] 'matching' => [ 'CategoryDatasets' => [ '' => [maximum depth reached], ], 'Domains' => [ '' => [maximum depth reached], ], ] 'extraOptions' => [ 'result_type' => 'threaded', ] 'repository' => object(App\Model\Table\CategoriesTable) id: 11 {} protected _hasFields => false protected _autoFields => null protected _hydrate => true protected aliasingEnabled => true protected _counter => null protected _eagerLoader => object(Cake\ORM\EagerLoader) id:15 { } protected _beforeFindFired => true protected _resultsCount => null protected _connection => object(Cake\Database\Connection) id:16 { } protected _type => 'select' protected _parts => [ '' => [maximum depth reached], ] protected _selectParts => [ '' => [maximum depth reached], ] protected _updateParts => [ '' => [maximum depth reached], ] protected _deleteParts => [ '' => [maximum depth reached], ] protected _insertParts => [ '' => [maximum depth reached], ] protected _dirty => true protected _resultDecorators => [ '' => [maximum depth reached], ] protected _iterator => null protected _valueBinder => object(Cake\Database\ValueBinder) id:17 { } protected _functionsBuilder => null protected _useBufferedResults => true protected _selectTypeMap => object(Cake\Database\TypeMap) id:18 { } protected typeCastEnabled => true protected _typeMap => object(Cake\Database\TypeMap) id:19 { } protected _repository => object(App\Model\Table\CategoriesTable) id: 11 {} protected _results => null protected _mapReduce => [ '' => [maximum depth reached], ] protected _formatters => [ '' => [maximum depth reached], ] protected _cache => null protected _options => [ '' => [maximum depth reached], ] protected _eagerLoaded => false }, 'companyDetails' => object(App\Model\Entity\CompanyDetail) id:20 { 'id' => (int) 4 'domain_id' => (int) 1 'company_name' => 'Derwent Rural Counselling Service' 'logo' => '/img/drcs-logo.png' 'logo_alt' => 'Derwent Rural Counselling Service' 'phone' => '0800 047 6861' 'email' => 'admin@drcs.org.uk' 'address_line_1' => 'Serenity House' 'address_line_2' => 'New Beetwell Street' 'address_line_3' => '' 'city' => 'Chesterfield' 'county' => '' 'postcode' => 'S40 1QR' 'country' => 'United Kingdom' 'company_number' => '06081874' 'vat_reg_number' => '' 'social_medias' => [ (int) 0 => object(App\Model\Entity\SocialMedia) id:21 { }, ] '_matchingData' => [ 'Domains' => object(App\Model\Entity\Domain) id:22 { }, ] '[new]' => false '[accessible]' => [ 'domain_id' => true, 'company_name' => true, 'logo' => true, 'logo_alt' => true, 'phone' => true, 'email' => true, 'address_line_1' => true, 'address_line_2' => true, 'address_line_3' => true, 'city' => true, 'county' => true, 'postcode' => true, 'country' => true, 'company_number' => true, 'vat_reg_number' => true, 'domain' => true, 'social_medias' => true, ] '[dirty]' => [ ] '[original]' => [ ] '[virtual]' => [ ] '[hasErrors]' => false '[errors]' => [ ] '[invalid]' => [ ] '[repository]' => 'CompanyDetails' protected _accessible => [ '' => [maximum depth reached], ] protected _fields => [ '' => [maximum depth reached], ] protected _original => [ '' => [maximum depth reached], ] protected _hidden => [ '' => [maximum depth reached], ] protected _virtual => [ '' => [maximum depth reached], ] protected _dirty => [ '' => [maximum depth reached], ] protected _accessors => [ '' => [maximum depth reached], ] protected _new => false protected _errors => [ '' => [maximum depth reached], ] protected _invalid => [ '' => [maximum depth reached], ] protected _registryAlias => 'CompanyDetails' }, 'configuration' => object(App\Model\Entity\Configuration) id:23 { 'id' => (int) 2 'domain_id' => (int) 1 'recaptcha_site_key' => '6Lf0zrEqAAAAANIAopzBZeBty2lC6ULnVfYfPAmW' 'recaptcha_secret_key' => '6Lf0zrEqAAAAAKXiK7VpSAJ3DiYhVs8kd6KBND34' 'dropdown_menu_links_number' => (int) 8 'news_menu_links_number' => (int) 8 'meta_robots' => 'index, follow' 'google_analytics' => '<!-- Global site tag (gtag.js) - Google Analytics --> <script async src="https://www.googletagmanager.com/gtag/js?id=G-9Q9Z19W2TG"></script> <script> window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config', 'G-9Q9Z19W2TG'); </script> <!-- Google tag (gtag.js) --> <script async src="https://www.googletagmanager.com/gtag/js?id=AW-797395108"></script> <script> window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config', 'AW-797395108'); </script>' '_matchingData' => [ 'Domains' => object(App\Model\Entity\Domain) id:24 { }, ] '[new]' => false '[accessible]' => [ 'domain_id' => true, 'recaptcha_site_key' => true, 'recaptcha_secret_key' => true, 'dropdown_menu_links_number' => true, 'news_menu_links_number' => true, 'meta_robots' => true, 'google_analytics' => true, 'domain' => true, ] '[dirty]' => [ ] '[original]' => [ ] '[virtual]' => [ ] '[hasErrors]' => false '[errors]' => [ ] '[invalid]' => [ ] '[repository]' => 'Configurations' protected _accessible => [ '' => [maximum depth reached], ] protected _fields => [ '' => [maximum depth reached], ] protected _original => [ '' => [maximum depth reached], ] protected _hidden => [ '' => [maximum depth reached], ] protected _virtual => [ '' => [maximum depth reached], ] protected _dirty => [ '' => [maximum depth reached], ] protected _accessors => [ '' => [maximum depth reached], ] protected _new => false protected _errors => [ '' => [maximum depth reached], ] protected _invalid => [ '' => [maximum depth reached], ] protected _registryAlias => 'Configurations' }, 'form' => object(App\Form\ContactForm) id:25 { '_schema' => [ '_fields' => [ '' => [maximum depth reached], ], ] '_errors' => [ ] '_validator' => [ '_presenceMessages' => [ '' => [maximum depth reached], ], '_allowEmptyMessages' => [ '' => [maximum depth reached], ], '_allowEmptyFlags' => [ '' => [maximum depth reached], ], '_useI18n' => true, '_stopOnFailure' => false, '_providers' => [ '' => [maximum depth reached], ], '_fields' => [ '' => [maximum depth reached], ], ] '_schemaClass' => 'Cake\Form\Schema' '_data' => [ ] '_eventManager' => object(Cake\Event\EventManager) id:26 { } '_eventClass' => 'Cake\Event\Event' '_validatorClass' => 'Cake\Validation\Validator' '_validators' => [ 'default' => object(Cake\Validation\Validator) id:27 { }, ] protected _schemaClass => 'Cake\Form\Schema' protected _schema => object(Cake\Form\Schema) id:28 { } protected _errors => [ '' => [maximum depth reached], ] protected _data => [ '' => [maximum depth reached], ] protected _eventManager => object(Cake\Event\EventManager) id: 26 {} protected _eventClass => 'Cake\Event\Event' protected _validatorClass => 'Cake\Validation\Validator' protected _validators => [ '' => [maximum depth reached], ] }, ]$bufferLevel =(int) 1$category =object(App\Model\Entity\CategoryDataset) id:0 { 'id' => (int) 30 'h1' => 'Long Eaton Office' 'meta_title' => 'Long Eaton Office' 'meta_keywords' => 'long eaton office drcs, long eaton, office, drcs' 'meta_description' => 'Contact details for the DRCS Long Eaton office' 'description' => 'Contact details for the DRCS Long Eaton office' 'sub_description' => '' 'banner_image' => '' 'category_image' => '' 'forward_date' => null 'template' => 'office' 'url' => 'long-eaton-office' 'disabled' => (int) 0 'created' => object(Cake\I18n\FrozenTime) id:1 { 'time' => '2021-03-08 13:04:03.000000+00:00' 'timezone' => 'UTC' 'fixedNowTime' => false protected _toStringFormat => [ '' => [maximum depth reached], ] protected _jsonEncodeFormat => 'yyyy-MM-dd'T'HH':'mm':'ssxxx' protected testNow => null protected toStringFormat => 'Y-m-d H:i:s' protected weekendDays => [ '' => [maximum depth reached], ] protected diffFormatter => null protected _lastErrors => [ '' => [maximum depth reached], ] protected days => [ '' => [maximum depth reached], ] protected weekStartsAt => (int) 1 protected weekEndsAt => (int) 7 protected relativePattern => '/this|next|last|tomorrow|yesterday|midnight|today|[+-]|first|last|ago/i' protected defaultLocale => 'en-GB' protected lenientParsing => true protected _formatters => [ '' => [maximum depth reached], ] } 'modified' => object(Cake\I18n\FrozenTime) id:2 { 'time' => '2021-03-08 13:04:03.000000+00:00' 'timezone' => 'UTC' 'fixedNowTime' => false protected _toStringFormat => [ '' => [maximum depth reached], ] protected _jsonEncodeFormat => 'yyyy-MM-dd'T'HH':'mm':'ssxxx' protected testNow => null protected toStringFormat => 'Y-m-d H:i:s' protected weekendDays => [ '' => [maximum depth reached], ] protected diffFormatter => null protected _lastErrors => [ '' => [maximum depth reached], ] protected days => [ '' => [maximum depth reached], ] protected weekStartsAt => (int) 1 protected weekEndsAt => (int) 7 protected relativePattern => '/this|next|last|tomorrow|yesterday|midnight|today|[+-]|first|last|ago/i' protected defaultLocale => 'en-GB' protected lenientParsing => true protected _formatters => [ '' => [maximum depth reached], ] } 'faqs' => [ ] 'location' => null 'categories' => [ (int) 0 => object(App\Model\Entity\Category) id:3 { }, ] '_matchingData' => [ 'Categories' => object(App\Model\Entity\Category) id:4 { }, 'Domains' => object(App\Model\Entity\Domain) id:5 { }, 'CategoriesDomains' => object(Cake\ORM\Entity) id:6 { }, ] '[new]' => false '[accessible]' => [ 'h1' => true, 'meta_title' => true, 'meta_keywords' => true, 'meta_description' => true, 'description' => true, 'sub_description' => true, 'banner_image' => true, 'category_image' => true, 'forward_date' => true, 'template' => true, 'url' => true, 'disabled' => true, 'created' => true, 'modified' => true, 'categories' => true, 'faqs' => true, ] '[dirty]' => [ ] '[original]' => [ ] '[virtual]' => [ ] '[hasErrors]' => false '[errors]' => [ ] '[invalid]' => [ ] '[repository]' => 'CategoryDatasets' protected _accessible => [ 'h1' => true, 'meta_title' => true, 'meta_keywords' => true, 'meta_description' => true, 'description' => true, 'sub_description' => true, 'banner_image' => true, 'category_image' => true, 'forward_date' => true, 'template' => true, 'url' => true, 'disabled' => true, 'created' => true, 'modified' => true, 'categories' => true, 'faqs' => true, ] protected _fields => [ 'id' => (int) 30, 'h1' => 'Long Eaton Office', 'meta_title' => 'Long Eaton Office', 'meta_keywords' => 'long eaton office drcs, long eaton, office, drcs', 'meta_description' => 'Contact details for the DRCS Long Eaton office', 'description' => 'Contact details for the DRCS Long Eaton office', 'sub_description' => '', 'banner_image' => '', 'category_image' => '', 'forward_date' => null, 'template' => 'office', 'url' => 'long-eaton-office', 'disabled' => (int) 0, 'created' => object(Cake\I18n\FrozenTime) id: 1 {}, 'modified' => object(Cake\I18n\FrozenTime) id: 2 {}, 'faqs' => [ '' => [maximum depth reached], ], 'location' => null, 'categories' => [ '' => [maximum depth reached], ], '_matchingData' => [ '' => [maximum depth reached], ], ] protected _original => [ ] protected _hidden => [ ] protected _virtual => [ ] protected _dirty => [ ] protected _accessors => [ 'App\Model\Entity\Configuration' => [ '' => [maximum depth reached], ], 'App\Model\Entity\SocialMedia' => [ '' => [maximum depth reached], ], 'App\Model\Entity\Category' => [ '' => [maximum depth reached], ], 'App\Model\Entity\CategoryDataset' => [ '' => [maximum depth reached], ], ] protected _new => false protected _errors => [ ] protected _invalid => [ ] protected _registryAlias => 'CategoryDatasets' }$breadcrumbs =object(Cake\ORM\ResultSet) id:0 { 'items' => [ (int) 0 => object(App\Model\Entity\Category) id:1 { }, (int) 1 => object(App\Model\Entity\Category) id:2 { }, ] protected _statement => object(Cake\Database\Statement\CallbackStatement) id:3 { } protected _index => (int) 2 protected _current => object(App\Model\Entity\Category) id: 2 {} protected _defaultTable => object(App\Model\Table\CategoriesTable) id:4 { } protected _defaultAlias => 'Categories' protected _matchingMap => [ ] protected _containMap => [ 'CategoryDatasets' => [ '' => [maximum depth reached], ], ] protected _map => [ 'Categories' => [ '' => [maximum depth reached], ], 'CategoryDatasets' => [ '' => [maximum depth reached], ], ] protected _matchingMapColumns => [ ] protected _results => object(SplFixedArray) id:5 { } protected _hydrate => true protected _autoFields => null protected _entityClass => 'App\Model\Entity\Category' protected _useBuffering => true protected _count => (int) 2 protected _driver => object(Cake\Database\Driver\Mysql) id:6 { } }$categories =object(Cake\ORM\Query) id:0 { '(help)' => 'This is a Query object, to get the results execute or iterate it.' 'sql' => 'SELECT Categories.id AS Categories__id, Categories.name AS Categories__name, Categories.position AS Categories__position, Categories.category_dataset_id AS Categories__category_dataset_id, Categories.exclude_from_menu AS Categories__exclude_from_menu, Categories.parent_id AS Categories__parent_id, Categories.lft AS Categories__lft, Categories.rght AS Categories__rght, CategoryDatasets.id AS CategoryDatasets__id, CategoryDatasets.h1 AS CategoryDatasets__h1, CategoryDatasets.meta_title AS CategoryDatasets__meta_title, CategoryDatasets.meta_keywords AS CategoryDatasets__meta_keywords, CategoryDatasets.meta_description AS CategoryDatasets__meta_description, CategoryDatasets.description AS CategoryDatasets__description, CategoryDatasets.sub_description AS CategoryDatasets__sub_description, CategoryDatasets.banner_image AS CategoryDatasets__banner_image, CategoryDatasets.category_image AS CategoryDatasets__category_image, CategoryDatasets.forward_date AS CategoryDatasets__forward_date, CategoryDatasets.template AS CategoryDatasets__template, CategoryDatasets.url AS CategoryDatasets__url, CategoryDatasets.disabled AS CategoryDatasets__disabled, CategoryDatasets.created AS CategoryDatasets__created, CategoryDatasets.modified AS CategoryDatasets__modified, CategoriesDomains.id AS CategoriesDomains__id, CategoriesDomains.category_id AS CategoriesDomains__category_id, CategoriesDomains.domain_id AS CategoriesDomains__domain_id, Domains.id AS Domains__id, Domains.domain AS Domains__domain FROM categories Categories INNER JOIN category_datasets CategoryDatasets ON (CategoryDatasets.disabled = :c0 AND ((forward_date) IS NULL OR forward_date <= (CURRENT_DATE())) AND CategoryDatasets.id = (Categories.category_dataset_id)) INNER JOIN categories_domains CategoriesDomains ON Categories.id = (CategoriesDomains.category_id) INNER JOIN domains Domains ON (domain = :c1 AND Domains.id = (CategoriesDomains.domain_id)) WHERE exclude_from_menu = :c2 ORDER BY position' 'params' => [ ':c0' => [ 'value' => (int) 0, 'type' => 'tinyinteger', 'placeholder' => 'c0', ], ':c1' => [ 'value' => 'drcs.org.uk', 'type' => 'string', 'placeholder' => 'c1', ], ':c2' => [ 'value' => (int) 0, 'type' => 'tinyinteger', 'placeholder' => 'c2', ], ] 'defaultTypes' => [ 'Categories__id' => 'smallinteger', 'Categories.id' => 'smallinteger', 'id' => 'smallinteger', 'Categories__name' => 'string', 'Categories.name' => 'string', 'name' => 'string', 'Categories__position' => 'smallinteger', 'Categories.position' => 'smallinteger', 'position' => 'smallinteger', 'Categories__category_dataset_id' => 'smallinteger', 'Categories.category_dataset_id' => 'smallinteger', 'category_dataset_id' => 'smallinteger', 'Categories__exclude_from_menu' => 'tinyinteger', 'Categories.exclude_from_menu' => 'tinyinteger', 'exclude_from_menu' => 'tinyinteger', 'Categories__parent_id' => 'integer', 'Categories.parent_id' => 'integer', 'parent_id' => 'integer', 'Categories__lft' => 'integer', 'Categories.lft' => 'integer', 'lft' => 'integer', 'Categories__rght' => 'integer', 'Categories.rght' => 'integer', 'rght' => 'integer', 'CategoryDatasets__id' => 'smallinteger', 'CategoryDatasets.id' => 'smallinteger', 'CategoryDatasets__h1' => 'string', 'CategoryDatasets.h1' => 'string', 'h1' => 'string', 'CategoryDatasets__meta_title' => 'string', 'CategoryDatasets.meta_title' => 'string', 'meta_title' => 'string', 'CategoryDatasets__meta_keywords' => 'string', 'CategoryDatasets.meta_keywords' => 'string', 'meta_keywords' => 'string', 'CategoryDatasets__meta_description' => 'text', 'CategoryDatasets.meta_description' => 'text', 'meta_description' => 'text', 'CategoryDatasets__description' => 'string', 'CategoryDatasets.description' => 'string', 'description' => 'string', 'CategoryDatasets__sub_description' => 'text', 'CategoryDatasets.sub_description' => 'text', 'sub_description' => 'text', 'CategoryDatasets__banner_image' => 'string', 'CategoryDatasets.banner_image' => 'string', 'banner_image' => 'string', 'CategoryDatasets__category_image' => 'string', 'CategoryDatasets.category_image' => 'string', 'category_image' => 'string', 'CategoryDatasets__forward_date' => 'date', 'CategoryDatasets.forward_date' => 'date', 'forward_date' => 'date', 'CategoryDatasets__template' => 'string', 'CategoryDatasets.template' => 'string', 'template' => 'string', 'CategoryDatasets__url' => 'string', 'CategoryDatasets.url' => 'string', 'url' => 'string', 'CategoryDatasets__disabled' => 'tinyinteger', 'CategoryDatasets.disabled' => 'tinyinteger', 'disabled' => 'tinyinteger', 'CategoryDatasets__created' => 'datetime', 'CategoryDatasets.created' => 'datetime', 'created' => 'datetime', 'CategoryDatasets__modified' => 'datetime', 'CategoryDatasets.modified' => 'datetime', 'modified' => 'datetime', 'Domains__id' => 'tinyinteger', 'Domains.id' => 'tinyinteger', 'Domains__domain' => 'string', 'Domains.domain' => 'string', 'domain' => 'string', 'CategoriesDomains__id' => 'integer', 'CategoriesDomains.id' => 'integer', 'CategoriesDomains__category_id' => 'smallinteger', 'CategoriesDomains.category_id' => 'smallinteger', 'category_id' => 'smallinteger', 'CategoriesDomains__domain_id' => 'tinyinteger', 'CategoriesDomains.domain_id' => 'tinyinteger', 'domain_id' => 'tinyinteger', ] 'decorators' => (int) 0 'executed' => false 'hydrate' => true 'buffered' => true 'formatters' => (int) 1 'mapReducers' => (int) 0 'contain' => [ 'CategoryDatasets' => [ ], ] 'matching' => [ 'CategoryDatasets' => [ 'queryBuilder' => object(Closure) id:1 { }, 'matching' => true, 'joinType' => 'INNER', ], 'Domains' => [ 'queryBuilder' => object(Closure) id:2 { }, 'matching' => true, 'joinType' => 'INNER', ], ] 'extraOptions' => [ 'result_type' => 'threaded', ] 'repository' => object(App\Model\Table\CategoriesTable) id:3 { 'registryAlias' => 'Categories' 'table' => 'categories' 'alias' => 'Categories' 'entityClass' => 'App\Model\Entity\Category' 'associations' => [ (int) 0 => 'CategoryDatasets', (int) 1 => 'ParentCategories', (int) 2 => 'ChildCategories', (int) 3 => 'Domains', (int) 4 => 'CategoriesDomains', ] 'behaviors' => [ (int) 0 => 'Domain', (int) 1 => 'Tree', ] 'defaultConnection' => 'default' 'connectionName' => 'default' protected _table => 'categories' protected _alias => 'Categories' protected _connection => object(Cake\Database\Connection) id:4 { } protected _schema => object(Cake\Database\Schema\TableSchema) id:5 { } protected _primaryKey => 'id' protected _displayField => 'name' protected _associations => object(Cake\ORM\AssociationCollection) id:6 { } protected _behaviors => object(Cake\ORM\BehaviorRegistry) id:7 { } protected _entityClass => 'App\Model\Entity\Category' protected _registryAlias => 'Categories' protected _eventManager => object(Cake\Event\EventManager) id:8 { } protected _eventClass => 'Cake\Event\Event' protected _rulesChecker => null protected _validatorClass => 'Cake\Validation\Validator' protected _validators => [ '' => [maximum depth reached], ] } protected _hasFields => true protected _autoFields => null protected _hydrate => true protected aliasingEnabled => true protected _counter => null protected _eagerLoader => object(Cake\ORM\EagerLoader) id:9 { } protected _beforeFindFired => true protected _resultsCount => null protected _connection => object(Cake\Database\Connection) id: 4 {} protected _type => 'select' protected _parts => [ 'delete' => true, 'update' => [ '' => [maximum depth reached], ], 'set' => [ '' => [maximum depth reached], ], 'insert' => [ '' => [maximum depth reached], ], 'values' => [ '' => [maximum depth reached], ], 'with' => [ '' => [maximum depth reached], ], 'select' => [ '' => [maximum depth reached], ], 'distinct' => false, 'modifier' => [ '' => [maximum depth reached], ], 'from' => [ '' => [maximum depth reached], ], 'join' => [ '' => [maximum depth reached], ], 'where' => object(Cake\Database\Expression\QueryExpression) id:10 { }, 'group' => [ '' => [maximum depth reached], ], 'having' => null, 'window' => [ '' => [maximum depth reached], ], 'order' => object(Cake\Database\Expression\OrderByExpression) id:11 { }, 'limit' => null, 'offset' => null, 'union' => [ '' => [maximum depth reached], ], 'epilog' => null, ] protected _selectParts => [ (int) 0 => 'with', (int) 1 => 'select', (int) 2 => 'from', (int) 3 => 'join', (int) 4 => 'where', (int) 5 => 'group', (int) 6 => 'having', (int) 7 => 'order', (int) 8 => 'limit', (int) 9 => 'offset', (int) 10 => 'union', (int) 11 => 'epilog', ] protected _updateParts => [ (int) 0 => 'with', (int) 1 => 'update', (int) 2 => 'set', (int) 3 => 'where', (int) 4 => 'epilog', ] protected _deleteParts => [ (int) 0 => 'with', (int) 1 => 'delete', (int) 2 => 'modifier', (int) 3 => 'from', (int) 4 => 'where', (int) 5 => 'epilog', ] protected _insertParts => [ (int) 0 => 'with', (int) 1 => 'insert', (int) 2 => 'values', (int) 3 => 'epilog', ] protected _dirty => true protected _resultDecorators => [ ] protected _iterator => null protected _valueBinder => object(Cake\Database\ValueBinder) id:12 { } protected _functionsBuilder => null protected _useBufferedResults => true protected _selectTypeMap => object(Cake\Database\TypeMap) id:13 { } protected typeCastEnabled => true protected _typeMap => object(Cake\Database\TypeMap) id:14 { } protected _repository => object(App\Model\Table\CategoriesTable) id: 3 {} protected _results => null protected _mapReduce => [ ] protected _formatters => [ (int) 0 => object(Closure) id:15 { }, ] protected _cache => null protected _options => [ 'result_type' => 'threaded', ] protected _eagerLoaded => false }$companyDetails =object(App\Model\Entity\CompanyDetail) id:0 { 'id' => (int) 4 'domain_id' => (int) 1 'company_name' => 'Derwent Rural Counselling Service' 'logo' => '/img/drcs-logo.png' 'logo_alt' => 'Derwent Rural Counselling Service' 'phone' => '0800 047 6861' 'email' => 'admin@drcs.org.uk' 'address_line_1' => 'Serenity House' 'address_line_2' => 'New Beetwell Street' 'address_line_3' => '' 'city' => 'Chesterfield' 'county' => '' 'postcode' => 'S40 1QR' 'country' => 'United Kingdom' 'company_number' => '06081874' 'vat_reg_number' => '' 'social_medias' => [ (int) 0 => object(App\Model\Entity\SocialMedia) id:1 { }, ] '_matchingData' => [ 'Domains' => object(App\Model\Entity\Domain) id:2 { }, ] '[new]' => false '[accessible]' => [ 'domain_id' => true, 'company_name' => true, 'logo' => true, 'logo_alt' => true, 'phone' => true, 'email' => true, 'address_line_1' => true, 'address_line_2' => true, 'address_line_3' => true, 'city' => true, 'county' => true, 'postcode' => true, 'country' => true, 'company_number' => true, 'vat_reg_number' => true, 'domain' => true, 'social_medias' => true, ] '[dirty]' => [ ] '[original]' => [ ] '[virtual]' => [ ] '[hasErrors]' => false '[errors]' => [ ] '[invalid]' => [ ] '[repository]' => 'CompanyDetails' protected _accessible => [ 'domain_id' => true, 'company_name' => true, 'logo' => true, 'logo_alt' => true, 'phone' => true, 'email' => true, 'address_line_1' => true, 'address_line_2' => true, 'address_line_3' => true, 'city' => true, 'county' => true, 'postcode' => true, 'country' => true, 'company_number' => true, 'vat_reg_number' => true, 'domain' => true, 'social_medias' => true, ] protected _fields => [ 'id' => (int) 4, 'domain_id' => (int) 1, 'company_name' => 'Derwent Rural Counselling Service', 'logo' => '/img/drcs-logo.png', 'logo_alt' => 'Derwent Rural Counselling Service', 'phone' => '0800 047 6861', 'email' => 'admin@drcs.org.uk', 'address_line_1' => 'Serenity House', 'address_line_2' => 'New Beetwell Street', 'address_line_3' => '', 'city' => 'Chesterfield', 'county' => '', 'postcode' => 'S40 1QR', 'country' => 'United Kingdom', 'company_number' => '06081874', 'vat_reg_number' => '', 'social_medias' => [ '' => [maximum depth reached], ], '_matchingData' => [ '' => [maximum depth reached], ], ] protected _original => [ ] protected _hidden => [ ] protected _virtual => [ ] protected _dirty => [ ] protected _accessors => [ 'App\Model\Entity\Configuration' => [ '' => [maximum depth reached], ], 'App\Model\Entity\SocialMedia' => [ '' => [maximum depth reached], ], 'App\Model\Entity\Category' => [ '' => [maximum depth reached], ], 'App\Model\Entity\CategoryDataset' => [ '' => [maximum depth reached], ], ] protected _new => false protected _errors => [ ] protected _invalid => [ ] protected _registryAlias => 'CompanyDetails' }$configuration =object(App\Model\Entity\Configuration) id:0 { 'id' => (int) 2 'domain_id' => (int) 1 'recaptcha_site_key' => '6Lf0zrEqAAAAANIAopzBZeBty2lC6ULnVfYfPAmW' 'recaptcha_secret_key' => '6Lf0zrEqAAAAAKXiK7VpSAJ3DiYhVs8kd6KBND34' 'dropdown_menu_links_number' => (int) 8 'news_menu_links_number' => (int) 8 'meta_robots' => 'index, follow' 'google_analytics' => '<!-- Global site tag (gtag.js) - Google Analytics --> <script async src="https://www.googletagmanager.com/gtag/js?id=G-9Q9Z19W2TG"></script> <script> window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config', 'G-9Q9Z19W2TG'); </script> <!-- Google tag (gtag.js) --> <script async src="https://www.googletagmanager.com/gtag/js?id=AW-797395108"></script> <script> window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config', 'AW-797395108'); </script>' '_matchingData' => [ 'Domains' => object(App\Model\Entity\Domain) id:1 { }, ] '[new]' => false '[accessible]' => [ 'domain_id' => true, 'recaptcha_site_key' => true, 'recaptcha_secret_key' => true, 'dropdown_menu_links_number' => true, 'news_menu_links_number' => true, 'meta_robots' => true, 'google_analytics' => true, 'domain' => true, ] '[dirty]' => [ ] '[original]' => [ ] '[virtual]' => [ ] '[hasErrors]' => false '[errors]' => [ ] '[invalid]' => [ ] '[repository]' => 'Configurations' protected _accessible => [ 'domain_id' => true, 'recaptcha_site_key' => true, 'recaptcha_secret_key' => true, 'dropdown_menu_links_number' => true, 'news_menu_links_number' => true, 'meta_robots' => true, 'google_analytics' => true, 'domain' => true, ] protected _fields => [ 'id' => (int) 2, 'domain_id' => (int) 1, 'recaptcha_site_key' => '6Lf0zrEqAAAAANIAopzBZeBty2lC6ULnVfYfPAmW', 'recaptcha_secret_key' => '6Lf0zrEqAAAAAKXiK7VpSAJ3DiYhVs8kd6KBND34', 'dropdown_menu_links_number' => (int) 8, 'news_menu_links_number' => (int) 8, 'meta_robots' => 'index, follow', 'google_analytics' => '<!-- Global site tag (gtag.js) - Google Analytics --> <script async src="https://www.googletagmanager.com/gtag/js?id=G-9Q9Z19W2TG"></script> <script> window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config', 'G-9Q9Z19W2TG'); </script> <!-- Google tag (gtag.js) --> <script async src="https://www.googletagmanager.com/gtag/js?id=AW-797395108"></script> <script> window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config', 'AW-797395108'); </script>', '_matchingData' => [ '' => [maximum depth reached], ], ] protected _original => [ ] protected _hidden => [ ] protected _virtual => [ ] protected _dirty => [ ] protected _accessors => [ 'App\Model\Entity\Configuration' => [ '' => [maximum depth reached], ], 'App\Model\Entity\SocialMedia' => [ '' => [maximum depth reached], ], 'App\Model\Entity\Category' => [ '' => [maximum depth reached], ], 'App\Model\Entity\CategoryDataset' => [ '' => [maximum depth reached], ], ] protected _new => false protected _errors => [ ] protected _invalid => [ ] protected _registryAlias => 'Configurations' }$form =object(App\Form\ContactForm) id:0 { '_schema' => [ '_fields' => [ 'name' => [ '' => [maximum depth reached], ], 'company' => [ '' => [maximum depth reached], ], 'phone' => [ '' => [maximum depth reached], ], 'email' => [ '' => [maximum depth reached], ], 'subject' => [ '' => [maximum depth reached], ], 'body' => [ '' => [maximum depth reached], ], 'gdpr' => [ '' => [maximum depth reached], ], ], ] '_errors' => [ ] '_validator' => [ '_presenceMessages' => [ ], '_allowEmptyMessages' => [ ], '_allowEmptyFlags' => [ 'name' => (int) 1, 'subject' => (int) 1, 'body' => (int) 1, 'gdpr' => (int) 1, ], '_useI18n' => true, '_stopOnFailure' => false, '_providers' => [ (int) 0 => 'form', ], '_fields' => [ 'email' => [ '' => [maximum depth reached], ], 'name' => [ '' => [maximum depth reached], ], 'subject' => [ '' => [maximum depth reached], ], 'body' => [ '' => [maximum depth reached], ], 'gdpr' => [ '' => [maximum depth reached], ], ], ] '_schemaClass' => 'Cake\Form\Schema' '_data' => [ ] '_eventManager' => object(Cake\Event\EventManager) id:1 { '_listeners' => [ ] '_isGlobal' => false '_trackEvents' => false '_generalManager' => '(object) EventManager' '_dispatchedEvents' => null protected _generalManager => object(Cake\Event\EventManager) id:2 { } protected _listeners => [ '' => [maximum depth reached], ] protected _isGlobal => false protected _eventList => null protected _trackEvents => false } '_eventClass' => 'Cake\Event\Event' '_validatorClass' => 'Cake\Validation\Validator' '_validators' => [ 'default' => object(Cake\Validation\Validator) id:3 { }, ] protected _schemaClass => 'Cake\Form\Schema' protected _schema => object(Cake\Form\Schema) id:4 { } protected _errors => [ ] protected _data => [ ] protected _eventManager => object(Cake\Event\EventManager) id: 1 {} protected _eventClass => 'Cake\Event\Event' protected _validatorClass => 'Cake\Validation\Validator' protected _validators => [ 'default' => object(Cake\Validation\Validator) id: 3 {}, ] }include - ROOT/templates/Pages/office.php, line 11 Cake\View\View::_evaluate() - CORE/src/View/View.php, line 1176 Cake\View\View::_render() - CORE/src/View/View.php, line 1134 Cake\View\View::render() - CORE/src/View/View.php, line 764 Cake\Controller\Controller::render() - CORE/src/Controller/Controller.php, line 699 App\Controller\PagesController::display() - APP/Controller/PagesController.php, line 135 Cake\Controller\Controller::invokeAction() - CORE/src/Controller/Controller.php, line 531 Cake\Controller\ControllerFactory::invoke() - CORE/src/Controller/ControllerFactory.php, line 151 Cake\Http\BaseApplication::handle() - CORE/src/Http/BaseApplication.php, line 313 Cake\Http\Runner::handle() - CORE/src/Http/Runner.php, line 77 Authorization\Middleware\RequestAuthorizationMiddleware::process() - ROOT/vendor/cakephp/authorization/src/Middleware/RequestAuthorizationMiddleware.php, line 102 Cake\Http\Runner::handle() - CORE/src/Http/Runner.php, line 73 Authorization\Middleware\AuthorizationMiddleware::process() - ROOT/vendor/cakephp/authorization/src/Middleware/AuthorizationMiddleware.php, line 129 Cake\Http\Runner::handle() - CORE/src/Http/Runner.php, line 73 Authentication\Middleware\AuthenticationMiddleware::process() - ROOT/vendor/cakephp/authentication/src/Middleware/AuthenticationMiddleware.php, line 124 Cake\Http\Runner::handle() - CORE/src/Http/Runner.php, line 73 Cake\Http\Middleware\CsrfProtectionMiddleware::process() - CORE/src/Http/Middleware/CsrfProtectionMiddleware.php, line 159
Notice (8): Trying to get property 'street' of non-object [ROOT/templates/Pages/office.php, line 12]Code Context'<span class="theme-color"><b>' . $category->location->name . '</b></span><br/>' .
$category->location->street . '<br/>' .
$category->location->city . '<br/>' .
$templateFile ='/var/www/vhosts/drcs.org.uk/httpdocs/templates/Pages/office.php'$dataForView =[ 'category' => object(App\Model\Entity\CategoryDataset) id:0 { 'id' => (int) 30 'h1' => 'Long Eaton Office' 'meta_title' => 'Long Eaton Office' 'meta_keywords' => 'long eaton office drcs, long eaton, office, drcs' 'meta_description' => 'Contact details for the DRCS Long Eaton office' 'description' => 'Contact details for the DRCS Long Eaton office' 'sub_description' => '' 'banner_image' => '' 'category_image' => '' 'forward_date' => null 'template' => 'office' 'url' => 'long-eaton-office' 'disabled' => (int) 0 'created' => object(Cake\I18n\FrozenTime) id:1 { } 'modified' => object(Cake\I18n\FrozenTime) id:2 { } 'faqs' => [ ] 'location' => null 'categories' => [ (int) 0 => object(App\Model\Entity\Category) id:3 { }, ] '_matchingData' => [ 'Categories' => object(App\Model\Entity\Category) id:4 { }, 'Domains' => object(App\Model\Entity\Domain) id:5 { }, 'CategoriesDomains' => object(Cake\ORM\Entity) id:6 { }, ] '[new]' => false '[accessible]' => [ 'h1' => true, 'meta_title' => true, 'meta_keywords' => true, 'meta_description' => true, 'description' => true, 'sub_description' => true, 'banner_image' => true, 'category_image' => true, 'forward_date' => true, 'template' => true, 'url' => true, 'disabled' => true, 'created' => true, 'modified' => true, 'categories' => true, 'faqs' => true, ] '[dirty]' => [ ] '[original]' => [ ] '[virtual]' => [ ] '[hasErrors]' => false '[errors]' => [ ] '[invalid]' => [ ] '[repository]' => 'CategoryDatasets' protected _accessible => [ '' => [maximum depth reached], ] protected _fields => [ '' => [maximum depth reached], ] protected _original => [ '' => [maximum depth reached], ] protected _hidden => [ '' => [maximum depth reached], ] protected _virtual => [ '' => [maximum depth reached], ] protected _dirty => [ '' => [maximum depth reached], ] protected _accessors => [ '' => [maximum depth reached], ] protected _new => false protected _errors => [ '' => [maximum depth reached], ] protected _invalid => [ '' => [maximum depth reached], ] protected _registryAlias => 'CategoryDatasets' }, 'breadcrumbs' => object(Cake\ORM\ResultSet) id:7 { 'items' => [ (int) 0 => object(App\Model\Entity\Category) id:8 { }, (int) 1 => object(App\Model\Entity\Category) id:9 { }, ] protected _statement => object(Cake\Database\Statement\CallbackStatement) id:10 { } protected _index => (int) 2 protected _current => object(App\Model\Entity\Category) id: 9 {} protected _defaultTable => object(App\Model\Table\CategoriesTable) id:11 { } protected _defaultAlias => 'Categories' protected _matchingMap => [ '' => [maximum depth reached], ] protected _containMap => [ '' => [maximum depth reached], ] protected _map => [ '' => [maximum depth reached], ] protected _matchingMapColumns => [ '' => [maximum depth reached], ] protected _results => object(SplFixedArray) id:12 { } protected _hydrate => true protected _autoFields => null protected _entityClass => 'App\Model\Entity\Category' protected _useBuffering => true protected _count => (int) 2 protected _driver => object(Cake\Database\Driver\Mysql) id:13 { } }, 'categories' => object(Cake\ORM\Query) id:14 { '(help)' => 'This is a Query object, to get the results execute or iterate it.' 'sql' => 'SELECT Categories.id AS Categories__id, Categories.name AS Categories__name, Categories.position AS Categories__position, Categories.category_dataset_id AS Categories__category_dataset_id, Categories.exclude_from_menu AS Categories__exclude_from_menu, Categories.parent_id AS Categories__parent_id, Categories.lft AS Categories__lft, Categories.rght AS Categories__rght, CategoryDatasets.id AS CategoryDatasets__id, CategoryDatasets.h1 AS CategoryDatasets__h1, CategoryDatasets.meta_title AS CategoryDatasets__meta_title, CategoryDatasets.meta_keywords AS CategoryDatasets__meta_keywords, CategoryDatasets.meta_description AS CategoryDatasets__meta_description, CategoryDatasets.description AS CategoryDatasets__description, CategoryDatasets.sub_description AS CategoryDatasets__sub_description, CategoryDatasets.banner_image AS CategoryDatasets__banner_image, CategoryDatasets.category_image AS CategoryDatasets__category_image, CategoryDatasets.forward_date AS CategoryDatasets__forward_date, CategoryDatasets.template AS CategoryDatasets__template, CategoryDatasets.url AS CategoryDatasets__url, CategoryDatasets.disabled AS CategoryDatasets__disabled, CategoryDatasets.created AS CategoryDatasets__created, CategoryDatasets.modified AS CategoryDatasets__modified, CategoriesDomains.id AS CategoriesDomains__id, CategoriesDomains.category_id AS CategoriesDomains__category_id, CategoriesDomains.domain_id AS CategoriesDomains__domain_id, Domains.id AS Domains__id, Domains.domain AS Domains__domain FROM categories Categories INNER JOIN category_datasets CategoryDatasets ON (CategoryDatasets.disabled = :c0 AND ((forward_date) IS NULL OR forward_date <= (CURRENT_DATE())) AND CategoryDatasets.id = (Categories.category_dataset_id)) INNER JOIN categories_domains CategoriesDomains ON Categories.id = (CategoriesDomains.category_id) INNER JOIN domains Domains ON (domain = :c1 AND Domains.id = (CategoriesDomains.domain_id)) WHERE exclude_from_menu = :c2 ORDER BY position' 'params' => [ ':c0' => [ '' => [maximum depth reached], ], ':c1' => [ '' => [maximum depth reached], ], ':c2' => [ '' => [maximum depth reached], ], ] 'defaultTypes' => [ 'Categories__id' => 'smallinteger', 'Categories.id' => 'smallinteger', 'id' => 'smallinteger', 'Categories__name' => 'string', 'Categories.name' => 'string', 'name' => 'string', 'Categories__position' => 'smallinteger', 'Categories.position' => 'smallinteger', 'position' => 'smallinteger', 'Categories__category_dataset_id' => 'smallinteger', 'Categories.category_dataset_id' => 'smallinteger', 'category_dataset_id' => 'smallinteger', 'Categories__exclude_from_menu' => 'tinyinteger', 'Categories.exclude_from_menu' => 'tinyinteger', 'exclude_from_menu' => 'tinyinteger', 'Categories__parent_id' => 'integer', 'Categories.parent_id' => 'integer', 'parent_id' => 'integer', 'Categories__lft' => 'integer', 'Categories.lft' => 'integer', 'lft' => 'integer', 'Categories__rght' => 'integer', 'Categories.rght' => 'integer', 'rght' => 'integer', 'CategoryDatasets__id' => 'smallinteger', 'CategoryDatasets.id' => 'smallinteger', 'CategoryDatasets__h1' => 'string', 'CategoryDatasets.h1' => 'string', 'h1' => 'string', 'CategoryDatasets__meta_title' => 'string', 'CategoryDatasets.meta_title' => 'string', 'meta_title' => 'string', 'CategoryDatasets__meta_keywords' => 'string', 'CategoryDatasets.meta_keywords' => 'string', 'meta_keywords' => 'string', 'CategoryDatasets__meta_description' => 'text', 'CategoryDatasets.meta_description' => 'text', 'meta_description' => 'text', 'CategoryDatasets__description' => 'string', 'CategoryDatasets.description' => 'string', 'description' => 'string', 'CategoryDatasets__sub_description' => 'text', 'CategoryDatasets.sub_description' => 'text', 'sub_description' => 'text', 'CategoryDatasets__banner_image' => 'string', 'CategoryDatasets.banner_image' => 'string', 'banner_image' => 'string', 'CategoryDatasets__category_image' => 'string', 'CategoryDatasets.category_image' => 'string', 'category_image' => 'string', 'CategoryDatasets__forward_date' => 'date', 'CategoryDatasets.forward_date' => 'date', 'forward_date' => 'date', 'CategoryDatasets__template' => 'string', 'CategoryDatasets.template' => 'string', 'template' => 'string', 'CategoryDatasets__url' => 'string', 'CategoryDatasets.url' => 'string', 'url' => 'string', 'CategoryDatasets__disabled' => 'tinyinteger', 'CategoryDatasets.disabled' => 'tinyinteger', 'disabled' => 'tinyinteger', 'CategoryDatasets__created' => 'datetime', 'CategoryDatasets.created' => 'datetime', 'created' => 'datetime', 'CategoryDatasets__modified' => 'datetime', 'CategoryDatasets.modified' => 'datetime', 'modified' => 'datetime', 'Domains__id' => 'tinyinteger', 'Domains.id' => 'tinyinteger', 'Domains__domain' => 'string', 'Domains.domain' => 'string', 'domain' => 'string', 'CategoriesDomains__id' => 'integer', 'CategoriesDomains.id' => 'integer', 'CategoriesDomains__category_id' => 'smallinteger', 'CategoriesDomains.category_id' => 'smallinteger', 'category_id' => 'smallinteger', 'CategoriesDomains__domain_id' => 'tinyinteger', 'CategoriesDomains.domain_id' => 'tinyinteger', 'domain_id' => 'tinyinteger', ] 'decorators' => (int) 0 'executed' => false 'hydrate' => true 'buffered' => true 'formatters' => (int) 1 'mapReducers' => (int) 0 'contain' => [ 'CategoryDatasets' => [ '' => [maximum depth reached], ], ] 'matching' => [ 'CategoryDatasets' => [ '' => [maximum depth reached], ], 'Domains' => [ '' => [maximum depth reached], ], ] 'extraOptions' => [ 'result_type' => 'threaded', ] 'repository' => object(App\Model\Table\CategoriesTable) id: 11 {} protected _hasFields => true protected _autoFields => null protected _hydrate => true protected aliasingEnabled => true protected _counter => null protected _eagerLoader => object(Cake\ORM\EagerLoader) id:15 { } protected _beforeFindFired => true protected _resultsCount => null protected _connection => object(Cake\Database\Connection) id:16 { } protected _type => 'select' protected _parts => [ '' => [maximum depth reached], ] protected _selectParts => [ '' => [maximum depth reached], ] protected _updateParts => [ '' => [maximum depth reached], ] protected _deleteParts => [ '' => [maximum depth reached], ] protected _insertParts => [ '' => [maximum depth reached], ] protected _dirty => true protected _resultDecorators => [ '' => [maximum depth reached], ] protected _iterator => null protected _valueBinder => object(Cake\Database\ValueBinder) id:17 { } protected _functionsBuilder => null protected _useBufferedResults => true protected _selectTypeMap => object(Cake\Database\TypeMap) id:18 { } protected typeCastEnabled => true protected _typeMap => object(Cake\Database\TypeMap) id:19 { } protected _repository => object(App\Model\Table\CategoriesTable) id: 11 {} protected _results => null protected _mapReduce => [ '' => [maximum depth reached], ] protected _formatters => [ '' => [maximum depth reached], ] protected _cache => null protected _options => [ '' => [maximum depth reached], ] protected _eagerLoaded => false }, 'companyDetails' => object(App\Model\Entity\CompanyDetail) id:20 { 'id' => (int) 4 'domain_id' => (int) 1 'company_name' => 'Derwent Rural Counselling Service' 'logo' => '/img/drcs-logo.png' 'logo_alt' => 'Derwent Rural Counselling Service' 'phone' => '0800 047 6861' 'email' => 'admin@drcs.org.uk' 'address_line_1' => 'Serenity House' 'address_line_2' => 'New Beetwell Street' 'address_line_3' => '' 'city' => 'Chesterfield' 'county' => '' 'postcode' => 'S40 1QR' 'country' => 'United Kingdom' 'company_number' => '06081874' 'vat_reg_number' => '' 'social_medias' => [ (int) 0 => object(App\Model\Entity\SocialMedia) id:21 { }, ] '_matchingData' => [ 'Domains' => object(App\Model\Entity\Domain) id:22 { }, ] '[new]' => false '[accessible]' => [ 'domain_id' => true, 'company_name' => true, 'logo' => true, 'logo_alt' => true, 'phone' => true, 'email' => true, 'address_line_1' => true, 'address_line_2' => true, 'address_line_3' => true, 'city' => true, 'county' => true, 'postcode' => true, 'country' => true, 'company_number' => true, 'vat_reg_number' => true, 'domain' => true, 'social_medias' => true, ] '[dirty]' => [ ] '[original]' => [ ] '[virtual]' => [ ] '[hasErrors]' => false '[errors]' => [ ] '[invalid]' => [ ] '[repository]' => 'CompanyDetails' protected _accessible => [ '' => [maximum depth reached], ] protected _fields => [ '' => [maximum depth reached], ] protected _original => [ '' => [maximum depth reached], ] protected _hidden => [ '' => [maximum depth reached], ] protected _virtual => [ '' => [maximum depth reached], ] protected _dirty => [ '' => [maximum depth reached], ] protected _accessors => [ '' => [maximum depth reached], ] protected _new => false protected _errors => [ '' => [maximum depth reached], ] protected _invalid => [ '' => [maximum depth reached], ] protected _registryAlias => 'CompanyDetails' }, 'configuration' => object(App\Model\Entity\Configuration) id:23 { 'id' => (int) 2 'domain_id' => (int) 1 'recaptcha_site_key' => '6Lf0zrEqAAAAANIAopzBZeBty2lC6ULnVfYfPAmW' 'recaptcha_secret_key' => '6Lf0zrEqAAAAAKXiK7VpSAJ3DiYhVs8kd6KBND34' 'dropdown_menu_links_number' => (int) 8 'news_menu_links_number' => (int) 8 'meta_robots' => 'index, follow' 'google_analytics' => '<!-- Global site tag (gtag.js) - Google Analytics --> <script async src="https://www.googletagmanager.com/gtag/js?id=G-9Q9Z19W2TG"></script> <script> window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config', 'G-9Q9Z19W2TG'); </script> <!-- Google tag (gtag.js) --> <script async src="https://www.googletagmanager.com/gtag/js?id=AW-797395108"></script> <script> window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config', 'AW-797395108'); </script>' '_matchingData' => [ 'Domains' => object(App\Model\Entity\Domain) id:24 { }, ] '[new]' => false '[accessible]' => [ 'domain_id' => true, 'recaptcha_site_key' => true, 'recaptcha_secret_key' => true, 'dropdown_menu_links_number' => true, 'news_menu_links_number' => true, 'meta_robots' => true, 'google_analytics' => true, 'domain' => true, ] '[dirty]' => [ ] '[original]' => [ ] '[virtual]' => [ ] '[hasErrors]' => false '[errors]' => [ ] '[invalid]' => [ ] '[repository]' => 'Configurations' protected _accessible => [ '' => [maximum depth reached], ] protected _fields => [ '' => [maximum depth reached], ] protected _original => [ '' => [maximum depth reached], ] protected _hidden => [ '' => [maximum depth reached], ] protected _virtual => [ '' => [maximum depth reached], ] protected _dirty => [ '' => [maximum depth reached], ] protected _accessors => [ '' => [maximum depth reached], ] protected _new => false protected _errors => [ '' => [maximum depth reached], ] protected _invalid => [ '' => [maximum depth reached], ] protected _registryAlias => 'Configurations' }, 'form' => object(App\Form\ContactForm) id:25 { '_schema' => [ '_fields' => [ '' => [maximum depth reached], ], ] '_errors' => [ ] '_validator' => [ '_presenceMessages' => [ '' => [maximum depth reached], ], '_allowEmptyMessages' => [ '' => [maximum depth reached], ], '_allowEmptyFlags' => [ '' => [maximum depth reached], ], '_useI18n' => true, '_stopOnFailure' => false, '_providers' => [ '' => [maximum depth reached], ], '_fields' => [ '' => [maximum depth reached], ], ] '_schemaClass' => 'Cake\Form\Schema' '_data' => [ ] '_eventManager' => object(Cake\Event\EventManager) id:26 { } '_eventClass' => 'Cake\Event\Event' '_validatorClass' => 'Cake\Validation\Validator' '_validators' => [ 'default' => object(Cake\Validation\Validator) id:27 { }, ] protected _schemaClass => 'Cake\Form\Schema' protected _schema => object(Cake\Form\Schema) id:28 { } protected _errors => [ '' => [maximum depth reached], ] protected _data => [ '' => [maximum depth reached], ] protected _eventManager => object(Cake\Event\EventManager) id: 26 {} protected _eventClass => 'Cake\Event\Event' protected _validatorClass => 'Cake\Validation\Validator' protected _validators => [ '' => [maximum depth reached], ] }, ]$bufferLevel =(int) 1$category =object(App\Model\Entity\CategoryDataset) id:0 { 'id' => (int) 30 'h1' => 'Long Eaton Office' 'meta_title' => 'Long Eaton Office' 'meta_keywords' => 'long eaton office drcs, long eaton, office, drcs' 'meta_description' => 'Contact details for the DRCS Long Eaton office' 'description' => 'Contact details for the DRCS Long Eaton office' 'sub_description' => '' 'banner_image' => '' 'category_image' => '' 'forward_date' => null 'template' => 'office' 'url' => 'long-eaton-office' 'disabled' => (int) 0 'created' => object(Cake\I18n\FrozenTime) id:1 { 'time' => '2021-03-08 13:04:03.000000+00:00' 'timezone' => 'UTC' 'fixedNowTime' => false protected _toStringFormat => [ '' => [maximum depth reached], ] protected _jsonEncodeFormat => 'yyyy-MM-dd'T'HH':'mm':'ssxxx' protected testNow => null protected toStringFormat => 'Y-m-d H:i:s' protected weekendDays => [ '' => [maximum depth reached], ] protected diffFormatter => null protected _lastErrors => [ '' => [maximum depth reached], ] protected days => [ '' => [maximum depth reached], ] protected weekStartsAt => (int) 1 protected weekEndsAt => (int) 7 protected relativePattern => '/this|next|last|tomorrow|yesterday|midnight|today|[+-]|first|last|ago/i' protected defaultLocale => 'en-GB' protected lenientParsing => true protected _formatters => [ '' => [maximum depth reached], ] } 'modified' => object(Cake\I18n\FrozenTime) id:2 { 'time' => '2021-03-08 13:04:03.000000+00:00' 'timezone' => 'UTC' 'fixedNowTime' => false protected _toStringFormat => [ '' => [maximum depth reached], ] protected _jsonEncodeFormat => 'yyyy-MM-dd'T'HH':'mm':'ssxxx' protected testNow => null protected toStringFormat => 'Y-m-d H:i:s' protected weekendDays => [ '' => [maximum depth reached], ] protected diffFormatter => null protected _lastErrors => [ '' => [maximum depth reached], ] protected days => [ '' => [maximum depth reached], ] protected weekStartsAt => (int) 1 protected weekEndsAt => (int) 7 protected relativePattern => '/this|next|last|tomorrow|yesterday|midnight|today|[+-]|first|last|ago/i' protected defaultLocale => 'en-GB' protected lenientParsing => true protected _formatters => [ '' => [maximum depth reached], ] } 'faqs' => [ ] 'location' => null 'categories' => [ (int) 0 => object(App\Model\Entity\Category) id:3 { }, ] '_matchingData' => [ 'Categories' => object(App\Model\Entity\Category) id:4 { }, 'Domains' => object(App\Model\Entity\Domain) id:5 { }, 'CategoriesDomains' => object(Cake\ORM\Entity) id:6 { }, ] '[new]' => false '[accessible]' => [ 'h1' => true, 'meta_title' => true, 'meta_keywords' => true, 'meta_description' => true, 'description' => true, 'sub_description' => true, 'banner_image' => true, 'category_image' => true, 'forward_date' => true, 'template' => true, 'url' => true, 'disabled' => true, 'created' => true, 'modified' => true, 'categories' => true, 'faqs' => true, ] '[dirty]' => [ ] '[original]' => [ ] '[virtual]' => [ ] '[hasErrors]' => false '[errors]' => [ ] '[invalid]' => [ ] '[repository]' => 'CategoryDatasets' protected _accessible => [ 'h1' => true, 'meta_title' => true, 'meta_keywords' => true, 'meta_description' => true, 'description' => true, 'sub_description' => true, 'banner_image' => true, 'category_image' => true, 'forward_date' => true, 'template' => true, 'url' => true, 'disabled' => true, 'created' => true, 'modified' => true, 'categories' => true, 'faqs' => true, ] protected _fields => [ 'id' => (int) 30, 'h1' => 'Long Eaton Office', 'meta_title' => 'Long Eaton Office', 'meta_keywords' => 'long eaton office drcs, long eaton, office, drcs', 'meta_description' => 'Contact details for the DRCS Long Eaton office', 'description' => 'Contact details for the DRCS Long Eaton office', 'sub_description' => '', 'banner_image' => '', 'category_image' => '', 'forward_date' => null, 'template' => 'office', 'url' => 'long-eaton-office', 'disabled' => (int) 0, 'created' => object(Cake\I18n\FrozenTime) id: 1 {}, 'modified' => object(Cake\I18n\FrozenTime) id: 2 {}, 'faqs' => [ '' => [maximum depth reached], ], 'location' => null, 'categories' => [ '' => [maximum depth reached], ], '_matchingData' => [ '' => [maximum depth reached], ], ] protected _original => [ ] protected _hidden => [ ] protected _virtual => [ ] protected _dirty => [ ] protected _accessors => [ 'App\Model\Entity\Configuration' => [ '' => [maximum depth reached], ], 'App\Model\Entity\SocialMedia' => [ '' => [maximum depth reached], ], 'App\Model\Entity\Category' => [ '' => [maximum depth reached], ], 'App\Model\Entity\CategoryDataset' => [ '' => [maximum depth reached], ], ] protected _new => false protected _errors => [ ] protected _invalid => [ ] protected _registryAlias => 'CategoryDatasets' }$breadcrumbs =object(Cake\ORM\ResultSet) id:0 { 'items' => [ (int) 0 => object(App\Model\Entity\Category) id:1 { }, (int) 1 => object(App\Model\Entity\Category) id:2 { }, ] protected _statement => object(Cake\Database\Statement\CallbackStatement) id:3 { } protected _index => (int) 2 protected _current => object(App\Model\Entity\Category) id: 2 {} protected _defaultTable => object(App\Model\Table\CategoriesTable) id:4 { } protected _defaultAlias => 'Categories' protected _matchingMap => [ ] protected _containMap => [ 'CategoryDatasets' => [ '' => [maximum depth reached], ], ] protected _map => [ 'Categories' => [ '' => [maximum depth reached], ], 'CategoryDatasets' => [ '' => [maximum depth reached], ], ] protected _matchingMapColumns => [ ] protected _results => object(SplFixedArray) id:5 { } protected _hydrate => true protected _autoFields => null protected _entityClass => 'App\Model\Entity\Category' protected _useBuffering => true protected _count => (int) 2 protected _driver => object(Cake\Database\Driver\Mysql) id:6 { } }$categories =object(Cake\ORM\Query) id:0 { '(help)' => 'This is a Query object, to get the results execute or iterate it.' 'sql' => 'SELECT Categories.id AS Categories__id, Categories.name AS Categories__name, Categories.position AS Categories__position, Categories.category_dataset_id AS Categories__category_dataset_id, Categories.exclude_from_menu AS Categories__exclude_from_menu, Categories.parent_id AS Categories__parent_id, Categories.lft AS Categories__lft, Categories.rght AS Categories__rght, CategoryDatasets.id AS CategoryDatasets__id, CategoryDatasets.h1 AS CategoryDatasets__h1, CategoryDatasets.meta_title AS CategoryDatasets__meta_title, CategoryDatasets.meta_keywords AS CategoryDatasets__meta_keywords, CategoryDatasets.meta_description AS CategoryDatasets__meta_description, CategoryDatasets.description AS CategoryDatasets__description, CategoryDatasets.sub_description AS CategoryDatasets__sub_description, CategoryDatasets.banner_image AS CategoryDatasets__banner_image, CategoryDatasets.category_image AS CategoryDatasets__category_image, CategoryDatasets.forward_date AS CategoryDatasets__forward_date, CategoryDatasets.template AS CategoryDatasets__template, CategoryDatasets.url AS CategoryDatasets__url, CategoryDatasets.disabled AS CategoryDatasets__disabled, CategoryDatasets.created AS CategoryDatasets__created, CategoryDatasets.modified AS CategoryDatasets__modified, CategoriesDomains.id AS CategoriesDomains__id, CategoriesDomains.category_id AS CategoriesDomains__category_id, CategoriesDomains.domain_id AS CategoriesDomains__domain_id, Domains.id AS Domains__id, Domains.domain AS Domains__domain FROM categories Categories INNER JOIN category_datasets CategoryDatasets ON (CategoryDatasets.disabled = :c0 AND ((forward_date) IS NULL OR forward_date <= (CURRENT_DATE())) AND CategoryDatasets.id = (Categories.category_dataset_id)) INNER JOIN categories_domains CategoriesDomains ON Categories.id = (CategoriesDomains.category_id) INNER JOIN domains Domains ON (domain = :c1 AND Domains.id = (CategoriesDomains.domain_id)) WHERE exclude_from_menu = :c2 ORDER BY position' 'params' => [ ':c0' => [ 'value' => (int) 0, 'type' => 'tinyinteger', 'placeholder' => 'c0', ], ':c1' => [ 'value' => 'drcs.org.uk', 'type' => 'string', 'placeholder' => 'c1', ], ':c2' => [ 'value' => (int) 0, 'type' => 'tinyinteger', 'placeholder' => 'c2', ], ] 'defaultTypes' => [ 'Categories__id' => 'smallinteger', 'Categories.id' => 'smallinteger', 'id' => 'smallinteger', 'Categories__name' => 'string', 'Categories.name' => 'string', 'name' => 'string', 'Categories__position' => 'smallinteger', 'Categories.position' => 'smallinteger', 'position' => 'smallinteger', 'Categories__category_dataset_id' => 'smallinteger', 'Categories.category_dataset_id' => 'smallinteger', 'category_dataset_id' => 'smallinteger', 'Categories__exclude_from_menu' => 'tinyinteger', 'Categories.exclude_from_menu' => 'tinyinteger', 'exclude_from_menu' => 'tinyinteger', 'Categories__parent_id' => 'integer', 'Categories.parent_id' => 'integer', 'parent_id' => 'integer', 'Categories__lft' => 'integer', 'Categories.lft' => 'integer', 'lft' => 'integer', 'Categories__rght' => 'integer', 'Categories.rght' => 'integer', 'rght' => 'integer', 'CategoryDatasets__id' => 'smallinteger', 'CategoryDatasets.id' => 'smallinteger', 'CategoryDatasets__h1' => 'string', 'CategoryDatasets.h1' => 'string', 'h1' => 'string', 'CategoryDatasets__meta_title' => 'string', 'CategoryDatasets.meta_title' => 'string', 'meta_title' => 'string', 'CategoryDatasets__meta_keywords' => 'string', 'CategoryDatasets.meta_keywords' => 'string', 'meta_keywords' => 'string', 'CategoryDatasets__meta_description' => 'text', 'CategoryDatasets.meta_description' => 'text', 'meta_description' => 'text', 'CategoryDatasets__description' => 'string', 'CategoryDatasets.description' => 'string', 'description' => 'string', 'CategoryDatasets__sub_description' => 'text', 'CategoryDatasets.sub_description' => 'text', 'sub_description' => 'text', 'CategoryDatasets__banner_image' => 'string', 'CategoryDatasets.banner_image' => 'string', 'banner_image' => 'string', 'CategoryDatasets__category_image' => 'string', 'CategoryDatasets.category_image' => 'string', 'category_image' => 'string', 'CategoryDatasets__forward_date' => 'date', 'CategoryDatasets.forward_date' => 'date', 'forward_date' => 'date', 'CategoryDatasets__template' => 'string', 'CategoryDatasets.template' => 'string', 'template' => 'string', 'CategoryDatasets__url' => 'string', 'CategoryDatasets.url' => 'string', 'url' => 'string', 'CategoryDatasets__disabled' => 'tinyinteger', 'CategoryDatasets.disabled' => 'tinyinteger', 'disabled' => 'tinyinteger', 'CategoryDatasets__created' => 'datetime', 'CategoryDatasets.created' => 'datetime', 'created' => 'datetime', 'CategoryDatasets__modified' => 'datetime', 'CategoryDatasets.modified' => 'datetime', 'modified' => 'datetime', 'Domains__id' => 'tinyinteger', 'Domains.id' => 'tinyinteger', 'Domains__domain' => 'string', 'Domains.domain' => 'string', 'domain' => 'string', 'CategoriesDomains__id' => 'integer', 'CategoriesDomains.id' => 'integer', 'CategoriesDomains__category_id' => 'smallinteger', 'CategoriesDomains.category_id' => 'smallinteger', 'category_id' => 'smallinteger', 'CategoriesDomains__domain_id' => 'tinyinteger', 'CategoriesDomains.domain_id' => 'tinyinteger', 'domain_id' => 'tinyinteger', ] 'decorators' => (int) 0 'executed' => false 'hydrate' => true 'buffered' => true 'formatters' => (int) 1 'mapReducers' => (int) 0 'contain' => [ 'CategoryDatasets' => [ ], ] 'matching' => [ 'CategoryDatasets' => [ 'queryBuilder' => object(Closure) id:1 { }, 'matching' => true, 'joinType' => 'INNER', ], 'Domains' => [ 'queryBuilder' => object(Closure) id:2 { }, 'matching' => true, 'joinType' => 'INNER', ], ] 'extraOptions' => [ 'result_type' => 'threaded', ] 'repository' => object(App\Model\Table\CategoriesTable) id:3 { 'registryAlias' => 'Categories' 'table' => 'categories' 'alias' => 'Categories' 'entityClass' => 'App\Model\Entity\Category' 'associations' => [ (int) 0 => 'CategoryDatasets', (int) 1 => 'ParentCategories', (int) 2 => 'ChildCategories', (int) 3 => 'Domains', (int) 4 => 'CategoriesDomains', ] 'behaviors' => [ (int) 0 => 'Domain', (int) 1 => 'Tree', ] 'defaultConnection' => 'default' 'connectionName' => 'default' protected _table => 'categories' protected _alias => 'Categories' protected _connection => object(Cake\Database\Connection) id:4 { } protected _schema => object(Cake\Database\Schema\TableSchema) id:5 { } protected _primaryKey => 'id' protected _displayField => 'name' protected _associations => object(Cake\ORM\AssociationCollection) id:6 { } protected _behaviors => object(Cake\ORM\BehaviorRegistry) id:7 { } protected _entityClass => 'App\Model\Entity\Category' protected _registryAlias => 'Categories' protected _eventManager => object(Cake\Event\EventManager) id:8 { } protected _eventClass => 'Cake\Event\Event' protected _rulesChecker => null protected _validatorClass => 'Cake\Validation\Validator' protected _validators => [ '' => [maximum depth reached], ] } protected _hasFields => true protected _autoFields => null protected _hydrate => true protected aliasingEnabled => true protected _counter => null protected _eagerLoader => object(Cake\ORM\EagerLoader) id:9 { } protected _beforeFindFired => true protected _resultsCount => null protected _connection => object(Cake\Database\Connection) id: 4 {} protected _type => 'select' protected _parts => [ 'delete' => true, 'update' => [ '' => [maximum depth reached], ], 'set' => [ '' => [maximum depth reached], ], 'insert' => [ '' => [maximum depth reached], ], 'values' => [ '' => [maximum depth reached], ], 'with' => [ '' => [maximum depth reached], ], 'select' => [ '' => [maximum depth reached], ], 'distinct' => false, 'modifier' => [ '' => [maximum depth reached], ], 'from' => [ '' => [maximum depth reached], ], 'join' => [ '' => [maximum depth reached], ], 'where' => object(Cake\Database\Expression\QueryExpression) id:10 { }, 'group' => [ '' => [maximum depth reached], ], 'having' => null, 'window' => [ '' => [maximum depth reached], ], 'order' => object(Cake\Database\Expression\OrderByExpression) id:11 { }, 'limit' => null, 'offset' => null, 'union' => [ '' => [maximum depth reached], ], 'epilog' => null, ] protected _selectParts => [ (int) 0 => 'with', (int) 1 => 'select', (int) 2 => 'from', (int) 3 => 'join', (int) 4 => 'where', (int) 5 => 'group', (int) 6 => 'having', (int) 7 => 'order', (int) 8 => 'limit', (int) 9 => 'offset', (int) 10 => 'union', (int) 11 => 'epilog', ] protected _updateParts => [ (int) 0 => 'with', (int) 1 => 'update', (int) 2 => 'set', (int) 3 => 'where', (int) 4 => 'epilog', ] protected _deleteParts => [ (int) 0 => 'with', (int) 1 => 'delete', (int) 2 => 'modifier', (int) 3 => 'from', (int) 4 => 'where', (int) 5 => 'epilog', ] protected _insertParts => [ (int) 0 => 'with', (int) 1 => 'insert', (int) 2 => 'values', (int) 3 => 'epilog', ] protected _dirty => true protected _resultDecorators => [ ] protected _iterator => null protected _valueBinder => object(Cake\Database\ValueBinder) id:12 { } protected _functionsBuilder => null protected _useBufferedResults => true protected _selectTypeMap => object(Cake\Database\TypeMap) id:13 { } protected typeCastEnabled => true protected _typeMap => object(Cake\Database\TypeMap) id:14 { } protected _repository => object(App\Model\Table\CategoriesTable) id: 3 {} protected _results => null protected _mapReduce => [ ] protected _formatters => [ (int) 0 => object(Closure) id:15 { }, ] protected _cache => null protected _options => [ 'result_type' => 'threaded', ] protected _eagerLoaded => false }$companyDetails =object(App\Model\Entity\CompanyDetail) id:0 { 'id' => (int) 4 'domain_id' => (int) 1 'company_name' => 'Derwent Rural Counselling Service' 'logo' => '/img/drcs-logo.png' 'logo_alt' => 'Derwent Rural Counselling Service' 'phone' => '0800 047 6861' 'email' => 'admin@drcs.org.uk' 'address_line_1' => 'Serenity House' 'address_line_2' => 'New Beetwell Street' 'address_line_3' => '' 'city' => 'Chesterfield' 'county' => '' 'postcode' => 'S40 1QR' 'country' => 'United Kingdom' 'company_number' => '06081874' 'vat_reg_number' => '' 'social_medias' => [ (int) 0 => object(App\Model\Entity\SocialMedia) id:1 { }, ] '_matchingData' => [ 'Domains' => object(App\Model\Entity\Domain) id:2 { }, ] '[new]' => false '[accessible]' => [ 'domain_id' => true, 'company_name' => true, 'logo' => true, 'logo_alt' => true, 'phone' => true, 'email' => true, 'address_line_1' => true, 'address_line_2' => true, 'address_line_3' => true, 'city' => true, 'county' => true, 'postcode' => true, 'country' => true, 'company_number' => true, 'vat_reg_number' => true, 'domain' => true, 'social_medias' => true, ] '[dirty]' => [ ] '[original]' => [ ] '[virtual]' => [ ] '[hasErrors]' => false '[errors]' => [ ] '[invalid]' => [ ] '[repository]' => 'CompanyDetails' protected _accessible => [ 'domain_id' => true, 'company_name' => true, 'logo' => true, 'logo_alt' => true, 'phone' => true, 'email' => true, 'address_line_1' => true, 'address_line_2' => true, 'address_line_3' => true, 'city' => true, 'county' => true, 'postcode' => true, 'country' => true, 'company_number' => true, 'vat_reg_number' => true, 'domain' => true, 'social_medias' => true, ] protected _fields => [ 'id' => (int) 4, 'domain_id' => (int) 1, 'company_name' => 'Derwent Rural Counselling Service', 'logo' => '/img/drcs-logo.png', 'logo_alt' => 'Derwent Rural Counselling Service', 'phone' => '0800 047 6861', 'email' => 'admin@drcs.org.uk', 'address_line_1' => 'Serenity House', 'address_line_2' => 'New Beetwell Street', 'address_line_3' => '', 'city' => 'Chesterfield', 'county' => '', 'postcode' => 'S40 1QR', 'country' => 'United Kingdom', 'company_number' => '06081874', 'vat_reg_number' => '', 'social_medias' => [ '' => [maximum depth reached], ], '_matchingData' => [ '' => [maximum depth reached], ], ] protected _original => [ ] protected _hidden => [ ] protected _virtual => [ ] protected _dirty => [ ] protected _accessors => [ 'App\Model\Entity\Configuration' => [ '' => [maximum depth reached], ], 'App\Model\Entity\SocialMedia' => [ '' => [maximum depth reached], ], 'App\Model\Entity\Category' => [ '' => [maximum depth reached], ], 'App\Model\Entity\CategoryDataset' => [ '' => [maximum depth reached], ], ] protected _new => false protected _errors => [ ] protected _invalid => [ ] protected _registryAlias => 'CompanyDetails' }$configuration =object(App\Model\Entity\Configuration) id:0 { 'id' => (int) 2 'domain_id' => (int) 1 'recaptcha_site_key' => '6Lf0zrEqAAAAANIAopzBZeBty2lC6ULnVfYfPAmW' 'recaptcha_secret_key' => '6Lf0zrEqAAAAAKXiK7VpSAJ3DiYhVs8kd6KBND34' 'dropdown_menu_links_number' => (int) 8 'news_menu_links_number' => (int) 8 'meta_robots' => 'index, follow' 'google_analytics' => '<!-- Global site tag (gtag.js) - Google Analytics --> <script async src="https://www.googletagmanager.com/gtag/js?id=G-9Q9Z19W2TG"></script> <script> window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config', 'G-9Q9Z19W2TG'); </script> <!-- Google tag (gtag.js) --> <script async src="https://www.googletagmanager.com/gtag/js?id=AW-797395108"></script> <script> window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config', 'AW-797395108'); </script>' '_matchingData' => [ 'Domains' => object(App\Model\Entity\Domain) id:1 { }, ] '[new]' => false '[accessible]' => [ 'domain_id' => true, 'recaptcha_site_key' => true, 'recaptcha_secret_key' => true, 'dropdown_menu_links_number' => true, 'news_menu_links_number' => true, 'meta_robots' => true, 'google_analytics' => true, 'domain' => true, ] '[dirty]' => [ ] '[original]' => [ ] '[virtual]' => [ ] '[hasErrors]' => false '[errors]' => [ ] '[invalid]' => [ ] '[repository]' => 'Configurations' protected _accessible => [ 'domain_id' => true, 'recaptcha_site_key' => true, 'recaptcha_secret_key' => true, 'dropdown_menu_links_number' => true, 'news_menu_links_number' => true, 'meta_robots' => true, 'google_analytics' => true, 'domain' => true, ] protected _fields => [ 'id' => (int) 2, 'domain_id' => (int) 1, 'recaptcha_site_key' => '6Lf0zrEqAAAAANIAopzBZeBty2lC6ULnVfYfPAmW', 'recaptcha_secret_key' => '6Lf0zrEqAAAAAKXiK7VpSAJ3DiYhVs8kd6KBND34', 'dropdown_menu_links_number' => (int) 8, 'news_menu_links_number' => (int) 8, 'meta_robots' => 'index, follow', 'google_analytics' => '<!-- Global site tag (gtag.js) - Google Analytics --> <script async src="https://www.googletagmanager.com/gtag/js?id=G-9Q9Z19W2TG"></script> <script> window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config', 'G-9Q9Z19W2TG'); </script> <!-- Google tag (gtag.js) --> <script async src="https://www.googletagmanager.com/gtag/js?id=AW-797395108"></script> <script> window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config', 'AW-797395108'); </script>', '_matchingData' => [ '' => [maximum depth reached], ], ] protected _original => [ ] protected _hidden => [ ] protected _virtual => [ ] protected _dirty => [ ] protected _accessors => [ 'App\Model\Entity\Configuration' => [ '' => [maximum depth reached], ], 'App\Model\Entity\SocialMedia' => [ '' => [maximum depth reached], ], 'App\Model\Entity\Category' => [ '' => [maximum depth reached], ], 'App\Model\Entity\CategoryDataset' => [ '' => [maximum depth reached], ], ] protected _new => false protected _errors => [ ] protected _invalid => [ ] protected _registryAlias => 'Configurations' }$form =object(App\Form\ContactForm) id:0 { '_schema' => [ '_fields' => [ 'name' => [ '' => [maximum depth reached], ], 'company' => [ '' => [maximum depth reached], ], 'phone' => [ '' => [maximum depth reached], ], 'email' => [ '' => [maximum depth reached], ], 'subject' => [ '' => [maximum depth reached], ], 'body' => [ '' => [maximum depth reached], ], 'gdpr' => [ '' => [maximum depth reached], ], ], ] '_errors' => [ ] '_validator' => [ '_presenceMessages' => [ ], '_allowEmptyMessages' => [ ], '_allowEmptyFlags' => [ 'name' => (int) 1, 'subject' => (int) 1, 'body' => (int) 1, 'gdpr' => (int) 1, ], '_useI18n' => true, '_stopOnFailure' => false, '_providers' => [ (int) 0 => 'form', ], '_fields' => [ 'email' => [ '' => [maximum depth reached], ], 'name' => [ '' => [maximum depth reached], ], 'subject' => [ '' => [maximum depth reached], ], 'body' => [ '' => [maximum depth reached], ], 'gdpr' => [ '' => [maximum depth reached], ], ], ] '_schemaClass' => 'Cake\Form\Schema' '_data' => [ ] '_eventManager' => object(Cake\Event\EventManager) id:1 { '_listeners' => [ ] '_isGlobal' => false '_trackEvents' => false '_generalManager' => '(object) EventManager' '_dispatchedEvents' => null protected _generalManager => object(Cake\Event\EventManager) id:2 { } protected _listeners => [ '' => [maximum depth reached], ] protected _isGlobal => false protected _eventList => null protected _trackEvents => false } '_eventClass' => 'Cake\Event\Event' '_validatorClass' => 'Cake\Validation\Validator' '_validators' => [ 'default' => object(Cake\Validation\Validator) id:3 { }, ] protected _schemaClass => 'Cake\Form\Schema' protected _schema => object(Cake\Form\Schema) id:4 { } protected _errors => [ ] protected _data => [ ] protected _eventManager => object(Cake\Event\EventManager) id: 1 {} protected _eventClass => 'Cake\Event\Event' protected _validatorClass => 'Cake\Validation\Validator' protected _validators => [ 'default' => object(Cake\Validation\Validator) id: 3 {}, ] }include - ROOT/templates/Pages/office.php, line 12 Cake\View\View::_evaluate() - CORE/src/View/View.php, line 1176 Cake\View\View::_render() - CORE/src/View/View.php, line 1134 Cake\View\View::render() - CORE/src/View/View.php, line 764 Cake\Controller\Controller::render() - CORE/src/Controller/Controller.php, line 699 App\Controller\PagesController::display() - APP/Controller/PagesController.php, line 135 Cake\Controller\Controller::invokeAction() - CORE/src/Controller/Controller.php, line 531 Cake\Controller\ControllerFactory::invoke() - CORE/src/Controller/ControllerFactory.php, line 151 Cake\Http\BaseApplication::handle() - CORE/src/Http/BaseApplication.php, line 313 Cake\Http\Runner::handle() - CORE/src/Http/Runner.php, line 77 Authorization\Middleware\RequestAuthorizationMiddleware::process() - ROOT/vendor/cakephp/authorization/src/Middleware/RequestAuthorizationMiddleware.php, line 102 Cake\Http\Runner::handle() - CORE/src/Http/Runner.php, line 73 Authorization\Middleware\AuthorizationMiddleware::process() - ROOT/vendor/cakephp/authorization/src/Middleware/AuthorizationMiddleware.php, line 129 Cake\Http\Runner::handle() - CORE/src/Http/Runner.php, line 73 Authentication\Middleware\AuthenticationMiddleware::process() - ROOT/vendor/cakephp/authentication/src/Middleware/AuthenticationMiddleware.php, line 124 Cake\Http\Runner::handle() - CORE/src/Http/Runner.php, line 73 Cake\Http\Middleware\CsrfProtectionMiddleware::process() - CORE/src/Http/Middleware/CsrfProtectionMiddleware.php, line 159
Notice (8): Trying to get property 'city' of non-object [ROOT/templates/Pages/office.php, line 13]Code Context$category->location->street . '<br/>' .
$category->location->city . '<br/>' .
$category->location->postcode . '<br/>'
$templateFile ='/var/www/vhosts/drcs.org.uk/httpdocs/templates/Pages/office.php'$dataForView =[ 'category' => object(App\Model\Entity\CategoryDataset) id:0 { 'id' => (int) 30 'h1' => 'Long Eaton Office' 'meta_title' => 'Long Eaton Office' 'meta_keywords' => 'long eaton office drcs, long eaton, office, drcs' 'meta_description' => 'Contact details for the DRCS Long Eaton office' 'description' => 'Contact details for the DRCS Long Eaton office' 'sub_description' => '' 'banner_image' => '' 'category_image' => '' 'forward_date' => null 'template' => 'office' 'url' => 'long-eaton-office' 'disabled' => (int) 0 'created' => object(Cake\I18n\FrozenTime) id:1 { } 'modified' => object(Cake\I18n\FrozenTime) id:2 { } 'faqs' => [ ] 'location' => null 'categories' => [ (int) 0 => object(App\Model\Entity\Category) id:3 { }, ] '_matchingData' => [ 'Categories' => object(App\Model\Entity\Category) id:4 { }, 'Domains' => object(App\Model\Entity\Domain) id:5 { }, 'CategoriesDomains' => object(Cake\ORM\Entity) id:6 { }, ] '[new]' => false '[accessible]' => [ 'h1' => true, 'meta_title' => true, 'meta_keywords' => true, 'meta_description' => true, 'description' => true, 'sub_description' => true, 'banner_image' => true, 'category_image' => true, 'forward_date' => true, 'template' => true, 'url' => true, 'disabled' => true, 'created' => true, 'modified' => true, 'categories' => true, 'faqs' => true, ] '[dirty]' => [ ] '[original]' => [ ] '[virtual]' => [ ] '[hasErrors]' => false '[errors]' => [ ] '[invalid]' => [ ] '[repository]' => 'CategoryDatasets' protected _accessible => [ '' => [maximum depth reached], ] protected _fields => [ '' => [maximum depth reached], ] protected _original => [ '' => [maximum depth reached], ] protected _hidden => [ '' => [maximum depth reached], ] protected _virtual => [ '' => [maximum depth reached], ] protected _dirty => [ '' => [maximum depth reached], ] protected _accessors => [ '' => [maximum depth reached], ] protected _new => false protected _errors => [ '' => [maximum depth reached], ] protected _invalid => [ '' => [maximum depth reached], ] protected _registryAlias => 'CategoryDatasets' }, 'breadcrumbs' => object(Cake\ORM\ResultSet) id:7 { 'items' => [ (int) 0 => object(App\Model\Entity\Category) id:8 { }, (int) 1 => object(App\Model\Entity\Category) id:9 { }, ] protected _statement => object(Cake\Database\Statement\CallbackStatement) id:10 { } protected _index => (int) 2 protected _current => object(App\Model\Entity\Category) id: 9 {} protected _defaultTable => object(App\Model\Table\CategoriesTable) id:11 { } protected _defaultAlias => 'Categories' protected _matchingMap => [ '' => [maximum depth reached], ] protected _containMap => [ '' => [maximum depth reached], ] protected _map => [ '' => [maximum depth reached], ] protected _matchingMapColumns => [ '' => [maximum depth reached], ] protected _results => object(SplFixedArray) id:12 { } protected _hydrate => true protected _autoFields => null protected _entityClass => 'App\Model\Entity\Category' protected _useBuffering => true protected _count => (int) 2 protected _driver => object(Cake\Database\Driver\Mysql) id:13 { } }, 'categories' => object(Cake\ORM\Query) id:14 { '(help)' => 'This is a Query object, to get the results execute or iterate it.' 'sql' => 'SELECT Categories.id AS Categories__id, Categories.name AS Categories__name, Categories.position AS Categories__position, Categories.category_dataset_id AS Categories__category_dataset_id, Categories.exclude_from_menu AS Categories__exclude_from_menu, Categories.parent_id AS Categories__parent_id, Categories.lft AS Categories__lft, Categories.rght AS Categories__rght, CategoryDatasets.id AS CategoryDatasets__id, CategoryDatasets.h1 AS CategoryDatasets__h1, CategoryDatasets.meta_title AS CategoryDatasets__meta_title, CategoryDatasets.meta_keywords AS CategoryDatasets__meta_keywords, CategoryDatasets.meta_description AS CategoryDatasets__meta_description, CategoryDatasets.description AS CategoryDatasets__description, CategoryDatasets.sub_description AS CategoryDatasets__sub_description, CategoryDatasets.banner_image AS CategoryDatasets__banner_image, CategoryDatasets.category_image AS CategoryDatasets__category_image, CategoryDatasets.forward_date AS CategoryDatasets__forward_date, CategoryDatasets.template AS CategoryDatasets__template, CategoryDatasets.url AS CategoryDatasets__url, CategoryDatasets.disabled AS CategoryDatasets__disabled, CategoryDatasets.created AS CategoryDatasets__created, CategoryDatasets.modified AS CategoryDatasets__modified, CategoriesDomains.id AS CategoriesDomains__id, CategoriesDomains.category_id AS CategoriesDomains__category_id, CategoriesDomains.domain_id AS CategoriesDomains__domain_id, Domains.id AS Domains__id, Domains.domain AS Domains__domain FROM categories Categories INNER JOIN category_datasets CategoryDatasets ON (CategoryDatasets.disabled = :c0 AND ((forward_date) IS NULL OR forward_date <= (CURRENT_DATE())) AND CategoryDatasets.id = (Categories.category_dataset_id)) INNER JOIN categories_domains CategoriesDomains ON Categories.id = (CategoriesDomains.category_id) INNER JOIN domains Domains ON (domain = :c1 AND Domains.id = (CategoriesDomains.domain_id)) WHERE exclude_from_menu = :c2 ORDER BY position' 'params' => [ ':c0' => [ '' => [maximum depth reached], ], ':c1' => [ '' => [maximum depth reached], ], ':c2' => [ '' => [maximum depth reached], ], ] 'defaultTypes' => [ 'Categories__id' => 'smallinteger', 'Categories.id' => 'smallinteger', 'id' => 'smallinteger', 'Categories__name' => 'string', 'Categories.name' => 'string', 'name' => 'string', 'Categories__position' => 'smallinteger', 'Categories.position' => 'smallinteger', 'position' => 'smallinteger', 'Categories__category_dataset_id' => 'smallinteger', 'Categories.category_dataset_id' => 'smallinteger', 'category_dataset_id' => 'smallinteger', 'Categories__exclude_from_menu' => 'tinyinteger', 'Categories.exclude_from_menu' => 'tinyinteger', 'exclude_from_menu' => 'tinyinteger', 'Categories__parent_id' => 'integer', 'Categories.parent_id' => 'integer', 'parent_id' => 'integer', 'Categories__lft' => 'integer', 'Categories.lft' => 'integer', 'lft' => 'integer', 'Categories__rght' => 'integer', 'Categories.rght' => 'integer', 'rght' => 'integer', 'CategoryDatasets__id' => 'smallinteger', 'CategoryDatasets.id' => 'smallinteger', 'CategoryDatasets__h1' => 'string', 'CategoryDatasets.h1' => 'string', 'h1' => 'string', 'CategoryDatasets__meta_title' => 'string', 'CategoryDatasets.meta_title' => 'string', 'meta_title' => 'string', 'CategoryDatasets__meta_keywords' => 'string', 'CategoryDatasets.meta_keywords' => 'string', 'meta_keywords' => 'string', 'CategoryDatasets__meta_description' => 'text', 'CategoryDatasets.meta_description' => 'text', 'meta_description' => 'text', 'CategoryDatasets__description' => 'string', 'CategoryDatasets.description' => 'string', 'description' => 'string', 'CategoryDatasets__sub_description' => 'text', 'CategoryDatasets.sub_description' => 'text', 'sub_description' => 'text', 'CategoryDatasets__banner_image' => 'string', 'CategoryDatasets.banner_image' => 'string', 'banner_image' => 'string', 'CategoryDatasets__category_image' => 'string', 'CategoryDatasets.category_image' => 'string', 'category_image' => 'string', 'CategoryDatasets__forward_date' => 'date', 'CategoryDatasets.forward_date' => 'date', 'forward_date' => 'date', 'CategoryDatasets__template' => 'string', 'CategoryDatasets.template' => 'string', 'template' => 'string', 'CategoryDatasets__url' => 'string', 'CategoryDatasets.url' => 'string', 'url' => 'string', 'CategoryDatasets__disabled' => 'tinyinteger', 'CategoryDatasets.disabled' => 'tinyinteger', 'disabled' => 'tinyinteger', 'CategoryDatasets__created' => 'datetime', 'CategoryDatasets.created' => 'datetime', 'created' => 'datetime', 'CategoryDatasets__modified' => 'datetime', 'CategoryDatasets.modified' => 'datetime', 'modified' => 'datetime', 'Domains__id' => 'tinyinteger', 'Domains.id' => 'tinyinteger', 'Domains__domain' => 'string', 'Domains.domain' => 'string', 'domain' => 'string', 'CategoriesDomains__id' => 'integer', 'CategoriesDomains.id' => 'integer', 'CategoriesDomains__category_id' => 'smallinteger', 'CategoriesDomains.category_id' => 'smallinteger', 'category_id' => 'smallinteger', 'CategoriesDomains__domain_id' => 'tinyinteger', 'CategoriesDomains.domain_id' => 'tinyinteger', 'domain_id' => 'tinyinteger', ] 'decorators' => (int) 0 'executed' => false 'hydrate' => true 'buffered' => true 'formatters' => (int) 1 'mapReducers' => (int) 0 'contain' => [ 'CategoryDatasets' => [ '' => [maximum depth reached], ], ] 'matching' => [ 'CategoryDatasets' => [ '' => [maximum depth reached], ], 'Domains' => [ '' => [maximum depth reached], ], ] 'extraOptions' => [ 'result_type' => 'threaded', ] 'repository' => object(App\Model\Table\CategoriesTable) id: 11 {} protected _hasFields => true protected _autoFields => null protected _hydrate => true protected aliasingEnabled => true protected _counter => null protected _eagerLoader => object(Cake\ORM\EagerLoader) id:15 { } protected _beforeFindFired => true protected _resultsCount => null protected _connection => object(Cake\Database\Connection) id:16 { } protected _type => 'select' protected _parts => [ '' => [maximum depth reached], ] protected _selectParts => [ '' => [maximum depth reached], ] protected _updateParts => [ '' => [maximum depth reached], ] protected _deleteParts => [ '' => [maximum depth reached], ] protected _insertParts => [ '' => [maximum depth reached], ] protected _dirty => true protected _resultDecorators => [ '' => [maximum depth reached], ] protected _iterator => null protected _valueBinder => object(Cake\Database\ValueBinder) id:17 { } protected _functionsBuilder => null protected _useBufferedResults => true protected _selectTypeMap => object(Cake\Database\TypeMap) id:18 { } protected typeCastEnabled => true protected _typeMap => object(Cake\Database\TypeMap) id:19 { } protected _repository => object(App\Model\Table\CategoriesTable) id: 11 {} protected _results => null protected _mapReduce => [ '' => [maximum depth reached], ] protected _formatters => [ '' => [maximum depth reached], ] protected _cache => null protected _options => [ '' => [maximum depth reached], ] protected _eagerLoaded => false }, 'companyDetails' => object(App\Model\Entity\CompanyDetail) id:20 { 'id' => (int) 4 'domain_id' => (int) 1 'company_name' => 'Derwent Rural Counselling Service' 'logo' => '/img/drcs-logo.png' 'logo_alt' => 'Derwent Rural Counselling Service' 'phone' => '0800 047 6861' 'email' => 'admin@drcs.org.uk' 'address_line_1' => 'Serenity House' 'address_line_2' => 'New Beetwell Street' 'address_line_3' => '' 'city' => 'Chesterfield' 'county' => '' 'postcode' => 'S40 1QR' 'country' => 'United Kingdom' 'company_number' => '06081874' 'vat_reg_number' => '' 'social_medias' => [ (int) 0 => object(App\Model\Entity\SocialMedia) id:21 { }, ] '_matchingData' => [ 'Domains' => object(App\Model\Entity\Domain) id:22 { }, ] '[new]' => false '[accessible]' => [ 'domain_id' => true, 'company_name' => true, 'logo' => true, 'logo_alt' => true, 'phone' => true, 'email' => true, 'address_line_1' => true, 'address_line_2' => true, 'address_line_3' => true, 'city' => true, 'county' => true, 'postcode' => true, 'country' => true, 'company_number' => true, 'vat_reg_number' => true, 'domain' => true, 'social_medias' => true, ] '[dirty]' => [ ] '[original]' => [ ] '[virtual]' => [ ] '[hasErrors]' => false '[errors]' => [ ] '[invalid]' => [ ] '[repository]' => 'CompanyDetails' protected _accessible => [ '' => [maximum depth reached], ] protected _fields => [ '' => [maximum depth reached], ] protected _original => [ '' => [maximum depth reached], ] protected _hidden => [ '' => [maximum depth reached], ] protected _virtual => [ '' => [maximum depth reached], ] protected _dirty => [ '' => [maximum depth reached], ] protected _accessors => [ '' => [maximum depth reached], ] protected _new => false protected _errors => [ '' => [maximum depth reached], ] protected _invalid => [ '' => [maximum depth reached], ] protected _registryAlias => 'CompanyDetails' }, 'configuration' => object(App\Model\Entity\Configuration) id:23 { 'id' => (int) 2 'domain_id' => (int) 1 'recaptcha_site_key' => '6Lf0zrEqAAAAANIAopzBZeBty2lC6ULnVfYfPAmW' 'recaptcha_secret_key' => '6Lf0zrEqAAAAAKXiK7VpSAJ3DiYhVs8kd6KBND34' 'dropdown_menu_links_number' => (int) 8 'news_menu_links_number' => (int) 8 'meta_robots' => 'index, follow' 'google_analytics' => '<!-- Global site tag (gtag.js) - Google Analytics --> <script async src="https://www.googletagmanager.com/gtag/js?id=G-9Q9Z19W2TG"></script> <script> window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config', 'G-9Q9Z19W2TG'); </script> <!-- Google tag (gtag.js) --> <script async src="https://www.googletagmanager.com/gtag/js?id=AW-797395108"></script> <script> window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config', 'AW-797395108'); </script>' '_matchingData' => [ 'Domains' => object(App\Model\Entity\Domain) id:24 { }, ] '[new]' => false '[accessible]' => [ 'domain_id' => true, 'recaptcha_site_key' => true, 'recaptcha_secret_key' => true, 'dropdown_menu_links_number' => true, 'news_menu_links_number' => true, 'meta_robots' => true, 'google_analytics' => true, 'domain' => true, ] '[dirty]' => [ ] '[original]' => [ ] '[virtual]' => [ ] '[hasErrors]' => false '[errors]' => [ ] '[invalid]' => [ ] '[repository]' => 'Configurations' protected _accessible => [ '' => [maximum depth reached], ] protected _fields => [ '' => [maximum depth reached], ] protected _original => [ '' => [maximum depth reached], ] protected _hidden => [ '' => [maximum depth reached], ] protected _virtual => [ '' => [maximum depth reached], ] protected _dirty => [ '' => [maximum depth reached], ] protected _accessors => [ '' => [maximum depth reached], ] protected _new => false protected _errors => [ '' => [maximum depth reached], ] protected _invalid => [ '' => [maximum depth reached], ] protected _registryAlias => 'Configurations' }, 'form' => object(App\Form\ContactForm) id:25 { '_schema' => [ '_fields' => [ '' => [maximum depth reached], ], ] '_errors' => [ ] '_validator' => [ '_presenceMessages' => [ '' => [maximum depth reached], ], '_allowEmptyMessages' => [ '' => [maximum depth reached], ], '_allowEmptyFlags' => [ '' => [maximum depth reached], ], '_useI18n' => true, '_stopOnFailure' => false, '_providers' => [ '' => [maximum depth reached], ], '_fields' => [ '' => [maximum depth reached], ], ] '_schemaClass' => 'Cake\Form\Schema' '_data' => [ ] '_eventManager' => object(Cake\Event\EventManager) id:26 { } '_eventClass' => 'Cake\Event\Event' '_validatorClass' => 'Cake\Validation\Validator' '_validators' => [ 'default' => object(Cake\Validation\Validator) id:27 { }, ] protected _schemaClass => 'Cake\Form\Schema' protected _schema => object(Cake\Form\Schema) id:28 { } protected _errors => [ '' => [maximum depth reached], ] protected _data => [ '' => [maximum depth reached], ] protected _eventManager => object(Cake\Event\EventManager) id: 26 {} protected _eventClass => 'Cake\Event\Event' protected _validatorClass => 'Cake\Validation\Validator' protected _validators => [ '' => [maximum depth reached], ] }, ]$bufferLevel =(int) 1$category =object(App\Model\Entity\CategoryDataset) id:0 { 'id' => (int) 30 'h1' => 'Long Eaton Office' 'meta_title' => 'Long Eaton Office' 'meta_keywords' => 'long eaton office drcs, long eaton, office, drcs' 'meta_description' => 'Contact details for the DRCS Long Eaton office' 'description' => 'Contact details for the DRCS Long Eaton office' 'sub_description' => '' 'banner_image' => '' 'category_image' => '' 'forward_date' => null 'template' => 'office' 'url' => 'long-eaton-office' 'disabled' => (int) 0 'created' => object(Cake\I18n\FrozenTime) id:1 { 'time' => '2021-03-08 13:04:03.000000+00:00' 'timezone' => 'UTC' 'fixedNowTime' => false protected _toStringFormat => [ '' => [maximum depth reached], ] protected _jsonEncodeFormat => 'yyyy-MM-dd'T'HH':'mm':'ssxxx' protected testNow => null protected toStringFormat => 'Y-m-d H:i:s' protected weekendDays => [ '' => [maximum depth reached], ] protected diffFormatter => null protected _lastErrors => [ '' => [maximum depth reached], ] protected days => [ '' => [maximum depth reached], ] protected weekStartsAt => (int) 1 protected weekEndsAt => (int) 7 protected relativePattern => '/this|next|last|tomorrow|yesterday|midnight|today|[+-]|first|last|ago/i' protected defaultLocale => 'en-GB' protected lenientParsing => true protected _formatters => [ '' => [maximum depth reached], ] } 'modified' => object(Cake\I18n\FrozenTime) id:2 { 'time' => '2021-03-08 13:04:03.000000+00:00' 'timezone' => 'UTC' 'fixedNowTime' => false protected _toStringFormat => [ '' => [maximum depth reached], ] protected _jsonEncodeFormat => 'yyyy-MM-dd'T'HH':'mm':'ssxxx' protected testNow => null protected toStringFormat => 'Y-m-d H:i:s' protected weekendDays => [ '' => [maximum depth reached], ] protected diffFormatter => null protected _lastErrors => [ '' => [maximum depth reached], ] protected days => [ '' => [maximum depth reached], ] protected weekStartsAt => (int) 1 protected weekEndsAt => (int) 7 protected relativePattern => '/this|next|last|tomorrow|yesterday|midnight|today|[+-]|first|last|ago/i' protected defaultLocale => 'en-GB' protected lenientParsing => true protected _formatters => [ '' => [maximum depth reached], ] } 'faqs' => [ ] 'location' => null 'categories' => [ (int) 0 => object(App\Model\Entity\Category) id:3 { }, ] '_matchingData' => [ 'Categories' => object(App\Model\Entity\Category) id:4 { }, 'Domains' => object(App\Model\Entity\Domain) id:5 { }, 'CategoriesDomains' => object(Cake\ORM\Entity) id:6 { }, ] '[new]' => false '[accessible]' => [ 'h1' => true, 'meta_title' => true, 'meta_keywords' => true, 'meta_description' => true, 'description' => true, 'sub_description' => true, 'banner_image' => true, 'category_image' => true, 'forward_date' => true, 'template' => true, 'url' => true, 'disabled' => true, 'created' => true, 'modified' => true, 'categories' => true, 'faqs' => true, ] '[dirty]' => [ ] '[original]' => [ ] '[virtual]' => [ ] '[hasErrors]' => false '[errors]' => [ ] '[invalid]' => [ ] '[repository]' => 'CategoryDatasets' protected _accessible => [ 'h1' => true, 'meta_title' => true, 'meta_keywords' => true, 'meta_description' => true, 'description' => true, 'sub_description' => true, 'banner_image' => true, 'category_image' => true, 'forward_date' => true, 'template' => true, 'url' => true, 'disabled' => true, 'created' => true, 'modified' => true, 'categories' => true, 'faqs' => true, ] protected _fields => [ 'id' => (int) 30, 'h1' => 'Long Eaton Office', 'meta_title' => 'Long Eaton Office', 'meta_keywords' => 'long eaton office drcs, long eaton, office, drcs', 'meta_description' => 'Contact details for the DRCS Long Eaton office', 'description' => 'Contact details for the DRCS Long Eaton office', 'sub_description' => '', 'banner_image' => '', 'category_image' => '', 'forward_date' => null, 'template' => 'office', 'url' => 'long-eaton-office', 'disabled' => (int) 0, 'created' => object(Cake\I18n\FrozenTime) id: 1 {}, 'modified' => object(Cake\I18n\FrozenTime) id: 2 {}, 'faqs' => [ '' => [maximum depth reached], ], 'location' => null, 'categories' => [ '' => [maximum depth reached], ], '_matchingData' => [ '' => [maximum depth reached], ], ] protected _original => [ ] protected _hidden => [ ] protected _virtual => [ ] protected _dirty => [ ] protected _accessors => [ 'App\Model\Entity\Configuration' => [ '' => [maximum depth reached], ], 'App\Model\Entity\SocialMedia' => [ '' => [maximum depth reached], ], 'App\Model\Entity\Category' => [ '' => [maximum depth reached], ], 'App\Model\Entity\CategoryDataset' => [ '' => [maximum depth reached], ], ] protected _new => false protected _errors => [ ] protected _invalid => [ ] protected _registryAlias => 'CategoryDatasets' }$breadcrumbs =object(Cake\ORM\ResultSet) id:0 { 'items' => [ (int) 0 => object(App\Model\Entity\Category) id:1 { }, (int) 1 => object(App\Model\Entity\Category) id:2 { }, ] protected _statement => object(Cake\Database\Statement\CallbackStatement) id:3 { } protected _index => (int) 2 protected _current => object(App\Model\Entity\Category) id: 2 {} protected _defaultTable => object(App\Model\Table\CategoriesTable) id:4 { } protected _defaultAlias => 'Categories' protected _matchingMap => [ ] protected _containMap => [ 'CategoryDatasets' => [ '' => [maximum depth reached], ], ] protected _map => [ 'Categories' => [ '' => [maximum depth reached], ], 'CategoryDatasets' => [ '' => [maximum depth reached], ], ] protected _matchingMapColumns => [ ] protected _results => object(SplFixedArray) id:5 { } protected _hydrate => true protected _autoFields => null protected _entityClass => 'App\Model\Entity\Category' protected _useBuffering => true protected _count => (int) 2 protected _driver => object(Cake\Database\Driver\Mysql) id:6 { } }$categories =object(Cake\ORM\Query) id:0 { '(help)' => 'This is a Query object, to get the results execute or iterate it.' 'sql' => 'SELECT Categories.id AS Categories__id, Categories.name AS Categories__name, Categories.position AS Categories__position, Categories.category_dataset_id AS Categories__category_dataset_id, Categories.exclude_from_menu AS Categories__exclude_from_menu, Categories.parent_id AS Categories__parent_id, Categories.lft AS Categories__lft, Categories.rght AS Categories__rght, CategoryDatasets.id AS CategoryDatasets__id, CategoryDatasets.h1 AS CategoryDatasets__h1, CategoryDatasets.meta_title AS CategoryDatasets__meta_title, CategoryDatasets.meta_keywords AS CategoryDatasets__meta_keywords, CategoryDatasets.meta_description AS CategoryDatasets__meta_description, CategoryDatasets.description AS CategoryDatasets__description, CategoryDatasets.sub_description AS CategoryDatasets__sub_description, CategoryDatasets.banner_image AS CategoryDatasets__banner_image, CategoryDatasets.category_image AS CategoryDatasets__category_image, CategoryDatasets.forward_date AS CategoryDatasets__forward_date, CategoryDatasets.template AS CategoryDatasets__template, CategoryDatasets.url AS CategoryDatasets__url, CategoryDatasets.disabled AS CategoryDatasets__disabled, CategoryDatasets.created AS CategoryDatasets__created, CategoryDatasets.modified AS CategoryDatasets__modified, CategoriesDomains.id AS CategoriesDomains__id, CategoriesDomains.category_id AS CategoriesDomains__category_id, CategoriesDomains.domain_id AS CategoriesDomains__domain_id, Domains.id AS Domains__id, Domains.domain AS Domains__domain FROM categories Categories INNER JOIN category_datasets CategoryDatasets ON (CategoryDatasets.disabled = :c0 AND ((forward_date) IS NULL OR forward_date <= (CURRENT_DATE())) AND CategoryDatasets.id = (Categories.category_dataset_id)) INNER JOIN categories_domains CategoriesDomains ON Categories.id = (CategoriesDomains.category_id) INNER JOIN domains Domains ON (domain = :c1 AND Domains.id = (CategoriesDomains.domain_id)) WHERE exclude_from_menu = :c2 ORDER BY position' 'params' => [ ':c0' => [ 'value' => (int) 0, 'type' => 'tinyinteger', 'placeholder' => 'c0', ], ':c1' => [ 'value' => 'drcs.org.uk', 'type' => 'string', 'placeholder' => 'c1', ], ':c2' => [ 'value' => (int) 0, 'type' => 'tinyinteger', 'placeholder' => 'c2', ], ] 'defaultTypes' => [ 'Categories__id' => 'smallinteger', 'Categories.id' => 'smallinteger', 'id' => 'smallinteger', 'Categories__name' => 'string', 'Categories.name' => 'string', 'name' => 'string', 'Categories__position' => 'smallinteger', 'Categories.position' => 'smallinteger', 'position' => 'smallinteger', 'Categories__category_dataset_id' => 'smallinteger', 'Categories.category_dataset_id' => 'smallinteger', 'category_dataset_id' => 'smallinteger', 'Categories__exclude_from_menu' => 'tinyinteger', 'Categories.exclude_from_menu' => 'tinyinteger', 'exclude_from_menu' => 'tinyinteger', 'Categories__parent_id' => 'integer', 'Categories.parent_id' => 'integer', 'parent_id' => 'integer', 'Categories__lft' => 'integer', 'Categories.lft' => 'integer', 'lft' => 'integer', 'Categories__rght' => 'integer', 'Categories.rght' => 'integer', 'rght' => 'integer', 'CategoryDatasets__id' => 'smallinteger', 'CategoryDatasets.id' => 'smallinteger', 'CategoryDatasets__h1' => 'string', 'CategoryDatasets.h1' => 'string', 'h1' => 'string', 'CategoryDatasets__meta_title' => 'string', 'CategoryDatasets.meta_title' => 'string', 'meta_title' => 'string', 'CategoryDatasets__meta_keywords' => 'string', 'CategoryDatasets.meta_keywords' => 'string', 'meta_keywords' => 'string', 'CategoryDatasets__meta_description' => 'text', 'CategoryDatasets.meta_description' => 'text', 'meta_description' => 'text', 'CategoryDatasets__description' => 'string', 'CategoryDatasets.description' => 'string', 'description' => 'string', 'CategoryDatasets__sub_description' => 'text', 'CategoryDatasets.sub_description' => 'text', 'sub_description' => 'text', 'CategoryDatasets__banner_image' => 'string', 'CategoryDatasets.banner_image' => 'string', 'banner_image' => 'string', 'CategoryDatasets__category_image' => 'string', 'CategoryDatasets.category_image' => 'string', 'category_image' => 'string', 'CategoryDatasets__forward_date' => 'date', 'CategoryDatasets.forward_date' => 'date', 'forward_date' => 'date', 'CategoryDatasets__template' => 'string', 'CategoryDatasets.template' => 'string', 'template' => 'string', 'CategoryDatasets__url' => 'string', 'CategoryDatasets.url' => 'string', 'url' => 'string', 'CategoryDatasets__disabled' => 'tinyinteger', 'CategoryDatasets.disabled' => 'tinyinteger', 'disabled' => 'tinyinteger', 'CategoryDatasets__created' => 'datetime', 'CategoryDatasets.created' => 'datetime', 'created' => 'datetime', 'CategoryDatasets__modified' => 'datetime', 'CategoryDatasets.modified' => 'datetime', 'modified' => 'datetime', 'Domains__id' => 'tinyinteger', 'Domains.id' => 'tinyinteger', 'Domains__domain' => 'string', 'Domains.domain' => 'string', 'domain' => 'string', 'CategoriesDomains__id' => 'integer', 'CategoriesDomains.id' => 'integer', 'CategoriesDomains__category_id' => 'smallinteger', 'CategoriesDomains.category_id' => 'smallinteger', 'category_id' => 'smallinteger', 'CategoriesDomains__domain_id' => 'tinyinteger', 'CategoriesDomains.domain_id' => 'tinyinteger', 'domain_id' => 'tinyinteger', ] 'decorators' => (int) 0 'executed' => false 'hydrate' => true 'buffered' => true 'formatters' => (int) 1 'mapReducers' => (int) 0 'contain' => [ 'CategoryDatasets' => [ ], ] 'matching' => [ 'CategoryDatasets' => [ 'queryBuilder' => object(Closure) id:1 { }, 'matching' => true, 'joinType' => 'INNER', ], 'Domains' => [ 'queryBuilder' => object(Closure) id:2 { }, 'matching' => true, 'joinType' => 'INNER', ], ] 'extraOptions' => [ 'result_type' => 'threaded', ] 'repository' => object(App\Model\Table\CategoriesTable) id:3 { 'registryAlias' => 'Categories' 'table' => 'categories' 'alias' => 'Categories' 'entityClass' => 'App\Model\Entity\Category' 'associations' => [ (int) 0 => 'CategoryDatasets', (int) 1 => 'ParentCategories', (int) 2 => 'ChildCategories', (int) 3 => 'Domains', (int) 4 => 'CategoriesDomains', ] 'behaviors' => [ (int) 0 => 'Domain', (int) 1 => 'Tree', ] 'defaultConnection' => 'default' 'connectionName' => 'default' protected _table => 'categories' protected _alias => 'Categories' protected _connection => object(Cake\Database\Connection) id:4 { } protected _schema => object(Cake\Database\Schema\TableSchema) id:5 { } protected _primaryKey => 'id' protected _displayField => 'name' protected _associations => object(Cake\ORM\AssociationCollection) id:6 { } protected _behaviors => object(Cake\ORM\BehaviorRegistry) id:7 { } protected _entityClass => 'App\Model\Entity\Category' protected _registryAlias => 'Categories' protected _eventManager => object(Cake\Event\EventManager) id:8 { } protected _eventClass => 'Cake\Event\Event' protected _rulesChecker => null protected _validatorClass => 'Cake\Validation\Validator' protected _validators => [ '' => [maximum depth reached], ] } protected _hasFields => true protected _autoFields => null protected _hydrate => true protected aliasingEnabled => true protected _counter => null protected _eagerLoader => object(Cake\ORM\EagerLoader) id:9 { } protected _beforeFindFired => true protected _resultsCount => null protected _connection => object(Cake\Database\Connection) id: 4 {} protected _type => 'select' protected _parts => [ 'delete' => true, 'update' => [ '' => [maximum depth reached], ], 'set' => [ '' => [maximum depth reached], ], 'insert' => [ '' => [maximum depth reached], ], 'values' => [ '' => [maximum depth reached], ], 'with' => [ '' => [maximum depth reached], ], 'select' => [ '' => [maximum depth reached], ], 'distinct' => false, 'modifier' => [ '' => [maximum depth reached], ], 'from' => [ '' => [maximum depth reached], ], 'join' => [ '' => [maximum depth reached], ], 'where' => object(Cake\Database\Expression\QueryExpression) id:10 { }, 'group' => [ '' => [maximum depth reached], ], 'having' => null, 'window' => [ '' => [maximum depth reached], ], 'order' => object(Cake\Database\Expression\OrderByExpression) id:11 { }, 'limit' => null, 'offset' => null, 'union' => [ '' => [maximum depth reached], ], 'epilog' => null, ] protected _selectParts => [ (int) 0 => 'with', (int) 1 => 'select', (int) 2 => 'from', (int) 3 => 'join', (int) 4 => 'where', (int) 5 => 'group', (int) 6 => 'having', (int) 7 => 'order', (int) 8 => 'limit', (int) 9 => 'offset', (int) 10 => 'union', (int) 11 => 'epilog', ] protected _updateParts => [ (int) 0 => 'with', (int) 1 => 'update', (int) 2 => 'set', (int) 3 => 'where', (int) 4 => 'epilog', ] protected _deleteParts => [ (int) 0 => 'with', (int) 1 => 'delete', (int) 2 => 'modifier', (int) 3 => 'from', (int) 4 => 'where', (int) 5 => 'epilog', ] protected _insertParts => [ (int) 0 => 'with', (int) 1 => 'insert', (int) 2 => 'values', (int) 3 => 'epilog', ] protected _dirty => true protected _resultDecorators => [ ] protected _iterator => null protected _valueBinder => object(Cake\Database\ValueBinder) id:12 { } protected _functionsBuilder => null protected _useBufferedResults => true protected _selectTypeMap => object(Cake\Database\TypeMap) id:13 { } protected typeCastEnabled => true protected _typeMap => object(Cake\Database\TypeMap) id:14 { } protected _repository => object(App\Model\Table\CategoriesTable) id: 3 {} protected _results => null protected _mapReduce => [ ] protected _formatters => [ (int) 0 => object(Closure) id:15 { }, ] protected _cache => null protected _options => [ 'result_type' => 'threaded', ] protected _eagerLoaded => false }$companyDetails =object(App\Model\Entity\CompanyDetail) id:0 { 'id' => (int) 4 'domain_id' => (int) 1 'company_name' => 'Derwent Rural Counselling Service' 'logo' => '/img/drcs-logo.png' 'logo_alt' => 'Derwent Rural Counselling Service' 'phone' => '0800 047 6861' 'email' => 'admin@drcs.org.uk' 'address_line_1' => 'Serenity House' 'address_line_2' => 'New Beetwell Street' 'address_line_3' => '' 'city' => 'Chesterfield' 'county' => '' 'postcode' => 'S40 1QR' 'country' => 'United Kingdom' 'company_number' => '06081874' 'vat_reg_number' => '' 'social_medias' => [ (int) 0 => object(App\Model\Entity\SocialMedia) id:1 { }, ] '_matchingData' => [ 'Domains' => object(App\Model\Entity\Domain) id:2 { }, ] '[new]' => false '[accessible]' => [ 'domain_id' => true, 'company_name' => true, 'logo' => true, 'logo_alt' => true, 'phone' => true, 'email' => true, 'address_line_1' => true, 'address_line_2' => true, 'address_line_3' => true, 'city' => true, 'county' => true, 'postcode' => true, 'country' => true, 'company_number' => true, 'vat_reg_number' => true, 'domain' => true, 'social_medias' => true, ] '[dirty]' => [ ] '[original]' => [ ] '[virtual]' => [ ] '[hasErrors]' => false '[errors]' => [ ] '[invalid]' => [ ] '[repository]' => 'CompanyDetails' protected _accessible => [ 'domain_id' => true, 'company_name' => true, 'logo' => true, 'logo_alt' => true, 'phone' => true, 'email' => true, 'address_line_1' => true, 'address_line_2' => true, 'address_line_3' => true, 'city' => true, 'county' => true, 'postcode' => true, 'country' => true, 'company_number' => true, 'vat_reg_number' => true, 'domain' => true, 'social_medias' => true, ] protected _fields => [ 'id' => (int) 4, 'domain_id' => (int) 1, 'company_name' => 'Derwent Rural Counselling Service', 'logo' => '/img/drcs-logo.png', 'logo_alt' => 'Derwent Rural Counselling Service', 'phone' => '0800 047 6861', 'email' => 'admin@drcs.org.uk', 'address_line_1' => 'Serenity House', 'address_line_2' => 'New Beetwell Street', 'address_line_3' => '', 'city' => 'Chesterfield', 'county' => '', 'postcode' => 'S40 1QR', 'country' => 'United Kingdom', 'company_number' => '06081874', 'vat_reg_number' => '', 'social_medias' => [ '' => [maximum depth reached], ], '_matchingData' => [ '' => [maximum depth reached], ], ] protected _original => [ ] protected _hidden => [ ] protected _virtual => [ ] protected _dirty => [ ] protected _accessors => [ 'App\Model\Entity\Configuration' => [ '' => [maximum depth reached], ], 'App\Model\Entity\SocialMedia' => [ '' => [maximum depth reached], ], 'App\Model\Entity\Category' => [ '' => [maximum depth reached], ], 'App\Model\Entity\CategoryDataset' => [ '' => [maximum depth reached], ], ] protected _new => false protected _errors => [ ] protected _invalid => [ ] protected _registryAlias => 'CompanyDetails' }$configuration =object(App\Model\Entity\Configuration) id:0 { 'id' => (int) 2 'domain_id' => (int) 1 'recaptcha_site_key' => '6Lf0zrEqAAAAANIAopzBZeBty2lC6ULnVfYfPAmW' 'recaptcha_secret_key' => '6Lf0zrEqAAAAAKXiK7VpSAJ3DiYhVs8kd6KBND34' 'dropdown_menu_links_number' => (int) 8 'news_menu_links_number' => (int) 8 'meta_robots' => 'index, follow' 'google_analytics' => '<!-- Global site tag (gtag.js) - Google Analytics --> <script async src="https://www.googletagmanager.com/gtag/js?id=G-9Q9Z19W2TG"></script> <script> window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config', 'G-9Q9Z19W2TG'); </script> <!-- Google tag (gtag.js) --> <script async src="https://www.googletagmanager.com/gtag/js?id=AW-797395108"></script> <script> window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config', 'AW-797395108'); </script>' '_matchingData' => [ 'Domains' => object(App\Model\Entity\Domain) id:1 { }, ] '[new]' => false '[accessible]' => [ 'domain_id' => true, 'recaptcha_site_key' => true, 'recaptcha_secret_key' => true, 'dropdown_menu_links_number' => true, 'news_menu_links_number' => true, 'meta_robots' => true, 'google_analytics' => true, 'domain' => true, ] '[dirty]' => [ ] '[original]' => [ ] '[virtual]' => [ ] '[hasErrors]' => false '[errors]' => [ ] '[invalid]' => [ ] '[repository]' => 'Configurations' protected _accessible => [ 'domain_id' => true, 'recaptcha_site_key' => true, 'recaptcha_secret_key' => true, 'dropdown_menu_links_number' => true, 'news_menu_links_number' => true, 'meta_robots' => true, 'google_analytics' => true, 'domain' => true, ] protected _fields => [ 'id' => (int) 2, 'domain_id' => (int) 1, 'recaptcha_site_key' => '6Lf0zrEqAAAAANIAopzBZeBty2lC6ULnVfYfPAmW', 'recaptcha_secret_key' => '6Lf0zrEqAAAAAKXiK7VpSAJ3DiYhVs8kd6KBND34', 'dropdown_menu_links_number' => (int) 8, 'news_menu_links_number' => (int) 8, 'meta_robots' => 'index, follow', 'google_analytics' => '<!-- Global site tag (gtag.js) - Google Analytics --> <script async src="https://www.googletagmanager.com/gtag/js?id=G-9Q9Z19W2TG"></script> <script> window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config', 'G-9Q9Z19W2TG'); </script> <!-- Google tag (gtag.js) --> <script async src="https://www.googletagmanager.com/gtag/js?id=AW-797395108"></script> <script> window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config', 'AW-797395108'); </script>', '_matchingData' => [ '' => [maximum depth reached], ], ] protected _original => [ ] protected _hidden => [ ] protected _virtual => [ ] protected _dirty => [ ] protected _accessors => [ 'App\Model\Entity\Configuration' => [ '' => [maximum depth reached], ], 'App\Model\Entity\SocialMedia' => [ '' => [maximum depth reached], ], 'App\Model\Entity\Category' => [ '' => [maximum depth reached], ], 'App\Model\Entity\CategoryDataset' => [ '' => [maximum depth reached], ], ] protected _new => false protected _errors => [ ] protected _invalid => [ ] protected _registryAlias => 'Configurations' }$form =object(App\Form\ContactForm) id:0 { '_schema' => [ '_fields' => [ 'name' => [ '' => [maximum depth reached], ], 'company' => [ '' => [maximum depth reached], ], 'phone' => [ '' => [maximum depth reached], ], 'email' => [ '' => [maximum depth reached], ], 'subject' => [ '' => [maximum depth reached], ], 'body' => [ '' => [maximum depth reached], ], 'gdpr' => [ '' => [maximum depth reached], ], ], ] '_errors' => [ ] '_validator' => [ '_presenceMessages' => [ ], '_allowEmptyMessages' => [ ], '_allowEmptyFlags' => [ 'name' => (int) 1, 'subject' => (int) 1, 'body' => (int) 1, 'gdpr' => (int) 1, ], '_useI18n' => true, '_stopOnFailure' => false, '_providers' => [ (int) 0 => 'form', ], '_fields' => [ 'email' => [ '' => [maximum depth reached], ], 'name' => [ '' => [maximum depth reached], ], 'subject' => [ '' => [maximum depth reached], ], 'body' => [ '' => [maximum depth reached], ], 'gdpr' => [ '' => [maximum depth reached], ], ], ] '_schemaClass' => 'Cake\Form\Schema' '_data' => [ ] '_eventManager' => object(Cake\Event\EventManager) id:1 { '_listeners' => [ ] '_isGlobal' => false '_trackEvents' => false '_generalManager' => '(object) EventManager' '_dispatchedEvents' => null protected _generalManager => object(Cake\Event\EventManager) id:2 { } protected _listeners => [ '' => [maximum depth reached], ] protected _isGlobal => false protected _eventList => null protected _trackEvents => false } '_eventClass' => 'Cake\Event\Event' '_validatorClass' => 'Cake\Validation\Validator' '_validators' => [ 'default' => object(Cake\Validation\Validator) id:3 { }, ] protected _schemaClass => 'Cake\Form\Schema' protected _schema => object(Cake\Form\Schema) id:4 { } protected _errors => [ ] protected _data => [ ] protected _eventManager => object(Cake\Event\EventManager) id: 1 {} protected _eventClass => 'Cake\Event\Event' protected _validatorClass => 'Cake\Validation\Validator' protected _validators => [ 'default' => object(Cake\Validation\Validator) id: 3 {}, ] }include - ROOT/templates/Pages/office.php, line 13 Cake\View\View::_evaluate() - CORE/src/View/View.php, line 1176 Cake\View\View::_render() - CORE/src/View/View.php, line 1134 Cake\View\View::render() - CORE/src/View/View.php, line 764 Cake\Controller\Controller::render() - CORE/src/Controller/Controller.php, line 699 App\Controller\PagesController::display() - APP/Controller/PagesController.php, line 135 Cake\Controller\Controller::invokeAction() - CORE/src/Controller/Controller.php, line 531 Cake\Controller\ControllerFactory::invoke() - CORE/src/Controller/ControllerFactory.php, line 151 Cake\Http\BaseApplication::handle() - CORE/src/Http/BaseApplication.php, line 313 Cake\Http\Runner::handle() - CORE/src/Http/Runner.php, line 77 Authorization\Middleware\RequestAuthorizationMiddleware::process() - ROOT/vendor/cakephp/authorization/src/Middleware/RequestAuthorizationMiddleware.php, line 102 Cake\Http\Runner::handle() - CORE/src/Http/Runner.php, line 73 Authorization\Middleware\AuthorizationMiddleware::process() - ROOT/vendor/cakephp/authorization/src/Middleware/AuthorizationMiddleware.php, line 129 Cake\Http\Runner::handle() - CORE/src/Http/Runner.php, line 73 Authentication\Middleware\AuthenticationMiddleware::process() - ROOT/vendor/cakephp/authentication/src/Middleware/AuthenticationMiddleware.php, line 124 Cake\Http\Runner::handle() - CORE/src/Http/Runner.php, line 73 Cake\Http\Middleware\CsrfProtectionMiddleware::process() - CORE/src/Http/Middleware/CsrfProtectionMiddleware.php, line 159
Notice (8): Trying to get property 'postcode' of non-object [ROOT/templates/Pages/office.php, line 14]Code Context$category->location->city . '<br/>' .
$category->location->postcode . '<br/>'
?>
$templateFile ='/var/www/vhosts/drcs.org.uk/httpdocs/templates/Pages/office.php'$dataForView =[ 'category' => object(App\Model\Entity\CategoryDataset) id:0 { 'id' => (int) 30 'h1' => 'Long Eaton Office' 'meta_title' => 'Long Eaton Office' 'meta_keywords' => 'long eaton office drcs, long eaton, office, drcs' 'meta_description' => 'Contact details for the DRCS Long Eaton office' 'description' => 'Contact details for the DRCS Long Eaton office' 'sub_description' => '' 'banner_image' => '' 'category_image' => '' 'forward_date' => null 'template' => 'office' 'url' => 'long-eaton-office' 'disabled' => (int) 0 'created' => object(Cake\I18n\FrozenTime) id:1 { } 'modified' => object(Cake\I18n\FrozenTime) id:2 { } 'faqs' => [ ] 'location' => null 'categories' => [ (int) 0 => object(App\Model\Entity\Category) id:3 { }, ] '_matchingData' => [ 'Categories' => object(App\Model\Entity\Category) id:4 { }, 'Domains' => object(App\Model\Entity\Domain) id:5 { }, 'CategoriesDomains' => object(Cake\ORM\Entity) id:6 { }, ] '[new]' => false '[accessible]' => [ 'h1' => true, 'meta_title' => true, 'meta_keywords' => true, 'meta_description' => true, 'description' => true, 'sub_description' => true, 'banner_image' => true, 'category_image' => true, 'forward_date' => true, 'template' => true, 'url' => true, 'disabled' => true, 'created' => true, 'modified' => true, 'categories' => true, 'faqs' => true, ] '[dirty]' => [ ] '[original]' => [ ] '[virtual]' => [ ] '[hasErrors]' => false '[errors]' => [ ] '[invalid]' => [ ] '[repository]' => 'CategoryDatasets' protected _accessible => [ '' => [maximum depth reached], ] protected _fields => [ '' => [maximum depth reached], ] protected _original => [ '' => [maximum depth reached], ] protected _hidden => [ '' => [maximum depth reached], ] protected _virtual => [ '' => [maximum depth reached], ] protected _dirty => [ '' => [maximum depth reached], ] protected _accessors => [ '' => [maximum depth reached], ] protected _new => false protected _errors => [ '' => [maximum depth reached], ] protected _invalid => [ '' => [maximum depth reached], ] protected _registryAlias => 'CategoryDatasets' }, 'breadcrumbs' => object(Cake\ORM\ResultSet) id:7 { 'items' => [ (int) 0 => object(App\Model\Entity\Category) id:8 { }, (int) 1 => object(App\Model\Entity\Category) id:9 { }, ] protected _statement => object(Cake\Database\Statement\CallbackStatement) id:10 { } protected _index => (int) 2 protected _current => object(App\Model\Entity\Category) id: 9 {} protected _defaultTable => object(App\Model\Table\CategoriesTable) id:11 { } protected _defaultAlias => 'Categories' protected _matchingMap => [ '' => [maximum depth reached], ] protected _containMap => [ '' => [maximum depth reached], ] protected _map => [ '' => [maximum depth reached], ] protected _matchingMapColumns => [ '' => [maximum depth reached], ] protected _results => object(SplFixedArray) id:12 { } protected _hydrate => true protected _autoFields => null protected _entityClass => 'App\Model\Entity\Category' protected _useBuffering => true protected _count => (int) 2 protected _driver => object(Cake\Database\Driver\Mysql) id:13 { } }, 'categories' => object(Cake\ORM\Query) id:14 { '(help)' => 'This is a Query object, to get the results execute or iterate it.' 'sql' => 'SELECT Categories.id AS Categories__id, Categories.name AS Categories__name, Categories.position AS Categories__position, Categories.category_dataset_id AS Categories__category_dataset_id, Categories.exclude_from_menu AS Categories__exclude_from_menu, Categories.parent_id AS Categories__parent_id, Categories.lft AS Categories__lft, Categories.rght AS Categories__rght, CategoryDatasets.id AS CategoryDatasets__id, CategoryDatasets.h1 AS CategoryDatasets__h1, CategoryDatasets.meta_title AS CategoryDatasets__meta_title, CategoryDatasets.meta_keywords AS CategoryDatasets__meta_keywords, CategoryDatasets.meta_description AS CategoryDatasets__meta_description, CategoryDatasets.description AS CategoryDatasets__description, CategoryDatasets.sub_description AS CategoryDatasets__sub_description, CategoryDatasets.banner_image AS CategoryDatasets__banner_image, CategoryDatasets.category_image AS CategoryDatasets__category_image, CategoryDatasets.forward_date AS CategoryDatasets__forward_date, CategoryDatasets.template AS CategoryDatasets__template, CategoryDatasets.url AS CategoryDatasets__url, CategoryDatasets.disabled AS CategoryDatasets__disabled, CategoryDatasets.created AS CategoryDatasets__created, CategoryDatasets.modified AS CategoryDatasets__modified, CategoriesDomains.id AS CategoriesDomains__id, CategoriesDomains.category_id AS CategoriesDomains__category_id, CategoriesDomains.domain_id AS CategoriesDomains__domain_id, Domains.id AS Domains__id, Domains.domain AS Domains__domain FROM categories Categories INNER JOIN category_datasets CategoryDatasets ON (CategoryDatasets.disabled = :c0 AND ((forward_date) IS NULL OR forward_date <= (CURRENT_DATE())) AND CategoryDatasets.id = (Categories.category_dataset_id)) INNER JOIN categories_domains CategoriesDomains ON Categories.id = (CategoriesDomains.category_id) INNER JOIN domains Domains ON (domain = :c1 AND Domains.id = (CategoriesDomains.domain_id)) WHERE exclude_from_menu = :c2 ORDER BY position' 'params' => [ ':c0' => [ '' => [maximum depth reached], ], ':c1' => [ '' => [maximum depth reached], ], ':c2' => [ '' => [maximum depth reached], ], ] 'defaultTypes' => [ 'Categories__id' => 'smallinteger', 'Categories.id' => 'smallinteger', 'id' => 'smallinteger', 'Categories__name' => 'string', 'Categories.name' => 'string', 'name' => 'string', 'Categories__position' => 'smallinteger', 'Categories.position' => 'smallinteger', 'position' => 'smallinteger', 'Categories__category_dataset_id' => 'smallinteger', 'Categories.category_dataset_id' => 'smallinteger', 'category_dataset_id' => 'smallinteger', 'Categories__exclude_from_menu' => 'tinyinteger', 'Categories.exclude_from_menu' => 'tinyinteger', 'exclude_from_menu' => 'tinyinteger', 'Categories__parent_id' => 'integer', 'Categories.parent_id' => 'integer', 'parent_id' => 'integer', 'Categories__lft' => 'integer', 'Categories.lft' => 'integer', 'lft' => 'integer', 'Categories__rght' => 'integer', 'Categories.rght' => 'integer', 'rght' => 'integer', 'CategoryDatasets__id' => 'smallinteger', 'CategoryDatasets.id' => 'smallinteger', 'CategoryDatasets__h1' => 'string', 'CategoryDatasets.h1' => 'string', 'h1' => 'string', 'CategoryDatasets__meta_title' => 'string', 'CategoryDatasets.meta_title' => 'string', 'meta_title' => 'string', 'CategoryDatasets__meta_keywords' => 'string', 'CategoryDatasets.meta_keywords' => 'string', 'meta_keywords' => 'string', 'CategoryDatasets__meta_description' => 'text', 'CategoryDatasets.meta_description' => 'text', 'meta_description' => 'text', 'CategoryDatasets__description' => 'string', 'CategoryDatasets.description' => 'string', 'description' => 'string', 'CategoryDatasets__sub_description' => 'text', 'CategoryDatasets.sub_description' => 'text', 'sub_description' => 'text', 'CategoryDatasets__banner_image' => 'string', 'CategoryDatasets.banner_image' => 'string', 'banner_image' => 'string', 'CategoryDatasets__category_image' => 'string', 'CategoryDatasets.category_image' => 'string', 'category_image' => 'string', 'CategoryDatasets__forward_date' => 'date', 'CategoryDatasets.forward_date' => 'date', 'forward_date' => 'date', 'CategoryDatasets__template' => 'string', 'CategoryDatasets.template' => 'string', 'template' => 'string', 'CategoryDatasets__url' => 'string', 'CategoryDatasets.url' => 'string', 'url' => 'string', 'CategoryDatasets__disabled' => 'tinyinteger', 'CategoryDatasets.disabled' => 'tinyinteger', 'disabled' => 'tinyinteger', 'CategoryDatasets__created' => 'datetime', 'CategoryDatasets.created' => 'datetime', 'created' => 'datetime', 'CategoryDatasets__modified' => 'datetime', 'CategoryDatasets.modified' => 'datetime', 'modified' => 'datetime', 'Domains__id' => 'tinyinteger', 'Domains.id' => 'tinyinteger', 'Domains__domain' => 'string', 'Domains.domain' => 'string', 'domain' => 'string', 'CategoriesDomains__id' => 'integer', 'CategoriesDomains.id' => 'integer', 'CategoriesDomains__category_id' => 'smallinteger', 'CategoriesDomains.category_id' => 'smallinteger', 'category_id' => 'smallinteger', 'CategoriesDomains__domain_id' => 'tinyinteger', 'CategoriesDomains.domain_id' => 'tinyinteger', 'domain_id' => 'tinyinteger', ] 'decorators' => (int) 0 'executed' => false 'hydrate' => true 'buffered' => true 'formatters' => (int) 1 'mapReducers' => (int) 0 'contain' => [ 'CategoryDatasets' => [ '' => [maximum depth reached], ], ] 'matching' => [ 'CategoryDatasets' => [ '' => [maximum depth reached], ], 'Domains' => [ '' => [maximum depth reached], ], ] 'extraOptions' => [ 'result_type' => 'threaded', ] 'repository' => object(App\Model\Table\CategoriesTable) id: 11 {} protected _hasFields => true protected _autoFields => null protected _hydrate => true protected aliasingEnabled => true protected _counter => null protected _eagerLoader => object(Cake\ORM\EagerLoader) id:15 { } protected _beforeFindFired => true protected _resultsCount => null protected _connection => object(Cake\Database\Connection) id:16 { } protected _type => 'select' protected _parts => [ '' => [maximum depth reached], ] protected _selectParts => [ '' => [maximum depth reached], ] protected _updateParts => [ '' => [maximum depth reached], ] protected _deleteParts => [ '' => [maximum depth reached], ] protected _insertParts => [ '' => [maximum depth reached], ] protected _dirty => true protected _resultDecorators => [ '' => [maximum depth reached], ] protected _iterator => null protected _valueBinder => object(Cake\Database\ValueBinder) id:17 { } protected _functionsBuilder => null protected _useBufferedResults => true protected _selectTypeMap => object(Cake\Database\TypeMap) id:18 { } protected typeCastEnabled => true protected _typeMap => object(Cake\Database\TypeMap) id:19 { } protected _repository => object(App\Model\Table\CategoriesTable) id: 11 {} protected _results => null protected _mapReduce => [ '' => [maximum depth reached], ] protected _formatters => [ '' => [maximum depth reached], ] protected _cache => null protected _options => [ '' => [maximum depth reached], ] protected _eagerLoaded => false }, 'companyDetails' => object(App\Model\Entity\CompanyDetail) id:20 { 'id' => (int) 4 'domain_id' => (int) 1 'company_name' => 'Derwent Rural Counselling Service' 'logo' => '/img/drcs-logo.png' 'logo_alt' => 'Derwent Rural Counselling Service' 'phone' => '0800 047 6861' 'email' => 'admin@drcs.org.uk' 'address_line_1' => 'Serenity House' 'address_line_2' => 'New Beetwell Street' 'address_line_3' => '' 'city' => 'Chesterfield' 'county' => '' 'postcode' => 'S40 1QR' 'country' => 'United Kingdom' 'company_number' => '06081874' 'vat_reg_number' => '' 'social_medias' => [ (int) 0 => object(App\Model\Entity\SocialMedia) id:21 { }, ] '_matchingData' => [ 'Domains' => object(App\Model\Entity\Domain) id:22 { }, ] '[new]' => false '[accessible]' => [ 'domain_id' => true, 'company_name' => true, 'logo' => true, 'logo_alt' => true, 'phone' => true, 'email' => true, 'address_line_1' => true, 'address_line_2' => true, 'address_line_3' => true, 'city' => true, 'county' => true, 'postcode' => true, 'country' => true, 'company_number' => true, 'vat_reg_number' => true, 'domain' => true, 'social_medias' => true, ] '[dirty]' => [ ] '[original]' => [ ] '[virtual]' => [ ] '[hasErrors]' => false '[errors]' => [ ] '[invalid]' => [ ] '[repository]' => 'CompanyDetails' protected _accessible => [ '' => [maximum depth reached], ] protected _fields => [ '' => [maximum depth reached], ] protected _original => [ '' => [maximum depth reached], ] protected _hidden => [ '' => [maximum depth reached], ] protected _virtual => [ '' => [maximum depth reached], ] protected _dirty => [ '' => [maximum depth reached], ] protected _accessors => [ '' => [maximum depth reached], ] protected _new => false protected _errors => [ '' => [maximum depth reached], ] protected _invalid => [ '' => [maximum depth reached], ] protected _registryAlias => 'CompanyDetails' }, 'configuration' => object(App\Model\Entity\Configuration) id:23 { 'id' => (int) 2 'domain_id' => (int) 1 'recaptcha_site_key' => '6Lf0zrEqAAAAANIAopzBZeBty2lC6ULnVfYfPAmW' 'recaptcha_secret_key' => '6Lf0zrEqAAAAAKXiK7VpSAJ3DiYhVs8kd6KBND34' 'dropdown_menu_links_number' => (int) 8 'news_menu_links_number' => (int) 8 'meta_robots' => 'index, follow' 'google_analytics' => '<!-- Global site tag (gtag.js) - Google Analytics --> <script async src="https://www.googletagmanager.com/gtag/js?id=G-9Q9Z19W2TG"></script> <script> window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config', 'G-9Q9Z19W2TG'); </script> <!-- Google tag (gtag.js) --> <script async src="https://www.googletagmanager.com/gtag/js?id=AW-797395108"></script> <script> window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config', 'AW-797395108'); </script>' '_matchingData' => [ 'Domains' => object(App\Model\Entity\Domain) id:24 { }, ] '[new]' => false '[accessible]' => [ 'domain_id' => true, 'recaptcha_site_key' => true, 'recaptcha_secret_key' => true, 'dropdown_menu_links_number' => true, 'news_menu_links_number' => true, 'meta_robots' => true, 'google_analytics' => true, 'domain' => true, ] '[dirty]' => [ ] '[original]' => [ ] '[virtual]' => [ ] '[hasErrors]' => false '[errors]' => [ ] '[invalid]' => [ ] '[repository]' => 'Configurations' protected _accessible => [ '' => [maximum depth reached], ] protected _fields => [ '' => [maximum depth reached], ] protected _original => [ '' => [maximum depth reached], ] protected _hidden => [ '' => [maximum depth reached], ] protected _virtual => [ '' => [maximum depth reached], ] protected _dirty => [ '' => [maximum depth reached], ] protected _accessors => [ '' => [maximum depth reached], ] protected _new => false protected _errors => [ '' => [maximum depth reached], ] protected _invalid => [ '' => [maximum depth reached], ] protected _registryAlias => 'Configurations' }, 'form' => object(App\Form\ContactForm) id:25 { '_schema' => [ '_fields' => [ '' => [maximum depth reached], ], ] '_errors' => [ ] '_validator' => [ '_presenceMessages' => [ '' => [maximum depth reached], ], '_allowEmptyMessages' => [ '' => [maximum depth reached], ], '_allowEmptyFlags' => [ '' => [maximum depth reached], ], '_useI18n' => true, '_stopOnFailure' => false, '_providers' => [ '' => [maximum depth reached], ], '_fields' => [ '' => [maximum depth reached], ], ] '_schemaClass' => 'Cake\Form\Schema' '_data' => [ ] '_eventManager' => object(Cake\Event\EventManager) id:26 { } '_eventClass' => 'Cake\Event\Event' '_validatorClass' => 'Cake\Validation\Validator' '_validators' => [ 'default' => object(Cake\Validation\Validator) id:27 { }, ] protected _schemaClass => 'Cake\Form\Schema' protected _schema => object(Cake\Form\Schema) id:28 { } protected _errors => [ '' => [maximum depth reached], ] protected _data => [ '' => [maximum depth reached], ] protected _eventManager => object(Cake\Event\EventManager) id: 26 {} protected _eventClass => 'Cake\Event\Event' protected _validatorClass => 'Cake\Validation\Validator' protected _validators => [ '' => [maximum depth reached], ] }, ]$bufferLevel =(int) 1$category =object(App\Model\Entity\CategoryDataset) id:0 { 'id' => (int) 30 'h1' => 'Long Eaton Office' 'meta_title' => 'Long Eaton Office' 'meta_keywords' => 'long eaton office drcs, long eaton, office, drcs' 'meta_description' => 'Contact details for the DRCS Long Eaton office' 'description' => 'Contact details for the DRCS Long Eaton office' 'sub_description' => '' 'banner_image' => '' 'category_image' => '' 'forward_date' => null 'template' => 'office' 'url' => 'long-eaton-office' 'disabled' => (int) 0 'created' => object(Cake\I18n\FrozenTime) id:1 { 'time' => '2021-03-08 13:04:03.000000+00:00' 'timezone' => 'UTC' 'fixedNowTime' => false protected _toStringFormat => [ '' => [maximum depth reached], ] protected _jsonEncodeFormat => 'yyyy-MM-dd'T'HH':'mm':'ssxxx' protected testNow => null protected toStringFormat => 'Y-m-d H:i:s' protected weekendDays => [ '' => [maximum depth reached], ] protected diffFormatter => null protected _lastErrors => [ '' => [maximum depth reached], ] protected days => [ '' => [maximum depth reached], ] protected weekStartsAt => (int) 1 protected weekEndsAt => (int) 7 protected relativePattern => '/this|next|last|tomorrow|yesterday|midnight|today|[+-]|first|last|ago/i' protected defaultLocale => 'en-GB' protected lenientParsing => true protected _formatters => [ '' => [maximum depth reached], ] } 'modified' => object(Cake\I18n\FrozenTime) id:2 { 'time' => '2021-03-08 13:04:03.000000+00:00' 'timezone' => 'UTC' 'fixedNowTime' => false protected _toStringFormat => [ '' => [maximum depth reached], ] protected _jsonEncodeFormat => 'yyyy-MM-dd'T'HH':'mm':'ssxxx' protected testNow => null protected toStringFormat => 'Y-m-d H:i:s' protected weekendDays => [ '' => [maximum depth reached], ] protected diffFormatter => null protected _lastErrors => [ '' => [maximum depth reached], ] protected days => [ '' => [maximum depth reached], ] protected weekStartsAt => (int) 1 protected weekEndsAt => (int) 7 protected relativePattern => '/this|next|last|tomorrow|yesterday|midnight|today|[+-]|first|last|ago/i' protected defaultLocale => 'en-GB' protected lenientParsing => true protected _formatters => [ '' => [maximum depth reached], ] } 'faqs' => [ ] 'location' => null 'categories' => [ (int) 0 => object(App\Model\Entity\Category) id:3 { }, ] '_matchingData' => [ 'Categories' => object(App\Model\Entity\Category) id:4 { }, 'Domains' => object(App\Model\Entity\Domain) id:5 { }, 'CategoriesDomains' => object(Cake\ORM\Entity) id:6 { }, ] '[new]' => false '[accessible]' => [ 'h1' => true, 'meta_title' => true, 'meta_keywords' => true, 'meta_description' => true, 'description' => true, 'sub_description' => true, 'banner_image' => true, 'category_image' => true, 'forward_date' => true, 'template' => true, 'url' => true, 'disabled' => true, 'created' => true, 'modified' => true, 'categories' => true, 'faqs' => true, ] '[dirty]' => [ ] '[original]' => [ ] '[virtual]' => [ ] '[hasErrors]' => false '[errors]' => [ ] '[invalid]' => [ ] '[repository]' => 'CategoryDatasets' protected _accessible => [ 'h1' => true, 'meta_title' => true, 'meta_keywords' => true, 'meta_description' => true, 'description' => true, 'sub_description' => true, 'banner_image' => true, 'category_image' => true, 'forward_date' => true, 'template' => true, 'url' => true, 'disabled' => true, 'created' => true, 'modified' => true, 'categories' => true, 'faqs' => true, ] protected _fields => [ 'id' => (int) 30, 'h1' => 'Long Eaton Office', 'meta_title' => 'Long Eaton Office', 'meta_keywords' => 'long eaton office drcs, long eaton, office, drcs', 'meta_description' => 'Contact details for the DRCS Long Eaton office', 'description' => 'Contact details for the DRCS Long Eaton office', 'sub_description' => '', 'banner_image' => '', 'category_image' => '', 'forward_date' => null, 'template' => 'office', 'url' => 'long-eaton-office', 'disabled' => (int) 0, 'created' => object(Cake\I18n\FrozenTime) id: 1 {}, 'modified' => object(Cake\I18n\FrozenTime) id: 2 {}, 'faqs' => [ '' => [maximum depth reached], ], 'location' => null, 'categories' => [ '' => [maximum depth reached], ], '_matchingData' => [ '' => [maximum depth reached], ], ] protected _original => [ ] protected _hidden => [ ] protected _virtual => [ ] protected _dirty => [ ] protected _accessors => [ 'App\Model\Entity\Configuration' => [ '' => [maximum depth reached], ], 'App\Model\Entity\SocialMedia' => [ '' => [maximum depth reached], ], 'App\Model\Entity\Category' => [ '' => [maximum depth reached], ], 'App\Model\Entity\CategoryDataset' => [ '' => [maximum depth reached], ], ] protected _new => false protected _errors => [ ] protected _invalid => [ ] protected _registryAlias => 'CategoryDatasets' }$breadcrumbs =object(Cake\ORM\ResultSet) id:0 { 'items' => [ (int) 0 => object(App\Model\Entity\Category) id:1 { }, (int) 1 => object(App\Model\Entity\Category) id:2 { }, ] protected _statement => object(Cake\Database\Statement\CallbackStatement) id:3 { } protected _index => (int) 2 protected _current => object(App\Model\Entity\Category) id: 2 {} protected _defaultTable => object(App\Model\Table\CategoriesTable) id:4 { } protected _defaultAlias => 'Categories' protected _matchingMap => [ ] protected _containMap => [ 'CategoryDatasets' => [ '' => [maximum depth reached], ], ] protected _map => [ 'Categories' => [ '' => [maximum depth reached], ], 'CategoryDatasets' => [ '' => [maximum depth reached], ], ] protected _matchingMapColumns => [ ] protected _results => object(SplFixedArray) id:5 { } protected _hydrate => true protected _autoFields => null protected _entityClass => 'App\Model\Entity\Category' protected _useBuffering => true protected _count => (int) 2 protected _driver => object(Cake\Database\Driver\Mysql) id:6 { } }$categories =object(Cake\ORM\Query) id:0 { '(help)' => 'This is a Query object, to get the results execute or iterate it.' 'sql' => 'SELECT Categories.id AS Categories__id, Categories.name AS Categories__name, Categories.position AS Categories__position, Categories.category_dataset_id AS Categories__category_dataset_id, Categories.exclude_from_menu AS Categories__exclude_from_menu, Categories.parent_id AS Categories__parent_id, Categories.lft AS Categories__lft, Categories.rght AS Categories__rght, CategoryDatasets.id AS CategoryDatasets__id, CategoryDatasets.h1 AS CategoryDatasets__h1, CategoryDatasets.meta_title AS CategoryDatasets__meta_title, CategoryDatasets.meta_keywords AS CategoryDatasets__meta_keywords, CategoryDatasets.meta_description AS CategoryDatasets__meta_description, CategoryDatasets.description AS CategoryDatasets__description, CategoryDatasets.sub_description AS CategoryDatasets__sub_description, CategoryDatasets.banner_image AS CategoryDatasets__banner_image, CategoryDatasets.category_image AS CategoryDatasets__category_image, CategoryDatasets.forward_date AS CategoryDatasets__forward_date, CategoryDatasets.template AS CategoryDatasets__template, CategoryDatasets.url AS CategoryDatasets__url, CategoryDatasets.disabled AS CategoryDatasets__disabled, CategoryDatasets.created AS CategoryDatasets__created, CategoryDatasets.modified AS CategoryDatasets__modified, CategoriesDomains.id AS CategoriesDomains__id, CategoriesDomains.category_id AS CategoriesDomains__category_id, CategoriesDomains.domain_id AS CategoriesDomains__domain_id, Domains.id AS Domains__id, Domains.domain AS Domains__domain FROM categories Categories INNER JOIN category_datasets CategoryDatasets ON (CategoryDatasets.disabled = :c0 AND ((forward_date) IS NULL OR forward_date <= (CURRENT_DATE())) AND CategoryDatasets.id = (Categories.category_dataset_id)) INNER JOIN categories_domains CategoriesDomains ON Categories.id = (CategoriesDomains.category_id) INNER JOIN domains Domains ON (domain = :c1 AND Domains.id = (CategoriesDomains.domain_id)) WHERE exclude_from_menu = :c2 ORDER BY position' 'params' => [ ':c0' => [ 'value' => (int) 0, 'type' => 'tinyinteger', 'placeholder' => 'c0', ], ':c1' => [ 'value' => 'drcs.org.uk', 'type' => 'string', 'placeholder' => 'c1', ], ':c2' => [ 'value' => (int) 0, 'type' => 'tinyinteger', 'placeholder' => 'c2', ], ] 'defaultTypes' => [ 'Categories__id' => 'smallinteger', 'Categories.id' => 'smallinteger', 'id' => 'smallinteger', 'Categories__name' => 'string', 'Categories.name' => 'string', 'name' => 'string', 'Categories__position' => 'smallinteger', 'Categories.position' => 'smallinteger', 'position' => 'smallinteger', 'Categories__category_dataset_id' => 'smallinteger', 'Categories.category_dataset_id' => 'smallinteger', 'category_dataset_id' => 'smallinteger', 'Categories__exclude_from_menu' => 'tinyinteger', 'Categories.exclude_from_menu' => 'tinyinteger', 'exclude_from_menu' => 'tinyinteger', 'Categories__parent_id' => 'integer', 'Categories.parent_id' => 'integer', 'parent_id' => 'integer', 'Categories__lft' => 'integer', 'Categories.lft' => 'integer', 'lft' => 'integer', 'Categories__rght' => 'integer', 'Categories.rght' => 'integer', 'rght' => 'integer', 'CategoryDatasets__id' => 'smallinteger', 'CategoryDatasets.id' => 'smallinteger', 'CategoryDatasets__h1' => 'string', 'CategoryDatasets.h1' => 'string', 'h1' => 'string', 'CategoryDatasets__meta_title' => 'string', 'CategoryDatasets.meta_title' => 'string', 'meta_title' => 'string', 'CategoryDatasets__meta_keywords' => 'string', 'CategoryDatasets.meta_keywords' => 'string', 'meta_keywords' => 'string', 'CategoryDatasets__meta_description' => 'text', 'CategoryDatasets.meta_description' => 'text', 'meta_description' => 'text', 'CategoryDatasets__description' => 'string', 'CategoryDatasets.description' => 'string', 'description' => 'string', 'CategoryDatasets__sub_description' => 'text', 'CategoryDatasets.sub_description' => 'text', 'sub_description' => 'text', 'CategoryDatasets__banner_image' => 'string', 'CategoryDatasets.banner_image' => 'string', 'banner_image' => 'string', 'CategoryDatasets__category_image' => 'string', 'CategoryDatasets.category_image' => 'string', 'category_image' => 'string', 'CategoryDatasets__forward_date' => 'date', 'CategoryDatasets.forward_date' => 'date', 'forward_date' => 'date', 'CategoryDatasets__template' => 'string', 'CategoryDatasets.template' => 'string', 'template' => 'string', 'CategoryDatasets__url' => 'string', 'CategoryDatasets.url' => 'string', 'url' => 'string', 'CategoryDatasets__disabled' => 'tinyinteger', 'CategoryDatasets.disabled' => 'tinyinteger', 'disabled' => 'tinyinteger', 'CategoryDatasets__created' => 'datetime', 'CategoryDatasets.created' => 'datetime', 'created' => 'datetime', 'CategoryDatasets__modified' => 'datetime', 'CategoryDatasets.modified' => 'datetime', 'modified' => 'datetime', 'Domains__id' => 'tinyinteger', 'Domains.id' => 'tinyinteger', 'Domains__domain' => 'string', 'Domains.domain' => 'string', 'domain' => 'string', 'CategoriesDomains__id' => 'integer', 'CategoriesDomains.id' => 'integer', 'CategoriesDomains__category_id' => 'smallinteger', 'CategoriesDomains.category_id' => 'smallinteger', 'category_id' => 'smallinteger', 'CategoriesDomains__domain_id' => 'tinyinteger', 'CategoriesDomains.domain_id' => 'tinyinteger', 'domain_id' => 'tinyinteger', ] 'decorators' => (int) 0 'executed' => false 'hydrate' => true 'buffered' => true 'formatters' => (int) 1 'mapReducers' => (int) 0 'contain' => [ 'CategoryDatasets' => [ ], ] 'matching' => [ 'CategoryDatasets' => [ 'queryBuilder' => object(Closure) id:1 { }, 'matching' => true, 'joinType' => 'INNER', ], 'Domains' => [ 'queryBuilder' => object(Closure) id:2 { }, 'matching' => true, 'joinType' => 'INNER', ], ] 'extraOptions' => [ 'result_type' => 'threaded', ] 'repository' => object(App\Model\Table\CategoriesTable) id:3 { 'registryAlias' => 'Categories' 'table' => 'categories' 'alias' => 'Categories' 'entityClass' => 'App\Model\Entity\Category' 'associations' => [ (int) 0 => 'CategoryDatasets', (int) 1 => 'ParentCategories', (int) 2 => 'ChildCategories', (int) 3 => 'Domains', (int) 4 => 'CategoriesDomains', ] 'behaviors' => [ (int) 0 => 'Domain', (int) 1 => 'Tree', ] 'defaultConnection' => 'default' 'connectionName' => 'default' protected _table => 'categories' protected _alias => 'Categories' protected _connection => object(Cake\Database\Connection) id:4 { } protected _schema => object(Cake\Database\Schema\TableSchema) id:5 { } protected _primaryKey => 'id' protected _displayField => 'name' protected _associations => object(Cake\ORM\AssociationCollection) id:6 { } protected _behaviors => object(Cake\ORM\BehaviorRegistry) id:7 { } protected _entityClass => 'App\Model\Entity\Category' protected _registryAlias => 'Categories' protected _eventManager => object(Cake\Event\EventManager) id:8 { } protected _eventClass => 'Cake\Event\Event' protected _rulesChecker => null protected _validatorClass => 'Cake\Validation\Validator' protected _validators => [ '' => [maximum depth reached], ] } protected _hasFields => true protected _autoFields => null protected _hydrate => true protected aliasingEnabled => true protected _counter => null protected _eagerLoader => object(Cake\ORM\EagerLoader) id:9 { } protected _beforeFindFired => true protected _resultsCount => null protected _connection => object(Cake\Database\Connection) id: 4 {} protected _type => 'select' protected _parts => [ 'delete' => true, 'update' => [ '' => [maximum depth reached], ], 'set' => [ '' => [maximum depth reached], ], 'insert' => [ '' => [maximum depth reached], ], 'values' => [ '' => [maximum depth reached], ], 'with' => [ '' => [maximum depth reached], ], 'select' => [ '' => [maximum depth reached], ], 'distinct' => false, 'modifier' => [ '' => [maximum depth reached], ], 'from' => [ '' => [maximum depth reached], ], 'join' => [ '' => [maximum depth reached], ], 'where' => object(Cake\Database\Expression\QueryExpression) id:10 { }, 'group' => [ '' => [maximum depth reached], ], 'having' => null, 'window' => [ '' => [maximum depth reached], ], 'order' => object(Cake\Database\Expression\OrderByExpression) id:11 { }, 'limit' => null, 'offset' => null, 'union' => [ '' => [maximum depth reached], ], 'epilog' => null, ] protected _selectParts => [ (int) 0 => 'with', (int) 1 => 'select', (int) 2 => 'from', (int) 3 => 'join', (int) 4 => 'where', (int) 5 => 'group', (int) 6 => 'having', (int) 7 => 'order', (int) 8 => 'limit', (int) 9 => 'offset', (int) 10 => 'union', (int) 11 => 'epilog', ] protected _updateParts => [ (int) 0 => 'with', (int) 1 => 'update', (int) 2 => 'set', (int) 3 => 'where', (int) 4 => 'epilog', ] protected _deleteParts => [ (int) 0 => 'with', (int) 1 => 'delete', (int) 2 => 'modifier', (int) 3 => 'from', (int) 4 => 'where', (int) 5 => 'epilog', ] protected _insertParts => [ (int) 0 => 'with', (int) 1 => 'insert', (int) 2 => 'values', (int) 3 => 'epilog', ] protected _dirty => true protected _resultDecorators => [ ] protected _iterator => null protected _valueBinder => object(Cake\Database\ValueBinder) id:12 { } protected _functionsBuilder => null protected _useBufferedResults => true protected _selectTypeMap => object(Cake\Database\TypeMap) id:13 { } protected typeCastEnabled => true protected _typeMap => object(Cake\Database\TypeMap) id:14 { } protected _repository => object(App\Model\Table\CategoriesTable) id: 3 {} protected _results => null protected _mapReduce => [ ] protected _formatters => [ (int) 0 => object(Closure) id:15 { }, ] protected _cache => null protected _options => [ 'result_type' => 'threaded', ] protected _eagerLoaded => false }$companyDetails =object(App\Model\Entity\CompanyDetail) id:0 { 'id' => (int) 4 'domain_id' => (int) 1 'company_name' => 'Derwent Rural Counselling Service' 'logo' => '/img/drcs-logo.png' 'logo_alt' => 'Derwent Rural Counselling Service' 'phone' => '0800 047 6861' 'email' => 'admin@drcs.org.uk' 'address_line_1' => 'Serenity House' 'address_line_2' => 'New Beetwell Street' 'address_line_3' => '' 'city' => 'Chesterfield' 'county' => '' 'postcode' => 'S40 1QR' 'country' => 'United Kingdom' 'company_number' => '06081874' 'vat_reg_number' => '' 'social_medias' => [ (int) 0 => object(App\Model\Entity\SocialMedia) id:1 { }, ] '_matchingData' => [ 'Domains' => object(App\Model\Entity\Domain) id:2 { }, ] '[new]' => false '[accessible]' => [ 'domain_id' => true, 'company_name' => true, 'logo' => true, 'logo_alt' => true, 'phone' => true, 'email' => true, 'address_line_1' => true, 'address_line_2' => true, 'address_line_3' => true, 'city' => true, 'county' => true, 'postcode' => true, 'country' => true, 'company_number' => true, 'vat_reg_number' => true, 'domain' => true, 'social_medias' => true, ] '[dirty]' => [ ] '[original]' => [ ] '[virtual]' => [ ] '[hasErrors]' => false '[errors]' => [ ] '[invalid]' => [ ] '[repository]' => 'CompanyDetails' protected _accessible => [ 'domain_id' => true, 'company_name' => true, 'logo' => true, 'logo_alt' => true, 'phone' => true, 'email' => true, 'address_line_1' => true, 'address_line_2' => true, 'address_line_3' => true, 'city' => true, 'county' => true, 'postcode' => true, 'country' => true, 'company_number' => true, 'vat_reg_number' => true, 'domain' => true, 'social_medias' => true, ] protected _fields => [ 'id' => (int) 4, 'domain_id' => (int) 1, 'company_name' => 'Derwent Rural Counselling Service', 'logo' => '/img/drcs-logo.png', 'logo_alt' => 'Derwent Rural Counselling Service', 'phone' => '0800 047 6861', 'email' => 'admin@drcs.org.uk', 'address_line_1' => 'Serenity House', 'address_line_2' => 'New Beetwell Street', 'address_line_3' => '', 'city' => 'Chesterfield', 'county' => '', 'postcode' => 'S40 1QR', 'country' => 'United Kingdom', 'company_number' => '06081874', 'vat_reg_number' => '', 'social_medias' => [ '' => [maximum depth reached], ], '_matchingData' => [ '' => [maximum depth reached], ], ] protected _original => [ ] protected _hidden => [ ] protected _virtual => [ ] protected _dirty => [ ] protected _accessors => [ 'App\Model\Entity\Configuration' => [ '' => [maximum depth reached], ], 'App\Model\Entity\SocialMedia' => [ '' => [maximum depth reached], ], 'App\Model\Entity\Category' => [ '' => [maximum depth reached], ], 'App\Model\Entity\CategoryDataset' => [ '' => [maximum depth reached], ], ] protected _new => false protected _errors => [ ] protected _invalid => [ ] protected _registryAlias => 'CompanyDetails' }$configuration =object(App\Model\Entity\Configuration) id:0 { 'id' => (int) 2 'domain_id' => (int) 1 'recaptcha_site_key' => '6Lf0zrEqAAAAANIAopzBZeBty2lC6ULnVfYfPAmW' 'recaptcha_secret_key' => '6Lf0zrEqAAAAAKXiK7VpSAJ3DiYhVs8kd6KBND34' 'dropdown_menu_links_number' => (int) 8 'news_menu_links_number' => (int) 8 'meta_robots' => 'index, follow' 'google_analytics' => '<!-- Global site tag (gtag.js) - Google Analytics --> <script async src="https://www.googletagmanager.com/gtag/js?id=G-9Q9Z19W2TG"></script> <script> window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config', 'G-9Q9Z19W2TG'); </script> <!-- Google tag (gtag.js) --> <script async src="https://www.googletagmanager.com/gtag/js?id=AW-797395108"></script> <script> window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config', 'AW-797395108'); </script>' '_matchingData' => [ 'Domains' => object(App\Model\Entity\Domain) id:1 { }, ] '[new]' => false '[accessible]' => [ 'domain_id' => true, 'recaptcha_site_key' => true, 'recaptcha_secret_key' => true, 'dropdown_menu_links_number' => true, 'news_menu_links_number' => true, 'meta_robots' => true, 'google_analytics' => true, 'domain' => true, ] '[dirty]' => [ ] '[original]' => [ ] '[virtual]' => [ ] '[hasErrors]' => false '[errors]' => [ ] '[invalid]' => [ ] '[repository]' => 'Configurations' protected _accessible => [ 'domain_id' => true, 'recaptcha_site_key' => true, 'recaptcha_secret_key' => true, 'dropdown_menu_links_number' => true, 'news_menu_links_number' => true, 'meta_robots' => true, 'google_analytics' => true, 'domain' => true, ] protected _fields => [ 'id' => (int) 2, 'domain_id' => (int) 1, 'recaptcha_site_key' => '6Lf0zrEqAAAAANIAopzBZeBty2lC6ULnVfYfPAmW', 'recaptcha_secret_key' => '6Lf0zrEqAAAAAKXiK7VpSAJ3DiYhVs8kd6KBND34', 'dropdown_menu_links_number' => (int) 8, 'news_menu_links_number' => (int) 8, 'meta_robots' => 'index, follow', 'google_analytics' => '<!-- Global site tag (gtag.js) - Google Analytics --> <script async src="https://www.googletagmanager.com/gtag/js?id=G-9Q9Z19W2TG"></script> <script> window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config', 'G-9Q9Z19W2TG'); </script> <!-- Google tag (gtag.js) --> <script async src="https://www.googletagmanager.com/gtag/js?id=AW-797395108"></script> <script> window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config', 'AW-797395108'); </script>', '_matchingData' => [ '' => [maximum depth reached], ], ] protected _original => [ ] protected _hidden => [ ] protected _virtual => [ ] protected _dirty => [ ] protected _accessors => [ 'App\Model\Entity\Configuration' => [ '' => [maximum depth reached], ], 'App\Model\Entity\SocialMedia' => [ '' => [maximum depth reached], ], 'App\Model\Entity\Category' => [ '' => [maximum depth reached], ], 'App\Model\Entity\CategoryDataset' => [ '' => [maximum depth reached], ], ] protected _new => false protected _errors => [ ] protected _invalid => [ ] protected _registryAlias => 'Configurations' }$form =object(App\Form\ContactForm) id:0 { '_schema' => [ '_fields' => [ 'name' => [ '' => [maximum depth reached], ], 'company' => [ '' => [maximum depth reached], ], 'phone' => [ '' => [maximum depth reached], ], 'email' => [ '' => [maximum depth reached], ], 'subject' => [ '' => [maximum depth reached], ], 'body' => [ '' => [maximum depth reached], ], 'gdpr' => [ '' => [maximum depth reached], ], ], ] '_errors' => [ ] '_validator' => [ '_presenceMessages' => [ ], '_allowEmptyMessages' => [ ], '_allowEmptyFlags' => [ 'name' => (int) 1, 'subject' => (int) 1, 'body' => (int) 1, 'gdpr' => (int) 1, ], '_useI18n' => true, '_stopOnFailure' => false, '_providers' => [ (int) 0 => 'form', ], '_fields' => [ 'email' => [ '' => [maximum depth reached], ], 'name' => [ '' => [maximum depth reached], ], 'subject' => [ '' => [maximum depth reached], ], 'body' => [ '' => [maximum depth reached], ], 'gdpr' => [ '' => [maximum depth reached], ], ], ] '_schemaClass' => 'Cake\Form\Schema' '_data' => [ ] '_eventManager' => object(Cake\Event\EventManager) id:1 { '_listeners' => [ ] '_isGlobal' => false '_trackEvents' => false '_generalManager' => '(object) EventManager' '_dispatchedEvents' => null protected _generalManager => object(Cake\Event\EventManager) id:2 { } protected _listeners => [ '' => [maximum depth reached], ] protected _isGlobal => false protected _eventList => null protected _trackEvents => false } '_eventClass' => 'Cake\Event\Event' '_validatorClass' => 'Cake\Validation\Validator' '_validators' => [ 'default' => object(Cake\Validation\Validator) id:3 { }, ] protected _schemaClass => 'Cake\Form\Schema' protected _schema => object(Cake\Form\Schema) id:4 { } protected _errors => [ ] protected _data => [ ] protected _eventManager => object(Cake\Event\EventManager) id: 1 {} protected _eventClass => 'Cake\Event\Event' protected _validatorClass => 'Cake\Validation\Validator' protected _validators => [ 'default' => object(Cake\Validation\Validator) id: 3 {}, ] }include - ROOT/templates/Pages/office.php, line 14 Cake\View\View::_evaluate() - CORE/src/View/View.php, line 1176 Cake\View\View::_render() - CORE/src/View/View.php, line 1134 Cake\View\View::render() - CORE/src/View/View.php, line 764 Cake\Controller\Controller::render() - CORE/src/Controller/Controller.php, line 699 App\Controller\PagesController::display() - APP/Controller/PagesController.php, line 135 Cake\Controller\Controller::invokeAction() - CORE/src/Controller/Controller.php, line 531 Cake\Controller\ControllerFactory::invoke() - CORE/src/Controller/ControllerFactory.php, line 151 Cake\Http\BaseApplication::handle() - CORE/src/Http/BaseApplication.php, line 313 Cake\Http\Runner::handle() - CORE/src/Http/Runner.php, line 77 Authorization\Middleware\RequestAuthorizationMiddleware::process() - ROOT/vendor/cakephp/authorization/src/Middleware/RequestAuthorizationMiddleware.php, line 102 Cake\Http\Runner::handle() - CORE/src/Http/Runner.php, line 73 Authorization\Middleware\AuthorizationMiddleware::process() - ROOT/vendor/cakephp/authorization/src/Middleware/AuthorizationMiddleware.php, line 129 Cake\Http\Runner::handle() - CORE/src/Http/Runner.php, line 73 Authentication\Middleware\AuthenticationMiddleware::process() - ROOT/vendor/cakephp/authentication/src/Middleware/AuthenticationMiddleware.php, line 124 Cake\Http\Runner::handle() - CORE/src/Http/Runner.php, line 73 Cake\Http\Middleware\CsrfProtectionMiddleware::process() - CORE/src/Http/Middleware/CsrfProtectionMiddleware.php, line 159
Phone: 0800 047 6861
Email: admin@drcs.org.uk
Monday | |
Tuesday | |
Wednesday | |
Thursday | |
Friday | |
Saturday | Closed |
Sunday | Closed |