Warning (2) : Attempt to read property "layout" on int [APP/Controller/Frontend/PagesController.php , line 78 ]Code Context
if ( $page -> layout -> filename === 'team' ) {
$this -> loadModel ( 'Peoples' );
App\Controller\Frontend\PagesController::view() - APP/Controller/Frontend/PagesController.php, line 78
Cake\Controller\Controller::invokeAction() - CORE/src/Controller/Controller.php, line 531
Cake\Controller\ControllerFactory::invoke() - CORE/src/Controller/ControllerFactory.php, line 149
Cake\Http\BaseApplication::handle() - CORE/src/Http/BaseApplication.php, line 313
Cake\Http\Runner::handle() - CORE/src/Http/Runner.php, line 77
Authentication\Middleware\AuthenticationMiddleware::process() - ROOT/vendor/cakephp/authentication/src/Middleware/AuthenticationMiddleware.php, line 122
Cake\Http\Runner::handle() - CORE/src/Http/Runner.php, line 73
Cake\Routing\Middleware\RoutingMiddleware::process() - CORE/src/Routing/Middleware/RoutingMiddleware.php, line 161
Cake\Http\Runner::handle() - CORE/src/Http/Runner.php, line 73
Cake\Http\Middleware\EncryptedCookieMiddleware::process() - CORE/src/Http/Middleware/EncryptedCookieMiddleware.php, line 93
Cake\Http\Runner::handle() - CORE/src/Http/Runner.php, line 73
Cake\Http\Middleware\BodyParserMiddleware::process() - CORE/src/Http/Middleware/BodyParserMiddleware.php, line 157
Cake\Http\Runner::handle() - CORE/src/Http/Runner.php, line 73
Cake\Routing\Middleware\AssetMiddleware::process() - CORE/src/Routing/Middleware/AssetMiddleware.php, line 68
Cake\Http\Runner::handle() - CORE/src/Http/Runner.php, line 73
Cake\Error\Middleware\ErrorHandlerMiddleware::process() - CORE/src/Error/Middleware/ErrorHandlerMiddleware.php, line 126
Cake\Http\Runner::handle() - CORE/src/Http/Runner.php, line 73 Warning (2) : Attempt to read property "filename" on null [APP/Controller/Frontend/PagesController.php , line 78 ]Code Context
if ( $page -> layout -> filename === 'team' ) {
$this -> loadModel ( 'Peoples' );
App\Controller\Frontend\PagesController::view() - APP/Controller/Frontend/PagesController.php, line 78
Cake\Controller\Controller::invokeAction() - CORE/src/Controller/Controller.php, line 531
Cake\Controller\ControllerFactory::invoke() - CORE/src/Controller/ControllerFactory.php, line 149
Cake\Http\BaseApplication::handle() - CORE/src/Http/BaseApplication.php, line 313
Cake\Http\Runner::handle() - CORE/src/Http/Runner.php, line 77
Authentication\Middleware\AuthenticationMiddleware::process() - ROOT/vendor/cakephp/authentication/src/Middleware/AuthenticationMiddleware.php, line 122
Cake\Http\Runner::handle() - CORE/src/Http/Runner.php, line 73
Cake\Routing\Middleware\RoutingMiddleware::process() - CORE/src/Routing/Middleware/RoutingMiddleware.php, line 161
Cake\Http\Runner::handle() - CORE/src/Http/Runner.php, line 73
Cake\Http\Middleware\EncryptedCookieMiddleware::process() - CORE/src/Http/Middleware/EncryptedCookieMiddleware.php, line 93
Cake\Http\Runner::handle() - CORE/src/Http/Runner.php, line 73
Cake\Http\Middleware\BodyParserMiddleware::process() - CORE/src/Http/Middleware/BodyParserMiddleware.php, line 157
Cake\Http\Runner::handle() - CORE/src/Http/Runner.php, line 73
Cake\Routing\Middleware\AssetMiddleware::process() - CORE/src/Routing/Middleware/AssetMiddleware.php, line 68
Cake\Http\Runner::handle() - CORE/src/Http/Runner.php, line 73
Cake\Error\Middleware\ErrorHandlerMiddleware::process() - CORE/src/Error/Middleware/ErrorHandlerMiddleware.php, line 126
Cake\Http\Runner::handle() - CORE/src/Http/Runner.php, line 73 Warning (2) : Attempt to read property "layout" on int [APP/Controller/Frontend/PagesController.php , line 88 ]Code Context
if ( $page -> layout -> filename === 'partnerships' ) {
$this -> loadModel ( 'Partners' );
App\Controller\Frontend\PagesController::view() - APP/Controller/Frontend/PagesController.php, line 88
Cake\Controller\Controller::invokeAction() - CORE/src/Controller/Controller.php, line 531
Cake\Controller\ControllerFactory::invoke() - CORE/src/Controller/ControllerFactory.php, line 149
Cake\Http\BaseApplication::handle() - CORE/src/Http/BaseApplication.php, line 313
Cake\Http\Runner::handle() - CORE/src/Http/Runner.php, line 77
Authentication\Middleware\AuthenticationMiddleware::process() - ROOT/vendor/cakephp/authentication/src/Middleware/AuthenticationMiddleware.php, line 122
Cake\Http\Runner::handle() - CORE/src/Http/Runner.php, line 73
Cake\Routing\Middleware\RoutingMiddleware::process() - CORE/src/Routing/Middleware/RoutingMiddleware.php, line 161
Cake\Http\Runner::handle() - CORE/src/Http/Runner.php, line 73
Cake\Http\Middleware\EncryptedCookieMiddleware::process() - CORE/src/Http/Middleware/EncryptedCookieMiddleware.php, line 93
Cake\Http\Runner::handle() - CORE/src/Http/Runner.php, line 73
Cake\Http\Middleware\BodyParserMiddleware::process() - CORE/src/Http/Middleware/BodyParserMiddleware.php, line 157
Cake\Http\Runner::handle() - CORE/src/Http/Runner.php, line 73
Cake\Routing\Middleware\AssetMiddleware::process() - CORE/src/Routing/Middleware/AssetMiddleware.php, line 68
Cake\Http\Runner::handle() - CORE/src/Http/Runner.php, line 73
Cake\Error\Middleware\ErrorHandlerMiddleware::process() - CORE/src/Error/Middleware/ErrorHandlerMiddleware.php, line 126
Cake\Http\Runner::handle() - CORE/src/Http/Runner.php, line 73 Warning (2) : Attempt to read property "filename" on null [APP/Controller/Frontend/PagesController.php , line 88 ]Code Context
if ( $page -> layout -> filename === 'partnerships' ) {
$this -> loadModel ( 'Partners' );
App\Controller\Frontend\PagesController::view() - APP/Controller/Frontend/PagesController.php, line 88
Cake\Controller\Controller::invokeAction() - CORE/src/Controller/Controller.php, line 531
Cake\Controller\ControllerFactory::invoke() - CORE/src/Controller/ControllerFactory.php, line 149
Cake\Http\BaseApplication::handle() - CORE/src/Http/BaseApplication.php, line 313
Cake\Http\Runner::handle() - CORE/src/Http/Runner.php, line 77
Authentication\Middleware\AuthenticationMiddleware::process() - ROOT/vendor/cakephp/authentication/src/Middleware/AuthenticationMiddleware.php, line 122
Cake\Http\Runner::handle() - CORE/src/Http/Runner.php, line 73
Cake\Routing\Middleware\RoutingMiddleware::process() - CORE/src/Routing/Middleware/RoutingMiddleware.php, line 161
Cake\Http\Runner::handle() - CORE/src/Http/Runner.php, line 73
Cake\Http\Middleware\EncryptedCookieMiddleware::process() - CORE/src/Http/Middleware/EncryptedCookieMiddleware.php, line 93
Cake\Http\Runner::handle() - CORE/src/Http/Runner.php, line 73
Cake\Http\Middleware\BodyParserMiddleware::process() - CORE/src/Http/Middleware/BodyParserMiddleware.php, line 157
Cake\Http\Runner::handle() - CORE/src/Http/Runner.php, line 73
Cake\Routing\Middleware\AssetMiddleware::process() - CORE/src/Routing/Middleware/AssetMiddleware.php, line 68
Cake\Http\Runner::handle() - CORE/src/Http/Runner.php, line 73
Cake\Error\Middleware\ErrorHandlerMiddleware::process() - CORE/src/Error/Middleware/ErrorHandlerMiddleware.php, line 126
Cake\Http\Runner::handle() - CORE/src/Http/Runner.php, line 73 Warning (2) : Attempt to read property "layout" on int [APP/Controller/Frontend/PagesController.php , line 98 ]Code Context
if ( $page -> layout -> filename === 'delivery_installation_faq' ) {
$this -> loadModel ( 'Faqs' );
App\Controller\Frontend\PagesController::view() - APP/Controller/Frontend/PagesController.php, line 98
Cake\Controller\Controller::invokeAction() - CORE/src/Controller/Controller.php, line 531
Cake\Controller\ControllerFactory::invoke() - CORE/src/Controller/ControllerFactory.php, line 149
Cake\Http\BaseApplication::handle() - CORE/src/Http/BaseApplication.php, line 313
Cake\Http\Runner::handle() - CORE/src/Http/Runner.php, line 77
Authentication\Middleware\AuthenticationMiddleware::process() - ROOT/vendor/cakephp/authentication/src/Middleware/AuthenticationMiddleware.php, line 122
Cake\Http\Runner::handle() - CORE/src/Http/Runner.php, line 73
Cake\Routing\Middleware\RoutingMiddleware::process() - CORE/src/Routing/Middleware/RoutingMiddleware.php, line 161
Cake\Http\Runner::handle() - CORE/src/Http/Runner.php, line 73
Cake\Http\Middleware\EncryptedCookieMiddleware::process() - CORE/src/Http/Middleware/EncryptedCookieMiddleware.php, line 93
Cake\Http\Runner::handle() - CORE/src/Http/Runner.php, line 73
Cake\Http\Middleware\BodyParserMiddleware::process() - CORE/src/Http/Middleware/BodyParserMiddleware.php, line 157
Cake\Http\Runner::handle() - CORE/src/Http/Runner.php, line 73
Cake\Routing\Middleware\AssetMiddleware::process() - CORE/src/Routing/Middleware/AssetMiddleware.php, line 68
Cake\Http\Runner::handle() - CORE/src/Http/Runner.php, line 73
Cake\Error\Middleware\ErrorHandlerMiddleware::process() - CORE/src/Error/Middleware/ErrorHandlerMiddleware.php, line 126
Cake\Http\Runner::handle() - CORE/src/Http/Runner.php, line 73 Warning (2) : Attempt to read property "filename" on null [APP/Controller/Frontend/PagesController.php , line 98 ]Code Context
if ( $page -> layout -> filename === 'delivery_installation_faq' ) {
$this -> loadModel ( 'Faqs' );
App\Controller\Frontend\PagesController::view() - APP/Controller/Frontend/PagesController.php, line 98
Cake\Controller\Controller::invokeAction() - CORE/src/Controller/Controller.php, line 531
Cake\Controller\ControllerFactory::invoke() - CORE/src/Controller/ControllerFactory.php, line 149
Cake\Http\BaseApplication::handle() - CORE/src/Http/BaseApplication.php, line 313
Cake\Http\Runner::handle() - CORE/src/Http/Runner.php, line 77
Authentication\Middleware\AuthenticationMiddleware::process() - ROOT/vendor/cakephp/authentication/src/Middleware/AuthenticationMiddleware.php, line 122
Cake\Http\Runner::handle() - CORE/src/Http/Runner.php, line 73
Cake\Routing\Middleware\RoutingMiddleware::process() - CORE/src/Routing/Middleware/RoutingMiddleware.php, line 161
Cake\Http\Runner::handle() - CORE/src/Http/Runner.php, line 73
Cake\Http\Middleware\EncryptedCookieMiddleware::process() - CORE/src/Http/Middleware/EncryptedCookieMiddleware.php, line 93
Cake\Http\Runner::handle() - CORE/src/Http/Runner.php, line 73
Cake\Http\Middleware\BodyParserMiddleware::process() - CORE/src/Http/Middleware/BodyParserMiddleware.php, line 157
Cake\Http\Runner::handle() - CORE/src/Http/Runner.php, line 73
Cake\Routing\Middleware\AssetMiddleware::process() - CORE/src/Routing/Middleware/AssetMiddleware.php, line 68
Cake\Http\Runner::handle() - CORE/src/Http/Runner.php, line 73
Cake\Error\Middleware\ErrorHandlerMiddleware::process() - CORE/src/Error/Middleware/ErrorHandlerMiddleware.php, line 126
Cake\Http\Runner::handle() - CORE/src/Http/Runner.php, line 73 Warning (2) : Attempt to read property "page_type" on int [APP/Controller/Frontend/PagesController.php , line 108 ]Code Context
$this -> setLayout ( $page -> page_type -> layout );
$this -> setTemplate ( $page -> layout -> filename );
App\Controller\Frontend\PagesController::view() - APP/Controller/Frontend/PagesController.php, line 108
Cake\Controller\Controller::invokeAction() - CORE/src/Controller/Controller.php, line 531
Cake\Controller\ControllerFactory::invoke() - CORE/src/Controller/ControllerFactory.php, line 149
Cake\Http\BaseApplication::handle() - CORE/src/Http/BaseApplication.php, line 313
Cake\Http\Runner::handle() - CORE/src/Http/Runner.php, line 77
Authentication\Middleware\AuthenticationMiddleware::process() - ROOT/vendor/cakephp/authentication/src/Middleware/AuthenticationMiddleware.php, line 122
Cake\Http\Runner::handle() - CORE/src/Http/Runner.php, line 73
Cake\Routing\Middleware\RoutingMiddleware::process() - CORE/src/Routing/Middleware/RoutingMiddleware.php, line 161
Cake\Http\Runner::handle() - CORE/src/Http/Runner.php, line 73
Cake\Http\Middleware\EncryptedCookieMiddleware::process() - CORE/src/Http/Middleware/EncryptedCookieMiddleware.php, line 93
Cake\Http\Runner::handle() - CORE/src/Http/Runner.php, line 73
Cake\Http\Middleware\BodyParserMiddleware::process() - CORE/src/Http/Middleware/BodyParserMiddleware.php, line 157
Cake\Http\Runner::handle() - CORE/src/Http/Runner.php, line 73
Cake\Routing\Middleware\AssetMiddleware::process() - CORE/src/Routing/Middleware/AssetMiddleware.php, line 68
Cake\Http\Runner::handle() - CORE/src/Http/Runner.php, line 73
Cake\Error\Middleware\ErrorHandlerMiddleware::process() - CORE/src/Error/Middleware/ErrorHandlerMiddleware.php, line 126
Cake\Http\Runner::handle() - CORE/src/Http/Runner.php, line 73 Warning (2) : Attempt to read property "layout" on null [APP/Controller/Frontend/PagesController.php , line 108 ]Code Context
$this -> setLayout ( $page -> page_type -> layout );
$this -> setTemplate ( $page -> layout -> filename );
App\Controller\Frontend\PagesController::view() - APP/Controller/Frontend/PagesController.php, line 108
Cake\Controller\Controller::invokeAction() - CORE/src/Controller/Controller.php, line 531
Cake\Controller\ControllerFactory::invoke() - CORE/src/Controller/ControllerFactory.php, line 149
Cake\Http\BaseApplication::handle() - CORE/src/Http/BaseApplication.php, line 313
Cake\Http\Runner::handle() - CORE/src/Http/Runner.php, line 77
Authentication\Middleware\AuthenticationMiddleware::process() - ROOT/vendor/cakephp/authentication/src/Middleware/AuthenticationMiddleware.php, line 122
Cake\Http\Runner::handle() - CORE/src/Http/Runner.php, line 73
Cake\Routing\Middleware\RoutingMiddleware::process() - CORE/src/Routing/Middleware/RoutingMiddleware.php, line 161
Cake\Http\Runner::handle() - CORE/src/Http/Runner.php, line 73
Cake\Http\Middleware\EncryptedCookieMiddleware::process() - CORE/src/Http/Middleware/EncryptedCookieMiddleware.php, line 93
Cake\Http\Runner::handle() - CORE/src/Http/Runner.php, line 73
Cake\Http\Middleware\BodyParserMiddleware::process() - CORE/src/Http/Middleware/BodyParserMiddleware.php, line 157
Cake\Http\Runner::handle() - CORE/src/Http/Runner.php, line 73
Cake\Routing\Middleware\AssetMiddleware::process() - CORE/src/Routing/Middleware/AssetMiddleware.php, line 68
Cake\Http\Runner::handle() - CORE/src/Http/Runner.php, line 73
Cake\Error\Middleware\ErrorHandlerMiddleware::process() - CORE/src/Error/Middleware/ErrorHandlerMiddleware.php, line 126
Cake\Http\Runner::handle() - CORE/src/Http/Runner.php, line 73 Warning (2) : Attempt to read property "layout" on int [APP/Controller/Frontend/PagesController.php , line 109 ]Code Context $this -> setLayout ( $page -> page_type -> layout );
$this -> setTemplate ( $page -> layout -> filename );
}
App\Controller\Frontend\PagesController::view() - APP/Controller/Frontend/PagesController.php, line 109
Cake\Controller\Controller::invokeAction() - CORE/src/Controller/Controller.php, line 531
Cake\Controller\ControllerFactory::invoke() - CORE/src/Controller/ControllerFactory.php, line 149
Cake\Http\BaseApplication::handle() - CORE/src/Http/BaseApplication.php, line 313
Cake\Http\Runner::handle() - CORE/src/Http/Runner.php, line 77
Authentication\Middleware\AuthenticationMiddleware::process() - ROOT/vendor/cakephp/authentication/src/Middleware/AuthenticationMiddleware.php, line 122
Cake\Http\Runner::handle() - CORE/src/Http/Runner.php, line 73
Cake\Routing\Middleware\RoutingMiddleware::process() - CORE/src/Routing/Middleware/RoutingMiddleware.php, line 161
Cake\Http\Runner::handle() - CORE/src/Http/Runner.php, line 73
Cake\Http\Middleware\EncryptedCookieMiddleware::process() - CORE/src/Http/Middleware/EncryptedCookieMiddleware.php, line 93
Cake\Http\Runner::handle() - CORE/src/Http/Runner.php, line 73
Cake\Http\Middleware\BodyParserMiddleware::process() - CORE/src/Http/Middleware/BodyParserMiddleware.php, line 157
Cake\Http\Runner::handle() - CORE/src/Http/Runner.php, line 73
Cake\Routing\Middleware\AssetMiddleware::process() - CORE/src/Routing/Middleware/AssetMiddleware.php, line 68
Cake\Http\Runner::handle() - CORE/src/Http/Runner.php, line 73
Cake\Error\Middleware\ErrorHandlerMiddleware::process() - CORE/src/Error/Middleware/ErrorHandlerMiddleware.php, line 126
Cake\Http\Runner::handle() - CORE/src/Http/Runner.php, line 73 Warning (2) : Attempt to read property "filename" on null [APP/Controller/Frontend/PagesController.php , line 109 ]Code Context $this -> setLayout ( $page -> page_type -> layout );
$this -> setTemplate ( $page -> layout -> filename );
}
App\Controller\Frontend\PagesController::view() - APP/Controller/Frontend/PagesController.php, line 109
Cake\Controller\Controller::invokeAction() - CORE/src/Controller/Controller.php, line 531
Cake\Controller\ControllerFactory::invoke() - CORE/src/Controller/ControllerFactory.php, line 149
Cake\Http\BaseApplication::handle() - CORE/src/Http/BaseApplication.php, line 313
Cake\Http\Runner::handle() - CORE/src/Http/Runner.php, line 77
Authentication\Middleware\AuthenticationMiddleware::process() - ROOT/vendor/cakephp/authentication/src/Middleware/AuthenticationMiddleware.php, line 122
Cake\Http\Runner::handle() - CORE/src/Http/Runner.php, line 73
Cake\Routing\Middleware\RoutingMiddleware::process() - CORE/src/Routing/Middleware/RoutingMiddleware.php, line 161
Cake\Http\Runner::handle() - CORE/src/Http/Runner.php, line 73
Cake\Http\Middleware\EncryptedCookieMiddleware::process() - CORE/src/Http/Middleware/EncryptedCookieMiddleware.php, line 93
Cake\Http\Runner::handle() - CORE/src/Http/Runner.php, line 73
Cake\Http\Middleware\BodyParserMiddleware::process() - CORE/src/Http/Middleware/BodyParserMiddleware.php, line 157
Cake\Http\Runner::handle() - CORE/src/Http/Runner.php, line 73
Cake\Routing\Middleware\AssetMiddleware::process() - CORE/src/Routing/Middleware/AssetMiddleware.php, line 68
Cake\Http\Runner::handle() - CORE/src/Http/Runner.php, line 73
Cake\Error\Middleware\ErrorHandlerMiddleware::process() - CORE/src/Error/Middleware/ErrorHandlerMiddleware.php, line 126
Cake\Http\Runner::handle() - CORE/src/Http/Runner.php, line 73 Warning (512) : Unable to emit headers. Headers sent in file=/home/production/public_html/vendor/cakephp/cakephp/src/Error/Debugger.php line=971 [CORE/src/Http/ResponseEmitter.php , line 71 ]Code Context $message = "Unable to emit headers. Headers sent in file= $file line= $line " ;
trigger_error ( $message , E_USER_WARNING );
}
Cake\Http\ResponseEmitter::emit() - CORE/src/Http/ResponseEmitter.php, line 71
Cake\Http\Server::emit() - CORE/src/Http/Server.php, line 128
[main] - ROOT/webroot/index.php, line 40 Warning (2) : Cannot modify header information - headers already sent by (output started at /home/production/public_html/vendor/cakephp/cakephp/src/Error/Debugger.php:971) [CORE/src/Http/ResponseEmitter.php , line 168 ]Code Context $response -> getStatusCode (),
( $reasonPhrase ? ' ' . $reasonPhrase : '' )
));
header - [internal], line ??
Cake\Http\ResponseEmitter::emitStatusLine() - CORE/src/Http/ResponseEmitter.php, line 168
Cake\Http\ResponseEmitter::emit() - CORE/src/Http/ResponseEmitter.php, line 74
Cake\Http\Server::emit() - CORE/src/Http/Server.php, line 128
[main] - ROOT/webroot/index.php, line 40 Warning (2) : Cannot modify header information - headers already sent by (output started at /home/production/public_html/vendor/cakephp/cakephp/src/Error/Debugger.php:971) [CORE/src/Http/ResponseEmitter.php , line 197 ]Code Context foreach ( $values as $value ) {
header ( sprintf (
'%s: %s' ,
header - [internal], line ??
Cake\Http\ResponseEmitter::emitHeaders() - CORE/src/Http/ResponseEmitter.php, line 197
Cake\Http\ResponseEmitter::emit() - CORE/src/Http/ResponseEmitter.php, line 75
Cake\Http\Server::emit() - CORE/src/Http/Server.php, line 128
[main] - ROOT/webroot/index.php, line 40
Error: Missing Template
Error
The view for PagesController::view() was not found.
$defaultLayout = $this -> layout ;
$this -> layout = $layout ;
}
$templateFileName = $this -> _getTemplateFileName ( $template );
$this -> _currentType = static:: TYPE_TEMPLATE ;
$this -> dispatchEvent ( 'View.beforeRender' , [ $templateFileName ]);
$this -> Blocks -> set ( 'content' , $this -> _render ( $templateFileName ));
$this -> dispatchEvent ( 'View.afterRender' , [ $templateFileName ]);
Arguments
'Frontend/Pages/view.php'
$builder -> setTemplate ( $this -> request -> getParam ( 'action' ));
}
$view = $this -> createView ();
$contents = $view -> render ();
$this -> setResponse ( $view -> getResponse ()-> withStringBody ( $contents ));
return $this -> response ;
}
* @ link https : //book.cakephp.org/4/en/controllers.html#rendering-a-view
*/
public function render (? string $template = null , ? string $layout = null ): Response
{
$obj = parent :: render ();
$body = $obj -> getBody ();
$body -> rewind ();
return $this -> response ;
getTypeName ( $result )
));
}
if ( $result === null && $this -> isAutoRenderEnabled ()) {
$result = $this -> render ();
}
if ( $result ) {
$this -> response = $result ;
}
}
if ( count ( $passed )) {
$args = array_merge ( $args , $passed );
}
$controller -> invokeAction ( $action , $args );
$result = $controller -> shutdownProcess ();
if ( $result instanceof ResponseInterface ) {
return $result ;
Arguments
[
(int) 0 => 'williamsbakery-equipment' ,
]
}
$controller = $this -> controllerFactory -> create ( $request );
return $this -> controllerFactory -> invoke ( $controller );
}
}
Arguments
object( App\Controller\Frontend\PagesController ) id: 0 {
redirect => null
isProduction => true
paginate => [
]
Redirections => object( App\Model\Table\RedirectionsTable ) id: 1 {
'registryAlias' => 'Redirections'
'table' => 'redirections'
'alias' => 'Redirections'
'entityClass' => 'App\Model\Entity\Redirection'
'associations' => [
]
'behaviors' => [
(int) 0 => 'Filter' ,
(int) 1 => 'Timestamp' ,
(int) 2 => 'Logger' ,
]
'defaultConnection' => 'default'
'connectionName' => 'default'
}
Pages => object( App\Model\Table\PagesTable ) id: 2 {
'registryAlias' => 'Pages'
'table' => 'pages'
'alias' => 'Pages'
'entityClass' => 'App\Model\Entity\Page'
'associations' => [
(int) 0 => 'Menus' ,
(int) 1 => 'Layouts' ,
(int) 2 => 'PageTypes' ,
(int) 3 => 'ParentPages' ,
(int) 4 => 'PageFiles' ,
(int) 5 => 'ChildPages' ,
]
'behaviors' => [
(int) 0 => 'Timestamp' ,
(int) 1 => 'Tree' ,
(int) 2 => 'SoftDelete' ,
(int) 3 => 'Logger' ,
(int) 4 => 'Filter' ,
(int) 5 => 'Upload' ,
]
'defaultConnection' => 'default'
'connectionName' => 'default'
}
PageFiles => object( App\Model\Table\PageFilesTable ) id: 3 {
'registryAlias' => 'PageFiles'
'table' => 'page_files'
'alias' => 'PageFiles'
'entityClass' => 'App\Model\Entity\PageFile'
'associations' => [
(int) 0 => 'Pages' ,
]
'behaviors' => [
(int) 0 => 'Timestamp' ,
(int) 1 => 'Logger' ,
(int) 2 => 'Filter' ,
]
'defaultConnection' => 'default'
'connectionName' => 'default'
}
Menus => object( App\Model\Table\MenusTable ) id: 4 {
'registryAlias' => 'Menus'
'table' => 'menus'
'alias' => 'Menus'
'entityClass' => 'Cake\ORM\Entity'
'associations' => [
(int) 0 => 'Pages' ,
]
'behaviors' => [
(int) 0 => 'Filter' ,
(int) 1 => 'Timestamp' ,
(int) 2 => 'Logger' ,
]
'defaultConnection' => 'default'
'connectionName' => 'default'
}
Flash => object( Cake\Controller\Component\FlashComponent ) id: 5 {
'components' => [
]
'implementedEvents' => [
]
'_config' => [
'key' => 'flash' ,
'element' => 'default' ,
'plugin' => null ,
'params' => [
'' => [maximum depth reached] ,
] ,
'clear' => false ,
'duplicate' => true ,
]
}
RequestHandler => object( Cake\Controller\Component\RequestHandlerComponent ) id: 6 {
'components' => [
]
'implementedEvents' => [
'Controller.startup' => 'startup' ,
'Controller.beforeRender' => 'beforeRender' ,
]
'_config' => [
'checkHttpCache' => true ,
'viewClassMap' => [
'' => [maximum depth reached] ,
] ,
]
}
MemberAuthentication => object( Authentication\Controller\Component\AuthenticationComponent ) id: 7 {
'components' => [
]
'implementedEvents' => [
'Controller.initialize' => 'beforeFilter' ,
'Controller.startup' => 'startup' ,
]
'_config' => [
'logoutRedirect' => false ,
'requireIdentity' => true ,
'identityAttribute' => 'memberIdentity' ,
'identityCheckEvent' => 'Controller.startup' ,
'className' => 'Authentication.Authentication' ,
]
}
StaticContents => object( App\Model\Table\StaticContentsTable ) id: 8 {
'registryAlias' => 'StaticContents'
'table' => 'static_contents'
'alias' => 'StaticContents'
'entityClass' => 'App\Model\Entity\StaticContent'
'associations' => [
(int) 0 => 'StaticContentGroups' ,
]
'behaviors' => [
(int) 0 => 'Timestamp' ,
(int) 1 => 'Logger' ,
]
'defaultConnection' => 'default'
'connectionName' => 'default'
}
Forms => object( App\Model\Table\FormsTable ) id: 9 {
'registryAlias' => 'Forms'
'table' => 'forms'
'alias' => 'Forms'
'entityClass' => 'App\Model\Entity\Form'
'associations' => [
(int) 0 => 'FormMessages' ,
]
'behaviors' => [
(int) 0 => 'SoftDelete' ,
(int) 1 => 'Timestamp' ,
(int) 2 => 'Logger' ,
]
'defaultConnection' => 'default'
'connectionName' => 'default'
}
ProductCategories => object( App\Model\Table\ProductCategoriesTable ) id: 10 {
'registryAlias' => 'ProductCategories'
'table' => 'product_categories'
'alias' => 'ProductCategories'
'entityClass' => 'App\Model\Entity\ProductCategory'
'associations' => [
(int) 0 => 'ParentProductCategories' ,
(int) 1 => 'ChildProductCategories' ,
(int) 2 => 'ProductCategoryAttributes' ,
(int) 3 => 'Products' ,
]
'behaviors' => [
(int) 0 => 'Tree' ,
(int) 1 => 'Upload' ,
(int) 2 => 'Logger' ,
(int) 3 => 'SoftDelete' ,
(int) 4 => 'Timestamp' ,
(int) 5 => 'Slugify' ,
]
'defaultConnection' => 'default'
'connectionName' => 'default'
}
Products => object( App\Model\Table\ProductsTable ) id: 11 {
'registryAlias' => 'Products'
'table' => 'products'
'alias' => 'Products'
'entityClass' => 'App\Model\Entity\Product'
'associations' => [
(int) 0 => 'Comments' ,
(int) 1 => 'Manufacturers' ,
(int) 2 => 'ProductStatuses' ,
(int) 3 => 'ProductAdditionalContents' ,
(int) 4 => 'ProductShippingAvailabilities' ,
(int) 5 => 'Brands' ,
(int) 6 => 'DeliveryMessages' ,
(int) 7 => 'ProductUnits' ,
(int) 8 => 'EnergyClasses' ,
(int) 9 => 'ProductDetails' ,
(int) 10 => 'ProductTestimonials' ,
(int) 11 => 'ProductAttachments' ,
(int) 12 => 'ProductProperties' ,
(int) 13 => 'ProductPropertyKeyFeatures' ,
(int) 14 => 'ProductPropertyFeatureBenefits' ,
(int) 15 => 'ProductPropertyHighlights' ,
(int) 16 => 'ProductPropertyRequirements' ,
(int) 17 => 'ProductPropertyQuickWins' ,
(int) 18 => 'ProductTabs' ,
(int) 19 => 'ProductAdditionalInformations' ,
(int) 20 => 'ProductAttributes' ,
(int) 21 => 'ProductCodes' ,
(int) 22 => 'ProductImages' ,
(int) 23 => 'ProductVideos' ,
(int) 24 => 'ProductPrices' ,
(int) 25 => 'ProductReviews' ,
(int) 26 => 'ProductCategories' ,
(int) 27 => 'ProductCategoriesProducts' ,
(int) 28 => 'ProductBadges' ,
(int) 29 => 'Deliveries' ,
(int) 30 => 'Related' ,
(int) 31 => 'Discounts' ,
(int) 32 => 'GrossMarginGroups' ,
(int) 33 => 'Wishlist' ,
(int) 34 => 'ParentProducts' ,
(int) 35 => 'ChildProducts' ,
(int) 36 => 'DefaultProduct' ,
(int) 37 => 'Users' ,
(int) 38 => 'ModifiedUsers' ,
(int) 39 => 'ProductCodeManufacturer' ,
(int) 40 => 'ProductCodeEan' ,
(int) 41 => 'ProductBadgesProducts' ,
(int) 42 => 'SupplierOrders' ,
(int) 43 => 'RelatedExtraProducts' ,
(int) 44 => 'RelatedAlternativeProducts' ,
(int) 45 => 'RelatedRelatedProducts' ,
]
'behaviors' => [
(int) 0 => 'SoftDelete' ,
(int) 1 => 'History' ,
(int) 2 => 'Slugify' ,
(int) 3 => 'Upload' ,
(int) 4 => 'CounterCache' ,
(int) 5 => 'Timestamp' ,
]
'defaultConnection' => 'default'
'connectionName' => 'default'
}
Frontend => object( App\Controller\Component\FrontendComponent ) id: 12 {
'components' => [
]
'implementedEvents' => [
'Controller.beforeRender' => 'beforeRender' ,
]
'_config' => [
]
}
protected page => (int) 2
protected breadcrumbs => [
]
protected allowedMemberActions => null
protected limit => (int) 25
protected name => 'Pages'
protected request => object( Cake\Http\ServerRequest ) id: 13 {
trustProxy => false
protected params => [
'' => [maximum depth reached] ,
]
protected data => [
'' => [maximum depth reached] ,
]
protected query => [
'' => [maximum depth reached] ,
]
protected cookies => [
'' => [maximum depth reached] ,
]
protected _environment => [
'' => [maximum depth reached] ,
]
protected base => ''
protected webroot => '/'
protected trustedProxies => [
'' => [maximum depth reached] ,
]
protected _detectors => [
'' => [maximum depth reached] ,
]
protected _detectorCache => [
'' => [maximum depth reached] ,
]
protected stream => object( Laminas\Diactoros\PhpInputStream ) id: 14 {
}
protected uri => object( Laminas\Diactoros\Uri ) id: 15 {
}
protected session => object( Cake\Http\Session ) id: 16 {
}
protected flash => object( Cake\Http\FlashMessage ) id: 17 {
}
protected attributes => [
'' => [maximum depth reached] ,
]
protected emulatedAttributes => [
'' => [maximum depth reached] ,
]
protected uploadedFiles => [
'' => [maximum depth reached] ,
]
protected protocol => null
protected requestTarget => null
}
protected response => object( Cake\Http\Response ) id: 18 {
'status' => (int) 200
'contentType' => 'text/html'
'headers' => [
'Content-Type' => [
'' => [maximum depth reached] ,
] ,
]
'file' => null
'fileRange' => [
]
'cookies' => object( Cake\Http\Cookie\CookieCollection ) id: 19 {
}
'cacheDirectives' => [
]
'body' => ''
}
protected _responseClass => 'Cake\Http\Response'
protected autoRender => false
protected _components => object( Cake\Controller\ComponentRegistry ) id: 20 {
'_Controller' => object( App\Controller\Frontend\PagesController ) id: 0 {}
'_loaded' => [
(int) 0 => 'Flash' ,
(int) 1 => 'RequestHandler' ,
(int) 2 => 'MemberAuthentication' ,
(int) 3 => 'Frontend' ,
]
'_eventManager' => object( Cake\Event\EventManager ) id: 21 {
}
'_eventClass' => 'Cake\Event\Event'
}
protected plugin => null
protected _eventManager => object( Cake\Event\EventManager ) id: 21 {}
protected _eventClass => 'Cake\Event\Event'
protected _tableLocator => object( Cake\ORM\Locator\TableLocator ) id: 22 {
protected locations => [
'' => [maximum depth reached] ,
]
protected _config => [
'' => [maximum depth reached] ,
]
protected instances => [
'' => [maximum depth reached] ,
]
protected _fallbacked => [
'' => [maximum depth reached] ,
]
protected fallbackClassName => 'Cake\ORM\Table'
protected allowFallbackClass => true
protected options => [
'' => [maximum depth reached] ,
]
}
protected modelClass => 'Pages'
protected _modelFactories => [
'Table' => [
(int) 0 => object( Cake\ORM\Locator\TableLocator ) id: 22 {} ,
(int) 1 => 'get' ,
] ,
]
protected _modelType => 'Table'
protected _viewBuilder => object( Cake\View\ViewBuilder ) id: 23 {
protected _templatePath => 'Frontend/Pages'
protected _template => 'view'
protected _plugin => null
protected _theme => null
protected _layout => null
protected _autoLayout => true
protected _layoutPath => null
protected _name => 'Pages'
protected _className => null
protected _options => [
'' => [maximum depth reached] ,
]
protected _helpers => [
'' => [maximum depth reached] ,
]
protected _vars => [
'' => [maximum depth reached] ,
]
}
}
return $middleware -> process ( $request , $this );
}
if ( $this -> fallbackHandler ) {
return $this -> fallbackHandler -> handle ( $request );
}
$response = new Response ([
'body' => 'Middleware queue was exhausted without returning a response '
Arguments
object( Cake\Http\ServerRequest ) id: 0 {
trustProxy => false
protected params => [
'pass' => [
(int) 0 => 'williamsbakery-equipment' ,
] ,
'prefix' => 'Frontend' ,
'controller' => 'Pages' ,
'action' => 'view' ,
'_method' => 'GET' ,
'plugin' => null ,
'_matchedRoute' => '/*' ,
'?' => [
'page' => '2' ,
] ,
'_ext' => null ,
]
protected data => [
]
protected query => [
'page' => '2' ,
]
protected cookies => [
]
protected _environment => [
'USER' => 'nginx' ,
'HOME' => '/var/lib/nginx' ,
'HTTP_REFERER' => 'http://www.brookfood.co.uk/williamsbakery-equipment?page=2' ,
'HTTP_USER_AGENT' => 'claudebot' ,
'HTTP_ACCEPT' => '*/*' ,
'HTTP_HOST' => 'www.brookfood.co.uk' ,
'REDIRECT_STATUS' => '200' ,
'SERVER_NAME' => 'www.brookfood.co.uk' ,
'SERVER_PORT' => '443' ,
'SERVER_ADDR' => '172.31.32.21' ,
'REMOTE_PORT' => '57346' ,
'REMOTE_ADDR' => '3.237.186.170' ,
'SERVER_SOFTWARE' => 'nginx/1.20.1' ,
'GATEWAY_INTERFACE' => 'CGI/1.1' ,
'HTTPS' => 'on' ,
'REQUEST_SCHEME' => 'https' ,
'SERVER_PROTOCOL' => 'HTTP/2.0' ,
'DOCUMENT_URI' => '/index.php' ,
'REQUEST_URI' => '/williamsbakery-equipment?page=2' ,
'SCRIPT_NAME' => '/index.php' ,
'CONTENT_LENGTH' => '' ,
'CONTENT_TYPE' => '' ,
'REQUEST_METHOD' => 'GET' ,
'QUERY_STRING' => 'page=2' ,
'DOCUMENT_ROOT' => '/home/production/public_html/webroot' ,
'SCRIPT_FILENAME' => '/home/production/public_html/webroot/index.php' ,
'FCGI_ROLE' => 'RESPONDER' ,
'PHP_SELF' => '/index.php' ,
'REQUEST_TIME_FLOAT' => (float) 1711614308.3885 ,
'REQUEST_TIME' => (int) 1711614308 ,
'ORIGINAL_REQUEST_METHOD' => 'GET' ,
'HTTP_X_REQUESTED_WITH' => null ,
]
protected base => ''
protected webroot => '/'
protected trustedProxies => [
]
protected _detectors => [
'get' => [
'env' => 'REQUEST_METHOD' ,
'value' => 'GET' ,
] ,
'post' => [
'env' => 'REQUEST_METHOD' ,
'value' => 'POST' ,
] ,
'put' => [
'env' => 'REQUEST_METHOD' ,
'value' => 'PUT' ,
] ,
'patch' => [
'env' => 'REQUEST_METHOD' ,
'value' => 'PATCH' ,
] ,
'delete' => [
'env' => 'REQUEST_METHOD' ,
'value' => 'DELETE' ,
] ,
'head' => [
'env' => 'REQUEST_METHOD' ,
'value' => 'HEAD' ,
] ,
'options' => [
'env' => 'REQUEST_METHOD' ,
'value' => 'OPTIONS' ,
] ,
'ssl' => [
'env' => 'HTTPS' ,
'options' => [
'' => [maximum depth reached] ,
] ,
] ,
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH' ,
'value' => 'XMLHttpRequest' ,
] ,
'json' => [
'accept' => [
'' => [maximum depth reached] ,
] ,
'param' => '_ext' ,
'value' => 'json' ,
] ,
'xml' => [
'accept' => [
'' => [maximum depth reached] ,
] ,
'param' => '_ext' ,
'value' => 'xml' ,
] ,
'mobile' => object( Closure ) id: 1 {
} ,
'tablet' => object( Closure ) id: 2 {
} ,
'csv' => [
'accept' => [
'' => [maximum depth reached] ,
] ,
'param' => '_ext' ,
'value' => 'csv' ,
] ,
]
protected _detectorCache => [
'ajax' => false ,
]
protected stream => object( Laminas\Diactoros\PhpInputStream ) id: 3 {
protected resource => (resource) Resource id #187
protected stream => 'php://input'
private cache => ''
private reachedEof => false
}
protected uri => object( Laminas\Diactoros\Uri ) id: 4 {
base => ''
webroot => '/'
protected allowedSchemes => [
'' => [maximum depth reached] ,
]
private scheme => 'https'
private userInfo => ''
private host => 'www.brookfood.co.uk'
private port => null
private path => '/williamsbakery-equipment'
private query => 'page=2'
private fragment => ''
private uriString => 'https://www.brookfood.co.uk/williamsbakery-equipment?page=2'
}
protected session => object( Cake\Http\Session ) id: 5 {
protected _engine => object( Cake\Http\Session\DatabaseSession ) id: 6 {
}
protected _started => null
protected _lifetime => (int) 1800
protected _isCLI => false
}
protected flash => object( Cake\Http\FlashMessage ) id: 7 {
protected _defaultConfig => [
'' => [maximum depth reached] ,
]
protected session => object( Cake\Http\Session ) id: 5 {}
protected _config => [
'' => [maximum depth reached] ,
]
protected _configInitialized => true
}
protected attributes => [
'memberIdentity' => null ,
'authentication' => object( Authentication\AuthenticationService ) id: 8 {
} ,
'authenticationResult' => object( Authentication\Authenticator\Result ) id: 9 {
} ,
]
protected emulatedAttributes => [
(int) 0 => 'session' ,
(int) 1 => 'flash' ,
(int) 2 => 'webroot' ,
(int) 3 => 'base' ,
(int) 4 => 'params' ,
(int) 5 => 'here' ,
]
protected uploadedFiles => [
]
protected protocol => null
protected requestTarget => null
}
$request = $request -> withAttribute ( 'authentication' , $service );
$request = $request -> withAttribute ( 'authenticationResult' , $result );
try {
$response = $handler -> handle ( $request );
$authenticator = $service -> getAuthenticationProvider ();
if ( $authenticator !== null && ! $authenticator instanceof StatelessInterface ) {
$return = $service -> persistIdentity ( $request , $response , $result -> getData ());
Arguments
object( Cake\Http\ServerRequest ) id: 0 {
trustProxy => false
protected params => [
'pass' => [
(int) 0 => 'williamsbakery-equipment' ,
] ,
'prefix' => 'Frontend' ,
'controller' => 'Pages' ,
'action' => 'view' ,
'_method' => 'GET' ,
'plugin' => null ,
'_matchedRoute' => '/*' ,
'?' => [
'page' => '2' ,
] ,
'_ext' => null ,
]
protected data => [
]
protected query => [
'page' => '2' ,
]
protected cookies => [
]
protected _environment => [
'USER' => 'nginx' ,
'HOME' => '/var/lib/nginx' ,
'HTTP_REFERER' => 'http://www.brookfood.co.uk/williamsbakery-equipment?page=2' ,
'HTTP_USER_AGENT' => 'claudebot' ,
'HTTP_ACCEPT' => '*/*' ,
'HTTP_HOST' => 'www.brookfood.co.uk' ,
'REDIRECT_STATUS' => '200' ,
'SERVER_NAME' => 'www.brookfood.co.uk' ,
'SERVER_PORT' => '443' ,
'SERVER_ADDR' => '172.31.32.21' ,
'REMOTE_PORT' => '57346' ,
'REMOTE_ADDR' => '3.237.186.170' ,
'SERVER_SOFTWARE' => 'nginx/1.20.1' ,
'GATEWAY_INTERFACE' => 'CGI/1.1' ,
'HTTPS' => 'on' ,
'REQUEST_SCHEME' => 'https' ,
'SERVER_PROTOCOL' => 'HTTP/2.0' ,
'DOCUMENT_URI' => '/index.php' ,
'REQUEST_URI' => '/williamsbakery-equipment?page=2' ,
'SCRIPT_NAME' => '/index.php' ,
'CONTENT_LENGTH' => '' ,
'CONTENT_TYPE' => '' ,
'REQUEST_METHOD' => 'GET' ,
'QUERY_STRING' => 'page=2' ,
'DOCUMENT_ROOT' => '/home/production/public_html/webroot' ,
'SCRIPT_FILENAME' => '/home/production/public_html/webroot/index.php' ,
'FCGI_ROLE' => 'RESPONDER' ,
'PHP_SELF' => '/index.php' ,
'REQUEST_TIME_FLOAT' => (float) 1711614308.3885 ,
'REQUEST_TIME' => (int) 1711614308 ,
'ORIGINAL_REQUEST_METHOD' => 'GET' ,
'HTTP_X_REQUESTED_WITH' => null ,
]
protected base => ''
protected webroot => '/'
protected trustedProxies => [
]
protected _detectors => [
'get' => [
'env' => 'REQUEST_METHOD' ,
'value' => 'GET' ,
] ,
'post' => [
'env' => 'REQUEST_METHOD' ,
'value' => 'POST' ,
] ,
'put' => [
'env' => 'REQUEST_METHOD' ,
'value' => 'PUT' ,
] ,
'patch' => [
'env' => 'REQUEST_METHOD' ,
'value' => 'PATCH' ,
] ,
'delete' => [
'env' => 'REQUEST_METHOD' ,
'value' => 'DELETE' ,
] ,
'head' => [
'env' => 'REQUEST_METHOD' ,
'value' => 'HEAD' ,
] ,
'options' => [
'env' => 'REQUEST_METHOD' ,
'value' => 'OPTIONS' ,
] ,
'ssl' => [
'env' => 'HTTPS' ,
'options' => [
'' => [maximum depth reached] ,
] ,
] ,
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH' ,
'value' => 'XMLHttpRequest' ,
] ,
'json' => [
'accept' => [
'' => [maximum depth reached] ,
] ,
'param' => '_ext' ,
'value' => 'json' ,
] ,
'xml' => [
'accept' => [
'' => [maximum depth reached] ,
] ,
'param' => '_ext' ,
'value' => 'xml' ,
] ,
'mobile' => object( Closure ) id: 1 {
} ,
'tablet' => object( Closure ) id: 2 {
} ,
'csv' => [
'accept' => [
'' => [maximum depth reached] ,
] ,
'param' => '_ext' ,
'value' => 'csv' ,
] ,
]
protected _detectorCache => [
'ajax' => false ,
]
protected stream => object( Laminas\Diactoros\PhpInputStream ) id: 3 {
protected resource => (resource) Resource id #187
protected stream => 'php://input'
private cache => ''
private reachedEof => false
}
protected uri => object( Laminas\Diactoros\Uri ) id: 4 {
base => ''
webroot => '/'
protected allowedSchemes => [
'' => [maximum depth reached] ,
]
private scheme => 'https'
private userInfo => ''
private host => 'www.brookfood.co.uk'
private port => null
private path => '/williamsbakery-equipment'
private query => 'page=2'
private fragment => ''
private uriString => 'https://www.brookfood.co.uk/williamsbakery-equipment?page=2'
}
protected session => object( Cake\Http\Session ) id: 5 {
protected _engine => object( Cake\Http\Session\DatabaseSession ) id: 6 {
}
protected _started => null
protected _lifetime => (int) 1800
protected _isCLI => false
}
protected flash => object( Cake\Http\FlashMessage ) id: 7 {
protected _defaultConfig => [
'' => [maximum depth reached] ,
]
protected session => object( Cake\Http\Session ) id: 5 {}
protected _config => [
'' => [maximum depth reached] ,
]
protected _configInitialized => true
}
protected attributes => [
'memberIdentity' => null ,
'authentication' => object( Authentication\AuthenticationService ) id: 8 {
} ,
'authenticationResult' => object( Authentication\Authenticator\Result ) id: 9 {
} ,
]
protected emulatedAttributes => [
(int) 0 => 'session' ,
(int) 1 => 'flash' ,
(int) 2 => 'webroot' ,
(int) 3 => 'base' ,
(int) 4 => 'params' ,
(int) 5 => 'here' ,
]
protected uploadedFiles => [
]
protected protocol => null
protected requestTarget => null
}
if ( $this -> queue -> valid ()) {
$middleware = $this -> queue -> current ();
$this -> queue -> next ();
return $middleware -> process ( $request , $this );
}
if ( $this -> fallbackHandler ) {
return $this -> fallbackHandler -> handle ( $request );
Arguments
object( Cake\Http\ServerRequest ) id: 0 {
trustProxy => false
protected params => [
'pass' => [
(int) 0 => 'williamsbakery-equipment' ,
] ,
'prefix' => 'Frontend' ,
'controller' => 'Pages' ,
'action' => 'view' ,
'_method' => 'GET' ,
'plugin' => null ,
'_matchedRoute' => '/*' ,
'?' => [
'page' => '2' ,
] ,
'_ext' => null ,
]
protected data => [
]
protected query => [
'page' => '2' ,
]
protected cookies => [
]
protected _environment => [
'USER' => 'nginx' ,
'HOME' => '/var/lib/nginx' ,
'HTTP_REFERER' => 'http://www.brookfood.co.uk/williamsbakery-equipment?page=2' ,
'HTTP_USER_AGENT' => 'claudebot' ,
'HTTP_ACCEPT' => '*/*' ,
'HTTP_HOST' => 'www.brookfood.co.uk' ,
'REDIRECT_STATUS' => '200' ,
'SERVER_NAME' => 'www.brookfood.co.uk' ,
'SERVER_PORT' => '443' ,
'SERVER_ADDR' => '172.31.32.21' ,
'REMOTE_PORT' => '57346' ,
'REMOTE_ADDR' => '3.237.186.170' ,
'SERVER_SOFTWARE' => 'nginx/1.20.1' ,
'GATEWAY_INTERFACE' => 'CGI/1.1' ,
'HTTPS' => 'on' ,
'REQUEST_SCHEME' => 'https' ,
'SERVER_PROTOCOL' => 'HTTP/2.0' ,
'DOCUMENT_URI' => '/index.php' ,
'REQUEST_URI' => '/williamsbakery-equipment?page=2' ,
'SCRIPT_NAME' => '/index.php' ,
'CONTENT_LENGTH' => '' ,
'CONTENT_TYPE' => '' ,
'REQUEST_METHOD' => 'GET' ,
'QUERY_STRING' => 'page=2' ,
'DOCUMENT_ROOT' => '/home/production/public_html/webroot' ,
'SCRIPT_FILENAME' => '/home/production/public_html/webroot/index.php' ,
'FCGI_ROLE' => 'RESPONDER' ,
'PHP_SELF' => '/index.php' ,
'REQUEST_TIME_FLOAT' => (float) 1711614308.3885 ,
'REQUEST_TIME' => (int) 1711614308 ,
'ORIGINAL_REQUEST_METHOD' => 'GET' ,
'HTTP_X_REQUESTED_WITH' => null ,
]
protected base => ''
protected webroot => '/'
protected trustedProxies => [
]
protected _detectors => [
'get' => [
'env' => 'REQUEST_METHOD' ,
'value' => 'GET' ,
] ,
'post' => [
'env' => 'REQUEST_METHOD' ,
'value' => 'POST' ,
] ,
'put' => [
'env' => 'REQUEST_METHOD' ,
'value' => 'PUT' ,
] ,
'patch' => [
'env' => 'REQUEST_METHOD' ,
'value' => 'PATCH' ,
] ,
'delete' => [
'env' => 'REQUEST_METHOD' ,
'value' => 'DELETE' ,
] ,
'head' => [
'env' => 'REQUEST_METHOD' ,
'value' => 'HEAD' ,
] ,
'options' => [
'env' => 'REQUEST_METHOD' ,
'value' => 'OPTIONS' ,
] ,
'ssl' => [
'env' => 'HTTPS' ,
'options' => [
'' => [maximum depth reached] ,
] ,
] ,
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH' ,
'value' => 'XMLHttpRequest' ,
] ,
'json' => [
'accept' => [
'' => [maximum depth reached] ,
] ,
'param' => '_ext' ,
'value' => 'json' ,
] ,
'xml' => [
'accept' => [
'' => [maximum depth reached] ,
] ,
'param' => '_ext' ,
'value' => 'xml' ,
] ,
'mobile' => object( Closure ) id: 1 {
} ,
'tablet' => object( Closure ) id: 2 {
} ,
'csv' => [
'accept' => [
'' => [maximum depth reached] ,
] ,
'param' => '_ext' ,
'value' => 'csv' ,
] ,
]
protected _detectorCache => [
'ajax' => false ,
]
protected stream => object( Laminas\Diactoros\PhpInputStream ) id: 3 {
protected resource => (resource) Resource id #187
protected stream => 'php://input'
private cache => ''
private reachedEof => false
}
protected uri => object( Laminas\Diactoros\Uri ) id: 4 {
base => ''
webroot => '/'
protected allowedSchemes => [
'' => [maximum depth reached] ,
]
private scheme => 'https'
private userInfo => ''
private host => 'www.brookfood.co.uk'
private port => null
private path => '/williamsbakery-equipment'
private query => 'page=2'
private fragment => ''
private uriString => 'https://www.brookfood.co.uk/williamsbakery-equipment?page=2'
}
protected session => object( Cake\Http\Session ) id: 5 {
protected _engine => object( Cake\Http\Session\DatabaseSession ) id: 6 {
}
protected _started => null
protected _lifetime => (int) 1800
protected _isCLI => false
}
protected flash => object( Cake\Http\FlashMessage ) id: 7 {
protected _defaultConfig => [
'' => [maximum depth reached] ,
]
protected session => object( Cake\Http\Session ) id: 5 {}
protected _config => [
'' => [maximum depth reached] ,
]
protected _configInitialized => true
}
protected attributes => [
'memberIdentity' => null ,
'authentication' => object( Authentication\AuthenticationService ) id: 8 {
} ,
'authenticationResult' => object( Authentication\Authenticator\Result ) id: 9 {
} ,
]
protected emulatedAttributes => [
(int) 0 => 'session' ,
(int) 1 => 'flash' ,
(int) 2 => 'webroot' ,
(int) 3 => 'base' ,
(int) 4 => 'params' ,
(int) 5 => 'here' ,
]
protected uploadedFiles => [
]
protected protocol => null
protected requestTarget => null
}
object( Cake\Http\Runner ) id: 0 {
protected queue => object( Cake\Http\MiddlewareQueue ) id: 1 {
protected position => (int) 6
protected queue => [
'' => [maximum depth reached] ,
]
}
protected fallbackHandler => object( App\Application ) id: 2 {
protected configDir => '/home/production/public_html/config/'
protected plugins => object( Cake\Core\PluginCollection ) id: 3 {
}
protected controllerFactory => object( Cake\Controller\ControllerFactory ) id: 4 {
}
protected container => object( Cake\Core\Container ) id: 5 {
}
protected _eventManager => object( Cake\Event\EventManager ) id: 6 {
}
protected _eventClass => 'Cake\Event\Event'
private buildVersion => ''
}
}
);
}
$matching = Router :: getRouteCollection ()-> getMiddleware ( $middleware );
if (! $matching ) {
return $handler -> handle ( $request );
}
$middleware = new MiddlewareQueue ( $matching );
$runner = new Runner ();
Arguments
object( Cake\Http\ServerRequest ) id: 0 {
trustProxy => false
protected params => [
'pass' => [
(int) 0 => 'williamsbakery-equipment' ,
] ,
'prefix' => 'Frontend' ,
'controller' => 'Pages' ,
'action' => 'view' ,
'_method' => 'GET' ,
'plugin' => null ,
'_matchedRoute' => '/*' ,
'?' => [
'page' => '2' ,
] ,
'_ext' => null ,
]
protected data => [
]
protected query => [
'page' => '2' ,
]
protected cookies => [
]
protected _environment => [
'USER' => 'nginx' ,
'HOME' => '/var/lib/nginx' ,
'HTTP_REFERER' => 'http://www.brookfood.co.uk/williamsbakery-equipment?page=2' ,
'HTTP_USER_AGENT' => 'claudebot' ,
'HTTP_ACCEPT' => '*/*' ,
'HTTP_HOST' => 'www.brookfood.co.uk' ,
'REDIRECT_STATUS' => '200' ,
'SERVER_NAME' => 'www.brookfood.co.uk' ,
'SERVER_PORT' => '443' ,
'SERVER_ADDR' => '172.31.32.21' ,
'REMOTE_PORT' => '57346' ,
'REMOTE_ADDR' => '3.237.186.170' ,
'SERVER_SOFTWARE' => 'nginx/1.20.1' ,
'GATEWAY_INTERFACE' => 'CGI/1.1' ,
'HTTPS' => 'on' ,
'REQUEST_SCHEME' => 'https' ,
'SERVER_PROTOCOL' => 'HTTP/2.0' ,
'DOCUMENT_URI' => '/index.php' ,
'REQUEST_URI' => '/williamsbakery-equipment?page=2' ,
'SCRIPT_NAME' => '/index.php' ,
'CONTENT_LENGTH' => '' ,
'CONTENT_TYPE' => '' ,
'REQUEST_METHOD' => 'GET' ,
'QUERY_STRING' => 'page=2' ,
'DOCUMENT_ROOT' => '/home/production/public_html/webroot' ,
'SCRIPT_FILENAME' => '/home/production/public_html/webroot/index.php' ,
'FCGI_ROLE' => 'RESPONDER' ,
'PHP_SELF' => '/index.php' ,
'REQUEST_TIME_FLOAT' => (float) 1711614308.3885 ,
'REQUEST_TIME' => (int) 1711614308 ,
'ORIGINAL_REQUEST_METHOD' => 'GET' ,
]
protected base => ''
protected webroot => '/'
protected trustedProxies => [
]
protected _detectors => [
'get' => [
'env' => 'REQUEST_METHOD' ,
'value' => 'GET' ,
] ,
'post' => [
'env' => 'REQUEST_METHOD' ,
'value' => 'POST' ,
] ,
'put' => [
'env' => 'REQUEST_METHOD' ,
'value' => 'PUT' ,
] ,
'patch' => [
'env' => 'REQUEST_METHOD' ,
'value' => 'PATCH' ,
] ,
'delete' => [
'env' => 'REQUEST_METHOD' ,
'value' => 'DELETE' ,
] ,
'head' => [
'env' => 'REQUEST_METHOD' ,
'value' => 'HEAD' ,
] ,
'options' => [
'env' => 'REQUEST_METHOD' ,
'value' => 'OPTIONS' ,
] ,
'ssl' => [
'env' => 'HTTPS' ,
'options' => [
'' => [maximum depth reached] ,
] ,
] ,
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH' ,
'value' => 'XMLHttpRequest' ,
] ,
'json' => [
'accept' => [
'' => [maximum depth reached] ,
] ,
'param' => '_ext' ,
'value' => 'json' ,
] ,
'xml' => [
'accept' => [
'' => [maximum depth reached] ,
] ,
'param' => '_ext' ,
'value' => 'xml' ,
] ,
'mobile' => object( Closure ) id: 1 {
} ,
'tablet' => object( Closure ) id: 2 {
} ,
'csv' => [
'accept' => [
'' => [maximum depth reached] ,
] ,
'param' => '_ext' ,
'value' => 'csv' ,
] ,
]
protected _detectorCache => [
]
protected stream => object( Laminas\Diactoros\PhpInputStream ) id: 3 {
protected resource => (resource) Resource id #187
protected stream => 'php://input'
private cache => ''
private reachedEof => false
}
protected uri => object( Laminas\Diactoros\Uri ) id: 4 {
base => ''
webroot => '/'
protected allowedSchemes => [
'' => [maximum depth reached] ,
]
private scheme => 'https'
private userInfo => ''
private host => 'www.brookfood.co.uk'
private port => null
private path => '/williamsbakery-equipment'
private query => 'page=2'
private fragment => ''
private uriString => 'https://www.brookfood.co.uk/williamsbakery-equipment?page=2'
}
protected session => object( Cake\Http\Session ) id: 5 {
protected _engine => object( Cake\Http\Session\DatabaseSession ) id: 6 {
}
protected _started => null
protected _lifetime => (int) 1800
protected _isCLI => false
}
protected flash => object( Cake\Http\FlashMessage ) id: 7 {
protected _defaultConfig => [
'' => [maximum depth reached] ,
]
protected session => object( Cake\Http\Session ) id: 5 {}
protected _config => [
'' => [maximum depth reached] ,
]
protected _configInitialized => true
}
protected attributes => [
]
protected emulatedAttributes => [
(int) 0 => 'session' ,
(int) 1 => 'flash' ,
(int) 2 => 'webroot' ,
(int) 3 => 'base' ,
(int) 4 => 'params' ,
(int) 5 => 'here' ,
]
protected uploadedFiles => [
]
protected protocol => null
protected requestTarget => null
}
if ( $this -> queue -> valid ()) {
$middleware = $this -> queue -> current ();
$this -> queue -> next ();
return $middleware -> process ( $request , $this );
}
if ( $this -> fallbackHandler ) {
return $this -> fallbackHandler -> handle ( $request );
Arguments
object( Cake\Http\ServerRequest ) id: 0 {
trustProxy => false
protected params => [
'pass' => [
(int) 0 => 'williamsbakery-equipment' ,
] ,
'prefix' => 'Frontend' ,
'controller' => 'Pages' ,
'action' => 'view' ,
'_method' => 'GET' ,
'plugin' => null ,
'_matchedRoute' => '/*' ,
'?' => [
'page' => '2' ,
] ,
'_ext' => null ,
]
protected data => [
]
protected query => [
'page' => '2' ,
]
protected cookies => [
]
protected _environment => [
'USER' => 'nginx' ,
'HOME' => '/var/lib/nginx' ,
'HTTP_REFERER' => 'http://www.brookfood.co.uk/williamsbakery-equipment?page=2' ,
'HTTP_USER_AGENT' => 'claudebot' ,
'HTTP_ACCEPT' => '*/*' ,
'HTTP_HOST' => 'www.brookfood.co.uk' ,
'REDIRECT_STATUS' => '200' ,
'SERVER_NAME' => 'www.brookfood.co.uk' ,
'SERVER_PORT' => '443' ,
'SERVER_ADDR' => '172.31.32.21' ,
'REMOTE_PORT' => '57346' ,
'REMOTE_ADDR' => '3.237.186.170' ,
'SERVER_SOFTWARE' => 'nginx/1.20.1' ,
'GATEWAY_INTERFACE' => 'CGI/1.1' ,
'HTTPS' => 'on' ,
'REQUEST_SCHEME' => 'https' ,
'SERVER_PROTOCOL' => 'HTTP/2.0' ,
'DOCUMENT_URI' => '/index.php' ,
'REQUEST_URI' => '/williamsbakery-equipment?page=2' ,
'SCRIPT_NAME' => '/index.php' ,
'CONTENT_LENGTH' => '' ,
'CONTENT_TYPE' => '' ,
'REQUEST_METHOD' => 'GET' ,
'QUERY_STRING' => 'page=2' ,
'DOCUMENT_ROOT' => '/home/production/public_html/webroot' ,
'SCRIPT_FILENAME' => '/home/production/public_html/webroot/index.php' ,
'FCGI_ROLE' => 'RESPONDER' ,
'PHP_SELF' => '/index.php' ,
'REQUEST_TIME_FLOAT' => (float) 1711614308.3885 ,
'REQUEST_TIME' => (int) 1711614308 ,
'ORIGINAL_REQUEST_METHOD' => 'GET' ,
]
protected base => ''
protected webroot => '/'
protected trustedProxies => [
]
protected _detectors => [
'get' => [
'env' => 'REQUEST_METHOD' ,
'value' => 'GET' ,
] ,
'post' => [
'env' => 'REQUEST_METHOD' ,
'value' => 'POST' ,
] ,
'put' => [
'env' => 'REQUEST_METHOD' ,
'value' => 'PUT' ,
] ,
'patch' => [
'env' => 'REQUEST_METHOD' ,
'value' => 'PATCH' ,
] ,
'delete' => [
'env' => 'REQUEST_METHOD' ,
'value' => 'DELETE' ,
] ,
'head' => [
'env' => 'REQUEST_METHOD' ,
'value' => 'HEAD' ,
] ,
'options' => [
'env' => 'REQUEST_METHOD' ,
'value' => 'OPTIONS' ,
] ,
'ssl' => [
'env' => 'HTTPS' ,
'options' => [
'' => [maximum depth reached] ,
] ,
] ,
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH' ,
'value' => 'XMLHttpRequest' ,
] ,
'json' => [
'accept' => [
'' => [maximum depth reached] ,
] ,
'param' => '_ext' ,
'value' => 'json' ,
] ,
'xml' => [
'accept' => [
'' => [maximum depth reached] ,
] ,
'param' => '_ext' ,
'value' => 'xml' ,
] ,
'mobile' => object( Closure ) id: 1 {
} ,
'tablet' => object( Closure ) id: 2 {
} ,
'csv' => [
'accept' => [
'' => [maximum depth reached] ,
] ,
'param' => '_ext' ,
'value' => 'csv' ,
] ,
]
protected _detectorCache => [
]
protected stream => object( Laminas\Diactoros\PhpInputStream ) id: 3 {
protected resource => (resource) Resource id #187
protected stream => 'php://input'
private cache => ''
private reachedEof => false
}
protected uri => object( Laminas\Diactoros\Uri ) id: 4 {
base => ''
webroot => '/'
protected allowedSchemes => [
'' => [maximum depth reached] ,
]
private scheme => 'https'
private userInfo => ''
private host => 'www.brookfood.co.uk'
private port => null
private path => '/williamsbakery-equipment'
private query => 'page=2'
private fragment => ''
private uriString => 'https://www.brookfood.co.uk/williamsbakery-equipment?page=2'
}
protected session => object( Cake\Http\Session ) id: 5 {
protected _engine => object( Cake\Http\Session\DatabaseSession ) id: 6 {
}
protected _started => null
protected _lifetime => (int) 1800
protected _isCLI => false
}
protected flash => object( Cake\Http\FlashMessage ) id: 7 {
protected _defaultConfig => [
'' => [maximum depth reached] ,
]
protected session => object( Cake\Http\Session ) id: 5 {}
protected _config => [
'' => [maximum depth reached] ,
]
protected _configInitialized => true
}
protected attributes => [
]
protected emulatedAttributes => [
(int) 0 => 'session' ,
(int) 1 => 'flash' ,
(int) 2 => 'webroot' ,
(int) 3 => 'base' ,
(int) 4 => 'params' ,
(int) 5 => 'here' ,
]
protected uploadedFiles => [
]
protected protocol => null
protected requestTarget => null
}
object( Cake\Http\Runner ) id: 0 {
protected queue => object( Cake\Http\MiddlewareQueue ) id: 1 {
protected position => (int) 6
protected queue => [
'' => [maximum depth reached] ,
]
}
protected fallbackHandler => object( App\Application ) id: 2 {
protected configDir => '/home/production/public_html/config/'
protected plugins => object( Cake\Core\PluginCollection ) id: 3 {
}
protected controllerFactory => object( Cake\Controller\ControllerFactory ) id: 4 {
}
protected container => object( Cake\Core\Container ) id: 5 {
}
protected _eventManager => object( Cake\Event\EventManager ) id: 6 {
}
protected _eventClass => 'Cake\Event\Event'
private buildVersion => ''
}
}
if ( $request -> getCookieParams ()) {
$request = $this -> decodeCookies ( $request );
}
$response = $handler -> handle ( $request );
if ( $response -> hasHeader ( 'Set-Cookie' )) {
$response = $this -> encodeSetCookieHeader ( $response );
}
if ( $response instanceof Response ) {
Arguments
object( Cake\Http\ServerRequest ) id: 0 {
trustProxy => false
protected params => [
'plugin' => null ,
'controller' => null ,
'action' => null ,
'_ext' => null ,
'pass' => [
] ,
]
protected data => [
]
protected query => [
'page' => '2' ,
]
protected cookies => [
]
protected _environment => [
'USER' => 'nginx' ,
'HOME' => '/var/lib/nginx' ,
'HTTP_REFERER' => 'http://www.brookfood.co.uk/williamsbakery-equipment?page=2' ,
'HTTP_USER_AGENT' => 'claudebot' ,
'HTTP_ACCEPT' => '*/*' ,
'HTTP_HOST' => 'www.brookfood.co.uk' ,
'REDIRECT_STATUS' => '200' ,
'SERVER_NAME' => 'www.brookfood.co.uk' ,
'SERVER_PORT' => '443' ,
'SERVER_ADDR' => '172.31.32.21' ,
'REMOTE_PORT' => '57346' ,
'REMOTE_ADDR' => '3.237.186.170' ,
'SERVER_SOFTWARE' => 'nginx/1.20.1' ,
'GATEWAY_INTERFACE' => 'CGI/1.1' ,
'HTTPS' => 'on' ,
'REQUEST_SCHEME' => 'https' ,
'SERVER_PROTOCOL' => 'HTTP/2.0' ,
'DOCUMENT_URI' => '/index.php' ,
'REQUEST_URI' => '/williamsbakery-equipment?page=2' ,
'SCRIPT_NAME' => '/index.php' ,
'CONTENT_LENGTH' => '' ,
'CONTENT_TYPE' => '' ,
'REQUEST_METHOD' => 'GET' ,
'QUERY_STRING' => 'page=2' ,
'DOCUMENT_ROOT' => '/home/production/public_html/webroot' ,
'SCRIPT_FILENAME' => '/home/production/public_html/webroot/index.php' ,
'FCGI_ROLE' => 'RESPONDER' ,
'PHP_SELF' => '/index.php' ,
'REQUEST_TIME_FLOAT' => (float) 1711614308.3885 ,
'REQUEST_TIME' => (int) 1711614308 ,
'ORIGINAL_REQUEST_METHOD' => 'GET' ,
]
protected base => ''
protected webroot => '/'
protected trustedProxies => [
]
protected _detectors => [
'get' => [
'env' => 'REQUEST_METHOD' ,
'value' => 'GET' ,
] ,
'post' => [
'env' => 'REQUEST_METHOD' ,
'value' => 'POST' ,
] ,
'put' => [
'env' => 'REQUEST_METHOD' ,
'value' => 'PUT' ,
] ,
'patch' => [
'env' => 'REQUEST_METHOD' ,
'value' => 'PATCH' ,
] ,
'delete' => [
'env' => 'REQUEST_METHOD' ,
'value' => 'DELETE' ,
] ,
'head' => [
'env' => 'REQUEST_METHOD' ,
'value' => 'HEAD' ,
] ,
'options' => [
'env' => 'REQUEST_METHOD' ,
'value' => 'OPTIONS' ,
] ,
'ssl' => [
'env' => 'HTTPS' ,
'options' => [
'' => [maximum depth reached] ,
] ,
] ,
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH' ,
'value' => 'XMLHttpRequest' ,
] ,
'json' => [
'accept' => [
'' => [maximum depth reached] ,
] ,
'param' => '_ext' ,
'value' => 'json' ,
] ,
'xml' => [
'accept' => [
'' => [maximum depth reached] ,
] ,
'param' => '_ext' ,
'value' => 'xml' ,
] ,
'mobile' => object( Closure ) id: 1 {
} ,
'tablet' => object( Closure ) id: 2 {
} ,
'csv' => [
'accept' => [
'' => [maximum depth reached] ,
] ,
'param' => '_ext' ,
'value' => 'csv' ,
] ,
]
protected _detectorCache => [
]
protected stream => object( Laminas\Diactoros\PhpInputStream ) id: 3 {
protected resource => (resource) Resource id #187
protected stream => 'php://input'
private cache => ''
private reachedEof => false
}
protected uri => object( Laminas\Diactoros\Uri ) id: 4 {
base => ''
webroot => '/'
protected allowedSchemes => [
'' => [maximum depth reached] ,
]
private scheme => 'https'
private userInfo => ''
private host => 'www.brookfood.co.uk'
private port => null
private path => '/williamsbakery-equipment'
private query => 'page=2'
private fragment => ''
private uriString => 'https://www.brookfood.co.uk/williamsbakery-equipment?page=2'
}
protected session => object( Cake\Http\Session ) id: 5 {
protected _engine => object( Cake\Http\Session\DatabaseSession ) id: 6 {
}
protected _started => null
protected _lifetime => (int) 1800
protected _isCLI => false
}
protected flash => object( Cake\Http\FlashMessage ) id: 7 {
protected _defaultConfig => [
'' => [maximum depth reached] ,
]
protected session => object( Cake\Http\Session ) id: 5 {}
protected _config => [
'' => [maximum depth reached] ,
]
protected _configInitialized => true
}
protected attributes => [
]
protected emulatedAttributes => [
(int) 0 => 'session' ,
(int) 1 => 'flash' ,
(int) 2 => 'webroot' ,
(int) 3 => 'base' ,
(int) 4 => 'params' ,
(int) 5 => 'here' ,
]
protected uploadedFiles => [
]
protected protocol => null
protected requestTarget => null
}
if ( $this -> queue -> valid ()) {
$middleware = $this -> queue -> current ();
$this -> queue -> next ();
return $middleware -> process ( $request , $this );
}
if ( $this -> fallbackHandler ) {
return $this -> fallbackHandler -> handle ( $request );
Arguments
object( Cake\Http\ServerRequest ) id: 0 {
trustProxy => false
protected params => [
'plugin' => null ,
'controller' => null ,
'action' => null ,
'_ext' => null ,
'pass' => [
] ,
]
protected data => [
]
protected query => [
'page' => '2' ,
]
protected cookies => [
]
protected _environment => [
'USER' => 'nginx' ,
'HOME' => '/var/lib/nginx' ,
'HTTP_REFERER' => 'http://www.brookfood.co.uk/williamsbakery-equipment?page=2' ,
'HTTP_USER_AGENT' => 'claudebot' ,
'HTTP_ACCEPT' => '*/*' ,
'HTTP_HOST' => 'www.brookfood.co.uk' ,
'REDIRECT_STATUS' => '200' ,
'SERVER_NAME' => 'www.brookfood.co.uk' ,
'SERVER_PORT' => '443' ,
'SERVER_ADDR' => '172.31.32.21' ,
'REMOTE_PORT' => '57346' ,
'REMOTE_ADDR' => '3.237.186.170' ,
'SERVER_SOFTWARE' => 'nginx/1.20.1' ,
'GATEWAY_INTERFACE' => 'CGI/1.1' ,
'HTTPS' => 'on' ,
'REQUEST_SCHEME' => 'https' ,
'SERVER_PROTOCOL' => 'HTTP/2.0' ,
'DOCUMENT_URI' => '/index.php' ,
'REQUEST_URI' => '/williamsbakery-equipment?page=2' ,
'SCRIPT_NAME' => '/index.php' ,
'CONTENT_LENGTH' => '' ,
'CONTENT_TYPE' => '' ,
'REQUEST_METHOD' => 'GET' ,
'QUERY_STRING' => 'page=2' ,
'DOCUMENT_ROOT' => '/home/production/public_html/webroot' ,
'SCRIPT_FILENAME' => '/home/production/public_html/webroot/index.php' ,
'FCGI_ROLE' => 'RESPONDER' ,
'PHP_SELF' => '/index.php' ,
'REQUEST_TIME_FLOAT' => (float) 1711614308.3885 ,
'REQUEST_TIME' => (int) 1711614308 ,
'ORIGINAL_REQUEST_METHOD' => 'GET' ,
]
protected base => ''
protected webroot => '/'
protected trustedProxies => [
]
protected _detectors => [
'get' => [
'env' => 'REQUEST_METHOD' ,
'value' => 'GET' ,
] ,
'post' => [
'env' => 'REQUEST_METHOD' ,
'value' => 'POST' ,
] ,
'put' => [
'env' => 'REQUEST_METHOD' ,
'value' => 'PUT' ,
] ,
'patch' => [
'env' => 'REQUEST_METHOD' ,
'value' => 'PATCH' ,
] ,
'delete' => [
'env' => 'REQUEST_METHOD' ,
'value' => 'DELETE' ,
] ,
'head' => [
'env' => 'REQUEST_METHOD' ,
'value' => 'HEAD' ,
] ,
'options' => [
'env' => 'REQUEST_METHOD' ,
'value' => 'OPTIONS' ,
] ,
'ssl' => [
'env' => 'HTTPS' ,
'options' => [
'' => [maximum depth reached] ,
] ,
] ,
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH' ,
'value' => 'XMLHttpRequest' ,
] ,
'json' => [
'accept' => [
'' => [maximum depth reached] ,
] ,
'param' => '_ext' ,
'value' => 'json' ,
] ,
'xml' => [
'accept' => [
'' => [maximum depth reached] ,
] ,
'param' => '_ext' ,
'value' => 'xml' ,
] ,
'mobile' => object( Closure ) id: 1 {
} ,
'tablet' => object( Closure ) id: 2 {
} ,
'csv' => [
'accept' => [
'' => [maximum depth reached] ,
] ,
'param' => '_ext' ,
'value' => 'csv' ,
] ,
]
protected _detectorCache => [
]
protected stream => object( Laminas\Diactoros\PhpInputStream ) id: 3 {
protected resource => (resource) Resource id #187
protected stream => 'php://input'
private cache => ''
private reachedEof => false
}
protected uri => object( Laminas\Diactoros\Uri ) id: 4 {
base => ''
webroot => '/'
protected allowedSchemes => [
'' => [maximum depth reached] ,
]
private scheme => 'https'
private userInfo => ''
private host => 'www.brookfood.co.uk'
private port => null
private path => '/williamsbakery-equipment'
private query => 'page=2'
private fragment => ''
private uriString => 'https://www.brookfood.co.uk/williamsbakery-equipment?page=2'
}
protected session => object( Cake\Http\Session ) id: 5 {
protected _engine => object( Cake\Http\Session\DatabaseSession ) id: 6 {
}
protected _started => null
protected _lifetime => (int) 1800
protected _isCLI => false
}
protected flash => object( Cake\Http\FlashMessage ) id: 7 {
protected _defaultConfig => [
'' => [maximum depth reached] ,
]
protected session => object( Cake\Http\Session ) id: 5 {}
protected _config => [
'' => [maximum depth reached] ,
]
protected _configInitialized => true
}
protected attributes => [
]
protected emulatedAttributes => [
(int) 0 => 'session' ,
(int) 1 => 'flash' ,
(int) 2 => 'webroot' ,
(int) 3 => 'base' ,
(int) 4 => 'params' ,
(int) 5 => 'here' ,
]
protected uploadedFiles => [
]
protected protocol => null
protected requestTarget => null
}
object( Cake\Http\Runner ) id: 0 {
protected queue => object( Cake\Http\MiddlewareQueue ) id: 1 {
protected position => (int) 6
protected queue => [
'' => [maximum depth reached] ,
]
}
protected fallbackHandler => object( App\Application ) id: 2 {
protected configDir => '/home/production/public_html/config/'
protected plugins => object( Cake\Core\PluginCollection ) id: 3 {
}
protected controllerFactory => object( Cake\Controller\ControllerFactory ) id: 4 {
}
protected container => object( Cake\Core\Container ) id: 5 {
}
protected _eventManager => object( Cake\Event\EventManager ) id: 6 {
}
protected _eventClass => 'Cake\Event\Event'
private buildVersion => ''
}
}
*/
public function process ( ServerRequestInterface $request , RequestHandlerInterface $handler ): ResponseInterface
{
if (! in_array ( $request -> getMethod (), $this -> methods , true )) {
return $handler -> handle ( $request );
}
[ $type ] = explode ( ';' , $request -> getHeaderLine ( 'Content-Type' ));
$type = strtolower ( $type );
if (!isset( $this -> parsers [ $type ])) {
Arguments
object( Cake\Http\ServerRequest ) id: 0 {
trustProxy => false
protected params => [
'plugin' => null ,
'controller' => null ,
'action' => null ,
'_ext' => null ,
'pass' => [
] ,
]
protected data => [
]
protected query => [
'page' => '2' ,
]
protected cookies => [
]
protected _environment => [
'USER' => 'nginx' ,
'HOME' => '/var/lib/nginx' ,
'HTTP_REFERER' => 'http://www.brookfood.co.uk/williamsbakery-equipment?page=2' ,
'HTTP_USER_AGENT' => 'claudebot' ,
'HTTP_ACCEPT' => '*/*' ,
'HTTP_HOST' => 'www.brookfood.co.uk' ,
'REDIRECT_STATUS' => '200' ,
'SERVER_NAME' => 'www.brookfood.co.uk' ,
'SERVER_PORT' => '443' ,
'SERVER_ADDR' => '172.31.32.21' ,
'REMOTE_PORT' => '57346' ,
'REMOTE_ADDR' => '3.237.186.170' ,
'SERVER_SOFTWARE' => 'nginx/1.20.1' ,
'GATEWAY_INTERFACE' => 'CGI/1.1' ,
'HTTPS' => 'on' ,
'REQUEST_SCHEME' => 'https' ,
'SERVER_PROTOCOL' => 'HTTP/2.0' ,
'DOCUMENT_URI' => '/index.php' ,
'REQUEST_URI' => '/williamsbakery-equipment?page=2' ,
'SCRIPT_NAME' => '/index.php' ,
'CONTENT_LENGTH' => '' ,
'CONTENT_TYPE' => '' ,
'REQUEST_METHOD' => 'GET' ,
'QUERY_STRING' => 'page=2' ,
'DOCUMENT_ROOT' => '/home/production/public_html/webroot' ,
'SCRIPT_FILENAME' => '/home/production/public_html/webroot/index.php' ,
'FCGI_ROLE' => 'RESPONDER' ,
'PHP_SELF' => '/index.php' ,
'REQUEST_TIME_FLOAT' => (float) 1711614308.3885 ,
'REQUEST_TIME' => (int) 1711614308 ,
'ORIGINAL_REQUEST_METHOD' => 'GET' ,
]
protected base => ''
protected webroot => '/'
protected trustedProxies => [
]
protected _detectors => [
'get' => [
'env' => 'REQUEST_METHOD' ,
'value' => 'GET' ,
] ,
'post' => [
'env' => 'REQUEST_METHOD' ,
'value' => 'POST' ,
] ,
'put' => [
'env' => 'REQUEST_METHOD' ,
'value' => 'PUT' ,
] ,
'patch' => [
'env' => 'REQUEST_METHOD' ,
'value' => 'PATCH' ,
] ,
'delete' => [
'env' => 'REQUEST_METHOD' ,
'value' => 'DELETE' ,
] ,
'head' => [
'env' => 'REQUEST_METHOD' ,
'value' => 'HEAD' ,
] ,
'options' => [
'env' => 'REQUEST_METHOD' ,
'value' => 'OPTIONS' ,
] ,
'ssl' => [
'env' => 'HTTPS' ,
'options' => [
'' => [maximum depth reached] ,
] ,
] ,
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH' ,
'value' => 'XMLHttpRequest' ,
] ,
'json' => [
'accept' => [
'' => [maximum depth reached] ,
] ,
'param' => '_ext' ,
'value' => 'json' ,
] ,
'xml' => [
'accept' => [
'' => [maximum depth reached] ,
] ,
'param' => '_ext' ,
'value' => 'xml' ,
] ,
'mobile' => object( Closure ) id: 1 {
} ,
'tablet' => object( Closure ) id: 2 {
} ,
'csv' => [
'accept' => [
'' => [maximum depth reached] ,
] ,
'param' => '_ext' ,
'value' => 'csv' ,
] ,
]
protected _detectorCache => [
]
protected stream => object( Laminas\Diactoros\PhpInputStream ) id: 3 {
protected resource => (resource) Resource id #187
protected stream => 'php://input'
private cache => ''
private reachedEof => false
}
protected uri => object( Laminas\Diactoros\Uri ) id: 4 {
base => ''
webroot => '/'
protected allowedSchemes => [
'' => [maximum depth reached] ,
]
private scheme => 'https'
private userInfo => ''
private host => 'www.brookfood.co.uk'
private port => null
private path => '/williamsbakery-equipment'
private query => 'page=2'
private fragment => ''
private uriString => 'https://www.brookfood.co.uk/williamsbakery-equipment?page=2'
}
protected session => object( Cake\Http\Session ) id: 5 {
protected _engine => object( Cake\Http\Session\DatabaseSession ) id: 6 {
}
protected _started => null
protected _lifetime => (int) 1800
protected _isCLI => false
}
protected flash => object( Cake\Http\FlashMessage ) id: 7 {
protected _defaultConfig => [
'' => [maximum depth reached] ,
]
protected session => object( Cake\Http\Session ) id: 5 {}
protected _config => [
'' => [maximum depth reached] ,
]
protected _configInitialized => true
}
protected attributes => [
]
protected emulatedAttributes => [
(int) 0 => 'session' ,
(int) 1 => 'flash' ,
(int) 2 => 'webroot' ,
(int) 3 => 'base' ,
(int) 4 => 'params' ,
(int) 5 => 'here' ,
]
protected uploadedFiles => [
]
protected protocol => null
protected requestTarget => null
}
if ( $this -> queue -> valid ()) {
$middleware = $this -> queue -> current ();
$this -> queue -> next ();
return $middleware -> process ( $request , $this );
}
if ( $this -> fallbackHandler ) {
return $this -> fallbackHandler -> handle ( $request );
Arguments
object( Cake\Http\ServerRequest ) id: 0 {
trustProxy => false
protected params => [
'plugin' => null ,
'controller' => null ,
'action' => null ,
'_ext' => null ,
'pass' => [
] ,
]
protected data => [
]
protected query => [
'page' => '2' ,
]
protected cookies => [
]
protected _environment => [
'USER' => 'nginx' ,
'HOME' => '/var/lib/nginx' ,
'HTTP_REFERER' => 'http://www.brookfood.co.uk/williamsbakery-equipment?page=2' ,
'HTTP_USER_AGENT' => 'claudebot' ,
'HTTP_ACCEPT' => '*/*' ,
'HTTP_HOST' => 'www.brookfood.co.uk' ,
'REDIRECT_STATUS' => '200' ,
'SERVER_NAME' => 'www.brookfood.co.uk' ,
'SERVER_PORT' => '443' ,
'SERVER_ADDR' => '172.31.32.21' ,
'REMOTE_PORT' => '57346' ,
'REMOTE_ADDR' => '3.237.186.170' ,
'SERVER_SOFTWARE' => 'nginx/1.20.1' ,
'GATEWAY_INTERFACE' => 'CGI/1.1' ,
'HTTPS' => 'on' ,
'REQUEST_SCHEME' => 'https' ,
'SERVER_PROTOCOL' => 'HTTP/2.0' ,
'DOCUMENT_URI' => '/index.php' ,
'REQUEST_URI' => '/williamsbakery-equipment?page=2' ,
'SCRIPT_NAME' => '/index.php' ,
'CONTENT_LENGTH' => '' ,
'CONTENT_TYPE' => '' ,
'REQUEST_METHOD' => 'GET' ,
'QUERY_STRING' => 'page=2' ,
'DOCUMENT_ROOT' => '/home/production/public_html/webroot' ,
'SCRIPT_FILENAME' => '/home/production/public_html/webroot/index.php' ,
'FCGI_ROLE' => 'RESPONDER' ,
'PHP_SELF' => '/index.php' ,
'REQUEST_TIME_FLOAT' => (float) 1711614308.3885 ,
'REQUEST_TIME' => (int) 1711614308 ,
'ORIGINAL_REQUEST_METHOD' => 'GET' ,
]
protected base => ''
protected webroot => '/'
protected trustedProxies => [
]
protected _detectors => [
'get' => [
'env' => 'REQUEST_METHOD' ,
'value' => 'GET' ,
] ,
'post' => [
'env' => 'REQUEST_METHOD' ,
'value' => 'POST' ,
] ,
'put' => [
'env' => 'REQUEST_METHOD' ,
'value' => 'PUT' ,
] ,
'patch' => [
'env' => 'REQUEST_METHOD' ,
'value' => 'PATCH' ,
] ,
'delete' => [
'env' => 'REQUEST_METHOD' ,
'value' => 'DELETE' ,
] ,
'head' => [
'env' => 'REQUEST_METHOD' ,
'value' => 'HEAD' ,
] ,
'options' => [
'env' => 'REQUEST_METHOD' ,
'value' => 'OPTIONS' ,
] ,
'ssl' => [
'env' => 'HTTPS' ,
'options' => [
'' => [maximum depth reached] ,
] ,
] ,
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH' ,
'value' => 'XMLHttpRequest' ,
] ,
'json' => [
'accept' => [
'' => [maximum depth reached] ,
] ,
'param' => '_ext' ,
'value' => 'json' ,
] ,
'xml' => [
'accept' => [
'' => [maximum depth reached] ,
] ,
'param' => '_ext' ,
'value' => 'xml' ,
] ,
'mobile' => object( Closure ) id: 1 {
} ,
'tablet' => object( Closure ) id: 2 {
} ,
'csv' => [
'accept' => [
'' => [maximum depth reached] ,
] ,
'param' => '_ext' ,
'value' => 'csv' ,
] ,
]
protected _detectorCache => [
]
protected stream => object( Laminas\Diactoros\PhpInputStream ) id: 3 {
protected resource => (resource) Resource id #187
protected stream => 'php://input'
private cache => ''
private reachedEof => false
}
protected uri => object( Laminas\Diactoros\Uri ) id: 4 {
base => ''
webroot => '/'
protected allowedSchemes => [
'' => [maximum depth reached] ,
]
private scheme => 'https'
private userInfo => ''
private host => 'www.brookfood.co.uk'
private port => null
private path => '/williamsbakery-equipment'
private query => 'page=2'
private fragment => ''
private uriString => 'https://www.brookfood.co.uk/williamsbakery-equipment?page=2'
}
protected session => object( Cake\Http\Session ) id: 5 {
protected _engine => object( Cake\Http\Session\DatabaseSession ) id: 6 {
}
protected _started => null
protected _lifetime => (int) 1800
protected _isCLI => false
}
protected flash => object( Cake\Http\FlashMessage ) id: 7 {
protected _defaultConfig => [
'' => [maximum depth reached] ,
]
protected session => object( Cake\Http\Session ) id: 5 {}
protected _config => [
'' => [maximum depth reached] ,
]
protected _configInitialized => true
}
protected attributes => [
]
protected emulatedAttributes => [
(int) 0 => 'session' ,
(int) 1 => 'flash' ,
(int) 2 => 'webroot' ,
(int) 3 => 'base' ,
(int) 4 => 'params' ,
(int) 5 => 'here' ,
]
protected uploadedFiles => [
]
protected protocol => null
protected requestTarget => null
}
object( Cake\Http\Runner ) id: 0 {
protected queue => object( Cake\Http\MiddlewareQueue ) id: 1 {
protected position => (int) 6
protected queue => [
'' => [maximum depth reached] ,
]
}
protected fallbackHandler => object( App\Application ) id: 2 {
protected configDir => '/home/production/public_html/config/'
protected plugins => object( Cake\Core\PluginCollection ) id: 3 {
}
protected controllerFactory => object( Cake\Controller\ControllerFactory ) id: 4 {
}
protected container => object( Cake\Core\Container ) id: 5 {
}
protected _eventManager => object( Cake\Event\EventManager ) id: 6 {
}
protected _eventClass => 'Cake\Event\Event'
private buildVersion => ''
}
}
public function process ( ServerRequestInterface $request , RequestHandlerInterface $handler ): ResponseInterface
{
$url = $request -> getUri ()-> getPath ();
if ( strpos ( $url , '..' ) !== false || strpos ( $url , '.' ) === false ) {
return $handler -> handle ( $request );
}
if ( strpos ( $url , '/.' ) !== false ) {
return $handler -> handle ( $request );
Arguments
object( Cake\Http\ServerRequest ) id: 0 {
trustProxy => false
protected params => [
'plugin' => null ,
'controller' => null ,
'action' => null ,
'_ext' => null ,
'pass' => [
] ,
]
protected data => [
]
protected query => [
'page' => '2' ,
]
protected cookies => [
]
protected _environment => [
'USER' => 'nginx' ,
'HOME' => '/var/lib/nginx' ,
'HTTP_REFERER' => 'http://www.brookfood.co.uk/williamsbakery-equipment?page=2' ,
'HTTP_USER_AGENT' => 'claudebot' ,
'HTTP_ACCEPT' => '*/*' ,
'HTTP_HOST' => 'www.brookfood.co.uk' ,
'REDIRECT_STATUS' => '200' ,
'SERVER_NAME' => 'www.brookfood.co.uk' ,
'SERVER_PORT' => '443' ,
'SERVER_ADDR' => '172.31.32.21' ,
'REMOTE_PORT' => '57346' ,
'REMOTE_ADDR' => '3.237.186.170' ,
'SERVER_SOFTWARE' => 'nginx/1.20.1' ,
'GATEWAY_INTERFACE' => 'CGI/1.1' ,
'HTTPS' => 'on' ,
'REQUEST_SCHEME' => 'https' ,
'SERVER_PROTOCOL' => 'HTTP/2.0' ,
'DOCUMENT_URI' => '/index.php' ,
'REQUEST_URI' => '/williamsbakery-equipment?page=2' ,
'SCRIPT_NAME' => '/index.php' ,
'CONTENT_LENGTH' => '' ,
'CONTENT_TYPE' => '' ,
'REQUEST_METHOD' => 'GET' ,
'QUERY_STRING' => 'page=2' ,
'DOCUMENT_ROOT' => '/home/production/public_html/webroot' ,
'SCRIPT_FILENAME' => '/home/production/public_html/webroot/index.php' ,
'FCGI_ROLE' => 'RESPONDER' ,
'PHP_SELF' => '/index.php' ,
'REQUEST_TIME_FLOAT' => (float) 1711614308.3885 ,
'REQUEST_TIME' => (int) 1711614308 ,
'ORIGINAL_REQUEST_METHOD' => 'GET' ,
]
protected base => ''
protected webroot => '/'
protected trustedProxies => [
]
protected _detectors => [
'get' => [
'env' => 'REQUEST_METHOD' ,
'value' => 'GET' ,
] ,
'post' => [
'env' => 'REQUEST_METHOD' ,
'value' => 'POST' ,
] ,
'put' => [
'env' => 'REQUEST_METHOD' ,
'value' => 'PUT' ,
] ,
'patch' => [
'env' => 'REQUEST_METHOD' ,
'value' => 'PATCH' ,
] ,
'delete' => [
'env' => 'REQUEST_METHOD' ,
'value' => 'DELETE' ,
] ,
'head' => [
'env' => 'REQUEST_METHOD' ,
'value' => 'HEAD' ,
] ,
'options' => [
'env' => 'REQUEST_METHOD' ,
'value' => 'OPTIONS' ,
] ,
'ssl' => [
'env' => 'HTTPS' ,
'options' => [
'' => [maximum depth reached] ,
] ,
] ,
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH' ,
'value' => 'XMLHttpRequest' ,
] ,
'json' => [
'accept' => [
'' => [maximum depth reached] ,
] ,
'param' => '_ext' ,
'value' => 'json' ,
] ,
'xml' => [
'accept' => [
'' => [maximum depth reached] ,
] ,
'param' => '_ext' ,
'value' => 'xml' ,
] ,
'mobile' => object( Closure ) id: 1 {
} ,
'tablet' => object( Closure ) id: 2 {
} ,
'csv' => [
'accept' => [
'' => [maximum depth reached] ,
] ,
'param' => '_ext' ,
'value' => 'csv' ,
] ,
]
protected _detectorCache => [
]
protected stream => object( Laminas\Diactoros\PhpInputStream ) id: 3 {
protected resource => (resource) Resource id #187
protected stream => 'php://input'
private cache => ''
private reachedEof => false
}
protected uri => object( Laminas\Diactoros\Uri ) id: 4 {
base => ''
webroot => '/'
protected allowedSchemes => [
'' => [maximum depth reached] ,
]
private scheme => 'https'
private userInfo => ''
private host => 'www.brookfood.co.uk'
private port => null
private path => '/williamsbakery-equipment'
private query => 'page=2'
private fragment => ''
private uriString => 'https://www.brookfood.co.uk/williamsbakery-equipment?page=2'
}
protected session => object( Cake\Http\Session ) id: 5 {
protected _engine => object( Cake\Http\Session\DatabaseSession ) id: 6 {
}
protected _started => null
protected _lifetime => (int) 1800
protected _isCLI => false
}
protected flash => object( Cake\Http\FlashMessage ) id: 7 {
protected _defaultConfig => [
'' => [maximum depth reached] ,
]
protected session => object( Cake\Http\Session ) id: 5 {}
protected _config => [
'' => [maximum depth reached] ,
]
protected _configInitialized => true
}
protected attributes => [
]
protected emulatedAttributes => [
(int) 0 => 'session' ,
(int) 1 => 'flash' ,
(int) 2 => 'webroot' ,
(int) 3 => 'base' ,
(int) 4 => 'params' ,
(int) 5 => 'here' ,
]
protected uploadedFiles => [
]
protected protocol => null
protected requestTarget => null
}
if ( $this -> queue -> valid ()) {
$middleware = $this -> queue -> current ();
$this -> queue -> next ();
return $middleware -> process ( $request , $this );
}
if ( $this -> fallbackHandler ) {
return $this -> fallbackHandler -> handle ( $request );
Arguments
object( Cake\Http\ServerRequest ) id: 0 {
trustProxy => false
protected params => [
'plugin' => null ,
'controller' => null ,
'action' => null ,
'_ext' => null ,
'pass' => [
] ,
]
protected data => [
]
protected query => [
'page' => '2' ,
]
protected cookies => [
]
protected _environment => [
'USER' => 'nginx' ,
'HOME' => '/var/lib/nginx' ,
'HTTP_REFERER' => 'http://www.brookfood.co.uk/williamsbakery-equipment?page=2' ,
'HTTP_USER_AGENT' => 'claudebot' ,
'HTTP_ACCEPT' => '*/*' ,
'HTTP_HOST' => 'www.brookfood.co.uk' ,
'REDIRECT_STATUS' => '200' ,
'SERVER_NAME' => 'www.brookfood.co.uk' ,
'SERVER_PORT' => '443' ,
'SERVER_ADDR' => '172.31.32.21' ,
'REMOTE_PORT' => '57346' ,
'REMOTE_ADDR' => '3.237.186.170' ,
'SERVER_SOFTWARE' => 'nginx/1.20.1' ,
'GATEWAY_INTERFACE' => 'CGI/1.1' ,
'HTTPS' => 'on' ,
'REQUEST_SCHEME' => 'https' ,
'SERVER_PROTOCOL' => 'HTTP/2.0' ,
'DOCUMENT_URI' => '/index.php' ,
'REQUEST_URI' => '/williamsbakery-equipment?page=2' ,
'SCRIPT_NAME' => '/index.php' ,
'CONTENT_LENGTH' => '' ,
'CONTENT_TYPE' => '' ,
'REQUEST_METHOD' => 'GET' ,
'QUERY_STRING' => 'page=2' ,
'DOCUMENT_ROOT' => '/home/production/public_html/webroot' ,
'SCRIPT_FILENAME' => '/home/production/public_html/webroot/index.php' ,
'FCGI_ROLE' => 'RESPONDER' ,
'PHP_SELF' => '/index.php' ,
'REQUEST_TIME_FLOAT' => (float) 1711614308.3885 ,
'REQUEST_TIME' => (int) 1711614308 ,
'ORIGINAL_REQUEST_METHOD' => 'GET' ,
]
protected base => ''
protected webroot => '/'
protected trustedProxies => [
]
protected _detectors => [
'get' => [
'env' => 'REQUEST_METHOD' ,
'value' => 'GET' ,
] ,
'post' => [
'env' => 'REQUEST_METHOD' ,
'value' => 'POST' ,
] ,
'put' => [
'env' => 'REQUEST_METHOD' ,
'value' => 'PUT' ,
] ,
'patch' => [
'env' => 'REQUEST_METHOD' ,
'value' => 'PATCH' ,
] ,
'delete' => [
'env' => 'REQUEST_METHOD' ,
'value' => 'DELETE' ,
] ,
'head' => [
'env' => 'REQUEST_METHOD' ,
'value' => 'HEAD' ,
] ,
'options' => [
'env' => 'REQUEST_METHOD' ,
'value' => 'OPTIONS' ,
] ,
'ssl' => [
'env' => 'HTTPS' ,
'options' => [
'' => [maximum depth reached] ,
] ,
] ,
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH' ,
'value' => 'XMLHttpRequest' ,
] ,
'json' => [
'accept' => [
'' => [maximum depth reached] ,
] ,
'param' => '_ext' ,
'value' => 'json' ,
] ,
'xml' => [
'accept' => [
'' => [maximum depth reached] ,
] ,
'param' => '_ext' ,
'value' => 'xml' ,
] ,
'mobile' => object( Closure ) id: 1 {
} ,
'tablet' => object( Closure ) id: 2 {
} ,
'csv' => [
'accept' => [
'' => [maximum depth reached] ,
] ,
'param' => '_ext' ,
'value' => 'csv' ,
] ,
]
protected _detectorCache => [
]
protected stream => object( Laminas\Diactoros\PhpInputStream ) id: 3 {
protected resource => (resource) Resource id #187
protected stream => 'php://input'
private cache => ''
private reachedEof => false
}
protected uri => object( Laminas\Diactoros\Uri ) id: 4 {
base => ''
webroot => '/'
protected allowedSchemes => [
'' => [maximum depth reached] ,
]
private scheme => 'https'
private userInfo => ''
private host => 'www.brookfood.co.uk'
private port => null
private path => '/williamsbakery-equipment'
private query => 'page=2'
private fragment => ''
private uriString => 'https://www.brookfood.co.uk/williamsbakery-equipment?page=2'
}
protected session => object( Cake\Http\Session ) id: 5 {
protected _engine => object( Cake\Http\Session\DatabaseSession ) id: 6 {
}
protected _started => null
protected _lifetime => (int) 1800
protected _isCLI => false
}
protected flash => object( Cake\Http\FlashMessage ) id: 7 {
protected _defaultConfig => [
'' => [maximum depth reached] ,
]
protected session => object( Cake\Http\Session ) id: 5 {}
protected _config => [
'' => [maximum depth reached] ,
]
protected _configInitialized => true
}
protected attributes => [
]
protected emulatedAttributes => [
(int) 0 => 'session' ,
(int) 1 => 'flash' ,
(int) 2 => 'webroot' ,
(int) 3 => 'base' ,
(int) 4 => 'params' ,
(int) 5 => 'here' ,
]
protected uploadedFiles => [
]
protected protocol => null
protected requestTarget => null
}
object( Cake\Http\Runner ) id: 0 {
protected queue => object( Cake\Http\MiddlewareQueue ) id: 1 {
protected position => (int) 6
protected queue => [
'' => [maximum depth reached] ,
]
}
protected fallbackHandler => object( App\Application ) id: 2 {
protected configDir => '/home/production/public_html/config/'
protected plugins => object( Cake\Core\PluginCollection ) id: 3 {
}
protected controllerFactory => object( Cake\Controller\ControllerFactory ) id: 4 {
}
protected container => object( Cake\Core\Container ) id: 5 {
}
protected _eventManager => object( Cake\Event\EventManager ) id: 6 {
}
protected _eventClass => 'Cake\Event\Event'
private buildVersion => ''
}
}
*/
public function process ( ServerRequestInterface $request , RequestHandlerInterface $handler ): ResponseInterface
{
try {
return $handler -> handle ( $request );
} catch ( RedirectException $exception ) {
return $this -> handleRedirect ( $exception );
} catch ( Throwable $exception ) {
return $this -> handleException ( $exception , $request );
Arguments
object( Cake\Http\ServerRequest ) id: 0 {
trustProxy => false
protected params => [
'plugin' => null ,
'controller' => null ,
'action' => null ,
'_ext' => null ,
'pass' => [
] ,
]
protected data => [
]
protected query => [
'page' => '2' ,
]
protected cookies => [
]
protected _environment => [
'USER' => 'nginx' ,
'HOME' => '/var/lib/nginx' ,
'HTTP_REFERER' => 'http://www.brookfood.co.uk/williamsbakery-equipment?page=2' ,
'HTTP_USER_AGENT' => 'claudebot' ,
'HTTP_ACCEPT' => '*/*' ,
'HTTP_HOST' => 'www.brookfood.co.uk' ,
'REDIRECT_STATUS' => '200' ,
'SERVER_NAME' => 'www.brookfood.co.uk' ,
'SERVER_PORT' => '443' ,
'SERVER_ADDR' => '172.31.32.21' ,
'REMOTE_PORT' => '57346' ,
'REMOTE_ADDR' => '3.237.186.170' ,
'SERVER_SOFTWARE' => 'nginx/1.20.1' ,
'GATEWAY_INTERFACE' => 'CGI/1.1' ,
'HTTPS' => 'on' ,
'REQUEST_SCHEME' => 'https' ,
'SERVER_PROTOCOL' => 'HTTP/2.0' ,
'DOCUMENT_URI' => '/index.php' ,
'REQUEST_URI' => '/williamsbakery-equipment?page=2' ,
'SCRIPT_NAME' => '/index.php' ,
'CONTENT_LENGTH' => '' ,
'CONTENT_TYPE' => '' ,
'REQUEST_METHOD' => 'GET' ,
'QUERY_STRING' => 'page=2' ,
'DOCUMENT_ROOT' => '/home/production/public_html/webroot' ,
'SCRIPT_FILENAME' => '/home/production/public_html/webroot/index.php' ,
'FCGI_ROLE' => 'RESPONDER' ,
'PHP_SELF' => '/index.php' ,
'REQUEST_TIME_FLOAT' => (float) 1711614308.3885 ,
'REQUEST_TIME' => (int) 1711614308 ,
'ORIGINAL_REQUEST_METHOD' => 'GET' ,
]
protected base => ''
protected webroot => '/'
protected trustedProxies => [
]
protected _detectors => [
'get' => [
'env' => 'REQUEST_METHOD' ,
'value' => 'GET' ,
] ,
'post' => [
'env' => 'REQUEST_METHOD' ,
'value' => 'POST' ,
] ,
'put' => [
'env' => 'REQUEST_METHOD' ,
'value' => 'PUT' ,
] ,
'patch' => [
'env' => 'REQUEST_METHOD' ,
'value' => 'PATCH' ,
] ,
'delete' => [
'env' => 'REQUEST_METHOD' ,
'value' => 'DELETE' ,
] ,
'head' => [
'env' => 'REQUEST_METHOD' ,
'value' => 'HEAD' ,
] ,
'options' => [
'env' => 'REQUEST_METHOD' ,
'value' => 'OPTIONS' ,
] ,
'ssl' => [
'env' => 'HTTPS' ,
'options' => [
'' => [maximum depth reached] ,
] ,
] ,
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH' ,
'value' => 'XMLHttpRequest' ,
] ,
'json' => [
'accept' => [
'' => [maximum depth reached] ,
] ,
'param' => '_ext' ,
'value' => 'json' ,
] ,
'xml' => [
'accept' => [
'' => [maximum depth reached] ,
] ,
'param' => '_ext' ,
'value' => 'xml' ,
] ,
'mobile' => object( Closure ) id: 1 {
} ,
'tablet' => object( Closure ) id: 2 {
} ,
'csv' => [
'accept' => [
'' => [maximum depth reached] ,
] ,
'param' => '_ext' ,
'value' => 'csv' ,
] ,
]
protected _detectorCache => [
]
protected stream => object( Laminas\Diactoros\PhpInputStream ) id: 3 {
protected resource => (resource) Resource id #187
protected stream => 'php://input'
private cache => ''
private reachedEof => false
}
protected uri => object( Laminas\Diactoros\Uri ) id: 4 {
base => ''
webroot => '/'
protected allowedSchemes => [
'' => [maximum depth reached] ,
]
private scheme => 'https'
private userInfo => ''
private host => 'www.brookfood.co.uk'
private port => null
private path => '/williamsbakery-equipment'
private query => 'page=2'
private fragment => ''
private uriString => 'https://www.brookfood.co.uk/williamsbakery-equipment?page=2'
}
protected session => object( Cake\Http\Session ) id: 5 {
protected _engine => object( Cake\Http\Session\DatabaseSession ) id: 6 {
}
protected _started => null
protected _lifetime => (int) 1800
protected _isCLI => false
}
protected flash => object( Cake\Http\FlashMessage ) id: 7 {
protected _defaultConfig => [
'' => [maximum depth reached] ,
]
protected session => object( Cake\Http\Session ) id: 5 {}
protected _config => [
'' => [maximum depth reached] ,
]
protected _configInitialized => true
}
protected attributes => [
]
protected emulatedAttributes => [
(int) 0 => 'session' ,
(int) 1 => 'flash' ,
(int) 2 => 'webroot' ,
(int) 3 => 'base' ,
(int) 4 => 'params' ,
(int) 5 => 'here' ,
]
protected uploadedFiles => [
]
protected protocol => null
protected requestTarget => null
}
if ( $this -> queue -> valid ()) {
$middleware = $this -> queue -> current ();
$this -> queue -> next ();
return $middleware -> process ( $request , $this );
}
if ( $this -> fallbackHandler ) {
return $this -> fallbackHandler -> handle ( $request );
Arguments
object( Cake\Http\ServerRequest ) id: 0 {
trustProxy => false
protected params => [
'plugin' => null ,
'controller' => null ,
'action' => null ,
'_ext' => null ,
'pass' => [
] ,
]
protected data => [
]
protected query => [
'page' => '2' ,
]
protected cookies => [
]
protected _environment => [
'USER' => 'nginx' ,
'HOME' => '/var/lib/nginx' ,
'HTTP_REFERER' => 'http://www.brookfood.co.uk/williamsbakery-equipment?page=2' ,
'HTTP_USER_AGENT' => 'claudebot' ,
'HTTP_ACCEPT' => '*/*' ,
'HTTP_HOST' => 'www.brookfood.co.uk' ,
'REDIRECT_STATUS' => '200' ,
'SERVER_NAME' => 'www.brookfood.co.uk' ,
'SERVER_PORT' => '443' ,
'SERVER_ADDR' => '172.31.32.21' ,
'REMOTE_PORT' => '57346' ,
'REMOTE_ADDR' => '3.237.186.170' ,
'SERVER_SOFTWARE' => 'nginx/1.20.1' ,
'GATEWAY_INTERFACE' => 'CGI/1.1' ,
'HTTPS' => 'on' ,
'REQUEST_SCHEME' => 'https' ,
'SERVER_PROTOCOL' => 'HTTP/2.0' ,
'DOCUMENT_URI' => '/index.php' ,
'REQUEST_URI' => '/williamsbakery-equipment?page=2' ,
'SCRIPT_NAME' => '/index.php' ,
'CONTENT_LENGTH' => '' ,
'CONTENT_TYPE' => '' ,
'REQUEST_METHOD' => 'GET' ,
'QUERY_STRING' => 'page=2' ,
'DOCUMENT_ROOT' => '/home/production/public_html/webroot' ,
'SCRIPT_FILENAME' => '/home/production/public_html/webroot/index.php' ,
'FCGI_ROLE' => 'RESPONDER' ,
'PHP_SELF' => '/index.php' ,
'REQUEST_TIME_FLOAT' => (float) 1711614308.3885 ,
'REQUEST_TIME' => (int) 1711614308 ,
'ORIGINAL_REQUEST_METHOD' => 'GET' ,
]
protected base => ''
protected webroot => '/'
protected trustedProxies => [
]
protected _detectors => [
'get' => [
'env' => 'REQUEST_METHOD' ,
'value' => 'GET' ,
] ,
'post' => [
'env' => 'REQUEST_METHOD' ,
'value' => 'POST' ,
] ,
'put' => [
'env' => 'REQUEST_METHOD' ,
'value' => 'PUT' ,
] ,
'patch' => [
'env' => 'REQUEST_METHOD' ,
'value' => 'PATCH' ,
] ,
'delete' => [
'env' => 'REQUEST_METHOD' ,
'value' => 'DELETE' ,
] ,
'head' => [
'env' => 'REQUEST_METHOD' ,
'value' => 'HEAD' ,
] ,
'options' => [
'env' => 'REQUEST_METHOD' ,
'value' => 'OPTIONS' ,
] ,
'ssl' => [
'env' => 'HTTPS' ,
'options' => [
'' => [maximum depth reached] ,
] ,
] ,
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH' ,
'value' => 'XMLHttpRequest' ,
] ,
'json' => [
'accept' => [
'' => [maximum depth reached] ,
] ,
'param' => '_ext' ,
'value' => 'json' ,
] ,
'xml' => [
'accept' => [
'' => [maximum depth reached] ,
] ,
'param' => '_ext' ,
'value' => 'xml' ,
] ,
'mobile' => object( Closure ) id: 1 {
} ,
'tablet' => object( Closure ) id: 2 {
} ,
'csv' => [
'accept' => [
'' => [maximum depth reached] ,
] ,
'param' => '_ext' ,
'value' => 'csv' ,
] ,
]
protected _detectorCache => [
]
protected stream => object( Laminas\Diactoros\PhpInputStream ) id: 3 {
protected resource => (resource) Resource id #187
protected stream => 'php://input'
private cache => ''
private reachedEof => false
}
protected uri => object( Laminas\Diactoros\Uri ) id: 4 {
base => ''
webroot => '/'
protected allowedSchemes => [
'' => [maximum depth reached] ,
]
private scheme => 'https'
private userInfo => ''
private host => 'www.brookfood.co.uk'
private port => null
private path => '/williamsbakery-equipment'
private query => 'page=2'
private fragment => ''
private uriString => 'https://www.brookfood.co.uk/williamsbakery-equipment?page=2'
}
protected session => object( Cake\Http\Session ) id: 5 {
protected _engine => object( Cake\Http\Session\DatabaseSession ) id: 6 {
}
protected _started => null
protected _lifetime => (int) 1800
protected _isCLI => false
}
protected flash => object( Cake\Http\FlashMessage ) id: 7 {
protected _defaultConfig => [
'' => [maximum depth reached] ,
]
protected session => object( Cake\Http\Session ) id: 5 {}
protected _config => [
'' => [maximum depth reached] ,
]
protected _configInitialized => true
}
protected attributes => [
]
protected emulatedAttributes => [
(int) 0 => 'session' ,
(int) 1 => 'flash' ,
(int) 2 => 'webroot' ,
(int) 3 => 'base' ,
(int) 4 => 'params' ,
(int) 5 => 'here' ,
]
protected uploadedFiles => [
]
protected protocol => null
protected requestTarget => null
}
object( Cake\Http\Runner ) id: 0 {
protected queue => object( Cake\Http\MiddlewareQueue ) id: 1 {
protected position => (int) 6
protected queue => [
'' => [maximum depth reached] ,
]
}
protected fallbackHandler => object( App\Application ) id: 2 {
protected configDir => '/home/production/public_html/config/'
protected plugins => object( Cake\Core\PluginCollection ) id: 3 {
}
protected controllerFactory => object( Cake\Controller\ControllerFactory ) id: 4 {
}
protected container => object( Cake\Core\Container ) id: 5 {
}
protected _eventManager => object( Cake\Event\EventManager ) id: 6 {
}
protected _eventClass => 'Cake\Event\Event'
private buildVersion => ''
}
}
$this -> queue = $queue ;
$this -> queue -> rewind ();
$this -> fallbackHandler = $fallbackHandler ;
return $this -> handle ( $request );
}
/**
* Handle incoming server request and return a response .
Arguments
object( Cake\Http\ServerRequest ) id: 0 {
trustProxy => false
protected params => [
'plugin' => null ,
'controller' => null ,
'action' => null ,
'_ext' => null ,
'pass' => [
] ,
]
protected data => [
]
protected query => [
'page' => '2' ,
]
protected cookies => [
]
protected _environment => [
'USER' => 'nginx' ,
'HOME' => '/var/lib/nginx' ,
'HTTP_REFERER' => 'http://www.brookfood.co.uk/williamsbakery-equipment?page=2' ,
'HTTP_USER_AGENT' => 'claudebot' ,
'HTTP_ACCEPT' => '*/*' ,
'HTTP_HOST' => 'www.brookfood.co.uk' ,
'REDIRECT_STATUS' => '200' ,
'SERVER_NAME' => 'www.brookfood.co.uk' ,
'SERVER_PORT' => '443' ,
'SERVER_ADDR' => '172.31.32.21' ,
'REMOTE_PORT' => '57346' ,
'REMOTE_ADDR' => '3.237.186.170' ,
'SERVER_SOFTWARE' => 'nginx/1.20.1' ,
'GATEWAY_INTERFACE' => 'CGI/1.1' ,
'HTTPS' => 'on' ,
'REQUEST_SCHEME' => 'https' ,
'SERVER_PROTOCOL' => 'HTTP/2.0' ,
'DOCUMENT_URI' => '/index.php' ,
'REQUEST_URI' => '/williamsbakery-equipment?page=2' ,
'SCRIPT_NAME' => '/index.php' ,
'CONTENT_LENGTH' => '' ,
'CONTENT_TYPE' => '' ,
'REQUEST_METHOD' => 'GET' ,
'QUERY_STRING' => 'page=2' ,
'DOCUMENT_ROOT' => '/home/production/public_html/webroot' ,
'SCRIPT_FILENAME' => '/home/production/public_html/webroot/index.php' ,
'FCGI_ROLE' => 'RESPONDER' ,
'PHP_SELF' => '/index.php' ,
'REQUEST_TIME_FLOAT' => (float) 1711614308.3885 ,
'REQUEST_TIME' => (int) 1711614308 ,
'ORIGINAL_REQUEST_METHOD' => 'GET' ,
]
protected base => ''
protected webroot => '/'
protected trustedProxies => [
]
protected _detectors => [
'get' => [
'env' => 'REQUEST_METHOD' ,
'value' => 'GET' ,
] ,
'post' => [
'env' => 'REQUEST_METHOD' ,
'value' => 'POST' ,
] ,
'put' => [
'env' => 'REQUEST_METHOD' ,
'value' => 'PUT' ,
] ,
'patch' => [
'env' => 'REQUEST_METHOD' ,
'value' => 'PATCH' ,
] ,
'delete' => [
'env' => 'REQUEST_METHOD' ,
'value' => 'DELETE' ,
] ,
'head' => [
'env' => 'REQUEST_METHOD' ,
'value' => 'HEAD' ,
] ,
'options' => [
'env' => 'REQUEST_METHOD' ,
'value' => 'OPTIONS' ,
] ,
'ssl' => [
'env' => 'HTTPS' ,
'options' => [
'' => [maximum depth reached] ,
] ,
] ,
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH' ,
'value' => 'XMLHttpRequest' ,
] ,
'json' => [
'accept' => [
'' => [maximum depth reached] ,
] ,
'param' => '_ext' ,
'value' => 'json' ,
] ,
'xml' => [
'accept' => [
'' => [maximum depth reached] ,
] ,
'param' => '_ext' ,
'value' => 'xml' ,
] ,
'mobile' => object( Closure ) id: 1 {
} ,
'tablet' => object( Closure ) id: 2 {
} ,
'csv' => [
'accept' => [
'' => [maximum depth reached] ,
] ,
'param' => '_ext' ,
'value' => 'csv' ,
] ,
]
protected _detectorCache => [
]
protected stream => object( Laminas\Diactoros\PhpInputStream ) id: 3 {
protected resource => (resource) Resource id #187
protected stream => 'php://input'
private cache => ''
private reachedEof => false
}
protected uri => object( Laminas\Diactoros\Uri ) id: 4 {
base => ''
webroot => '/'
protected allowedSchemes => [
'' => [maximum depth reached] ,
]
private scheme => 'https'
private userInfo => ''
private host => 'www.brookfood.co.uk'
private port => null
private path => '/williamsbakery-equipment'
private query => 'page=2'
private fragment => ''
private uriString => 'https://www.brookfood.co.uk/williamsbakery-equipment?page=2'
}
protected session => object( Cake\Http\Session ) id: 5 {
protected _engine => object( Cake\Http\Session\DatabaseSession ) id: 6 {
}
protected _started => null
protected _lifetime => (int) 1800
protected _isCLI => false
}
protected flash => object( Cake\Http\FlashMessage ) id: 7 {
protected _defaultConfig => [
'' => [maximum depth reached] ,
]
protected session => object( Cake\Http\Session ) id: 5 {}
protected _config => [
'' => [maximum depth reached] ,
]
protected _configInitialized => true
}
protected attributes => [
]
protected emulatedAttributes => [
(int) 0 => 'session' ,
(int) 1 => 'flash' ,
(int) 2 => 'webroot' ,
(int) 3 => 'base' ,
(int) 4 => 'params' ,
(int) 5 => 'here' ,
]
protected uploadedFiles => [
]
protected protocol => null
protected requestTarget => null
}
}
$this -> dispatchEvent ( 'Server.buildMiddleware' , [ 'middleware' => $middleware ]);
$response = $this -> runner -> run ( $middleware , $request , $this -> app );
if ( $request instanceof ServerRequest ) {
$request -> getSession ()-> close ();
}
Arguments
object( Cake\Http\MiddlewareQueue ) id: 0 {
protected position => (int) 6
protected queue => [
(int) 0 => object( Cake\Error\Middleware\ErrorHandlerMiddleware ) id: 1 {
} ,
(int) 1 => object( Cake\Routing\Middleware\AssetMiddleware ) id: 2 {
} ,
(int) 2 => object( Cake\Http\Middleware\BodyParserMiddleware ) id: 3 {
} ,
(int) 3 => object( Cake\Http\Middleware\EncryptedCookieMiddleware ) id: 4 {
} ,
(int) 4 => object( Cake\Routing\Middleware\RoutingMiddleware ) id: 5 {
} ,
(int) 5 => object( Authentication\Middleware\AuthenticationMiddleware ) id: 6 {
} ,
]
}
object( Cake\Http\ServerRequest ) id: 0 {
trustProxy => false
protected params => [
'plugin' => null ,
'controller' => null ,
'action' => null ,
'_ext' => null ,
'pass' => [
] ,
]
protected data => [
]
protected query => [
'page' => '2' ,
]
protected cookies => [
]
protected _environment => [
'USER' => 'nginx' ,
'HOME' => '/var/lib/nginx' ,
'HTTP_REFERER' => 'http://www.brookfood.co.uk/williamsbakery-equipment?page=2' ,
'HTTP_USER_AGENT' => 'claudebot' ,
'HTTP_ACCEPT' => '*/*' ,
'HTTP_HOST' => 'www.brookfood.co.uk' ,
'REDIRECT_STATUS' => '200' ,
'SERVER_NAME' => 'www.brookfood.co.uk' ,
'SERVER_PORT' => '443' ,
'SERVER_ADDR' => '172.31.32.21' ,
'REMOTE_PORT' => '57346' ,
'REMOTE_ADDR' => '3.237.186.170' ,
'SERVER_SOFTWARE' => 'nginx/1.20.1' ,
'GATEWAY_INTERFACE' => 'CGI/1.1' ,
'HTTPS' => 'on' ,
'REQUEST_SCHEME' => 'https' ,
'SERVER_PROTOCOL' => 'HTTP/2.0' ,
'DOCUMENT_URI' => '/index.php' ,
'REQUEST_URI' => '/williamsbakery-equipment?page=2' ,
'SCRIPT_NAME' => '/index.php' ,
'CONTENT_LENGTH' => '' ,
'CONTENT_TYPE' => '' ,
'REQUEST_METHOD' => 'GET' ,
'QUERY_STRING' => 'page=2' ,
'DOCUMENT_ROOT' => '/home/production/public_html/webroot' ,
'SCRIPT_FILENAME' => '/home/production/public_html/webroot/index.php' ,
'FCGI_ROLE' => 'RESPONDER' ,
'PHP_SELF' => '/index.php' ,
'REQUEST_TIME_FLOAT' => (float) 1711614308.3885 ,
'REQUEST_TIME' => (int) 1711614308 ,
'ORIGINAL_REQUEST_METHOD' => 'GET' ,
]
protected base => ''
protected webroot => '/'
protected trustedProxies => [
]
protected _detectors => [
'get' => [
'env' => 'REQUEST_METHOD' ,
'value' => 'GET' ,
] ,
'post' => [
'env' => 'REQUEST_METHOD' ,
'value' => 'POST' ,
] ,
'put' => [
'env' => 'REQUEST_METHOD' ,
'value' => 'PUT' ,
] ,
'patch' => [
'env' => 'REQUEST_METHOD' ,
'value' => 'PATCH' ,
] ,
'delete' => [
'env' => 'REQUEST_METHOD' ,
'value' => 'DELETE' ,
] ,
'head' => [
'env' => 'REQUEST_METHOD' ,
'value' => 'HEAD' ,
] ,
'options' => [
'env' => 'REQUEST_METHOD' ,
'value' => 'OPTIONS' ,
] ,
'ssl' => [
'env' => 'HTTPS' ,
'options' => [
'' => [maximum depth reached] ,
] ,
] ,
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH' ,
'value' => 'XMLHttpRequest' ,
] ,
'json' => [
'accept' => [
'' => [maximum depth reached] ,
] ,
'param' => '_ext' ,
'value' => 'json' ,
] ,
'xml' => [
'accept' => [
'' => [maximum depth reached] ,
] ,
'param' => '_ext' ,
'value' => 'xml' ,
] ,
'mobile' => object( Closure ) id: 1 {
} ,
'tablet' => object( Closure ) id: 2 {
} ,
'csv' => [
'accept' => [
'' => [maximum depth reached] ,
] ,
'param' => '_ext' ,
'value' => 'csv' ,
] ,
]
protected _detectorCache => [
]
protected stream => object( Laminas\Diactoros\PhpInputStream ) id: 3 {
protected resource => (resource) Resource id #187
protected stream => 'php://input'
private cache => ''
private reachedEof => false
}
protected uri => object( Laminas\Diactoros\Uri ) id: 4 {
base => ''
webroot => '/'
protected allowedSchemes => [
'' => [maximum depth reached] ,
]
private scheme => 'https'
private userInfo => ''
private host => 'www.brookfood.co.uk'
private port => null
private path => '/williamsbakery-equipment'
private query => 'page=2'
private fragment => ''
private uriString => 'https://www.brookfood.co.uk/williamsbakery-equipment?page=2'
}
protected session => object( Cake\Http\Session ) id: 5 {
protected _engine => object( Cake\Http\Session\DatabaseSession ) id: 6 {
}
protected _started => null
protected _lifetime => (int) 1800
protected _isCLI => false
}
protected flash => object( Cake\Http\FlashMessage ) id: 7 {
protected _defaultConfig => [
'' => [maximum depth reached] ,
]
protected session => object( Cake\Http\Session ) id: 5 {}
protected _config => [
'' => [maximum depth reached] ,
]
protected _configInitialized => true
}
protected attributes => [
]
protected emulatedAttributes => [
(int) 0 => 'session' ,
(int) 1 => 'flash' ,
(int) 2 => 'webroot' ,
(int) 3 => 'base' ,
(int) 4 => 'params' ,
(int) 5 => 'here' ,
]
protected uploadedFiles => [
]
protected protocol => null
protected requestTarget => null
}
object( App\Application ) id: 0 {
protected configDir => '/home/production/public_html/config/'
protected plugins => object( Cake\Core\PluginCollection ) id: 1 {
protected plugins => [
'' => [maximum depth reached] ,
]
protected names => [
'' => [maximum depth reached] ,
]
protected positions => [
'' => [maximum depth reached] ,
]
protected loopDepth => (int) -1
}
protected controllerFactory => object( Cake\Controller\ControllerFactory ) id: 2 {
protected container => object( Cake\Core\Container ) id: 3 {
}
}
protected container => object( Cake\Core\Container ) id: 3 {}
protected _eventManager => object( Cake\Event\EventManager ) id: 4 {
'_listeners' => [
'Controller.initialize' => '1 listener(s)' ,
]
'_isGlobal' => true
'_trackEvents' => false
'_generalManager' => '(object) EventManager'
'_dispatchedEvents' => null
}
protected _eventClass => 'Cake\Event\Event'
private buildVersion => ''
}
// Bind your application to the server.
$server = new Server (new Application ( dirname ( __DIR__ ) . '/config' ));
// Run the request/response through the application and emit the response.
$server -> emit ( $server -> run ());
Confirm you have created the file: "Frontend/Pages/view.php" in one of the following paths:
/home/production/public_html/templates/Frontend/Pages/view.php
If you want to customize this error message, create
templates/Error/missing_template.php