if ($value === null || $value === '') { |
|
return null; |
|
} |
|
|
|
$this->checkNumeric($value); |
|
|
|
return (int)$value; |
|
} |
|
|
'27-Automation Products'
if (is_string($type)) { |
|
$type = Type::build($type); |
|
} |
|
if ($type instanceof TypeInterface) { |
|
$value = $type->toDatabase($value, $this->_driver); |
|
$type = $type->toStatement($value, $this->_driver); |
|
} |
|
|
|
return [$value, $type]; |
'27-Automation Products' object(Cake\Database\Driver\Mysql) { 'connected' => true }
if ($type === null) { |
|
$type = 'string'; |
|
} |
|
if (!ctype_digit($type)) { |
|
list($value, $type) = $this->cast($value, $type); |
|
} |
|
$this->_statement->bindValue($column, $value, $type); |
|
} |
|
|
'27-Automation Products' object(Cake\Database\Type\IntegerType) { 'name' => 'integer' }
return; |
|
} |
|
|
|
foreach ($bindings as $b) { |
|
$statement->bindValue($b['placeholder'], $b['value'], $b['type']); |
|
} |
|
} |
|
} |
|
|
'c1' '27-Automation Products' 'integer'
public function run(Query $query) |
|
{ |
|
return $this->getDisconnectRetry()->run(function () use ($query) { |
|
$statement = $this->prepare($query); |
|
$query->getValueBinder()->attachTo($statement); |
|
$statement->execute(); |
|
|
|
return $statement; |
|
}); |
object(Cake\Database\Statement\MysqlStatement) { [protected] _statement => object(PDOStatement) { queryString => 'SELECT Products.id AS `Products__id`, Products.name AS `Products__name`, Products.HomeTitle AS `Products__HomeTitle`, Products.HomeDescription AS `Products__HomeDescription`, Products.InnerTitle AS `Products__InnerTitle`, Products.InnerDescription AS `Products__InnerDescription`, Products.product_image AS `Products__product_image`, Products.description AS `Products__description`, Products.product_cat_id AS `Products__product_cat_id`, Products.brand_id AS `Products__brand_id`, Products.other_file AS `Products__other_file`, Products.is_delete AS `Products__is_delete`, Products.is_active AS `Products__is_active`, Products.is_website AS `Products__is_website`, Products.sys_user_id AS `Products__sys_user_id`, Products.orderby AS `Products__orderby`, Products.created_by AS `Products__created_by`, Products.modified_by AS `Products__modified_by`, Products.created_at AS `Products__created_at`, Products.modified_at AS `Products__modified_at` FROM es_products Products WHERE (is_active = :c0 AND id = :c1) LIMIT 1' } [protected] _driver => object(Cake\Database\Driver\Mysql) { 'connected' => true } [protected] _hasExecuted => false [protected] _bufferResults => true }
$lastException = null; |
|
|
|
do { |
|
try { |
|
return $action(); |
|
} catch (Exception $e) { |
|
$lastException = $e; |
|
if (!$this->strategy->shouldRetry($e, $retryCount)) { |
|
throw $e; |
No arguments
$query->getValueBinder()->attachTo($statement); |
|
$statement->execute(); |
|
|
|
return $statement; |
|
}); |
|
} |
|
|
|
/** |
|
* Executes a SQL statement and returns the Statement object as result. |
object(Closure) { }
* @return \Cake\Database\StatementInterface |
|
*/ |
|
public function execute() |
|
{ |
|
$statement = $this->_connection->run($this); |
|
$this->_iterator = $this->_decorateStatement($statement); |
|
$this->_dirty = false; |
|
|
|
return $this->_iterator; |
object(Cake\ORM\Query) { '(help)' => 'This is a Query object, to get the results execute or iterate it.', 'sql' => 'SELECT Products.id AS `Products__id`, Products.name AS `Products__name`, Products.HomeTitle AS `Products__HomeTitle`, Products.HomeDescription AS `Products__HomeDescription`, Products.InnerTitle AS `Products__InnerTitle`, Products.InnerDescription AS `Products__InnerDescription`, Products.product_image AS `Products__product_image`, Products.description AS `Products__description`, Products.product_cat_id AS `Products__product_cat_id`, Products.brand_id AS `Products__brand_id`, Products.other_file AS `Products__other_file`, Products.is_delete AS `Products__is_delete`, Products.is_active AS `Products__is_active`, Products.is_website AS `Products__is_website`, Products.sys_user_id AS `Products__sys_user_id`, Products.orderby AS `Products__orderby`, Products.created_by AS `Products__created_by`, Products.modified_by AS `Products__modified_by`, Products.created_at AS `Products__created_at`, Products.modified_at AS `Products__modified_at` FROM es_products Products WHERE (is_active = :c0 AND id = :c1) LIMIT 1', 'params' => [ ':c0' => [ 'value' => (int) 1, 'type' => 'integer', 'placeholder' => 'c0' ], ':c1' => [ 'value' => '27-Automation Products', 'type' => 'integer', 'placeholder' => 'c1' ] ], 'defaultTypes' => [ 'Products__id' => 'integer', 'Products.id' => 'integer', 'id' => 'integer', 'Products__name' => 'string', 'Products.name' => 'string', 'name' => 'string', 'Products__HomeTitle' => 'string', 'Products.HomeTitle' => 'string', 'HomeTitle' => 'string', 'Products__HomeDescription' => 'text', 'Products.HomeDescription' => 'text', 'HomeDescription' => 'text', 'Products__InnerTitle' => 'string', 'Products.InnerTitle' => 'string', 'InnerTitle' => 'string', 'Products__InnerDescription' => 'text', 'Products.InnerDescription' => 'text', 'InnerDescription' => 'text', 'Products__product_image' => 'text', 'Products.product_image' => 'text', 'product_image' => 'text', 'Products__description' => 'text', 'Products.description' => 'text', 'description' => 'text', 'Products__product_cat_id' => 'string', 'Products.product_cat_id' => 'string', 'product_cat_id' => 'string', 'Products__brand_id' => 'text', 'Products.brand_id' => 'text', 'brand_id' => 'text', 'Products__other_file' => 'text', 'Products.other_file' => 'text', 'other_file' => 'text', 'Products__is_delete' => 'integer', 'Products.is_delete' => 'integer', 'is_delete' => 'integer', 'Products__is_active' => 'integer', 'Products.is_active' => 'integer', 'is_active' => 'integer', 'Products__is_website' => 'integer', 'Products.is_website' => 'integer', 'is_website' => 'integer', 'Products__sys_user_id' => 'integer', 'Products.sys_user_id' => 'integer', 'sys_user_id' => 'integer', 'Products__orderby' => 'integer', 'Products.orderby' => 'integer', 'orderby' => 'integer', 'Products__created_by' => 'integer', 'Products.created_by' => 'integer', 'created_by' => 'integer', 'Products__modified_by' => 'integer', 'Products.modified_by' => 'integer', 'modified_by' => 'integer', 'Products__created_at' => 'date', 'Products.created_at' => 'date', 'created_at' => 'date', 'Products__modified_at' => 'date', 'Products.modified_at' => 'date', 'modified_at' => 'date' ], 'decorators' => (int) 0, 'executed' => false, 'hydrate' => true, 'buffered' => true, 'formatters' => (int) 0, 'mapReducers' => (int) 0, 'contain' => [], 'matching' => [], 'extraOptions' => [], 'repository' => object(App\Model\Table\ProductsTable) { 'registryAlias' => 'Products', 'table' => 'es_products', 'alias' => 'Products', 'entityClass' => 'App\Model\Entity\Product', 'associations' => [ [maximum depth reached] ], 'behaviors' => [ [maximum depth reached] ], 'defaultConnection' => 'default', 'connectionName' => 'default' } }
|
|
return new $decorator($this->_results); |
|
} |
|
|
|
$statement = $this->getEagerLoader()->loadExternal($this, $this->execute()); |
|
|
|
return new ResultSet($this, $statement); |
|
} |
|
|
No arguments
if ($this->_cache) { |
|
$results = $this->_cache->fetch($this); |
|
} |
|
if (!isset($results)) { |
|
$results = $this->_decorateResults($this->_execute()); |
|
if ($this->_cache) { |
|
$this->_cache->store($this, $results); |
|
} |
|
} |
No arguments
'You cannot call all() on a non-select query. Use execute() instead.' |
|
); |
|
} |
|
|
|
return $this->_all(); |
|
} |
|
|
|
/** |
|
* Trigger the beforeFind event on the query's repository object. |
No arguments
if ($this->_dirty) { |
|
$this->limit(1); |
|
} |
|
|
|
return $this->all()->first(); |
|
} |
|
|
|
/** |
|
* Get the first result from the executing query or raise an exception. |
No arguments
public function productsDetails($id = NULL) { |
|
$this->loadModel('Products'); |
|
$Products = $this->Products->find() |
|
->where(['is_active' => 1, 'id' => $id]) |
|
->first(); |
|
|
|
$this->set('title', 'Package Details'); |
|
$this->set('Products', $Products); |
|
$this->set('id', $id); |
No arguments
} |
|
/** @var callable $callable */ |
|
$callable = [$this, $request->getParam('action')]; |
|
|
|
$result = $callable(...array_values($request->getParam('pass'))); |
|
if ($result instanceof Response) { |
|
$this->response = $result; |
|
} |
|
|
'27-Automation Products'
if ($result instanceof Response) { |
|
return $result; |
|
} |
|
|
|
$response = $controller->invokeAction(); |
|
if ($response !== null && !($response instanceof Response)) { |
|
throw new LogicException('Controller actions can only return Cake\Http\Response or null.'); |
|
} |
|
|
No arguments
} else { |
|
$controller = $this->factory->create($request, $response); |
|
} |
|
|
|
$response = $this->_invoke($controller); |
|
if ($request->getParam('return')) { |
|
return $response; |
|
} |
|
|
object(App\Controller\ProductsController) { paginate => [] helpers => [ 'Search' => null ] request => object(Cake\Http\ServerRequest) { 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] url => 'product-details/27-Automation%2520Products' [protected] base => '' [protected] webroot => '/' [protected] here => '/product-details/27-Automation%2520Products' [protected] trustedProxies => [[maximum depth reached]] [protected] _input => null [protected] _detectors => [ [maximum depth reached] ] [protected] _detectorCache => [ [maximum depth reached] ] [protected] stream => object(Laminas\Diactoros\PhpInputStream) {} [protected] uri => object(Laminas\Diactoros\Uri) {} [protected] session => object(Cake\Http\Session) {} [protected] attributes => [[maximum depth reached]] [protected] emulatedAttributes => [ [maximum depth reached] ] [protected] uploadedFiles => [[maximum depth reached]] [protected] protocol => null [protected] requestTarget => null [private] deprecatedProperties => [ [maximum depth reached] ] [private] mergeFilesAsObjects => false } response => object(Cake\Http\Response) { 'status' => (int) 200, 'contentType' => 'text/html', 'headers' => [ [maximum depth reached] ], 'file' => null, 'fileRange' => [[maximum depth reached]], 'cookies' => object(Cake\Http\Cookie\CookieCollection) {}, 'cacheDirectives' => [[maximum depth reached]], 'body' => '' } components => [] View => null passedArgs => [ (int) 0 => '27-Automation Products' ] modelClass => 'Products' viewClass => null viewVars => [] RequestHandler => object(Cake\Controller\Component\RequestHandlerComponent) { 'components' => [[maximum depth reached]], 'implementedEvents' => [ [maximum depth reached] ], '_config' => [ [maximum depth reached] ] } Flash => object(Cake\Controller\Component\FlashComponent) { 'components' => [[maximum depth reached]], 'implementedEvents' => [[maximum depth reached]], '_config' => [ [maximum depth reached] ] } Paginator => object(Cake\Controller\Component\PaginatorComponent) { 'components' => [[maximum depth reached]], 'implementedEvents' => [[maximum depth reached]], '_config' => [ [maximum depth reached] ] } Cookie => object(Cake\Controller\Component\CookieComponent) { 'components' => [[maximum depth reached]], 'implementedEvents' => [[maximum depth reached]], '_config' => [ [maximum depth reached] ] } Search => object(Utils\Controller\Component\SearchComponent) { 'components' => [[maximum depth reached]], 'implementedEvents' => [ [maximum depth reached] ], '_config' => [ [maximum depth reached] ] } Common => object(App\Controller\Component\CommonComponent) { 'components' => [[maximum depth reached]], 'implementedEvents' => [[maximum depth reached]], '_config' => [[maximum depth reached]] } Auth => object(Cake\Controller\Component\AuthComponent) { 'components' => [ [maximum depth reached] ], 'implementedEvents' => [ [maximum depth reached] ], '_config' => [ [maximum depth reached] ] } Products => object(App\Model\Table\ProductsTable) { 'registryAlias' => 'Products', 'table' => 'es_products', 'alias' => 'Products', 'entityClass' => 'App\Model\Entity\Product', 'associations' => [ [maximum depth reached] ], 'behaviors' => [ [maximum depth reached] ], 'defaultConnection' => 'default', 'connectionName' => 'default' } [protected] name => 'Products' [protected] _responseClass => 'Cake\Http\Response' [protected] autoRender => true [protected] _components => object(Cake\Controller\ComponentRegistry) { '_Controller' => object(App\Controller\ProductsController) {}, '_loaded' => [ [maximum depth reached] ], '_eventManager' => object(Cake\Event\EventManager) {}, '_eventClass' => 'Cake\Event\Event' } [protected] _validViewOptions => [ (int) 0 => 'passedArgs' ] [protected] plugin => null [protected] _eventManager => object(Cake\Event\EventManager) { '_listeners' => [ [maximum depth reached] ], '_isGlobal' => false, '_trackEvents' => false, '_generalManager' => '(object) EventManager', '_dispatchedEvents' => null } [protected] _eventClass => 'Cake\Event\Event' [protected] _tableLocator => object(Cake\ORM\Locator\TableLocator) { [protected] locations => [ [maximum depth reached] ] [protected] _config => [[maximum depth reached]] [protected] _instances => [ [maximum depth reached] ] [protected] _fallbacked => [[maximum depth reached]] [protected] _options => [ [maximum depth reached] ] } [protected] _modelFactories => [ 'Table' => [ (int) 0 => object(Cake\ORM\Locator\TableLocator) {}, (int) 1 => 'get' ] ] [protected] _modelType => 'Table' [protected] _viewBuilder => object(Cake\View\ViewBuilder) { [protected] _templatePath => null [protected] _template => null [protected] _plugin => null [protected] _theme => null [protected] _layout => 'rel_inner' [protected] _autoLayout => null [protected] _layoutPath => null [protected] _name => null [protected] _className => null [protected] _options => [[maximum depth reached]] [protected] _helpers => [[maximum depth reached]] [protected] _vars => [[maximum depth reached]] } }
'Dispatcher is deprecated. You should update your application to use ' . |
|
'the Http\Server implementation instead.' |
|
); |
|
$actionDispatcher = new ActionDispatcher(null, $this->getEventManager(), $this->_filters); |
|
$response = $actionDispatcher->dispatch($request, $response); |
|
if ($request->getParam('return', null) !== null) { |
|
return $response->body(); |
|
} |
|
|
object(Cake\Http\ServerRequest) { trustProxy => false [protected] params => [ 'plugin' => null, 'controller' => 'Products', 'action' => 'productsDetails', '_ext' => null, 'pass' => [ (int) 0 => '27-Automation Products' ], 'Website' => (int) 1, '_matchedRoute' => '/product-details/*' ] [protected] data => [] [protected] query => [] [protected] cookies => [] [protected] _environment => [ 'PATH' => '/usr/local/bin:/usr/bin:/bin', 'TEMP' => '/tmp', 'TMP' => '/tmp', 'TMPDIR' => '/tmp', 'PWD' => '/', 'HTTP_ACCEPT' => '*/*', 'CONTENT_LENGTH' => '0', 'HTTP_HOST' => 'bdrel.com', 'HTTP_USER_AGENT' => 'claudebot', 'REDIRECT_REDIRECT_UNIQUE_ID' => 'ZgZLxT_CmTIgS0VH7awG0wAAAAE', 'REDIRECT_REDIRECT_SCRIPT_URL' => '/product-details/27-Automation%20Products', 'REDIRECT_REDIRECT_SCRIPT_URI' => 'http://bdrel.com/product-details/27-Automation%20Products', 'REDIRECT_REDIRECT_STATUS' => '200', 'REDIRECT_UNIQUE_ID' => 'ZgZLxT_CmTIgS0VH7awG0wAAAAE', 'REDIRECT_SCRIPT_URL' => '/product-details/27-Automation%20Products', 'REDIRECT_SCRIPT_URI' => 'http://bdrel.com/product-details/27-Automation%20Products', 'REDIRECT_STATUS' => '200', 'UNIQUE_ID' => 'ZgZLxT_CmTIgS0VH7awG0wAAAAE', 'SCRIPT_URL' => '/product-details/27-Automation%20Products', 'SCRIPT_URI' => 'http://bdrel.com/product-details/27-Automation%20Products', 'SERVER_SIGNATURE' => '', 'SERVER_SOFTWARE' => 'Apache', 'SERVER_NAME' => 'bdrel.com', 'SERVER_ADDR' => '103.125.254.40', 'SERVER_PORT' => '80', 'REMOTE_ADDR' => '54.224.43.79', 'DOCUMENT_ROOT' => '/home/bdrelcom/public_html', 'REQUEST_SCHEME' => 'http', 'CONTEXT_PREFIX' => '', 'CONTEXT_DOCUMENT_ROOT' => '/home/bdrelcom/public_html', 'SERVER_ADMIN' => 'webmaster@bdrel.com', 'SCRIPT_FILENAME' => '/home/bdrelcom/public_html/webroot/index.php', 'REMOTE_PORT' => '40656', 'REDIRECT_URL' => '/webroot/product-details/27-Automation Products', 'SERVER_PROTOCOL' => 'HTTP/1.1', 'REQUEST_METHOD' => 'GET', 'QUERY_STRING' => '', 'REQUEST_URI' => '/product-details/27-Automation%2520Products', 'SCRIPT_NAME' => '/webroot/index.php', 'PHP_SELF' => '/webroot/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711688645.8587, 'REQUEST_TIME' => (int) 1711688645, 'argv' => [], 'argc' => (int) 0, 'ORIGINAL_REQUEST_METHOD' => 'GET', 'HTTP_X_REQUESTED_WITH' => null ] [protected] url => 'product-details/27-Automation%2520Products' [protected] base => '' [protected] webroot => '/' [protected] here => '/product-details/27-Automation%2520Products' [protected] trustedProxies => [] [protected] _input => null [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' ], 'flash' => [ 'env' => 'HTTP_USER_AGENT', 'pattern' => '/^(Shockwave|Adobe) Flash/' ], 'requested' => [ 'param' => 'requested', 'value' => (int) 1 ], 'json' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'json' ], 'xml' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'xml' ], 'mobile' => object(Closure) {}, 'tablet' => object(Closure) {} ] [protected] _detectorCache => [ 'ajax' => false, 'get' => true ] [protected] stream => object(Laminas\Diactoros\PhpInputStream) { [protected] resource => resource [protected] stream => 'php://input' [private] cache => '' [private] reachedEof => false } [protected] uri => object(Laminas\Diactoros\Uri) { base => '' webroot => '/' [protected] allowedSchemes => [ [maximum depth reached] ] [private] scheme => 'http' [private] userInfo => '' [private] host => 'bdrel.com' [private] port => null [private] path => '/product-details/27-Automation%2520Products' [private] query => '' [private] fragment => '' [private] uriString => null } [protected] session => object(Cake\Http\Session) { [protected] _engine => null [protected] _started => null [protected] _lifetime => (int) 48000 [protected] _isCLI => false } [protected] attributes => [] [protected] emulatedAttributes => [ (int) 0 => 'session', (int) 1 => 'webroot', (int) 2 => 'base', (int) 3 => 'params', (int) 4 => 'here' ] [protected] uploadedFiles => [] [protected] protocol => null [protected] requestTarget => null [private] deprecatedProperties => [ 'data' => [ 'get' => 'getData()', 'set' => 'withData()' ], 'query' => [ 'get' => 'getQuery()', 'set' => 'withQueryParams()' ], 'params' => [ 'get' => 'getParam()', 'set' => 'withParam()' ], 'cookies' => [ 'get' => 'getCookie()', 'set' => 'withCookieParams()' ], 'url' => [ 'get' => 'getPath()', 'set' => 'withRequestTarget()' ], 'base' => [ 'get' => 'getAttribute("base")', 'set' => 'withAttribute("base")' ], 'webroot' => [ 'get' => 'getAttribute("webroot")', 'set' => 'withAttribute("webroot")' ], 'here' => [ 'get' => 'getAttribute("here")', 'set' => 'withAttribute("here")' ] ] [private] mergeFilesAsObjects => false } object(Cake\Http\Response) { 'status' => (int) 200, 'contentType' => 'text/html', 'headers' => [ 'Content-Type' => [ (int) 0 => 'text/html; charset=UTF-8' ] ], 'file' => null, 'fileRange' => [], 'cookies' => object(Cake\Http\Cookie\CookieCollection) { [protected] cookies => [[maximum depth reached]] }, 'cacheDirectives' => [], 'body' => '' }
|
|
$dispatcher = DispatcherFactory::create(); |
|
$dispatcher->dispatch( |
|
Request::createFromGlobals(), |
|
new Response() |
|
); |
|
|
object(Cake\Http\ServerRequest) { trustProxy => false [protected] params => [ 'plugin' => null, 'controller' => 'Products', 'action' => 'productsDetails', '_ext' => null, 'pass' => [ (int) 0 => '27-Automation Products' ], 'Website' => (int) 1, '_matchedRoute' => '/product-details/*' ] [protected] data => [] [protected] query => [] [protected] cookies => [] [protected] _environment => [ 'PATH' => '/usr/local/bin:/usr/bin:/bin', 'TEMP' => '/tmp', 'TMP' => '/tmp', 'TMPDIR' => '/tmp', 'PWD' => '/', 'HTTP_ACCEPT' => '*/*', 'CONTENT_LENGTH' => '0', 'HTTP_HOST' => 'bdrel.com', 'HTTP_USER_AGENT' => 'claudebot', 'REDIRECT_REDIRECT_UNIQUE_ID' => 'ZgZLxT_CmTIgS0VH7awG0wAAAAE', 'REDIRECT_REDIRECT_SCRIPT_URL' => '/product-details/27-Automation%20Products', 'REDIRECT_REDIRECT_SCRIPT_URI' => 'http://bdrel.com/product-details/27-Automation%20Products', 'REDIRECT_REDIRECT_STATUS' => '200', 'REDIRECT_UNIQUE_ID' => 'ZgZLxT_CmTIgS0VH7awG0wAAAAE', 'REDIRECT_SCRIPT_URL' => '/product-details/27-Automation%20Products', 'REDIRECT_SCRIPT_URI' => 'http://bdrel.com/product-details/27-Automation%20Products', 'REDIRECT_STATUS' => '200', 'UNIQUE_ID' => 'ZgZLxT_CmTIgS0VH7awG0wAAAAE', 'SCRIPT_URL' => '/product-details/27-Automation%20Products', 'SCRIPT_URI' => 'http://bdrel.com/product-details/27-Automation%20Products', 'SERVER_SIGNATURE' => '', 'SERVER_SOFTWARE' => 'Apache', 'SERVER_NAME' => 'bdrel.com', 'SERVER_ADDR' => '103.125.254.40', 'SERVER_PORT' => '80', 'REMOTE_ADDR' => '54.224.43.79', 'DOCUMENT_ROOT' => '/home/bdrelcom/public_html', 'REQUEST_SCHEME' => 'http', 'CONTEXT_PREFIX' => '', 'CONTEXT_DOCUMENT_ROOT' => '/home/bdrelcom/public_html', 'SERVER_ADMIN' => 'webmaster@bdrel.com', 'SCRIPT_FILENAME' => '/home/bdrelcom/public_html/webroot/index.php', 'REMOTE_PORT' => '40656', 'REDIRECT_URL' => '/webroot/product-details/27-Automation Products', 'SERVER_PROTOCOL' => 'HTTP/1.1', 'REQUEST_METHOD' => 'GET', 'QUERY_STRING' => '', 'REQUEST_URI' => '/product-details/27-Automation%2520Products', 'SCRIPT_NAME' => '/webroot/index.php', 'PHP_SELF' => '/webroot/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711688645.8587, 'REQUEST_TIME' => (int) 1711688645, 'argv' => [], 'argc' => (int) 0, 'ORIGINAL_REQUEST_METHOD' => 'GET', 'HTTP_X_REQUESTED_WITH' => null ] [protected] url => 'product-details/27-Automation%2520Products' [protected] base => '' [protected] webroot => '/' [protected] here => '/product-details/27-Automation%2520Products' [protected] trustedProxies => [] [protected] _input => null [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' ], 'flash' => [ 'env' => 'HTTP_USER_AGENT', 'pattern' => '/^(Shockwave|Adobe) Flash/' ], 'requested' => [ 'param' => 'requested', 'value' => (int) 1 ], 'json' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'json' ], 'xml' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'xml' ], 'mobile' => object(Closure) {}, 'tablet' => object(Closure) {} ] [protected] _detectorCache => [ 'ajax' => false, 'get' => true ] [protected] stream => object(Laminas\Diactoros\PhpInputStream) { [protected] resource => resource [protected] stream => 'php://input' [private] cache => '' [private] reachedEof => false } [protected] uri => object(Laminas\Diactoros\Uri) { base => '' webroot => '/' [protected] allowedSchemes => [ [maximum depth reached] ] [private] scheme => 'http' [private] userInfo => '' [private] host => 'bdrel.com' [private] port => null [private] path => '/product-details/27-Automation%2520Products' [private] query => '' [private] fragment => '' [private] uriString => null } [protected] session => object(Cake\Http\Session) { [protected] _engine => null [protected] _started => null [protected] _lifetime => (int) 48000 [protected] _isCLI => false } [protected] attributes => [] [protected] emulatedAttributes => [ (int) 0 => 'session', (int) 1 => 'webroot', (int) 2 => 'base', (int) 3 => 'params', (int) 4 => 'here' ] [protected] uploadedFiles => [] [protected] protocol => null [protected] requestTarget => null [private] deprecatedProperties => [ 'data' => [ 'get' => 'getData()', 'set' => 'withData()' ], 'query' => [ 'get' => 'getQuery()', 'set' => 'withQueryParams()' ], 'params' => [ 'get' => 'getParam()', 'set' => 'withParam()' ], 'cookies' => [ 'get' => 'getCookie()', 'set' => 'withCookieParams()' ], 'url' => [ 'get' => 'getPath()', 'set' => 'withRequestTarget()' ], 'base' => [ 'get' => 'getAttribute("base")', 'set' => 'withAttribute("base")' ], 'webroot' => [ 'get' => 'getAttribute("webroot")', 'set' => 'withAttribute("webroot")' ], 'here' => [ 'get' => 'getAttribute("here")', 'set' => 'withAttribute("here")' ] ] [private] mergeFilesAsObjects => false } object(Cake\Http\Response) { 'status' => (int) 200, 'contentType' => 'text/html', 'headers' => [ 'Content-Type' => [ (int) 0 => 'text/html; charset=UTF-8' ] ], 'file' => null, 'fileRange' => [], 'cookies' => object(Cake\Http\Cookie\CookieCollection) { [protected] cookies => [[maximum depth reached]] }, 'cacheDirectives' => [], 'body' => '' }
If you want to customize this error message, create src/Template/Error/error500.ctp