Notice (8): Undefined variable: category [ROOT/templates/element/homepage.php, line 1]Code Context<?php $images = json_encode($category->gallery_images) ?>
<div class="container-fluid mt-4 p-0">
$templateFile =
'/var/www/vhosts/prep-pro.co.uk/httpdocs/templates/element/homepage.php'
$dataForView = [
'message' => 'Not Found',
'url' => '/the-chopping-board-is-an-essential-in-a-chefs-armour2',
'error' => object(Cake\Http\Exception\NotFoundException) id:0 {
protected _defaultCode => (int) 404
protected headers => [
'' => [maximum depth reached],
]
protected _attributes => [
'' => [maximum depth reached],
]
protected _messageTemplate => ''
protected _responseHeaders => null
protected message => 'Not Found'
protected code => (int) 404
protected file => '/var/www/vhosts/prep-pro.co.uk/httpdocs/src/Controller/PagesController.php'
protected line => (int) 122
},
'code' => (int) 404,
'trace' => [
(int) 0 => [
'file' => '/var/www/vhosts/prep-pro.co.uk/httpdocs/src/Controller/PagesController.php',
'line' => (int) 122,
],
(int) 1 => [
'file' => '/var/www/vhosts/prep-pro.co.uk/httpdocs/vendor/cakephp/cakephp/src/Controller/Controller.php',
'line' => (int) 531,
'function' => 'display',
'class' => 'App\Controller\PagesController',
'type' => '->',
'args' => [
'' => [maximum depth reached],
],
],
(int) 2 => [
'file' => '/var/www/vhosts/prep-pro.co.uk/httpdocs/vendor/cakephp/cakephp/src/Controller/ControllerFactory.php',
'line' => (int) 151,
'function' => 'invokeAction',
'class' => 'Cake\Controller\Controller',
'type' => '->',
'args' => [
'' => [maximum depth reached],
],
],
(int) 3 => [
'file' => '/var/www/vhosts/prep-pro.co.uk/httpdocs/vendor/cakephp/cakephp/src/Http/BaseApplication.php',
'line' => (int) 313,
'function' => 'invoke',
'class' => 'Cake\Controller\ControllerFactory',
'type' => '->',
'args' => [
'' => [maximum depth reached],
],
],
(int) 4 => [
'file' => '/var/www/vhosts/prep-pro.co.uk/httpdocs/vendor/cakephp/cakephp/src/Http/Runner.php',
'line' => (int) 77,
'function' => 'handle',
'class' => 'Cake\Http\BaseApplication',
'type' => '->',
'args' => [
'' => [maximum depth reached],
],
],
(int) 5 => [
'file' => '/var/www/vhosts/prep-pro.co.uk/httpdocs/vendor/cakephp/authorization/src/Middleware/RequestAuthorizationMiddleware.php',
'line' => (int) 102,
'function' => 'handle',
'class' => 'Cake\Http\Runner',
'type' => '->',
'args' => [
'' => [maximum depth reached],
],
],
(int) 6 => [
'file' => '/var/www/vhosts/prep-pro.co.uk/httpdocs/vendor/cakephp/cakephp/src/Http/Runner.php',
'line' => (int) 73,
'function' => 'process',
'class' => 'Authorization\Middleware\RequestAuthorizationMiddleware',
'type' => '->',
'args' => [
'' => [maximum depth reached],
],
],
(int) 7 => [
'file' => '/var/www/vhosts/prep-pro.co.uk/httpdocs/vendor/cakephp/authorization/src/Middleware/AuthorizationMiddleware.php',
'line' => (int) 129,
'function' => 'handle',
'class' => 'Cake\Http\Runner',
'type' => '->',
'args' => [
'' => [maximum depth reached],
],
],
(int) 8 => [
'file' => '/var/www/vhosts/prep-pro.co.uk/httpdocs/vendor/cakephp/cakephp/src/Http/Runner.php',
'line' => (int) 73,
'function' => 'process',
'class' => 'Authorization\Middleware\AuthorizationMiddleware',
'type' => '->',
'args' => [
'' => [maximum depth reached],
],
],
(int) 9 => [
'file' => '/var/www/vhosts/prep-pro.co.uk/httpdocs/vendor/cakephp/authentication/src/Middleware/AuthenticationMiddleware.php',
'line' => (int) 124,
'function' => 'handle',
'class' => 'Cake\Http\Runner',
'type' => '->',
'args' => [
'' => [maximum depth reached],
],
],
(int) 10 => [
'file' => '/var/www/vhosts/prep-pro.co.uk/httpdocs/vendor/cakephp/cakephp/src/Http/Runner.php',
'line' => (int) 73,
'function' => 'process',
'class' => 'Authentication\Middleware\AuthenticationMiddleware',
'type' => '->',
'args' => [
'' => [maximum depth reached],
],
],
(int) 11 => [
'file' => '/var/www/vhosts/prep-pro.co.uk/httpdocs/vendor/cakephp/cakephp/src/Http/Middleware/CsrfProtectionMiddleware.php',
'line' => (int) 159,
'function' => 'handle',
'class' => 'Cake\Http\Runner',
'type' => '->',
'args' => [
'' => [maximum depth reached],
],
],
(int) 12 => [
'file' => '/var/www/vhosts/prep-pro.co.uk/httpdocs/vendor/cakephp/cakephp/src/Http/Runner.php',
'line' => (int) 73,
'function' => 'process',
'class' => 'Cake\Http\Middleware\CsrfProtectionMiddleware',
'type' => '->',
'args' => [
'' => [maximum depth reached],
],
],
(int) 13 => [
'file' => '/var/www/vhosts/prep-pro.co.uk/httpdocs/vendor/cakephp/cakephp/src/Http/Middleware/BodyParserMiddleware.php',
'line' => (int) 159,
'function' => 'handle',
'class' => 'Cake\Http\Runner',
'type' => '->',
'args' => [
'' => [maximum depth reached],
],
],
(int) 14 => [
'file' => '/var/www/vhosts/prep-pro.co.uk/httpdocs/vendor/cakephp/cakephp/src/Http/Runner.php',
'line' => (int) 73,
'function' => 'process',
'class' => 'Cake\Http\Middleware\BodyParserMiddleware',
'type' => '->',
'args' => [
'' => [maximum depth reached],
],
],
(int) 15 => [
'file' => '/var/www/vhosts/prep-pro.co.uk/httpdocs/vendor/cakephp/cakephp/src/Routing/Middleware/RoutingMiddleware.php',
'line' => (int) 161,
'function' => 'handle',
'class' => 'Cake\Http\Runner',
'type' => '->',
'args' => [
'' => [maximum depth reached],
],
],
(int) 16 => [
'file' => '/var/www/vhosts/prep-pro.co.uk/httpdocs/vendor/cakephp/cakephp/src/Http/Runner.php',
'line' => (int) 73,
'function' => 'process',
'class' => 'Cake\Routing\Middleware\RoutingMiddleware',
'type' => '->',
'args' => [
'' => [maximum depth reached],
],
],
(int) 17 => [
'file' => '/var/www/vhosts/prep-pro.co.uk/httpdocs/vendor/cakephp/cakephp/src/Routing/Middleware/AssetMiddleware.php',
'line' => (int) 68,
'function' => 'handle',
'class' => 'Cake\Http\Runner',
'type' => '->',
'args' => [
'' => [maximum depth reached],
],
],
(int) 18 => [
'file' => '/var/www/vhosts/prep-pro.co.uk/httpdocs/vendor/cakephp/cakephp/src/Http/Runner.php',
'line' => (int) 73,
'function' => 'process',
'class' => 'Cake\Routing\Middleware\AssetMiddleware',
'type' => '->',
'args' => [
'' => [maximum depth reached],
],
],
(int) 19 => [
'file' => '/var/www/vhosts/prep-pro.co.uk/httpdocs/vendor/markstory/asset_compress/src/Middleware/AssetCompressMiddleware.php',
'line' => (int) 63,
'function' => 'handle',
'class' => 'Cake\Http\Runner',
'type' => '->',
'args' => [
'' => [maximum depth reached],
],
],
(int) 20 => [
'file' => '/var/www/vhosts/prep-pro.co.uk/httpdocs/vendor/cakephp/cakephp/src/Http/Runner.php',
'line' => (int) 73,
'function' => 'process',
'class' => 'AssetCompress\Middleware\AssetCompressMiddleware',
'type' => '->',
'args' => [
'' => [maximum depth reached],
],
],
(int) 21 => [
'file' => '/var/www/vhosts/prep-pro.co.uk/httpdocs/vendor/cakephp/cakephp/src/Error/Middleware/ErrorHandlerMiddleware.php',
'line' => (int) 126,
'function' => 'handle',
'class' => 'Cake\Http\Runner',
'type' => '->',
'args' => [
'' => [maximum depth reached],
],
],
(int) 22 => [
'file' => '/var/www/vhosts/prep-pro.co.uk/httpdocs/vendor/cakephp/cakephp/src/Http/Runner.php',
'line' => (int) 73,
'function' => 'process',
'class' => 'Cake\Error\Middleware\ErrorHandlerMiddleware',
'type' => '->',
'args' => [
'' => [maximum depth reached],
],
],
(int) 23 => [
'file' => '/var/www/vhosts/prep-pro.co.uk/httpdocs/vendor/cakephp/cakephp/src/Http/Runner.php',
'line' => (int) 58,
'function' => 'handle',
'class' => 'Cake\Http\Runner',
'type' => '->',
'args' => [
'' => [maximum depth reached],
],
],
(int) 24 => [
'file' => '/var/www/vhosts/prep-pro.co.uk/httpdocs/vendor/cakephp/cakephp/src/Http/Server.php',
'line' => (int) 90,
'function' => 'run',
'class' => 'Cake\Http\Runner',
'type' => '->',
'args' => [
'' => [maximum depth reached],
],
],
(int) 25 => [
'file' => '/var/www/vhosts/prep-pro.co.uk/httpdocs/webroot/index.php',
'line' => (int) 40,
'function' => 'run',
'class' => 'Cake\Http\Server',
'type' => '->',
'args' => [
'' => [maximum depth reached],
],
],
],
'file' => '/var/www/vhosts/prep-pro.co.uk/httpdocs/src/Controller/PagesController.php',
'line' => (int) 122,
'categories' => object(Cake\ORM\Query) id:1 {
'(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, Domains.created AS Domains__created, Domains.modified AS Domains__modified 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' => 'integer',
'Categories.id' => 'integer',
'id' => 'integer',
'Categories__name' => 'string',
'Categories.name' => 'string',
'name' => 'string',
'Categories__position' => 'integer',
'Categories.position' => 'integer',
'position' => 'integer',
'Categories__category_dataset_id' => 'integer',
'Categories.category_dataset_id' => 'integer',
'category_dataset_id' => 'integer',
'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' => 'integer',
'CategoryDatasets.id' => 'integer',
'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',
'Attributes__id' => 'integer',
'Attributes.id' => 'integer',
'Attributes__name' => 'string',
'Attributes.name' => 'string',
'Attributes__show_on_product_page' => 'tinyinteger',
'Attributes.show_on_product_page' => 'tinyinteger',
'show_on_product_page' => 'tinyinteger',
'Domains__id' => 'integer',
'Domains.id' => 'integer',
'Domains__domain' => 'string',
'Domains.domain' => 'string',
'domain' => 'string',
'Domains__created' => 'datetime',
'Domains.created' => 'datetime',
'Domains__modified' => 'datetime',
'Domains.modified' => 'datetime',
'CategoriesDomains__id' => 'integer',
'CategoriesDomains.id' => 'integer',
'CategoriesDomains__category_id' => 'integer',
'CategoriesDomains.category_id' => 'integer',
'category_id' => 'integer',
'CategoriesDomains__domain_id' => 'integer',
'CategoriesDomains.domain_id' => 'integer',
'domain_id' => 'integer',
]
'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:2 {
}
protected _hasFields => false
protected _autoFields => null
protected _hydrate => true
protected aliasingEnabled => true
protected _counter => null
protected _eagerLoader => object(Cake\ORM\EagerLoader) id:3 {
}
protected _beforeFindFired => true
protected _resultsCount => null
protected _connection => object(Cake\Database\Connection) id:4 {
}
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:5 {
}
protected _functionsBuilder => null
protected _useBufferedResults => true
protected _selectTypeMap => object(Cake\Database\TypeMap) id:6 {
}
protected typeCastEnabled => true
protected _typeMap => object(Cake\Database\TypeMap) id:7 {
}
protected _repository => object(App\Model\Table\CategoriesTable) id: 2 {}
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:8 {
'id' => (int) 1
'domain_id' => (int) 1
'company_name' => 'Prep-Pro'
'logo' => 'prep-pro-logo.png'
'logo_alt' => 'Prep-Pro'
'phone' => '0116 232 4846'
'email' => 'sales@prep-pro.co.uk'
'address_line_1' => '68 Scudamore Road'
'address_line_2' => 'Braunstone Frith Industrial Estate'
'address_line_3' => ''
'city' => 'Leicester'
'county' => ''
'postcode' => 'LE3 1UA'
'country' => 'United Kingdom'
'company_number' => ''
'vat_reg_number' => ''
'created' => null
'modified' => null
'social_medias' => [
(int) 0 => object(App\Model\Entity\SocialMedia) id:9 {
},
(int) 1 => object(App\Model\Entity\SocialMedia) id:10 {
},
]
'_matchingData' => [
'Domains' => object(App\Model\Entity\Domain) id:11 {
},
]
'[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:12 {
'id' => (int) 1
'domain_id' => (int) 1
'recaptcha_site_key' => '6LeMIGcbAAAAALjg7WdUdgw64EB-_I_Sh5KQDM7K'
'recaptcha_secret_key' => '6LeMIGcbAAAAAM5S3zvaWF4TvnHcDz36hp3Rjd22'
'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-MWQXB9QXFX"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'G-MWQXB9QXFX');
</script>'
'_matchingData' => [
'Domains' => object(App\Model\Entity\Domain) id:13 {
},
]
'[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:14 {
'_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:15 {
}
'_eventClass' => 'Cake\Event\Event'
'_validatorClass' => 'Cake\Validation\Validator'
'_validators' => [
'default' => object(Cake\Validation\Validator) id:16 {
},
]
protected _schemaClass => 'Cake\Form\Schema'
protected _schema => object(Cake\Form\Schema) id:17 {
}
protected _errors => [
'' => [maximum depth reached],
]
protected _data => [
'' => [maximum depth reached],
]
protected _eventManager => object(Cake\Event\EventManager) id: 15 {}
protected _eventClass => 'Cake\Event\Event'
protected _validatorClass => 'Cake\Validation\Validator'
protected _validators => [
'' => [maximum depth reached],
]
},
]
$bufferLevel = (int) 1
$message = 'Not Found'
$url = '/the-chopping-board-is-an-essential-in-a-chefs-armour2'
$error = object(Cake\Http\Exception\NotFoundException) id:0 {
protected _defaultCode => (int) 404
protected headers => [
]
protected _attributes => [
]
protected _messageTemplate => ''
protected _responseHeaders => null
protected message => 'Not Found'
protected code => (int) 404
protected file => '/var/www/vhosts/prep-pro.co.uk/httpdocs/src/Controller/PagesController.php'
protected line => (int) 122
}
$code = (int) 404
$trace = [
(int) 0 => [
'file' => '/var/www/vhosts/prep-pro.co.uk/httpdocs/src/Controller/PagesController.php',
'line' => (int) 122,
],
(int) 1 => [
'file' => '/var/www/vhosts/prep-pro.co.uk/httpdocs/vendor/cakephp/cakephp/src/Controller/Controller.php',
'line' => (int) 531,
'function' => 'display',
'class' => 'App\Controller\PagesController',
'type' => '->',
'args' => [
(int) 0 => 'the-chopping-board-is-an-essential-in-a-chefs-armour2',
],
],
(int) 2 => [
'file' => '/var/www/vhosts/prep-pro.co.uk/httpdocs/vendor/cakephp/cakephp/src/Controller/ControllerFactory.php',
'line' => (int) 151,
'function' => 'invokeAction',
'class' => 'Cake\Controller\Controller',
'type' => '->',
'args' => [
(int) 0 => object(Closure) id:0 {
},
(int) 1 => [
'' => [maximum depth reached],
],
],
],
(int) 3 => [
'file' => '/var/www/vhosts/prep-pro.co.uk/httpdocs/vendor/cakephp/cakephp/src/Http/BaseApplication.php',
'line' => (int) 313,
'function' => 'invoke',
'class' => 'Cake\Controller\ControllerFactory',
'type' => '->',
'args' => [
(int) 0 => object(App\Controller\PagesController) id:1 {
},
],
],
(int) 4 => [
'file' => '/var/www/vhosts/prep-pro.co.uk/httpdocs/vendor/cakephp/cakephp/src/Http/Runner.php',
'line' => (int) 77,
'function' => 'handle',
'class' => 'Cake\Http\BaseApplication',
'type' => '->',
'args' => [
(int) 0 => object(Cake\Http\ServerRequest) id:2 {
},
],
],
(int) 5 => [
'file' => '/var/www/vhosts/prep-pro.co.uk/httpdocs/vendor/cakephp/authorization/src/Middleware/RequestAuthorizationMiddleware.php',
'line' => (int) 102,
'function' => 'handle',
'class' => 'Cake\Http\Runner',
'type' => '->',
'args' => [
(int) 0 => object(Cake\Http\ServerRequest) id: 2 {},
],
],
(int) 6 => [
'file' => '/var/www/vhosts/prep-pro.co.uk/httpdocs/vendor/cakephp/cakephp/src/Http/Runner.php',
'line' => (int) 73,
'function' => 'process',
'class' => 'Authorization\Middleware\RequestAuthorizationMiddleware',
'type' => '->',
'args' => [
(int) 0 => object(Cake\Http\ServerRequest) id: 2 {},
(int) 1 => object(Cake\Http\Runner) id:3 {
},
],
],
(int) 7 => [
'file' => '/var/www/vhosts/prep-pro.co.uk/httpdocs/vendor/cakephp/authorization/src/Middleware/AuthorizationMiddleware.php',
'line' => (int) 129,
'function' => 'handle',
'class' => 'Cake\Http\Runner',
'type' => '->',
'args' => [
(int) 0 => object(Cake\Http\ServerRequest) id: 2 {},
],
],
(int) 8 => [
'file' => '/var/www/vhosts/prep-pro.co.uk/httpdocs/vendor/cakephp/cakephp/src/Http/Runner.php',
'line' => (int) 73,
'function' => 'process',
'class' => 'Authorization\Middleware\AuthorizationMiddleware',
'type' => '->',
'args' => [
(int) 0 => object(Cake\Http\ServerRequest) id: 2 {},
(int) 1 => object(Cake\Http\Runner) id: 3 {},
],
],
(int) 9 => [
'file' => '/var/www/vhosts/prep-pro.co.uk/httpdocs/vendor/cakephp/authentication/src/Middleware/AuthenticationMiddleware.php',
'line' => (int) 124,
'function' => 'handle',
'class' => 'Cake\Http\Runner',
'type' => '->',
'args' => [
(int) 0 => object(Cake\Http\ServerRequest) id:4 {
},
],
],
(int) 10 => [
'file' => '/var/www/vhosts/prep-pro.co.uk/httpdocs/vendor/cakephp/cakephp/src/Http/Runner.php',
'line' => (int) 73,
'function' => 'process',
'class' => 'Authentication\Middleware\AuthenticationMiddleware',
'type' => '->',
'args' => [
(int) 0 => object(Cake\Http\ServerRequest) id: 4 {},
(int) 1 => object(Cake\Http\Runner) id: 3 {},
],
],
(int) 11 => [
'file' => '/var/www/vhosts/prep-pro.co.uk/httpdocs/vendor/cakephp/cakephp/src/Http/Middleware/CsrfProtectionMiddleware.php',
'line' => (int) 159,
'function' => 'handle',
'class' => 'Cake\Http\Runner',
'type' => '->',
'args' => [
(int) 0 => object(Cake\Http\ServerRequest) id:5 {
},
],
],
(int) 12 => [
'file' => '/var/www/vhosts/prep-pro.co.uk/httpdocs/vendor/cakephp/cakephp/src/Http/Runner.php',
'line' => (int) 73,
'function' => 'process',
'class' => 'Cake\Http\Middleware\CsrfProtectionMiddleware',
'type' => '->',
'args' => [
(int) 0 => object(Cake\Http\ServerRequest) id: 5 {},
(int) 1 => object(Cake\Http\Runner) id: 3 {},
],
],
(int) 13 => [
'file' => '/var/www/vhosts/prep-pro.co.uk/httpdocs/vendor/cakephp/cakephp/src/Http/Middleware/BodyParserMiddleware.php',
'line' => (int) 159,
'function' => 'handle',
'class' => 'Cake\Http\Runner',
'type' => '->',
'args' => [
(int) 0 => object(Cake\Http\ServerRequest) id:6 {
},
],
],
(int) 14 => [
'file' => '/var/www/vhosts/prep-pro.co.uk/httpdocs/vendor/cakephp/cakephp/src/Http/Runner.php',
'line' => (int) 73,
'function' => 'process',
'class' => 'Cake\Http\Middleware\BodyParserMiddleware',
'type' => '->',
'args' => [
(int) 0 => object(Cake\Http\ServerRequest) id: 6 {},
(int) 1 => object(Cake\Http\Runner) id: 3 {},
],
],
(int) 15 => [
'file' => '/var/www/vhosts/prep-pro.co.uk/httpdocs/vendor/cakephp/cakephp/src/Routing/Middleware/RoutingMiddleware.php',
'line' => (int) 161,
'function' => 'handle',
'class' => 'Cake\Http\Runner',
'type' => '->',
'args' => [
(int) 0 => object(Cake\Http\ServerRequest) id: 6 {},
],
],
(int) 16 => [
'file' => '/var/www/vhosts/prep-pro.co.uk/httpdocs/vendor/cakephp/cakephp/src/Http/Runner.php',
'line' => (int) 73,
'function' => 'process',
'class' => 'Cake\Routing\Middleware\RoutingMiddleware',
'type' => '->',
'args' => [
(int) 0 => object(Cake\Http\ServerRequest) id: 6 {},
(int) 1 => object(Cake\Http\Runner) id: 3 {},
],
],
(int) 17 => [
'file' => '/var/www/vhosts/prep-pro.co.uk/httpdocs/vendor/cakephp/cakephp/src/Routing/Middleware/AssetMiddleware.php',
'line' => (int) 68,
'function' => 'handle',
'class' => 'Cake\Http\Runner',
'type' => '->',
'args' => [
(int) 0 => object(Cake\Http\ServerRequest) id:7 {
},
],
],
(int) 18 => [
'file' => '/var/www/vhosts/prep-pro.co.uk/httpdocs/vendor/cakephp/cakephp/src/Http/Runner.php',
'line' => (int) 73,
'function' => 'process',
'class' => 'Cake\Routing\Middleware\AssetMiddleware',
'type' => '->',
'args' => [
(int) 0 => object(Cake\Http\ServerRequest) id: 7 {},
(int) 1 => object(Cake\Http\Runner) id: 3 {},
],
],
(int) 19 => [
'file' => '/var/www/vhosts/prep-pro.co.uk/httpdocs/vendor/markstory/asset_compress/src/Middleware/AssetCompressMiddleware.php',
'line' => (int) 63,
'function' => 'handle',
'class' => 'Cake\Http\Runner',
'type' => '->',
'args' => [
(int) 0 => object(Cake\Http\ServerRequest) id: 7 {},
],
],
(int) 20 => [
'file' => '/var/www/vhosts/prep-pro.co.uk/httpdocs/vendor/cakephp/cakephp/src/Http/Runner.php',
'line' => (int) 73,
'function' => 'process',
'class' => 'AssetCompress\Middleware\AssetCompressMiddleware',
'type' => '->',
'args' => [
(int) 0 => object(Cake\Http\ServerRequest) id: 7 {},
(int) 1 => object(Cake\Http\Runner) id: 3 {},
],
],
(int) 21 => [
'file' => '/var/www/vhosts/prep-pro.co.uk/httpdocs/vendor/cakephp/cakephp/src/Error/Middleware/ErrorHandlerMiddleware.php',
'line' => (int) 126,
'function' => 'handle',
'class' => 'Cake\Http\Runner',
'type' => '->',
'args' => [
(int) 0 => object(Cake\Http\ServerRequest) id: 7 {},
],
],
(int) 22 => [
'file' => '/var/www/vhosts/prep-pro.co.uk/httpdocs/vendor/cakephp/cakephp/src/Http/Runner.php',
'line' => (int) 73,
'function' => 'process',
'class' => 'Cake\Error\Middleware\ErrorHandlerMiddleware',
'type' => '->',
'args' => [
(int) 0 => object(Cake\Http\ServerRequest) id: 7 {},
(int) 1 => object(Cake\Http\Runner) id: 3 {},
],
],
(int) 23 => [
'file' => '/var/www/vhosts/prep-pro.co.uk/httpdocs/vendor/cakephp/cakephp/src/Http/Runner.php',
'line' => (int) 58,
'function' => 'handle',
'class' => 'Cake\Http\Runner',
'type' => '->',
'args' => [
(int) 0 => object(Cake\Http\ServerRequest) id: 7 {},
],
],
(int) 24 => [
'file' => '/var/www/vhosts/prep-pro.co.uk/httpdocs/vendor/cakephp/cakephp/src/Http/Server.php',
'line' => (int) 90,
'function' => 'run',
'class' => 'Cake\Http\Runner',
'type' => '->',
'args' => [
(int) 0 => object(Cake\Http\MiddlewareQueue) id:8 {
},
(int) 1 => object(Cake\Http\ServerRequest) id: 7 {},
(int) 2 => object(App\Application) id:9 {
},
],
],
(int) 25 => [
'file' => '/var/www/vhosts/prep-pro.co.uk/httpdocs/webroot/index.php',
'line' => (int) 40,
'function' => 'run',
'class' => 'Cake\Http\Server',
'type' => '->',
'args' => [
],
],
]
$file = '/var/www/vhosts/prep-pro.co.uk/httpdocs/src/Controller/PagesController.php'
$line = (int) 122
$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, Domains.created AS Domains__created, Domains.modified AS Domains__modified 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' => 'www.prep-pro.co.uk',
'type' => 'string',
'placeholder' => 'c1',
],
':c2' => [
'value' => (int) 0,
'type' => 'tinyinteger',
'placeholder' => 'c2',
],
]
'defaultTypes' => [
'Categories__id' => 'integer',
'Categories.id' => 'integer',
'id' => 'integer',
'Categories__name' => 'string',
'Categories.name' => 'string',
'name' => 'string',
'Categories__position' => 'integer',
'Categories.position' => 'integer',
'position' => 'integer',
'Categories__category_dataset_id' => 'integer',
'Categories.category_dataset_id' => 'integer',
'category_dataset_id' => 'integer',
'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' => 'integer',
'CategoryDatasets.id' => 'integer',
'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',
'Attributes__id' => 'integer',
'Attributes.id' => 'integer',
'Attributes__name' => 'string',
'Attributes.name' => 'string',
'Attributes__show_on_product_page' => 'tinyinteger',
'Attributes.show_on_product_page' => 'tinyinteger',
'show_on_product_page' => 'tinyinteger',
'Domains__id' => 'integer',
'Domains.id' => 'integer',
'Domains__domain' => 'string',
'Domains.domain' => 'string',
'domain' => 'string',
'Domains__created' => 'datetime',
'Domains.created' => 'datetime',
'Domains__modified' => 'datetime',
'Domains.modified' => 'datetime',
'CategoriesDomains__id' => 'integer',
'CategoriesDomains.id' => 'integer',
'CategoriesDomains__category_id' => 'integer',
'CategoriesDomains.category_id' => 'integer',
'category_id' => 'integer',
'CategoriesDomains__domain_id' => 'integer',
'CategoriesDomains.domain_id' => 'integer',
'domain_id' => 'integer',
]
'decorators' => (int) 0
'executed' => false
'hydrate' => true
'buffered' => true
'formatters' => (int) 1
'mapReducers' => (int) 0
'contain' => [
'CategoryDatasets' => [
'Attributes' => [
'' => [maximum depth reached],
],
],
]
'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) 1
'domain_id' => (int) 1
'company_name' => 'Prep-Pro'
'logo' => 'prep-pro-logo.png'
'logo_alt' => 'Prep-Pro'
'phone' => '0116 232 4846'
'email' => 'sales@prep-pro.co.uk'
'address_line_1' => '68 Scudamore Road'
'address_line_2' => 'Braunstone Frith Industrial Estate'
'address_line_3' => ''
'city' => 'Leicester'
'county' => ''
'postcode' => 'LE3 1UA'
'country' => 'United Kingdom'
'company_number' => ''
'vat_reg_number' => ''
'created' => null
'modified' => null
'social_medias' => [
(int) 0 => object(App\Model\Entity\SocialMedia) id:1 {
},
(int) 1 => object(App\Model\Entity\SocialMedia) id:2 {
},
]
'_matchingData' => [
'Domains' => object(App\Model\Entity\Domain) id:3 {
},
]
'[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) 1,
'domain_id' => (int) 1,
'company_name' => 'Prep-Pro',
'logo' => 'prep-pro-logo.png',
'logo_alt' => 'Prep-Pro',
'phone' => '0116 232 4846',
'email' => 'sales@prep-pro.co.uk',
'address_line_1' => '68 Scudamore Road',
'address_line_2' => 'Braunstone Frith Industrial Estate',
'address_line_3' => '',
'city' => 'Leicester',
'county' => '',
'postcode' => 'LE3 1UA',
'country' => 'United Kingdom',
'company_number' => '',
'vat_reg_number' => '',
'created' => null,
'modified' => null,
'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],
],
]
protected _new => false
protected _errors => [
]
protected _invalid => [
]
protected _registryAlias => 'CompanyDetails'
}
$configuration = object(App\Model\Entity\Configuration) id:0 {
'id' => (int) 1
'domain_id' => (int) 1
'recaptcha_site_key' => '6LeMIGcbAAAAALjg7WdUdgw64EB-_I_Sh5KQDM7K'
'recaptcha_secret_key' => '6LeMIGcbAAAAAM5S3zvaWF4TvnHcDz36hp3Rjd22'
'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-MWQXB9QXFX"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'G-MWQXB9QXFX');
</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) 1,
'domain_id' => (int) 1,
'recaptcha_site_key' => '6LeMIGcbAAAAALjg7WdUdgw64EB-_I_Sh5KQDM7K',
'recaptcha_secret_key' => '6LeMIGcbAAAAAM5S3zvaWF4TvnHcDz36hp3Rjd22',
'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-MWQXB9QXFX"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'G-MWQXB9QXFX');
</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],
],
]
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/element/homepage.php, line 1
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::_renderElement() - CORE/src/View/View.php, line 1668
Cake\View\View::element() - CORE/src/View/View.php, line 655
include - ROOT/templates/Error/error400.php, line 6
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
Cake\Error\ExceptionRenderer::_outputMessage() - CORE/src/Error/ExceptionRenderer.php, line 392
Cake\Error\ExceptionRenderer::render() - CORE/src/Error/ExceptionRenderer.php, line 281
Cake\Error\Middleware\ErrorHandlerMiddleware::handleException() - CORE/src/Error/Middleware/ErrorHandlerMiddleware.php, line 148
Cake\Error\Middleware\ErrorHandlerMiddleware::process() - CORE/src/Error/Middleware/ErrorHandlerMiddleware.php, line 130
Cake\Http\Runner::handle() - CORE/src/Http/Runner.php, line 73
Cake\Http\Runner::run() - CORE/src/Http/Runner.php, line 58
Cake\Http\Server::run() - CORE/src/Http/Server.php, line 90
Notice (8): Trying to get property 'gallery_images' of non-object [ROOT/templates/element/homepage.php, line 1]Code Context<?php $images = json_encode($category->gallery_images) ?>
<div class="container-fluid mt-4 p-0">
$templateFile = '/var/www/vhosts/prep-pro.co.uk/httpdocs/templates/element/homepage.php'
$dataForView = [
'message' => 'Not Found',
'url' => '/the-chopping-board-is-an-essential-in-a-chefs-armour2',
'error' => object(Cake\Http\Exception\NotFoundException) id:0 {
protected _defaultCode => (int) 404
protected headers => [
'' => [maximum depth reached],
]
protected _attributes => [
'' => [maximum depth reached],
]
protected _messageTemplate => ''
protected _responseHeaders => null
protected message => 'Not Found'
protected code => (int) 404
protected file => '/var/www/vhosts/prep-pro.co.uk/httpdocs/src/Controller/PagesController.php'
protected line => (int) 122
},
'code' => (int) 404,
'trace' => [
(int) 0 => [
'file' => '/var/www/vhosts/prep-pro.co.uk/httpdocs/src/Controller/PagesController.php',
'line' => (int) 122,
],
(int) 1 => [
'file' => '/var/www/vhosts/prep-pro.co.uk/httpdocs/vendor/cakephp/cakephp/src/Controller/Controller.php',
'line' => (int) 531,
'function' => 'display',
'class' => 'App\Controller\PagesController',
'type' => '->',
'args' => [
'' => [maximum depth reached],
],
],
(int) 2 => [
'file' => '/var/www/vhosts/prep-pro.co.uk/httpdocs/vendor/cakephp/cakephp/src/Controller/ControllerFactory.php',
'line' => (int) 151,
'function' => 'invokeAction',
'class' => 'Cake\Controller\Controller',
'type' => '->',
'args' => [
'' => [maximum depth reached],
],
],
(int) 3 => [
'file' => '/var/www/vhosts/prep-pro.co.uk/httpdocs/vendor/cakephp/cakephp/src/Http/BaseApplication.php',
'line' => (int) 313,
'function' => 'invoke',
'class' => 'Cake\Controller\ControllerFactory',
'type' => '->',
'args' => [
'' => [maximum depth reached],
],
],
(int) 4 => [
'file' => '/var/www/vhosts/prep-pro.co.uk/httpdocs/vendor/cakephp/cakephp/src/Http/Runner.php',
'line' => (int) 77,
'function' => 'handle',
'class' => 'Cake\Http\BaseApplication',
'type' => '->',
'args' => [
'' => [maximum depth reached],
],
],
(int) 5 => [
'file' => '/var/www/vhosts/prep-pro.co.uk/httpdocs/vendor/cakephp/authorization/src/Middleware/RequestAuthorizationMiddleware.php',
'line' => (int) 102,
'function' => 'handle',
'class' => 'Cake\Http\Runner',
'type' => '->',
'args' => [
'' => [maximum depth reached],
],
],
(int) 6 => [
'file' => '/var/www/vhosts/prep-pro.co.uk/httpdocs/vendor/cakephp/cakephp/src/Http/Runner.php',
'line' => (int) 73,
'function' => 'process',
'class' => 'Authorization\Middleware\RequestAuthorizationMiddleware',
'type' => '->',
'args' => [
'' => [maximum depth reached],
],
],
(int) 7 => [
'file' => '/var/www/vhosts/prep-pro.co.uk/httpdocs/vendor/cakephp/authorization/src/Middleware/AuthorizationMiddleware.php',
'line' => (int) 129,
'function' => 'handle',
'class' => 'Cake\Http\Runner',
'type' => '->',
'args' => [
'' => [maximum depth reached],
],
],
(int) 8 => [
'file' => '/var/www/vhosts/prep-pro.co.uk/httpdocs/vendor/cakephp/cakephp/src/Http/Runner.php',
'line' => (int) 73,
'function' => 'process',
'class' => 'Authorization\Middleware\AuthorizationMiddleware',
'type' => '->',
'args' => [
'' => [maximum depth reached],
],
],
(int) 9 => [
'file' => '/var/www/vhosts/prep-pro.co.uk/httpdocs/vendor/cakephp/authentication/src/Middleware/AuthenticationMiddleware.php',
'line' => (int) 124,
'function' => 'handle',
'class' => 'Cake\Http\Runner',
'type' => '->',
'args' => [
'' => [maximum depth reached],
],
],
(int) 10 => [
'file' => '/var/www/vhosts/prep-pro.co.uk/httpdocs/vendor/cakephp/cakephp/src/Http/Runner.php',
'line' => (int) 73,
'function' => 'process',
'class' => 'Authentication\Middleware\AuthenticationMiddleware',
'type' => '->',
'args' => [
'' => [maximum depth reached],
],
],
(int) 11 => [
'file' => '/var/www/vhosts/prep-pro.co.uk/httpdocs/vendor/cakephp/cakephp/src/Http/Middleware/CsrfProtectionMiddleware.php',
'line' => (int) 159,
'function' => 'handle',
'class' => 'Cake\Http\Runner',
'type' => '->',
'args' => [
'' => [maximum depth reached],
],
],
(int) 12 => [
'file' => '/var/www/vhosts/prep-pro.co.uk/httpdocs/vendor/cakephp/cakephp/src/Http/Runner.php',
'line' => (int) 73,
'function' => 'process',
'class' => 'Cake\Http\Middleware\CsrfProtectionMiddleware',
'type' => '->',
'args' => [
'' => [maximum depth reached],
],
],
(int) 13 => [
'file' => '/var/www/vhosts/prep-pro.co.uk/httpdocs/vendor/cakephp/cakephp/src/Http/Middleware/BodyParserMiddleware.php',
'line' => (int) 159,
'function' => 'handle',
'class' => 'Cake\Http\Runner',
'type' => '->',
'args' => [
'' => [maximum depth reached],
],
],
(int) 14 => [
'file' => '/var/www/vhosts/prep-pro.co.uk/httpdocs/vendor/cakephp/cakephp/src/Http/Runner.php',
'line' => (int) 73,
'function' => 'process',
'class' => 'Cake\Http\Middleware\BodyParserMiddleware',
'type' => '->',
'args' => [
'' => [maximum depth reached],
],
],
(int) 15 => [
'file' => '/var/www/vhosts/prep-pro.co.uk/httpdocs/vendor/cakephp/cakephp/src/Routing/Middleware/RoutingMiddleware.php',
'line' => (int) 161,
'function' => 'handle',
'class' => 'Cake\Http\Runner',
'type' => '->',
'args' => [
'' => [maximum depth reached],
],
],
(int) 16 => [
'file' => '/var/www/vhosts/prep-pro.co.uk/httpdocs/vendor/cakephp/cakephp/src/Http/Runner.php',
'line' => (int) 73,
'function' => 'process',
'class' => 'Cake\Routing\Middleware\RoutingMiddleware',
'type' => '->',
'args' => [
'' => [maximum depth reached],
],
],
(int) 17 => [
'file' => '/var/www/vhosts/prep-pro.co.uk/httpdocs/vendor/cakephp/cakephp/src/Routing/Middleware/AssetMiddleware.php',
'line' => (int) 68,
'function' => 'handle',
'class' => 'Cake\Http\Runner',
'type' => '->',
'args' => [
'' => [maximum depth reached],
],
],
(int) 18 => [
'file' => '/var/www/vhosts/prep-pro.co.uk/httpdocs/vendor/cakephp/cakephp/src/Http/Runner.php',
'line' => (int) 73,
'function' => 'process',
'class' => 'Cake\Routing\Middleware\AssetMiddleware',
'type' => '->',
'args' => [
'' => [maximum depth reached],
],
],
(int) 19 => [
'file' => '/var/www/vhosts/prep-pro.co.uk/httpdocs/vendor/markstory/asset_compress/src/Middleware/AssetCompressMiddleware.php',
'line' => (int) 63,
'function' => 'handle',
'class' => 'Cake\Http\Runner',
'type' => '->',
'args' => [
'' => [maximum depth reached],
],
],
(int) 20 => [
'file' => '/var/www/vhosts/prep-pro.co.uk/httpdocs/vendor/cakephp/cakephp/src/Http/Runner.php',
'line' => (int) 73,
'function' => 'process',
'class' => 'AssetCompress\Middleware\AssetCompressMiddleware',
'type' => '->',
'args' => [
'' => [maximum depth reached],
],
],
(int) 21 => [
'file' => '/var/www/vhosts/prep-pro.co.uk/httpdocs/vendor/cakephp/cakephp/src/Error/Middleware/ErrorHandlerMiddleware.php',
'line' => (int) 126,
'function' => 'handle',
'class' => 'Cake\Http\Runner',
'type' => '->',
'args' => [
'' => [maximum depth reached],
],
],
(int) 22 => [
'file' => '/var/www/vhosts/prep-pro.co.uk/httpdocs/vendor/cakephp/cakephp/src/Http/Runner.php',
'line' => (int) 73,
'function' => 'process',
'class' => 'Cake\Error\Middleware\ErrorHandlerMiddleware',
'type' => '->',
'args' => [
'' => [maximum depth reached],
],
],
(int) 23 => [
'file' => '/var/www/vhosts/prep-pro.co.uk/httpdocs/vendor/cakephp/cakephp/src/Http/Runner.php',
'line' => (int) 58,
'function' => 'handle',
'class' => 'Cake\Http\Runner',
'type' => '->',
'args' => [
'' => [maximum depth reached],
],
],
(int) 24 => [
'file' => '/var/www/vhosts/prep-pro.co.uk/httpdocs/vendor/cakephp/cakephp/src/Http/Server.php',
'line' => (int) 90,
'function' => 'run',
'class' => 'Cake\Http\Runner',
'type' => '->',
'args' => [
'' => [maximum depth reached],
],
],
(int) 25 => [
'file' => '/var/www/vhosts/prep-pro.co.uk/httpdocs/webroot/index.php',
'line' => (int) 40,
'function' => 'run',
'class' => 'Cake\Http\Server',
'type' => '->',
'args' => [
'' => [maximum depth reached],
],
],
],
'file' => '/var/www/vhosts/prep-pro.co.uk/httpdocs/src/Controller/PagesController.php',
'line' => (int) 122,
'categories' => object(Cake\ORM\Query) id:1 {
'(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, Domains.created AS Domains__created, Domains.modified AS Domains__modified 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' => 'integer',
'Categories.id' => 'integer',
'id' => 'integer',
'Categories__name' => 'string',
'Categories.name' => 'string',
'name' => 'string',
'Categories__position' => 'integer',
'Categories.position' => 'integer',
'position' => 'integer',
'Categories__category_dataset_id' => 'integer',
'Categories.category_dataset_id' => 'integer',
'category_dataset_id' => 'integer',
'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' => 'integer',
'CategoryDatasets.id' => 'integer',
'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',
'Attributes__id' => 'integer',
'Attributes.id' => 'integer',
'Attributes__name' => 'string',
'Attributes.name' => 'string',
'Attributes__show_on_product_page' => 'tinyinteger',
'Attributes.show_on_product_page' => 'tinyinteger',
'show_on_product_page' => 'tinyinteger',
'Domains__id' => 'integer',
'Domains.id' => 'integer',
'Domains__domain' => 'string',
'Domains.domain' => 'string',
'domain' => 'string',
'Domains__created' => 'datetime',
'Domains.created' => 'datetime',
'Domains__modified' => 'datetime',
'Domains.modified' => 'datetime',
'CategoriesDomains__id' => 'integer',
'CategoriesDomains.id' => 'integer',
'CategoriesDomains__category_id' => 'integer',
'CategoriesDomains.category_id' => 'integer',
'category_id' => 'integer',
'CategoriesDomains__domain_id' => 'integer',
'CategoriesDomains.domain_id' => 'integer',
'domain_id' => 'integer',
]
'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:2 {
}
protected _hasFields => true
protected _autoFields => null
protected _hydrate => true
protected aliasingEnabled => true
protected _counter => null
protected _eagerLoader => object(Cake\ORM\EagerLoader) id:3 {
}
protected _beforeFindFired => true
protected _resultsCount => null
protected _connection => object(Cake\Database\Connection) id:4 {
}
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:5 {
}
protected _functionsBuilder => null
protected _useBufferedResults => true
protected _selectTypeMap => object(Cake\Database\TypeMap) id:6 {
}
protected typeCastEnabled => true
protected _typeMap => object(Cake\Database\TypeMap) id:7 {
}
protected _repository => object(App\Model\Table\CategoriesTable) id: 2 {}
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:8 {
'id' => (int) 1
'domain_id' => (int) 1
'company_name' => 'Prep-Pro'
'logo' => 'prep-pro-logo.png'
'logo_alt' => 'Prep-Pro'
'phone' => '0116 232 4846'
'email' => 'sales@prep-pro.co.uk'
'address_line_1' => '68 Scudamore Road'
'address_line_2' => 'Braunstone Frith Industrial Estate'
'address_line_3' => ''
'city' => 'Leicester'
'county' => ''
'postcode' => 'LE3 1UA'
'country' => 'United Kingdom'
'company_number' => ''
'vat_reg_number' => ''
'created' => null
'modified' => null
'social_medias' => [
(int) 0 => object(App\Model\Entity\SocialMedia) id:9 {
},
(int) 1 => object(App\Model\Entity\SocialMedia) id:10 {
},
]
'_matchingData' => [
'Domains' => object(App\Model\Entity\Domain) id:11 {
},
]
'[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:12 {
'id' => (int) 1
'domain_id' => (int) 1
'recaptcha_site_key' => '6LeMIGcbAAAAALjg7WdUdgw64EB-_I_Sh5KQDM7K'
'recaptcha_secret_key' => '6LeMIGcbAAAAAM5S3zvaWF4TvnHcDz36hp3Rjd22'
'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-MWQXB9QXFX"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'G-MWQXB9QXFX');
</script>'
'_matchingData' => [
'Domains' => object(App\Model\Entity\Domain) id:13 {
},
]
'[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:14 {
'_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:15 {
}
'_eventClass' => 'Cake\Event\Event'
'_validatorClass' => 'Cake\Validation\Validator'
'_validators' => [
'default' => object(Cake\Validation\Validator) id:16 {
},
]
protected _schemaClass => 'Cake\Form\Schema'
protected _schema => object(Cake\Form\Schema) id:17 {
}
protected _errors => [
'' => [maximum depth reached],
]
protected _data => [
'' => [maximum depth reached],
]
protected _eventManager => object(Cake\Event\EventManager) id: 15 {}
protected _eventClass => 'Cake\Event\Event'
protected _validatorClass => 'Cake\Validation\Validator'
protected _validators => [
'' => [maximum depth reached],
]
},
]
$bufferLevel = (int) 1
$message = 'Not Found'
$url = '/the-chopping-board-is-an-essential-in-a-chefs-armour2'
$error = object(Cake\Http\Exception\NotFoundException) id:0 {
protected _defaultCode => (int) 404
protected headers => [
]
protected _attributes => [
]
protected _messageTemplate => ''
protected _responseHeaders => null
protected message => 'Not Found'
protected code => (int) 404
protected file => '/var/www/vhosts/prep-pro.co.uk/httpdocs/src/Controller/PagesController.php'
protected line => (int) 122
}
$code = (int) 404
$trace = [
(int) 0 => [
'file' => '/var/www/vhosts/prep-pro.co.uk/httpdocs/src/Controller/PagesController.php',
'line' => (int) 122,
],
(int) 1 => [
'file' => '/var/www/vhosts/prep-pro.co.uk/httpdocs/vendor/cakephp/cakephp/src/Controller/Controller.php',
'line' => (int) 531,
'function' => 'display',
'class' => 'App\Controller\PagesController',
'type' => '->',
'args' => [
(int) 0 => 'the-chopping-board-is-an-essential-in-a-chefs-armour2',
],
],
(int) 2 => [
'file' => '/var/www/vhosts/prep-pro.co.uk/httpdocs/vendor/cakephp/cakephp/src/Controller/ControllerFactory.php',
'line' => (int) 151,
'function' => 'invokeAction',
'class' => 'Cake\Controller\Controller',
'type' => '->',
'args' => [
(int) 0 => object(Closure) id:0 {
},
(int) 1 => [
'' => [maximum depth reached],
],
],
],
(int) 3 => [
'file' => '/var/www/vhosts/prep-pro.co.uk/httpdocs/vendor/cakephp/cakephp/src/Http/BaseApplication.php',
'line' => (int) 313,
'function' => 'invoke',
'class' => 'Cake\Controller\ControllerFactory',
'type' => '->',
'args' => [
(int) 0 => object(App\Controller\PagesController) id:1 {
},
],
],
(int) 4 => [
'file' => '/var/www/vhosts/prep-pro.co.uk/httpdocs/vendor/cakephp/cakephp/src/Http/Runner.php',
'line' => (int) 77,
'function' => 'handle',
'class' => 'Cake\Http\BaseApplication',
'type' => '->',
'args' => [
(int) 0 => object(Cake\Http\ServerRequest) id:2 {
},
],
],
(int) 5 => [
'file' => '/var/www/vhosts/prep-pro.co.uk/httpdocs/vendor/cakephp/authorization/src/Middleware/RequestAuthorizationMiddleware.php',
'line' => (int) 102,
'function' => 'handle',
'class' => 'Cake\Http\Runner',
'type' => '->',
'args' => [
(int) 0 => object(Cake\Http\ServerRequest) id: 2 {},
],
],
(int) 6 => [
'file' => '/var/www/vhosts/prep-pro.co.uk/httpdocs/vendor/cakephp/cakephp/src/Http/Runner.php',
'line' => (int) 73,
'function' => 'process',
'class' => 'Authorization\Middleware\RequestAuthorizationMiddleware',
'type' => '->',
'args' => [
(int) 0 => object(Cake\Http\ServerRequest) id: 2 {},
(int) 1 => object(Cake\Http\Runner) id:3 {
},
],
],
(int) 7 => [
'file' => '/var/www/vhosts/prep-pro.co.uk/httpdocs/vendor/cakephp/authorization/src/Middleware/AuthorizationMiddleware.php',
'line' => (int) 129,
'function' => 'handle',
'class' => 'Cake\Http\Runner',
'type' => '->',
'args' => [
(int) 0 => object(Cake\Http\ServerRequest) id: 2 {},
],
],
(int) 8 => [
'file' => '/var/www/vhosts/prep-pro.co.uk/httpdocs/vendor/cakephp/cakephp/src/Http/Runner.php',
'line' => (int) 73,
'function' => 'process',
'class' => 'Authorization\Middleware\AuthorizationMiddleware',
'type' => '->',
'args' => [
(int) 0 => object(Cake\Http\ServerRequest) id: 2 {},
(int) 1 => object(Cake\Http\Runner) id: 3 {},
],
],
(int) 9 => [
'file' => '/var/www/vhosts/prep-pro.co.uk/httpdocs/vendor/cakephp/authentication/src/Middleware/AuthenticationMiddleware.php',
'line' => (int) 124,
'function' => 'handle',
'class' => 'Cake\Http\Runner',
'type' => '->',
'args' => [
(int) 0 => object(Cake\Http\ServerRequest) id:4 {
},
],
],
(int) 10 => [
'file' => '/var/www/vhosts/prep-pro.co.uk/httpdocs/vendor/cakephp/cakephp/src/Http/Runner.php',
'line' => (int) 73,
'function' => 'process',
'class' => 'Authentication\Middleware\AuthenticationMiddleware',
'type' => '->',
'args' => [
(int) 0 => object(Cake\Http\ServerRequest) id: 4 {},
(int) 1 => object(Cake\Http\Runner) id: 3 {},
],
],
(int) 11 => [
'file' => '/var/www/vhosts/prep-pro.co.uk/httpdocs/vendor/cakephp/cakephp/src/Http/Middleware/CsrfProtectionMiddleware.php',
'line' => (int) 159,
'function' => 'handle',
'class' => 'Cake\Http\Runner',
'type' => '->',
'args' => [
(int) 0 => object(Cake\Http\ServerRequest) id:5 {
},
],
],
(int) 12 => [
'file' => '/var/www/vhosts/prep-pro.co.uk/httpdocs/vendor/cakephp/cakephp/src/Http/Runner.php',
'line' => (int) 73,
'function' => 'process',
'class' => 'Cake\Http\Middleware\CsrfProtectionMiddleware',
'type' => '->',
'args' => [
(int) 0 => object(Cake\Http\ServerRequest) id: 5 {},
(int) 1 => object(Cake\Http\Runner) id: 3 {},
],
],
(int) 13 => [
'file' => '/var/www/vhosts/prep-pro.co.uk/httpdocs/vendor/cakephp/cakephp/src/Http/Middleware/BodyParserMiddleware.php',
'line' => (int) 159,
'function' => 'handle',
'class' => 'Cake\Http\Runner',
'type' => '->',
'args' => [
(int) 0 => object(Cake\Http\ServerRequest) id:6 {
},
],
],
(int) 14 => [
'file' => '/var/www/vhosts/prep-pro.co.uk/httpdocs/vendor/cakephp/cakephp/src/Http/Runner.php',
'line' => (int) 73,
'function' => 'process',
'class' => 'Cake\Http\Middleware\BodyParserMiddleware',
'type' => '->',
'args' => [
(int) 0 => object(Cake\Http\ServerRequest) id: 6 {},
(int) 1 => object(Cake\Http\Runner) id: 3 {},
],
],
(int) 15 => [
'file' => '/var/www/vhosts/prep-pro.co.uk/httpdocs/vendor/cakephp/cakephp/src/Routing/Middleware/RoutingMiddleware.php',
'line' => (int) 161,
'function' => 'handle',
'class' => 'Cake\Http\Runner',
'type' => '->',
'args' => [
(int) 0 => object(Cake\Http\ServerRequest) id: 6 {},
],
],
(int) 16 => [
'file' => '/var/www/vhosts/prep-pro.co.uk/httpdocs/vendor/cakephp/cakephp/src/Http/Runner.php',
'line' => (int) 73,
'function' => 'process',
'class' => 'Cake\Routing\Middleware\RoutingMiddleware',
'type' => '->',
'args' => [
(int) 0 => object(Cake\Http\ServerRequest) id: 6 {},
(int) 1 => object(Cake\Http\Runner) id: 3 {},
],
],
(int) 17 => [
'file' => '/var/www/vhosts/prep-pro.co.uk/httpdocs/vendor/cakephp/cakephp/src/Routing/Middleware/AssetMiddleware.php',
'line' => (int) 68,
'function' => 'handle',
'class' => 'Cake\Http\Runner',
'type' => '->',
'args' => [
(int) 0 => object(Cake\Http\ServerRequest) id:7 {
},
],
],
(int) 18 => [
'file' => '/var/www/vhosts/prep-pro.co.uk/httpdocs/vendor/cakephp/cakephp/src/Http/Runner.php',
'line' => (int) 73,
'function' => 'process',
'class' => 'Cake\Routing\Middleware\AssetMiddleware',
'type' => '->',
'args' => [
(int) 0 => object(Cake\Http\ServerRequest) id: 7 {},
(int) 1 => object(Cake\Http\Runner) id: 3 {},
],
],
(int) 19 => [
'file' => '/var/www/vhosts/prep-pro.co.uk/httpdocs/vendor/markstory/asset_compress/src/Middleware/AssetCompressMiddleware.php',
'line' => (int) 63,
'function' => 'handle',
'class' => 'Cake\Http\Runner',
'type' => '->',
'args' => [
(int) 0 => object(Cake\Http\ServerRequest) id: 7 {},
],
],
(int) 20 => [
'file' => '/var/www/vhosts/prep-pro.co.uk/httpdocs/vendor/cakephp/cakephp/src/Http/Runner.php',
'line' => (int) 73,
'function' => 'process',
'class' => 'AssetCompress\Middleware\AssetCompressMiddleware',
'type' => '->',
'args' => [
(int) 0 => object(Cake\Http\ServerRequest) id: 7 {},
(int) 1 => object(Cake\Http\Runner) id: 3 {},
],
],
(int) 21 => [
'file' => '/var/www/vhosts/prep-pro.co.uk/httpdocs/vendor/cakephp/cakephp/src/Error/Middleware/ErrorHandlerMiddleware.php',
'line' => (int) 126,
'function' => 'handle',
'class' => 'Cake\Http\Runner',
'type' => '->',
'args' => [
(int) 0 => object(Cake\Http\ServerRequest) id: 7 {},
],
],
(int) 22 => [
'file' => '/var/www/vhosts/prep-pro.co.uk/httpdocs/vendor/cakephp/cakephp/src/Http/Runner.php',
'line' => (int) 73,
'function' => 'process',
'class' => 'Cake\Error\Middleware\ErrorHandlerMiddleware',
'type' => '->',
'args' => [
(int) 0 => object(Cake\Http\ServerRequest) id: 7 {},
(int) 1 => object(Cake\Http\Runner) id: 3 {},
],
],
(int) 23 => [
'file' => '/var/www/vhosts/prep-pro.co.uk/httpdocs/vendor/cakephp/cakephp/src/Http/Runner.php',
'line' => (int) 58,
'function' => 'handle',
'class' => 'Cake\Http\Runner',
'type' => '->',
'args' => [
(int) 0 => object(Cake\Http\ServerRequest) id: 7 {},
],
],
(int) 24 => [
'file' => '/var/www/vhosts/prep-pro.co.uk/httpdocs/vendor/cakephp/cakephp/src/Http/Server.php',
'line' => (int) 90,
'function' => 'run',
'class' => 'Cake\Http\Runner',
'type' => '->',
'args' => [
(int) 0 => object(Cake\Http\MiddlewareQueue) id:8 {
},
(int) 1 => object(Cake\Http\ServerRequest) id: 7 {},
(int) 2 => object(App\Application) id:9 {
},
],
],
(int) 25 => [
'file' => '/var/www/vhosts/prep-pro.co.uk/httpdocs/webroot/index.php',
'line' => (int) 40,
'function' => 'run',
'class' => 'Cake\Http\Server',
'type' => '->',
'args' => [
],
],
]
$file = '/var/www/vhosts/prep-pro.co.uk/httpdocs/src/Controller/PagesController.php'
$line = (int) 122
$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, Domains.created AS Domains__created, Domains.modified AS Domains__modified 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' => 'www.prep-pro.co.uk',
'type' => 'string',
'placeholder' => 'c1',
],
':c2' => [
'value' => (int) 0,
'type' => 'tinyinteger',
'placeholder' => 'c2',
],
]
'defaultTypes' => [
'Categories__id' => 'integer',
'Categories.id' => 'integer',
'id' => 'integer',
'Categories__name' => 'string',
'Categories.name' => 'string',
'name' => 'string',
'Categories__position' => 'integer',
'Categories.position' => 'integer',
'position' => 'integer',
'Categories__category_dataset_id' => 'integer',
'Categories.category_dataset_id' => 'integer',
'category_dataset_id' => 'integer',
'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' => 'integer',
'CategoryDatasets.id' => 'integer',
'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',
'Attributes__id' => 'integer',
'Attributes.id' => 'integer',
'Attributes__name' => 'string',
'Attributes.name' => 'string',
'Attributes__show_on_product_page' => 'tinyinteger',
'Attributes.show_on_product_page' => 'tinyinteger',
'show_on_product_page' => 'tinyinteger',
'Domains__id' => 'integer',
'Domains.id' => 'integer',
'Domains__domain' => 'string',
'Domains.domain' => 'string',
'domain' => 'string',
'Domains__created' => 'datetime',
'Domains.created' => 'datetime',
'Domains__modified' => 'datetime',
'Domains.modified' => 'datetime',
'CategoriesDomains__id' => 'integer',
'CategoriesDomains.id' => 'integer',
'CategoriesDomains__category_id' => 'integer',
'CategoriesDomains.category_id' => 'integer',
'category_id' => 'integer',
'CategoriesDomains__domain_id' => 'integer',
'CategoriesDomains.domain_id' => 'integer',
'domain_id' => 'integer',
]
'decorators' => (int) 0
'executed' => false
'hydrate' => true
'buffered' => true
'formatters' => (int) 1
'mapReducers' => (int) 0
'contain' => [
'CategoryDatasets' => [
'Attributes' => [
'' => [maximum depth reached],
],
],
]
'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) 1
'domain_id' => (int) 1
'company_name' => 'Prep-Pro'
'logo' => 'prep-pro-logo.png'
'logo_alt' => 'Prep-Pro'
'phone' => '0116 232 4846'
'email' => 'sales@prep-pro.co.uk'
'address_line_1' => '68 Scudamore Road'
'address_line_2' => 'Braunstone Frith Industrial Estate'
'address_line_3' => ''
'city' => 'Leicester'
'county' => ''
'postcode' => 'LE3 1UA'
'country' => 'United Kingdom'
'company_number' => ''
'vat_reg_number' => ''
'created' => null
'modified' => null
'social_medias' => [
(int) 0 => object(App\Model\Entity\SocialMedia) id:1 {
},
(int) 1 => object(App\Model\Entity\SocialMedia) id:2 {
},
]
'_matchingData' => [
'Domains' => object(App\Model\Entity\Domain) id:3 {
},
]
'[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) 1,
'domain_id' => (int) 1,
'company_name' => 'Prep-Pro',
'logo' => 'prep-pro-logo.png',
'logo_alt' => 'Prep-Pro',
'phone' => '0116 232 4846',
'email' => 'sales@prep-pro.co.uk',
'address_line_1' => '68 Scudamore Road',
'address_line_2' => 'Braunstone Frith Industrial Estate',
'address_line_3' => '',
'city' => 'Leicester',
'county' => '',
'postcode' => 'LE3 1UA',
'country' => 'United Kingdom',
'company_number' => '',
'vat_reg_number' => '',
'created' => null,
'modified' => null,
'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],
],
]
protected _new => false
protected _errors => [
]
protected _invalid => [
]
protected _registryAlias => 'CompanyDetails'
}
$configuration = object(App\Model\Entity\Configuration) id:0 {
'id' => (int) 1
'domain_id' => (int) 1
'recaptcha_site_key' => '6LeMIGcbAAAAALjg7WdUdgw64EB-_I_Sh5KQDM7K'
'recaptcha_secret_key' => '6LeMIGcbAAAAAM5S3zvaWF4TvnHcDz36hp3Rjd22'
'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-MWQXB9QXFX"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'G-MWQXB9QXFX');
</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) 1,
'domain_id' => (int) 1,
'recaptcha_site_key' => '6LeMIGcbAAAAALjg7WdUdgw64EB-_I_Sh5KQDM7K',
'recaptcha_secret_key' => '6LeMIGcbAAAAAM5S3zvaWF4TvnHcDz36hp3Rjd22',
'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-MWQXB9QXFX"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'G-MWQXB9QXFX');
</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],
],
]
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/element/homepage.php, line 1
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::_renderElement() - CORE/src/View/View.php, line 1668
Cake\View\View::element() - CORE/src/View/View.php, line 655
include - ROOT/templates/Error/error400.php, line 6
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
Cake\Error\ExceptionRenderer::_outputMessage() - CORE/src/Error/ExceptionRenderer.php, line 392
Cake\Error\ExceptionRenderer::render() - CORE/src/Error/ExceptionRenderer.php, line 281
Cake\Error\Middleware\ErrorHandlerMiddleware::handleException() - CORE/src/Error/Middleware/ErrorHandlerMiddleware.php, line 148
Cake\Error\Middleware\ErrorHandlerMiddleware::process() - CORE/src/Error/Middleware/ErrorHandlerMiddleware.php, line 130
Cake\Http\Runner::handle() - CORE/src/Http/Runner.php, line 73
Cake\Http\Runner::run() - CORE/src/Http/Runner.php, line 58
Cake\Http\Server::run() - CORE/src/Http/Server.php, line 90