Array
(
[index] => bb_products
[body] => Array
(
[query] => Array
(
[bool] => Array
(
[filter] => Array
(
[0] => Array
(
[term] => Array
(
[create_info.status] => 4
)
)
[1] => Array
(
[bool] => Array
(
[should] => Array
(
[0] => Array
(
[range] => Array
(
[price_city.hcm.regular] => Array
(
[gt] => 100
)
)
)
[1] => Array
(
[range] => Array
(
[price_city.all.regular] => Array
(
[gt] => 100
)
)
)
)
[minimum_should_match] => 1
)
)
)
[must_not] => Array
(
[0] => Array
(
[bool] => Array
(
[must] => Array
(
[0] => Array
(
[term] => Array
(
[shop_id] => 5cb41909ebe335f243e7c306
)
)
[1] => Array
(
[term] => Array
(
[is_combo] => 0
)
)
)
)
)
[1] => Array
(
[terms] => Array
(
[occasion_ids] => Array
(
[0] => 6249181e9950d767e845f047
)
)
)
)
[must] => Array
(
[0] => Array
(
[match] => Array
(
[db_model] => products
)
)
)
)
)
[aggs] => Array
(
[by_master] => Array
(
[terms] => Array
(
[field] => master_id
[size] => 84
)
[aggs] => Array
(
[top_sales_hits] => Array
(
[top_hits] => Array
(
[_source] => Array
(
[includes] => Array
(
[0] => _id
[1] => master_id
[2] => cate_ids
[3] => has_gift
[4] => flower_type
[5] => color
[6] => style_id
[7] => name
[8] => code
[9] => summary
[10] => relationship_ids
[11] => occasion_ids
[12] => images
[13] => review
[14] => quick_delivery
[15] => province_slug
[16] => thumb
[17] => prices
[18] => is_combo
[19] => combo_products
[20] => materials
[21] => intro
[22] => attributes
[23] => url_video
[24] => price_city
[25] => shop_id
[26] => design
[27] => at_home
[28] => flower_delay
[29] => source
)
)
[from] => 50
[size] => 52
)
)
)
)
)
)
[size] => 0
) 400 Bad Request: {"error":{"root_cause":[{"type":"illegal_argument_exception","reason":"Top hits result window is too large, the top hits aggregator [top_sales_hits]'s from + size must be less than or equal to: [100] but was [102]. This limit can be set by changing the [index.max_inner_result_window] index level setting."}],"type":"search_phase_execution_exception","reason":"all shards failed","phase":"query","grouped":true,"failed_shards":[{"shard":0,"index":"bb_products","node":"FP_dStN5TeCZaR_AVq27cg","reason":{"type":"illegal_argument_exception","reason":"Top hits result window is too large, the top hits aggregator [top_sales_hits]'s from + size must be less than or equal to: [100] but was [102]. This limit can be set by changing the [index.max_inner_result_window] index level setting."}}],"caused_by":{"type":"illegal_argument_exception","reason":"Top hits result window is too large, the top hits aggregator [top_sales_hits]'s from + size must be less than or equal to: [100] but was [102]. This limit can be set by changing the [index.max_inner_result_window] index level setting.","caused_by":{"type":"illegal_argument_exception","reason":"Top hits result window is too large, the top hits aggregator [top_sales_hits]'s from + size must be less than or equal to: [100] but was [102]. This limit can be set by changing the [index.max_inner_result_window] index level setting."}}},"status":400} App\Controller\Component\ElasticsearchComponent->search() - APP/Controller/Component/ExtProductComponent.php, line 7706
App\Controller\Component\ExtProductComponent->loadProductsN() - APP/Controller/Component/ExtProductComponent.php, line 7823
App\Controller\Component\ExtProductComponent->getProductSpecialConds() - APP/Controller/ProductsController.php, line 6495
App\Controller\ProductsController->newproducts() - CORE/src/Controller/Controller.php, line 505
Cake\Controller\Controller->invokeAction() - CORE/src/Controller/ControllerFactory.php, line 166
Cake\Controller\ControllerFactory->handle() - CORE/src/Controller/ControllerFactory.php, line 141
Cake\Controller\ControllerFactory->invoke() - CORE/src/Http/BaseApplication.php, line 362
Cake\Http\BaseApplication->handle() - CORE/src/Http/Runner.php, line 86
Cake\Http\Runner->handle() - CORE/src/Http/Middleware/CsrfProtectionMiddleware.php, line 169
Cake\Http\Middleware\CsrfProtectionMiddleware->process() - CORE/src/Http/Runner.php, line 82
Cake\Http\Runner->handle() - CORE/src/Http/Middleware/BodyParserMiddleware.php, line 157
Cake\Http\Middleware\BodyParserMiddleware->process() - CORE/src/Http/Runner.php, line 82
Cake\Http\Runner->handle() - CORE/src/Routing/Middleware/RoutingMiddleware.php, line 117
Cake\Routing\Middleware\RoutingMiddleware->process() - CORE/src/Http/Runner.php, line 82
Cake\Http\Runner->handle() - CORE/src/Routing/Middleware/AssetMiddleware.php, line 70
Cake\Routing\Middleware\AssetMiddleware->process() - CORE/src/Http/Runner.php, line 82
Cake\Http\Runner->handle() - CORE/src/Error/Middleware/ErrorHandlerMiddleware.php, line 115
Cake\Error\Middleware\ErrorHandlerMiddleware->process() - CORE/src/Http/Runner.php, line 82
Cake\Http\Runner->handle() - CORE/src/Http/Runner.php, line 60
Cake\Http\Runner->run() - CORE/src/Http/Server.php, line 104
Cake\Http\Server->run() - ROOT/webroot/index.php, line 39
[main] - [main], line 0
Warning (2)
: Trying to access array offset on null [in
/www_local/new.belovedbeyond.com/src/Controller/Component/ExtProductComponent.php , line
8259 ]
Code
return [ $mlist , $ret [ 'hits' ][ 'total' ][ 'value' ], $hasHoliday , $_ids ];
}
Cake\Error\ErrorTrap->handleError() /www_local/new.belovedbeyond.com/src/Controller/Component/ExtProductComponent.php, line 8259
App\Controller\Component\ExtProductComponent->_solveProductSearchResults() /www_local/new.belovedbeyond.com/src/Controller/Component/ExtProductComponent.php, line 7726
App\Controller\Component\ExtProductComponent->loadProductsN() /www_local/new.belovedbeyond.com/src/Controller/Component/ExtProductComponent.php, line 7823
App\Controller\Component\ExtProductComponent->getProductSpecialConds() /www_local/new.belovedbeyond.com/src/Controller/ProductsController.php, line 6495
App\Controller\ProductsController->newproducts() /www_local/new.belovedbeyond.com/vendor/cakephp/cakephp/src/Controller/Controller.php, line 505
Cake\Controller\Controller->invokeAction() /www_local/new.belovedbeyond.com/vendor/cakephp/cakephp/src/Controller/ControllerFactory.php, line 166
Cake\Controller\ControllerFactory->handle() /www_local/new.belovedbeyond.com/vendor/cakephp/cakephp/src/Controller/ControllerFactory.php, line 141
Cake\Controller\ControllerFactory->invoke() /www_local/new.belovedbeyond.com/vendor/cakephp/cakephp/src/Http/BaseApplication.php, line 362
Cake\Http\BaseApplication->handle() /www_local/new.belovedbeyond.com/vendor/cakephp/cakephp/src/Http/Runner.php, line 86
Cake\Http\Runner->handle() /www_local/new.belovedbeyond.com/vendor/cakephp/cakephp/src/Http/Middleware/CsrfProtectionMiddleware.php, line 169
Cake\Http\Middleware\CsrfProtectionMiddleware->process() /www_local/new.belovedbeyond.com/vendor/cakephp/cakephp/src/Http/Runner.php, line 82
Cake\Http\Runner->handle() /www_local/new.belovedbeyond.com/vendor/cakephp/cakephp/src/Http/Middleware/BodyParserMiddleware.php, line 157
Cake\Http\Middleware\BodyParserMiddleware->process() /www_local/new.belovedbeyond.com/vendor/cakephp/cakephp/src/Http/Runner.php, line 82
Cake\Http\Runner->handle() /www_local/new.belovedbeyond.com/vendor/cakephp/cakephp/src/Routing/Middleware/RoutingMiddleware.php, line 117
Cake\Routing\Middleware\RoutingMiddleware->process() /www_local/new.belovedbeyond.com/vendor/cakephp/cakephp/src/Http/Runner.php, line 82
Cake\Http\Runner->handle() /www_local/new.belovedbeyond.com/vendor/cakephp/cakephp/src/Routing/Middleware/AssetMiddleware.php, line 70
Cake\Routing\Middleware\AssetMiddleware->process() /www_local/new.belovedbeyond.com/vendor/cakephp/cakephp/src/Http/Runner.php, line 82
Cake\Http\Runner->handle() /www_local/new.belovedbeyond.com/vendor/cakephp/cakephp/src/Error/Middleware/ErrorHandlerMiddleware.php, line 115
Cake\Error\Middleware\ErrorHandlerMiddleware->process() /www_local/new.belovedbeyond.com/vendor/cakephp/cakephp/src/Http/Runner.php, line 82
Cake\Http\Runner->handle() /www_local/new.belovedbeyond.com/vendor/cakephp/cakephp/src/Http/Runner.php, line 60
Cake\Http\Runner->run() /www_local/new.belovedbeyond.com/vendor/cakephp/cakephp/src/Http/Server.php, line 104
Cake\Http\Server->run() /www_local/new.belovedbeyond.com/webroot/index.php, line 39
[main]
Warning (2)
: Trying to access array offset on null [in
/www_local/new.belovedbeyond.com/src/Controller/Component/ExtProductComponent.php , line
8259 ]
Code
return [ $mlist , $ret [ 'hits' ][ 'total' ][ 'value' ], $hasHoliday , $_ids ];
}
Cake\Error\ErrorTrap->handleError() /www_local/new.belovedbeyond.com/src/Controller/Component/ExtProductComponent.php, line 8259
App\Controller\Component\ExtProductComponent->_solveProductSearchResults() /www_local/new.belovedbeyond.com/src/Controller/Component/ExtProductComponent.php, line 7726
App\Controller\Component\ExtProductComponent->loadProductsN() /www_local/new.belovedbeyond.com/src/Controller/Component/ExtProductComponent.php, line 7823
App\Controller\Component\ExtProductComponent->getProductSpecialConds() /www_local/new.belovedbeyond.com/src/Controller/ProductsController.php, line 6495
App\Controller\ProductsController->newproducts() /www_local/new.belovedbeyond.com/vendor/cakephp/cakephp/src/Controller/Controller.php, line 505
Cake\Controller\Controller->invokeAction() /www_local/new.belovedbeyond.com/vendor/cakephp/cakephp/src/Controller/ControllerFactory.php, line 166
Cake\Controller\ControllerFactory->handle() /www_local/new.belovedbeyond.com/vendor/cakephp/cakephp/src/Controller/ControllerFactory.php, line 141
Cake\Controller\ControllerFactory->invoke() /www_local/new.belovedbeyond.com/vendor/cakephp/cakephp/src/Http/BaseApplication.php, line 362
Cake\Http\BaseApplication->handle() /www_local/new.belovedbeyond.com/vendor/cakephp/cakephp/src/Http/Runner.php, line 86
Cake\Http\Runner->handle() /www_local/new.belovedbeyond.com/vendor/cakephp/cakephp/src/Http/Middleware/CsrfProtectionMiddleware.php, line 169
Cake\Http\Middleware\CsrfProtectionMiddleware->process() /www_local/new.belovedbeyond.com/vendor/cakephp/cakephp/src/Http/Runner.php, line 82
Cake\Http\Runner->handle() /www_local/new.belovedbeyond.com/vendor/cakephp/cakephp/src/Http/Middleware/BodyParserMiddleware.php, line 157
Cake\Http\Middleware\BodyParserMiddleware->process() /www_local/new.belovedbeyond.com/vendor/cakephp/cakephp/src/Http/Runner.php, line 82
Cake\Http\Runner->handle() /www_local/new.belovedbeyond.com/vendor/cakephp/cakephp/src/Routing/Middleware/RoutingMiddleware.php, line 117
Cake\Routing\Middleware\RoutingMiddleware->process() /www_local/new.belovedbeyond.com/vendor/cakephp/cakephp/src/Http/Runner.php, line 82
Cake\Http\Runner->handle() /www_local/new.belovedbeyond.com/vendor/cakephp/cakephp/src/Routing/Middleware/AssetMiddleware.php, line 70
Cake\Routing\Middleware\AssetMiddleware->process() /www_local/new.belovedbeyond.com/vendor/cakephp/cakephp/src/Http/Runner.php, line 82
Cake\Http\Runner->handle() /www_local/new.belovedbeyond.com/vendor/cakephp/cakephp/src/Error/Middleware/ErrorHandlerMiddleware.php, line 115
Cake\Error\Middleware\ErrorHandlerMiddleware->process() /www_local/new.belovedbeyond.com/vendor/cakephp/cakephp/src/Http/Runner.php, line 82
Cake\Http\Runner->handle() /www_local/new.belovedbeyond.com/vendor/cakephp/cakephp/src/Http/Runner.php, line 60
Cake\Http\Runner->run() /www_local/new.belovedbeyond.com/vendor/cakephp/cakephp/src/Http/Server.php, line 104
Cake\Http\Server->run() /www_local/new.belovedbeyond.com/webroot/index.php, line 39
[main]
Warning (2)
: Trying to access array offset on null [in
/www_local/new.belovedbeyond.com/src/Controller/Component/ExtProductComponent.php , line
8259 ]
Code
return [ $mlist , $ret [ 'hits' ][ 'total' ][ 'value' ], $hasHoliday , $_ids ];
}
Cake\Error\ErrorTrap->handleError() /www_local/new.belovedbeyond.com/src/Controller/Component/ExtProductComponent.php, line 8259
App\Controller\Component\ExtProductComponent->_solveProductSearchResults() /www_local/new.belovedbeyond.com/src/Controller/Component/ExtProductComponent.php, line 7726
App\Controller\Component\ExtProductComponent->loadProductsN() /www_local/new.belovedbeyond.com/src/Controller/Component/ExtProductComponent.php, line 7823
App\Controller\Component\ExtProductComponent->getProductSpecialConds() /www_local/new.belovedbeyond.com/src/Controller/ProductsController.php, line 6495
App\Controller\ProductsController->newproducts() /www_local/new.belovedbeyond.com/vendor/cakephp/cakephp/src/Controller/Controller.php, line 505
Cake\Controller\Controller->invokeAction() /www_local/new.belovedbeyond.com/vendor/cakephp/cakephp/src/Controller/ControllerFactory.php, line 166
Cake\Controller\ControllerFactory->handle() /www_local/new.belovedbeyond.com/vendor/cakephp/cakephp/src/Controller/ControllerFactory.php, line 141
Cake\Controller\ControllerFactory->invoke() /www_local/new.belovedbeyond.com/vendor/cakephp/cakephp/src/Http/BaseApplication.php, line 362
Cake\Http\BaseApplication->handle() /www_local/new.belovedbeyond.com/vendor/cakephp/cakephp/src/Http/Runner.php, line 86
Cake\Http\Runner->handle() /www_local/new.belovedbeyond.com/vendor/cakephp/cakephp/src/Http/Middleware/CsrfProtectionMiddleware.php, line 169
Cake\Http\Middleware\CsrfProtectionMiddleware->process() /www_local/new.belovedbeyond.com/vendor/cakephp/cakephp/src/Http/Runner.php, line 82
Cake\Http\Runner->handle() /www_local/new.belovedbeyond.com/vendor/cakephp/cakephp/src/Http/Middleware/BodyParserMiddleware.php, line 157
Cake\Http\Middleware\BodyParserMiddleware->process() /www_local/new.belovedbeyond.com/vendor/cakephp/cakephp/src/Http/Runner.php, line 82
Cake\Http\Runner->handle() /www_local/new.belovedbeyond.com/vendor/cakephp/cakephp/src/Routing/Middleware/RoutingMiddleware.php, line 117
Cake\Routing\Middleware\RoutingMiddleware->process() /www_local/new.belovedbeyond.com/vendor/cakephp/cakephp/src/Http/Runner.php, line 82
Cake\Http\Runner->handle() /www_local/new.belovedbeyond.com/vendor/cakephp/cakephp/src/Routing/Middleware/AssetMiddleware.php, line 70
Cake\Routing\Middleware\AssetMiddleware->process() /www_local/new.belovedbeyond.com/vendor/cakephp/cakephp/src/Http/Runner.php, line 82
Cake\Http\Runner->handle() /www_local/new.belovedbeyond.com/vendor/cakephp/cakephp/src/Error/Middleware/ErrorHandlerMiddleware.php, line 115
Cake\Error\Middleware\ErrorHandlerMiddleware->process() /www_local/new.belovedbeyond.com/vendor/cakephp/cakephp/src/Http/Runner.php, line 82
Cake\Http\Runner->handle() /www_local/new.belovedbeyond.com/vendor/cakephp/cakephp/src/Http/Runner.php, line 60
Cake\Http\Runner->run() /www_local/new.belovedbeyond.com/vendor/cakephp/cakephp/src/Http/Server.php, line 104
Cake\Http\Server->run() /www_local/new.belovedbeyond.com/webroot/index.php, line 39
[main]
Warning (512)
: Unable to emit headers. Headers sent in file=/www_local/new.belovedbeyond.com/vendor/cakephp/cakephp/src/Core/functions.php line=209 [in
/www_local/new.belovedbeyond.com/vendor/cakephp/cakephp/src/Http/ResponseEmitter.php , line
65 ]
Code
$message = "Unable to emit headers. Headers sent in file= { $file } line= { $line } " ;
trigger_error ( $message , E_USER_WARNING );
}
Cake\Error\ErrorTrap->handleError() [internal], line ??
/www_local/new.belovedbeyond.com/vendor/cakephp/cakephp/src/Http/ResponseEmitter.php /www_local/new.belovedbeyond.com/vendor/cakephp/cakephp/src/Http/ResponseEmitter.php, line 65
Cake\Http\ResponseEmitter->emit() /www_local/new.belovedbeyond.com/vendor/cakephp/cakephp/src/Http/Server.php, line 148
Cake\Http\Server->emit() /www_local/new.belovedbeyond.com/webroot/index.php, line 39
[main]
Warning (2)
: Cannot modify header information - headers already sent by (output started at /www_local/new.belovedbeyond.com/vendor/cakephp/cakephp/src/Core/functions.php:209) [in
/www_local/new.belovedbeyond.com/vendor/cakephp/cakephp/src/Http/ResponseEmitter.php , line
159 ]
Code
$reasonPhrase = $response -> getReasonPhrase ();
header ( sprintf (
'HTTP/%s %d%s' ,
Cake\Error\ErrorTrap->handleError() [internal], line ??
/www_local/new.belovedbeyond.com/vendor/cakephp/cakephp/src/Http/ResponseEmitter.php /www_local/new.belovedbeyond.com/vendor/cakephp/cakephp/src/Http/ResponseEmitter.php, line 159
Cake\Http\ResponseEmitter->emitStatusLine() /www_local/new.belovedbeyond.com/vendor/cakephp/cakephp/src/Http/ResponseEmitter.php, line 68
Cake\Http\ResponseEmitter->emit() /www_local/new.belovedbeyond.com/vendor/cakephp/cakephp/src/Http/Server.php, line 148
Cake\Http\Server->emit() /www_local/new.belovedbeyond.com/webroot/index.php, line 39
[main]
Warning (2)
: Cannot modify header information - headers already sent by (output started at /www_local/new.belovedbeyond.com/vendor/cakephp/cakephp/src/Core/functions.php:209) [in
/www_local/new.belovedbeyond.com/vendor/cakephp/cakephp/src/Http/ResponseEmitter.php , line
192 ]
Code
foreach ( $values as $value ) {
header ( sprintf (
'%s: %s' ,
Cake\Error\ErrorTrap->handleError() [internal], line ??
/www_local/new.belovedbeyond.com/vendor/cakephp/cakephp/src/Http/ResponseEmitter.php /www_local/new.belovedbeyond.com/vendor/cakephp/cakephp/src/Http/ResponseEmitter.php, line 192
Cake\Http\ResponseEmitter->emitHeaders() /www_local/new.belovedbeyond.com/vendor/cakephp/cakephp/src/Http/ResponseEmitter.php, line 69
Cake\Http\ResponseEmitter->emit() /www_local/new.belovedbeyond.com/vendor/cakephp/cakephp/src/Http/Server.php, line 148
Cake\Http\Server->emit() /www_local/new.belovedbeyond.com/webroot/index.php, line 39
[main]
Error: count(): Argument #1 ($value) must be of type Countable|array, null given
APP/Controller/Component/ExtProductComponent.php at line 7831
(edit)
$page = ( $offset / $limit );
// pr($products);
$more = @ count ( $products ) > $limit ;
if ( $more ) {
array_pop ( $products );
}
$page = ( $offset / $limit );
// pr($products);
$more = @ count ( $products ) > $limit ;
if ( $more ) {
array_pop ( $products );
}
Toggle Arguments
$this -> loadComponent ( 'ExtProduct' );
//-----------------------------------------------------
// xuat ket qua
//-----------------------------------------------------
$ret = $this -> ExtProduct -> getProductSpecialConds ( $masterId , 'new' , $event );
$this -> set ( $ret );
$this -> Common -> setCountryInfo ();
Toggle Arguments
* @return void
*/
public function invokeAction ( Closure $action , array $args ): void
{
$result = $action (... $args );
if ( $result !== null ) {
assert (
$result instanceof Response ,
sprintf (
Toggle Arguments
$args = $this -> getActionArgs (
$action ,
array_values ((array) $controller -> getRequest ()-> getParam ( 'pass' )),
);
$controller -> invokeAction ( $action , $args );
$result = $controller -> shutdownProcess ();
if ( $result !== null ) {
return $result ;
Toggle Arguments
[
(int) 0 => 'qua-tang-noi-that' ,
(int) 1 => null ,
]
return $runner -> run ( $middlewareQueue , $controller -> getRequest (), $this );
}
return $this -> handle ( $controller -> getRequest ());
}
/**
* Invoke the action .
Toggle Arguments
object( Cake\Http\ServerRequest ) id: 0 {
trustProxy => false
protected params => [
'pass' => [
(int) 0 => 'qua-tang-noi-that' ,
] ,
'language' => '' ,
'country' => 'vietnam' ,
'master' => '' ,
'province' => 'hcm' ,
'district' => '' ,
'controller' => 'Products' ,
'action' => 'newproducts' ,
'?' => [
'page' => '52' ,
] ,
'plugin' => null ,
'_ext' => null ,
]
protected data => [
]
protected query => [
'page' => '52' ,
]
protected cookies => [
'csrfToken' => '7rpOqcFa1EPrbfSaL7zB0GNlMjE5MTZlYmYwYTMwODQ2YjNiNTMzNzA4M2NiNzFmYmZkZjRjMDI=' ,
'bnbp' => 'qh7lb0vhjngbdcrl6tug8s6k1p' ,
]
protected _environment => [
'USER' => 'nginx' ,
'HOME' => '/var/lib/nginx' ,
'HTTP_COOKIE' => 'csrfToken=7rpOqcFa1EPrbfSaL7zB0GNlMjE5MTZlYmYwYTMwODQ2YjNiNTMzNzA4M2NiNzFmYmZkZjRjMDI%3D; bnbp=qh7lb0vhjngbdcrl6tug8s6k1p' ,
'HTTP_ACCEPT_ENCODING' => 'gzip, br, zstd, deflate' ,
'HTTP_USER_AGENT' => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)' ,
'HTTP_ACCEPT' => '*/*' ,
'HTTP_HOST' => 'belovedbeyond.com' ,
'REDIRECT_STATUS' => '200' ,
'SERVER_NAME' => 'belovedbeyond.com' ,
'SERVER_PORT' => '443' ,
'SERVER_ADDR' => '10.0.1.22' ,
'REMOTE_PORT' => '31844' ,
'REMOTE_ADDR' => '216.73.216.200' ,
'SERVER_SOFTWARE' => 'nginx/1.14.1' ,
'GATEWAY_INTERFACE' => 'CGI/1.1' ,
'HTTPS' => 'on' ,
'REQUEST_SCHEME' => 'https' ,
'SERVER_PROTOCOL' => 'HTTP/2.0' ,
'DOCUMENT_ROOT' => '/www_local/new.belovedbeyond.com/webroot' ,
'DOCUMENT_URI' => '/index.php' ,
'REQUEST_URI' => '/id/vietnam/hcm/new-products/qua-tang-noi-that?page=52' ,
'SCRIPT_NAME' => '/index.php' ,
'CONTENT_LENGTH' => '' ,
'CONTENT_TYPE' => '' ,
'REQUEST_METHOD' => 'GET' ,
'QUERY_STRING' => 'page=52' ,
'SCRIPT_FILENAME' => '/www_local/new.belovedbeyond.com/webroot/index.php' ,
'FCGI_ROLE' => 'RESPONDER' ,
'PHP_SELF' => '/index.php' ,
'REQUEST_TIME_FLOAT' => (float) 1781615400.128 ,
'REQUEST_TIME' => (int) 1781615400 ,
'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' ,
] ,
'https' => [
'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] ,
] ,
'exclude' => [
'' => [maximum depth reached] ,
] ,
'param' => '_ext' ,
'value' => 'xml' ,
] ,
'mobile' => object( Closure ) id: 1 {
} ,
'tablet' => object( Closure ) id: 2 {
} ,
]
protected _detectorCache => [
]
protected stream => object( Laminas\Diactoros\Stream ) id: 3 {
protected resource => (resource (stream)) Resource id #5
protected stream => 'php://input'
}
protected uri => object( Laminas\Diactoros\Uri ) id: 4 {
protected allowedSchemes => [
'' => [maximum depth reached] ,
]
private scheme => 'https'
private userInfo => ''
private host => 'belovedbeyond.com'
private port => null
private path => '/id/vietnam/hcm/new-products/qua-tang-noi-that'
private query => 'page=52'
private fragment => ''
private uriString => null
}
protected session => object( Cake\Http\Session ) id: 5 {
protected _engine => object( App\Http\Session\BelovedSession ) id: 6 {
}
protected _started => true
protected _lifetime => (int) 155520000
protected _isCLI => false
protected headerSentInfo => null
}
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 => [
'route' => object( Cake\Routing\RouteBuilder ) id: 8 {
} ,
'csrfToken' => 'mI4cV7SDXbArpIvWDls7kpGzJW3qwe8T6tNtgvl/7hzQwFOjD4aWCW6mCFaSqjJ9uVR0YeTB6gt2NFL+ddmJ88DJf0wh5/pC8tYXXNPw2XaItV3jyk/WKOaiYME6taU+Xp47NfCdAxvbMhAH0KLaOQ==' ,
]
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
}
}
$controller = $this -> controllerFactory -> create ( $request );
return $this -> controllerFactory -> invoke ( $controller );
}
}
Toggle Arguments
object( App\Controller\ProductsController ) id: 0 {
name => 'Products'
paginate => [
'maxLimit' => (int) 100 ,
'page' => (int) 1 ,
'order' => [
] ,
]
Session => object( Cake\Http\Session ) id: 1 {
protected _engine => object( App\Http\Session\BelovedSession ) id: 2 {
}
protected _started => true
protected _lifetime => (int) 155520000
protected _isCLI => false
protected headerSentInfo => null
}
layout => 'admin'
isMobile => false
adminRuning => false
permit => false
allowedActions => [
(int) 0 => 'index' ,
(int) 1 => 'bosuutap' ,
(int) 2 => 'search' ,
(int) 3 => 'flower2010' ,
(int) 4 => 'orchids' ,
(int) 5 => 'flower2512' ,
(int) 6 => 'suggestion' ,
(int) 7 => 'kredivo' ,
(int) 8 => 'giftcard' ,
(int) 9 => 'confirm18' ,
(int) 10 => 'tetgift' ,
(int) 11 => 'plant2010' ,
(int) 12 => 'trungthu' ,
(int) 13 => 'detailmodal' ,
(int) 14 => 'event' ,
(int) 15 => 'giftfor' ,
(int) 16 => 'newproducts' ,
(int) 17 => 'bestsellers' ,
(int) 18 => 'hoale' ,
(int) 19 => 'hoadinhky' ,
(int) 20 => 'hoadinhkyDetail' ,
(int) 21 => 'home' ,
(int) 22 => 'comboitems' ,
(int) 23 => 'suggestion01' ,
(int) 24 => 'suggestion02' ,
(int) 25 => 'retail' ,
(int) 26 => 'more' ,
(int) 27 => 'tienloi' ,
(int) 28 => 'detail' ,
(int) 29 => 'hoaleDetail' ,
(int) 30 => 'viewpdetail' ,
(int) 31 => 'checkout' ,
(int) 32 => 'hoatienloi' ,
(int) 33 => 'getProvince' ,
(int) 34 => 'landing' ,
(int) 35 => 'cate' ,
(int) 36 => 'index' ,
(int) 37 => 'method' ,
(int) 38 => 'complete' ,
(int) 39 => 'logingoogle' ,
(int) 40 => 'test' ,
(int) 41 => 'embed' ,
(int) 42 => 'play' ,
(int) 43 => 'signup' ,
(int) 44 => 'done' ,
(int) 45 => 'result' ,
(int) 46 => 'a' ,
(int) 47 => 'json' ,
(int) 48 => 'checkaccount' ,
(int) 49 => 'event' ,
(int) 50 => 'coming' ,
(int) 51 => 'subscribe' ,
(int) 52 => 'view' ,
(int) 53 => 'quiz' ,
(int) 54 => 'wrong' ,
(int) 55 => 'login' ,
(int) 56 => 'newlogin' ,
(int) 57 => 'thankyou' ,
(int) 58 => 'registerfacebook' ,
(int) 59 => 'logout' ,
(int) 60 => 'load' ,
(int) 61 => 'verify' ,
]
crumbs => [
]
shop_id_default => '5cb41909ebe335f243e7c306'
elasticDB => 'bb'
countryInfo => [
'_id' => 'VN' ,
'create_info' => [
'created' => (int) 1376629391 ,
'create_user' => 'tuanngo.technical' ,
'_id' => '51eddfcaac8c95865a61ef16' ,
'model' => 'Business' ,
'status' => (float) 4 ,
'modified' => (int) 1761152158 ,
'modify_user' => '5ce2c3ee277035ae7332a134' ,
] ,
'created' => (int) 1343683947 ,
'device' => 'Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/28.0.1500.95 Safari/537.36' ,
'modified' => (int) 1343683947 ,
'name' => 'Việt Nam' ,
'priority' => (int) 228 ,
'contact' => [
'address' => '232/6 Võ Thị Sáu, Phường 7, Quận 3, TP HCM' ,
'name' => 'Nguyễn Tân Long' ,
'phone' => '035-680-5699' ,
'email' => 'info@xinhtuoi.online' ,
] ,
'elastic_db' => 'bb' ,
'hotline' => (float) 356805699 ,
'language' => 'vi' ,
'money_dec_point' => ',' ,
'money_decimal' => (float) 0 ,
'money_round' => (int) -3 ,
'money_symbol' => 'đ' ,
'money_thousand' => '.' ,
'mongo_db' => 'default' ,
'phone_code' => '+84' ,
'shop_id_default' => '5cb41909ebe335f243e7c306' ,
'slug' => 'vietnam' ,
'sort' => (float) 1 ,
'timezone' => '+07:00' ,
'usd_rate' => (float) 22500 ,
'city' => 'hcm' ,
'product_pre' => 'D' ,
'db_model' => 'countries' ,
'timezone_int_hour' => (int) 7 ,
]
masterInfo => [
'_id' => '6066c157066c9a03055f2b10' ,
'image_id' => '68cb881486b54933b303db01' ,
'upprice' => (float) 20 ,
'slug' => 'hoa-dep' ,
'focus' => (int) 1 ,
'short_desc' => null ,
'extras' => [
'sm_intro' => 'Kích thước cổ điển của thiết kế hoa, với sự cân bằng hoàn hảo của hoa.' ,
'sm_size' => '(Giống với hình mẫu)' ,
'md_intro' => 'Tăng số lượng hoa để tạo sự bất ngờ cho người nhận.' ,
'md_size' => '(Tăng 35% lượng hoa so với Size 1)' ,
'lg_intro' => 'Các lễ kỷ niệm quan trọng nhất xứng đáng với những thiết kế hoa lớn nhất.' ,
'lg_size' => '(Tăng 50% lượng hoa so với Size 1)' ,
] ,
'sort' => (float) 1 ,
'country_id' => 'VN' ,
'translate' => [
'vie' => [
'' => [maximum depth reached] ,
] ,
'eng' => [
'' => [maximum depth reached] ,
] ,
'kor' => [
'' => [maximum depth reached] ,
] ,
'zho' => [
'' => [maximum depth reached] ,
] ,
'jpn' => [
'' => [maximum depth reached] ,
] ,
'ind' => [
'' => [maximum depth reached] ,
] ,
] ,
'features' => [
(int) 0 => [
'' => [maximum depth reached] ,
] ,
(int) 1 => [
'' => [maximum depth reached] ,
] ,
(int) 2 => [
'' => [maximum depth reached] ,
] ,
(int) 3 => [
'' => [maximum depth reached] ,
] ,
(int) 4 => [
'' => [maximum depth reached] ,
] ,
(int) 5 => [
'' => [maximum depth reached] ,
] ,
] ,
'create_info' => [
'status' => (float) 4 ,
'created' => (int) 1617346903 ,
'modified' => (int) 1760496065 ,
'create_user' => '5ce2c3ee277035ae7332a134' ,
'modify_user' => '5ce2c3ee277035ae7332a134' ,
'created_str' => '02-04-2021, 14:01:43' ,
] ,
'commission' => (float) 15 ,
'register_url' => 'https://docs.google.com/forms/d/e/1FAIpQLSeY9zEd9FXBBxKlsHPG9NpGhqy-nN40Wh_YGWl43yP0pIdkKw/viewform' ,
'cms_benefit_id' => '5bbcca65652fe8586730d333' ,
'intro_banner_id' => '6452745ce6aad9b6d01008aa' ,
'allow_quickly' => (int) 1 ,
'cate_type' => (float) 1 ,
'allow_order' => (int) 1 ,
'show_extra' => (int) 0 ,
'home_title' => 'Hoa chúc mừng' ,
'prod_feature_id' => '64a55551be6e487ff200091c' ,
'db_model' => 'master_categories' ,
'is_type' => (float) 1 ,
'parent_id' => null ,
'type_id' => (float) 1 ,
'image' => 'https://cdn.belovedbeyond.com/photos/view/photos/300x0-cc/68cb881486b54933b303db01.cl.belove-beyond-personal-gift-platform.webp' ,
'intro_banner' => 'https://cdn.belovedbeyond.com/photos/view/photos/1140x177/6452745ce6aad9b6d01008aa.cl.belove-beyond-personal-gift-platform.webp' ,
'name' => 'Hoa ' ,
'intro' => 'Beloved & Beyond giới thiệu BST Hoa tươi mới nhất với hơn 10,000 mẫu hoa từ các shop uy tín toàn quốc. Dù là hoa sinh nhật, chúc mừng, khai trương hay chia buồn, bạn đều có thể dễ dàng chọn mẫu phù hợp ngay bên dưới.' ,
'top_banner_id' => '63c75984ab0ddd310c0f346d' ,
'top_banner_url' => 'https://cdn.belovedbeyond.com/photos/view/photos/larges/63c75984ab0ddd310c0f346d.belove-beyond-personal-gift-platform.webp' ,
]
theme => 'V01'
webview => false
isAPI => false
isAdmin => false
sellerApp => false
here => '/id/vietnam/hcm/new-products/qua-tang-noi-that'
condPost => [
]
_models => [
]
hideSlider => false
timezone => (int) 7
admin_fields_get => [
(int) 0 => '_id' ,
]
User => object( App\Model\Table\UsersTable ) id: 3 {
'registryAlias' => 'Users'
'table' => 'users'
'alias' => 'Users'
'entityClass' => 'App\Model\Entity\User'
'associations' => [
]
'behaviors' => [
]
'defaultConnection' => 'default'
'connectionName' => 'default'
}
Product => object( App\Model\Table\ProductsTable ) id: 4 {
'registryAlias' => 'Products'
'table' => 'products'
'alias' => 'Products'
'entityClass' => 'App\Model\Entity\Product'
'associations' => [
]
'behaviors' => [
]
'defaultConnection' => 'default'
'connectionName' => 'default'
}
Category => object( App\Model\Table\CategoriesTable ) id: 5 {
'registryAlias' => 'Categories'
'table' => 'categories'
'alias' => 'Categories'
'entityClass' => 'App\Model\Entity\Category'
'associations' => [
]
'behaviors' => [
]
'defaultConnection' => 'default'
'connectionName' => 'default'
}
Shop => object( App\Model\Table\ShopsTable ) id: 6 {
'registryAlias' => 'Shops'
'table' => 'shops'
'alias' => 'Shops'
'entityClass' => 'App\Model\Entity\Shop'
'associations' => [
]
'behaviors' => [
]
'defaultConnection' => 'default'
'connectionName' => 'default'
}
District => object( App\Model\Table\DistrictsTable ) id: 7 {
'registryAlias' => 'Districts'
'table' => 'districts'
'alias' => 'Districts'
'entityClass' => 'App\Model\Entity\District'
'associations' => [
]
'behaviors' => [
]
'defaultConnection' => 'default'
'connectionName' => 'default'
}
Language => object( App\Model\Table\LanguagesTable ) id: 8 {
'registryAlias' => 'Languages'
'table' => 'languages'
'alias' => 'Languages'
'entityClass' => 'App\Model\Entity\Language'
'associations' => [
]
'behaviors' => [
]
'defaultConnection' => 'default'
'connectionName' => 'default'
}
Codetbl => object( App\Model\Table\CodetblsTable ) id: 9 {
'registryAlias' => 'Codetbls'
'table' => 'codetbls'
'alias' => 'Codetbls'
'entityClass' => 'App\Model\Entity\Codetbl'
'associations' => [
]
'behaviors' => [
]
'defaultConnection' => 'default'
'connectionName' => 'default'
}
protected _data => [
]
protected request => object( Cake\Http\ServerRequest ) id: 10 {
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\Stream ) id: 11 {
}
protected uri => object( Laminas\Diactoros\Uri ) id: 12 {
}
protected session => object( Cake\Http\Session ) id: 1 {}
protected flash => object( Cake\Http\FlashMessage ) id: 13 {
}
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: 14 {
'status' => (int) 200
'contentType' => 'text/html'
'headers' => [
'Content-Type' => [
'' => [maximum depth reached] ,
] ,
]
'file' => null
'fileRange' => [
]
'cookies' => object( Cake\Http\Cookie\CookieCollection ) id: 15 {
}
'cacheDirectives' => [
]
'body' => ''
}
protected autoRender => true
protected _components => object( Cake\Controller\ComponentRegistry ) id: 16 {
'_loaded' => [
(int) 0 => 'Auth' ,
(int) 1 => 'Cookie' ,
(int) 2 => 'MobileDetect' ,
(int) 3 => 'Elasticsearch' ,
(int) 4 => 'Flash' ,
(int) 5 => 'Common' ,
(int) 6 => 'ExtGrant' ,
(int) 7 => 'File' ,
(int) 8 => 'ExtAws' ,
(int) 9 => 'ExtBillLog' ,
(int) 10 => 'ExtProduct' ,
(int) 11 => 'ExtReview' ,
(int) 12 => 'ExtProvince' ,
(int) 13 => 'Excel' ,
(int) 14 => 'ExtBill' ,
(int) 15 => 'ExtCheckout' ,
(int) 16 => 'ExtShop' ,
(int) 17 => 'ExtPromotion' ,
(int) 18 => 'ExtShopHoliday' ,
(int) 19 => 'ExtUser' ,
(int) 20 => 'ExtOccasion' ,
(int) 21 => 'ExtMasterCategory' ,
(int) 22 => 'ExtCategory' ,
]
'_Controller' => object( App\Controller\ProductsController ) id: 0 {}
'container' => object( Cake\Core\Container ) id: 17 {
}
'_eventManager' => object( Cake\Event\EventManager ) id: 18 {
}
'_eventClass' => 'Cake\Event\Event'
}
protected plugin => null
protected middlewares => [
]
protected viewClasses => [
]
protected _eventManager => object( Cake\Event\EventManager ) id: 18 {}
protected _eventClass => 'Cake\Event\Event'
protected defaultTable => 'Products'
protected _tableLocator => object( Cake\ORM\Locator\TableLocator ) id: 19 {
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 => false
protected queryFactory => object( Cake\ORM\Query\QueryFactory ) id: 20 {
}
protected options => [
'' => [maximum depth reached] ,
]
}
protected _viewBuilder => object( Cake\View\ViewBuilder ) id: 21 {
protected _templatePath => null
protected _template => null
protected _plugin => null
protected _theme => null
protected _layout => null
protected _autoLayout => true
protected _layoutPath => null
protected _name => null
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 );
}
return new Response ([
'body' => 'Middleware queue was exhausted without returning a response '
Toggle Arguments
object( Cake\Http\ServerRequest ) id: 0 {
trustProxy => false
protected params => [
'pass' => [
(int) 0 => 'qua-tang-noi-that' ,
] ,
'language' => '' ,
'country' => 'vietnam' ,
'master' => '' ,
'province' => 'hcm' ,
'district' => '' ,
'controller' => 'Products' ,
'action' => 'newproducts' ,
'?' => [
'page' => '52' ,
] ,
'plugin' => null ,
'_ext' => null ,
]
protected data => [
]
protected query => [
'page' => '52' ,
]
protected cookies => [
'csrfToken' => '7rpOqcFa1EPrbfSaL7zB0GNlMjE5MTZlYmYwYTMwODQ2YjNiNTMzNzA4M2NiNzFmYmZkZjRjMDI=' ,
'bnbp' => 'qh7lb0vhjngbdcrl6tug8s6k1p' ,
]
protected _environment => [
'USER' => 'nginx' ,
'HOME' => '/var/lib/nginx' ,
'HTTP_COOKIE' => 'csrfToken=7rpOqcFa1EPrbfSaL7zB0GNlMjE5MTZlYmYwYTMwODQ2YjNiNTMzNzA4M2NiNzFmYmZkZjRjMDI%3D; bnbp=qh7lb0vhjngbdcrl6tug8s6k1p' ,
'HTTP_ACCEPT_ENCODING' => 'gzip, br, zstd, deflate' ,
'HTTP_USER_AGENT' => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)' ,
'HTTP_ACCEPT' => '*/*' ,
'HTTP_HOST' => 'belovedbeyond.com' ,
'REDIRECT_STATUS' => '200' ,
'SERVER_NAME' => 'belovedbeyond.com' ,
'SERVER_PORT' => '443' ,
'SERVER_ADDR' => '10.0.1.22' ,
'REMOTE_PORT' => '31844' ,
'REMOTE_ADDR' => '216.73.216.200' ,
'SERVER_SOFTWARE' => 'nginx/1.14.1' ,
'GATEWAY_INTERFACE' => 'CGI/1.1' ,
'HTTPS' => 'on' ,
'REQUEST_SCHEME' => 'https' ,
'SERVER_PROTOCOL' => 'HTTP/2.0' ,
'DOCUMENT_ROOT' => '/www_local/new.belovedbeyond.com/webroot' ,
'DOCUMENT_URI' => '/index.php' ,
'REQUEST_URI' => '/id/vietnam/hcm/new-products/qua-tang-noi-that?page=52' ,
'SCRIPT_NAME' => '/index.php' ,
'CONTENT_LENGTH' => '' ,
'CONTENT_TYPE' => '' ,
'REQUEST_METHOD' => 'GET' ,
'QUERY_STRING' => 'page=52' ,
'SCRIPT_FILENAME' => '/www_local/new.belovedbeyond.com/webroot/index.php' ,
'FCGI_ROLE' => 'RESPONDER' ,
'PHP_SELF' => '/index.php' ,
'REQUEST_TIME_FLOAT' => (float) 1781615400.128 ,
'REQUEST_TIME' => (int) 1781615400 ,
'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' ,
] ,
'https' => [
'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] ,
] ,
'exclude' => [
'' => [maximum depth reached] ,
] ,
'param' => '_ext' ,
'value' => 'xml' ,
] ,
'mobile' => object( Closure ) id: 1 {
} ,
'tablet' => object( Closure ) id: 2 {
} ,
]
protected _detectorCache => [
]
protected stream => object( Laminas\Diactoros\Stream ) id: 3 {
protected resource => (resource (stream)) Resource id #5
protected stream => 'php://input'
}
protected uri => object( Laminas\Diactoros\Uri ) id: 4 {
protected allowedSchemes => [
'' => [maximum depth reached] ,
]
private scheme => 'https'
private userInfo => ''
private host => 'belovedbeyond.com'
private port => null
private path => '/id/vietnam/hcm/new-products/qua-tang-noi-that'
private query => 'page=52'
private fragment => ''
private uriString => null
}
protected session => object( Cake\Http\Session ) id: 5 {
protected _engine => object( App\Http\Session\BelovedSession ) id: 6 {
}
protected _started => true
protected _lifetime => (int) 155520000
protected _isCLI => false
protected headerSentInfo => null
}
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 => [
'route' => object( Cake\Routing\RouteBuilder ) id: 8 {
} ,
'csrfToken' => 'mI4cV7SDXbArpIvWDls7kpGzJW3qwe8T6tNtgvl/7hzQwFOjD4aWCW6mCFaSqjJ9uVR0YeTB6gt2NFL+ddmJ88DJf0wh5/pC8tYXXNPw2XaItV3jyk/WKOaiYME6taU+Xp47NfCdAxvbMhAH0KLaOQ==' ,
]
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 -> _validateToken ( $request );
$request = $this -> _unsetTokenField ( $request );
}
return $handler -> handle ( $request );
}
/**
* Set callback for allowing to skip token check for particular request .
Toggle Arguments
object( Cake\Http\ServerRequest ) id: 0 {
trustProxy => false
protected params => [
'pass' => [
(int) 0 => 'qua-tang-noi-that' ,
] ,
'language' => '' ,
'country' => 'vietnam' ,
'master' => '' ,
'province' => 'hcm' ,
'district' => '' ,
'controller' => 'Products' ,
'action' => 'newproducts' ,
'?' => [
'page' => '52' ,
] ,
'plugin' => null ,
'_ext' => null ,
]
protected data => [
]
protected query => [
'page' => '52' ,
]
protected cookies => [
'csrfToken' => '7rpOqcFa1EPrbfSaL7zB0GNlMjE5MTZlYmYwYTMwODQ2YjNiNTMzNzA4M2NiNzFmYmZkZjRjMDI=' ,
'bnbp' => 'qh7lb0vhjngbdcrl6tug8s6k1p' ,
]
protected _environment => [
'USER' => 'nginx' ,
'HOME' => '/var/lib/nginx' ,
'HTTP_COOKIE' => 'csrfToken=7rpOqcFa1EPrbfSaL7zB0GNlMjE5MTZlYmYwYTMwODQ2YjNiNTMzNzA4M2NiNzFmYmZkZjRjMDI%3D; bnbp=qh7lb0vhjngbdcrl6tug8s6k1p' ,
'HTTP_ACCEPT_ENCODING' => 'gzip, br, zstd, deflate' ,
'HTTP_USER_AGENT' => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)' ,
'HTTP_ACCEPT' => '*/*' ,
'HTTP_HOST' => 'belovedbeyond.com' ,
'REDIRECT_STATUS' => '200' ,
'SERVER_NAME' => 'belovedbeyond.com' ,
'SERVER_PORT' => '443' ,
'SERVER_ADDR' => '10.0.1.22' ,
'REMOTE_PORT' => '31844' ,
'REMOTE_ADDR' => '216.73.216.200' ,
'SERVER_SOFTWARE' => 'nginx/1.14.1' ,
'GATEWAY_INTERFACE' => 'CGI/1.1' ,
'HTTPS' => 'on' ,
'REQUEST_SCHEME' => 'https' ,
'SERVER_PROTOCOL' => 'HTTP/2.0' ,
'DOCUMENT_ROOT' => '/www_local/new.belovedbeyond.com/webroot' ,
'DOCUMENT_URI' => '/index.php' ,
'REQUEST_URI' => '/id/vietnam/hcm/new-products/qua-tang-noi-that?page=52' ,
'SCRIPT_NAME' => '/index.php' ,
'CONTENT_LENGTH' => '' ,
'CONTENT_TYPE' => '' ,
'REQUEST_METHOD' => 'GET' ,
'QUERY_STRING' => 'page=52' ,
'SCRIPT_FILENAME' => '/www_local/new.belovedbeyond.com/webroot/index.php' ,
'FCGI_ROLE' => 'RESPONDER' ,
'PHP_SELF' => '/index.php' ,
'REQUEST_TIME_FLOAT' => (float) 1781615400.128 ,
'REQUEST_TIME' => (int) 1781615400 ,
'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' ,
] ,
'https' => [
'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] ,
] ,
'exclude' => [
'' => [maximum depth reached] ,
] ,
'param' => '_ext' ,
'value' => 'xml' ,
] ,
'mobile' => object( Closure ) id: 1 {
} ,
'tablet' => object( Closure ) id: 2 {
} ,
]
protected _detectorCache => [
]
protected stream => object( Laminas\Diactoros\Stream ) id: 3 {
protected resource => (resource (stream)) Resource id #5
protected stream => 'php://input'
}
protected uri => object( Laminas\Diactoros\Uri ) id: 4 {
protected allowedSchemes => [
'' => [maximum depth reached] ,
]
private scheme => 'https'
private userInfo => ''
private host => 'belovedbeyond.com'
private port => null
private path => '/id/vietnam/hcm/new-products/qua-tang-noi-that'
private query => 'page=52'
private fragment => ''
private uriString => null
}
protected session => object( Cake\Http\Session ) id: 5 {
protected _engine => object( App\Http\Session\BelovedSession ) id: 6 {
}
protected _started => true
protected _lifetime => (int) 155520000
protected _isCLI => false
protected headerSentInfo => null
}
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 => [
'route' => object( Cake\Routing\RouteBuilder ) id: 8 {
} ,
'csrfToken' => 'mI4cV7SDXbArpIvWDls7kpGzJW3qwe8T6tNtgvl/7hzQwFOjD4aWCW6mCFaSqjJ9uVR0YeTB6gt2NFL+ddmJ88DJf0wh5/pC8tYXXNPw2XaItV3jyk/WKOaiYME6taU+Xp47NfCdAxvbMhAH0KLaOQ==' ,
]
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 );
Toggle Arguments
object( Cake\Http\ServerRequest ) id: 0 {
trustProxy => false
protected params => [
'pass' => [
(int) 0 => 'qua-tang-noi-that' ,
] ,
'language' => '' ,
'country' => 'vietnam' ,
'master' => '' ,
'province' => 'hcm' ,
'district' => '' ,
'controller' => 'Products' ,
'action' => 'newproducts' ,
'?' => [
'page' => '52' ,
] ,
'plugin' => null ,
'_ext' => null ,
]
protected data => [
]
protected query => [
'page' => '52' ,
]
protected cookies => [
'csrfToken' => '7rpOqcFa1EPrbfSaL7zB0GNlMjE5MTZlYmYwYTMwODQ2YjNiNTMzNzA4M2NiNzFmYmZkZjRjMDI=' ,
'bnbp' => 'qh7lb0vhjngbdcrl6tug8s6k1p' ,
]
protected _environment => [
'USER' => 'nginx' ,
'HOME' => '/var/lib/nginx' ,
'HTTP_COOKIE' => 'csrfToken=7rpOqcFa1EPrbfSaL7zB0GNlMjE5MTZlYmYwYTMwODQ2YjNiNTMzNzA4M2NiNzFmYmZkZjRjMDI%3D; bnbp=qh7lb0vhjngbdcrl6tug8s6k1p' ,
'HTTP_ACCEPT_ENCODING' => 'gzip, br, zstd, deflate' ,
'HTTP_USER_AGENT' => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)' ,
'HTTP_ACCEPT' => '*/*' ,
'HTTP_HOST' => 'belovedbeyond.com' ,
'REDIRECT_STATUS' => '200' ,
'SERVER_NAME' => 'belovedbeyond.com' ,
'SERVER_PORT' => '443' ,
'SERVER_ADDR' => '10.0.1.22' ,
'REMOTE_PORT' => '31844' ,
'REMOTE_ADDR' => '216.73.216.200' ,
'SERVER_SOFTWARE' => 'nginx/1.14.1' ,
'GATEWAY_INTERFACE' => 'CGI/1.1' ,
'HTTPS' => 'on' ,
'REQUEST_SCHEME' => 'https' ,
'SERVER_PROTOCOL' => 'HTTP/2.0' ,
'DOCUMENT_ROOT' => '/www_local/new.belovedbeyond.com/webroot' ,
'DOCUMENT_URI' => '/index.php' ,
'REQUEST_URI' => '/id/vietnam/hcm/new-products/qua-tang-noi-that?page=52' ,
'SCRIPT_NAME' => '/index.php' ,
'CONTENT_LENGTH' => '' ,
'CONTENT_TYPE' => '' ,
'REQUEST_METHOD' => 'GET' ,
'QUERY_STRING' => 'page=52' ,
'SCRIPT_FILENAME' => '/www_local/new.belovedbeyond.com/webroot/index.php' ,
'FCGI_ROLE' => 'RESPONDER' ,
'PHP_SELF' => '/index.php' ,
'REQUEST_TIME_FLOAT' => (float) 1781615400.128 ,
'REQUEST_TIME' => (int) 1781615400 ,
'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' ,
] ,
'https' => [
'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] ,
] ,
'exclude' => [
'' => [maximum depth reached] ,
] ,
'param' => '_ext' ,
'value' => 'xml' ,
] ,
'mobile' => object( Closure ) id: 1 {
} ,
'tablet' => object( Closure ) id: 2 {
} ,
]
protected _detectorCache => [
]
protected stream => object( Laminas\Diactoros\Stream ) id: 3 {
protected resource => (resource (stream)) Resource id #5
protected stream => 'php://input'
}
protected uri => object( Laminas\Diactoros\Uri ) id: 4 {
protected allowedSchemes => [
'' => [maximum depth reached] ,
]
private scheme => 'https'
private userInfo => ''
private host => 'belovedbeyond.com'
private port => null
private path => '/id/vietnam/hcm/new-products/qua-tang-noi-that'
private query => 'page=52'
private fragment => ''
private uriString => null
}
protected session => object( Cake\Http\Session ) id: 5 {
protected _engine => object( App\Http\Session\BelovedSession ) id: 6 {
}
protected _started => true
protected _lifetime => (int) 155520000
protected _isCLI => false
protected headerSentInfo => null
}
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 => [
'route' => object( Cake\Routing\RouteBuilder ) id: 8 {
} ,
'csrfToken' => 'mI4cV7SDXbArpIvWDls7kpGzJW3qwe8T6tNtgvl/7hzQwFOjD4aWCW6mCFaSqjJ9uVR0YeTB6gt2NFL+ddmJ88DJf0wh5/pC8tYXXNPw2XaItV3jyk/WKOaiYME6taU+Xp47NfCdAxvbMhAH0KLaOQ==' ,
]
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) 5
protected queue => [
'' => [maximum depth reached] ,
]
protected container => object( Cake\Core\Container ) id: 2 {
}
}
protected fallbackHandler => object( App\Application ) id: 3 {
protected configDir => '/www_local/new.belovedbeyond.com/config/'
protected plugins => object( Cake\Core\PluginCollection ) id: 4 {
}
protected controllerFactory => object( Cake\Controller\ControllerFactory ) id: 5 {
}
protected container => object( Cake\Core\Container ) id: 2 {}
protected _eventManager => object( Cake\Event\EventManager ) id: 6 {
}
protected _eventClass => 'Cake\Event\Event'
}
}
*/
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 ])) {
Toggle Arguments
object( Cake\Http\ServerRequest ) id: 0 {
trustProxy => false
protected params => [
'pass' => [
(int) 0 => 'qua-tang-noi-that' ,
] ,
'language' => '' ,
'country' => 'vietnam' ,
'master' => '' ,
'province' => 'hcm' ,
'district' => '' ,
'controller' => 'Products' ,
'action' => 'newproducts' ,
'?' => [
'page' => '52' ,
] ,
'plugin' => null ,
'_ext' => null ,
]
protected data => [
]
protected query => [
'page' => '52' ,
]
protected cookies => [
'csrfToken' => '7rpOqcFa1EPrbfSaL7zB0GNlMjE5MTZlYmYwYTMwODQ2YjNiNTMzNzA4M2NiNzFmYmZkZjRjMDI=' ,
'bnbp' => 'qh7lb0vhjngbdcrl6tug8s6k1p' ,
]
protected _environment => [
'USER' => 'nginx' ,
'HOME' => '/var/lib/nginx' ,
'HTTP_COOKIE' => 'csrfToken=7rpOqcFa1EPrbfSaL7zB0GNlMjE5MTZlYmYwYTMwODQ2YjNiNTMzNzA4M2NiNzFmYmZkZjRjMDI%3D; bnbp=qh7lb0vhjngbdcrl6tug8s6k1p' ,
'HTTP_ACCEPT_ENCODING' => 'gzip, br, zstd, deflate' ,
'HTTP_USER_AGENT' => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)' ,
'HTTP_ACCEPT' => '*/*' ,
'HTTP_HOST' => 'belovedbeyond.com' ,
'REDIRECT_STATUS' => '200' ,
'SERVER_NAME' => 'belovedbeyond.com' ,
'SERVER_PORT' => '443' ,
'SERVER_ADDR' => '10.0.1.22' ,
'REMOTE_PORT' => '31844' ,
'REMOTE_ADDR' => '216.73.216.200' ,
'SERVER_SOFTWARE' => 'nginx/1.14.1' ,
'GATEWAY_INTERFACE' => 'CGI/1.1' ,
'HTTPS' => 'on' ,
'REQUEST_SCHEME' => 'https' ,
'SERVER_PROTOCOL' => 'HTTP/2.0' ,
'DOCUMENT_ROOT' => '/www_local/new.belovedbeyond.com/webroot' ,
'DOCUMENT_URI' => '/index.php' ,
'REQUEST_URI' => '/id/vietnam/hcm/new-products/qua-tang-noi-that?page=52' ,
'SCRIPT_NAME' => '/index.php' ,
'CONTENT_LENGTH' => '' ,
'CONTENT_TYPE' => '' ,
'REQUEST_METHOD' => 'GET' ,
'QUERY_STRING' => 'page=52' ,
'SCRIPT_FILENAME' => '/www_local/new.belovedbeyond.com/webroot/index.php' ,
'FCGI_ROLE' => 'RESPONDER' ,
'PHP_SELF' => '/index.php' ,
'REQUEST_TIME_FLOAT' => (float) 1781615400.128 ,
'REQUEST_TIME' => (int) 1781615400 ,
'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' ,
] ,
'https' => [
'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] ,
] ,
'exclude' => [
'' => [maximum depth reached] ,
] ,
'param' => '_ext' ,
'value' => 'xml' ,
] ,
'mobile' => object( Closure ) id: 1 {
} ,
'tablet' => object( Closure ) id: 2 {
} ,
]
protected _detectorCache => [
]
protected stream => object( Laminas\Diactoros\Stream ) id: 3 {
protected resource => (resource (stream)) Resource id #5
protected stream => 'php://input'
}
protected uri => object( Laminas\Diactoros\Uri ) id: 4 {
protected allowedSchemes => [
'' => [maximum depth reached] ,
]
private scheme => 'https'
private userInfo => ''
private host => 'belovedbeyond.com'
private port => null
private path => '/id/vietnam/hcm/new-products/qua-tang-noi-that'
private query => 'page=52'
private fragment => ''
private uriString => null
}
protected session => object( Cake\Http\Session ) id: 5 {
protected _engine => object( App\Http\Session\BelovedSession ) id: 6 {
}
protected _started => true
protected _lifetime => (int) 155520000
protected _isCLI => false
protected headerSentInfo => null
}
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 => [
'route' => object( Cake\Routing\RouteBuilder ) id: 8 {
} ,
]
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 );
Toggle Arguments
object( Cake\Http\ServerRequest ) id: 0 {
trustProxy => false
protected params => [
'pass' => [
(int) 0 => 'qua-tang-noi-that' ,
] ,
'language' => '' ,
'country' => 'vietnam' ,
'master' => '' ,
'province' => 'hcm' ,
'district' => '' ,
'controller' => 'Products' ,
'action' => 'newproducts' ,
'?' => [
'page' => '52' ,
] ,
'plugin' => null ,
'_ext' => null ,
]
protected data => [
]
protected query => [
'page' => '52' ,
]
protected cookies => [
'csrfToken' => '7rpOqcFa1EPrbfSaL7zB0GNlMjE5MTZlYmYwYTMwODQ2YjNiNTMzNzA4M2NiNzFmYmZkZjRjMDI=' ,
'bnbp' => 'qh7lb0vhjngbdcrl6tug8s6k1p' ,
]
protected _environment => [
'USER' => 'nginx' ,
'HOME' => '/var/lib/nginx' ,
'HTTP_COOKIE' => 'csrfToken=7rpOqcFa1EPrbfSaL7zB0GNlMjE5MTZlYmYwYTMwODQ2YjNiNTMzNzA4M2NiNzFmYmZkZjRjMDI%3D; bnbp=qh7lb0vhjngbdcrl6tug8s6k1p' ,
'HTTP_ACCEPT_ENCODING' => 'gzip, br, zstd, deflate' ,
'HTTP_USER_AGENT' => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)' ,
'HTTP_ACCEPT' => '*/*' ,
'HTTP_HOST' => 'belovedbeyond.com' ,
'REDIRECT_STATUS' => '200' ,
'SERVER_NAME' => 'belovedbeyond.com' ,
'SERVER_PORT' => '443' ,
'SERVER_ADDR' => '10.0.1.22' ,
'REMOTE_PORT' => '31844' ,
'REMOTE_ADDR' => '216.73.216.200' ,
'SERVER_SOFTWARE' => 'nginx/1.14.1' ,
'GATEWAY_INTERFACE' => 'CGI/1.1' ,
'HTTPS' => 'on' ,
'REQUEST_SCHEME' => 'https' ,
'SERVER_PROTOCOL' => 'HTTP/2.0' ,
'DOCUMENT_ROOT' => '/www_local/new.belovedbeyond.com/webroot' ,
'DOCUMENT_URI' => '/index.php' ,
'REQUEST_URI' => '/id/vietnam/hcm/new-products/qua-tang-noi-that?page=52' ,
'SCRIPT_NAME' => '/index.php' ,
'CONTENT_LENGTH' => '' ,
'CONTENT_TYPE' => '' ,
'REQUEST_METHOD' => 'GET' ,
'QUERY_STRING' => 'page=52' ,
'SCRIPT_FILENAME' => '/www_local/new.belovedbeyond.com/webroot/index.php' ,
'FCGI_ROLE' => 'RESPONDER' ,
'PHP_SELF' => '/index.php' ,
'REQUEST_TIME_FLOAT' => (float) 1781615400.128 ,
'REQUEST_TIME' => (int) 1781615400 ,
'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' ,
] ,
'https' => [
'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] ,
] ,
'exclude' => [
'' => [maximum depth reached] ,
] ,
'param' => '_ext' ,
'value' => 'xml' ,
] ,
'mobile' => object( Closure ) id: 1 {
} ,
'tablet' => object( Closure ) id: 2 {
} ,
]
protected _detectorCache => [
]
protected stream => object( Laminas\Diactoros\Stream ) id: 3 {
protected resource => (resource (stream)) Resource id #5
protected stream => 'php://input'
}
protected uri => object( Laminas\Diactoros\Uri ) id: 4 {
protected allowedSchemes => [
'' => [maximum depth reached] ,
]
private scheme => 'https'
private userInfo => ''
private host => 'belovedbeyond.com'
private port => null
private path => '/id/vietnam/hcm/new-products/qua-tang-noi-that'
private query => 'page=52'
private fragment => ''
private uriString => null
}
protected session => object( Cake\Http\Session ) id: 5 {
protected _engine => object( App\Http\Session\BelovedSession ) id: 6 {
}
protected _started => true
protected _lifetime => (int) 155520000
protected _isCLI => false
protected headerSentInfo => null
}
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 => [
'route' => object( Cake\Routing\RouteBuilder ) id: 8 {
} ,
]
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) 5
protected queue => [
'' => [maximum depth reached] ,
]
protected container => object( Cake\Core\Container ) id: 2 {
}
}
protected fallbackHandler => object( App\Application ) id: 3 {
protected configDir => '/www_local/new.belovedbeyond.com/config/'
protected plugins => object( Cake\Core\PluginCollection ) id: 4 {
}
protected controllerFactory => object( Cake\Controller\ControllerFactory ) id: 5 {
}
protected container => object( Cake\Core\Container ) id: 2 {}
protected _eventManager => object( Cake\Event\EventManager ) id: 6 {
}
protected _eventClass => 'Cake\Event\Event'
}
}
);
}
$matching = Router :: getRouteCollection ()-> getMiddleware ( $middleware );
if (! $matching ) {
return $handler -> handle ( $request );
}
$container = $this -> app instanceof ContainerApplicationInterface
? $this -> app -> getContainer ()
Toggle Arguments
object( Cake\Http\ServerRequest ) id: 0 {
trustProxy => false
protected params => [
'pass' => [
(int) 0 => 'qua-tang-noi-that' ,
] ,
'language' => '' ,
'country' => 'vietnam' ,
'master' => '' ,
'province' => 'hcm' ,
'district' => '' ,
'controller' => 'Products' ,
'action' => 'newproducts' ,
'?' => [
'page' => '52' ,
] ,
'plugin' => null ,
'_ext' => null ,
]
protected data => [
]
protected query => [
'page' => '52' ,
]
protected cookies => [
'csrfToken' => '7rpOqcFa1EPrbfSaL7zB0GNlMjE5MTZlYmYwYTMwODQ2YjNiNTMzNzA4M2NiNzFmYmZkZjRjMDI=' ,
'bnbp' => 'qh7lb0vhjngbdcrl6tug8s6k1p' ,
]
protected _environment => [
'USER' => 'nginx' ,
'HOME' => '/var/lib/nginx' ,
'HTTP_COOKIE' => 'csrfToken=7rpOqcFa1EPrbfSaL7zB0GNlMjE5MTZlYmYwYTMwODQ2YjNiNTMzNzA4M2NiNzFmYmZkZjRjMDI%3D; bnbp=qh7lb0vhjngbdcrl6tug8s6k1p' ,
'HTTP_ACCEPT_ENCODING' => 'gzip, br, zstd, deflate' ,
'HTTP_USER_AGENT' => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)' ,
'HTTP_ACCEPT' => '*/*' ,
'HTTP_HOST' => 'belovedbeyond.com' ,
'REDIRECT_STATUS' => '200' ,
'SERVER_NAME' => 'belovedbeyond.com' ,
'SERVER_PORT' => '443' ,
'SERVER_ADDR' => '10.0.1.22' ,
'REMOTE_PORT' => '31844' ,
'REMOTE_ADDR' => '216.73.216.200' ,
'SERVER_SOFTWARE' => 'nginx/1.14.1' ,
'GATEWAY_INTERFACE' => 'CGI/1.1' ,
'HTTPS' => 'on' ,
'REQUEST_SCHEME' => 'https' ,
'SERVER_PROTOCOL' => 'HTTP/2.0' ,
'DOCUMENT_ROOT' => '/www_local/new.belovedbeyond.com/webroot' ,
'DOCUMENT_URI' => '/index.php' ,
'REQUEST_URI' => '/id/vietnam/hcm/new-products/qua-tang-noi-that?page=52' ,
'SCRIPT_NAME' => '/index.php' ,
'CONTENT_LENGTH' => '' ,
'CONTENT_TYPE' => '' ,
'REQUEST_METHOD' => 'GET' ,
'QUERY_STRING' => 'page=52' ,
'SCRIPT_FILENAME' => '/www_local/new.belovedbeyond.com/webroot/index.php' ,
'FCGI_ROLE' => 'RESPONDER' ,
'PHP_SELF' => '/index.php' ,
'REQUEST_TIME_FLOAT' => (float) 1781615400.128 ,
'REQUEST_TIME' => (int) 1781615400 ,
'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' ,
] ,
'https' => [
'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] ,
] ,
'exclude' => [
'' => [maximum depth reached] ,
] ,
'param' => '_ext' ,
'value' => 'xml' ,
] ,
'mobile' => object( Closure ) id: 1 {
} ,
'tablet' => object( Closure ) id: 2 {
} ,
]
protected _detectorCache => [
]
protected stream => object( Laminas\Diactoros\Stream ) id: 3 {
protected resource => (resource (stream)) Resource id #5
protected stream => 'php://input'
}
protected uri => object( Laminas\Diactoros\Uri ) id: 4 {
protected allowedSchemes => [
'' => [maximum depth reached] ,
]
private scheme => 'https'
private userInfo => ''
private host => 'belovedbeyond.com'
private port => null
private path => '/id/vietnam/hcm/new-products/qua-tang-noi-that'
private query => 'page=52'
private fragment => ''
private uriString => null
}
protected session => object( Cake\Http\Session ) id: 5 {
protected _engine => object( App\Http\Session\BelovedSession ) id: 6 {
}
protected _started => true
protected _lifetime => (int) 155520000
protected _isCLI => false
protected headerSentInfo => null
}
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 => [
'route' => object( Cake\Routing\RouteBuilder ) id: 8 {
} ,
]
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 );
Toggle Arguments
object( Cake\Http\ServerRequest ) id: 0 {
trustProxy => false
protected params => [
'pass' => [
(int) 0 => 'qua-tang-noi-that' ,
] ,
'language' => '' ,
'country' => 'vietnam' ,
'master' => '' ,
'province' => 'hcm' ,
'district' => '' ,
'controller' => 'Products' ,
'action' => 'newproducts' ,
'?' => [
'page' => '52' ,
] ,
'plugin' => null ,
'_ext' => null ,
]
protected data => [
]
protected query => [
'page' => '52' ,
]
protected cookies => [
'csrfToken' => '7rpOqcFa1EPrbfSaL7zB0GNlMjE5MTZlYmYwYTMwODQ2YjNiNTMzNzA4M2NiNzFmYmZkZjRjMDI=' ,
'bnbp' => 'qh7lb0vhjngbdcrl6tug8s6k1p' ,
]
protected _environment => [
'USER' => 'nginx' ,
'HOME' => '/var/lib/nginx' ,
'HTTP_COOKIE' => 'csrfToken=7rpOqcFa1EPrbfSaL7zB0GNlMjE5MTZlYmYwYTMwODQ2YjNiNTMzNzA4M2NiNzFmYmZkZjRjMDI%3D; bnbp=qh7lb0vhjngbdcrl6tug8s6k1p' ,
'HTTP_ACCEPT_ENCODING' => 'gzip, br, zstd, deflate' ,
'HTTP_USER_AGENT' => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)' ,
'HTTP_ACCEPT' => '*/*' ,
'HTTP_HOST' => 'belovedbeyond.com' ,
'REDIRECT_STATUS' => '200' ,
'SERVER_NAME' => 'belovedbeyond.com' ,
'SERVER_PORT' => '443' ,
'SERVER_ADDR' => '10.0.1.22' ,
'REMOTE_PORT' => '31844' ,
'REMOTE_ADDR' => '216.73.216.200' ,
'SERVER_SOFTWARE' => 'nginx/1.14.1' ,
'GATEWAY_INTERFACE' => 'CGI/1.1' ,
'HTTPS' => 'on' ,
'REQUEST_SCHEME' => 'https' ,
'SERVER_PROTOCOL' => 'HTTP/2.0' ,
'DOCUMENT_ROOT' => '/www_local/new.belovedbeyond.com/webroot' ,
'DOCUMENT_URI' => '/index.php' ,
'REQUEST_URI' => '/id/vietnam/hcm/new-products/qua-tang-noi-that?page=52' ,
'SCRIPT_NAME' => '/index.php' ,
'CONTENT_LENGTH' => '' ,
'CONTENT_TYPE' => '' ,
'REQUEST_METHOD' => 'GET' ,
'QUERY_STRING' => 'page=52' ,
'SCRIPT_FILENAME' => '/www_local/new.belovedbeyond.com/webroot/index.php' ,
'FCGI_ROLE' => 'RESPONDER' ,
'PHP_SELF' => '/index.php' ,
'REQUEST_TIME_FLOAT' => (float) 1781615400.128 ,
'REQUEST_TIME' => (int) 1781615400 ,
'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' ,
] ,
'https' => [
'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] ,
] ,
'exclude' => [
'' => [maximum depth reached] ,
] ,
'param' => '_ext' ,
'value' => 'xml' ,
] ,
'mobile' => object( Closure ) id: 1 {
} ,
'tablet' => object( Closure ) id: 2 {
} ,
]
protected _detectorCache => [
]
protected stream => object( Laminas\Diactoros\Stream ) id: 3 {
protected resource => (resource (stream)) Resource id #5
protected stream => 'php://input'
}
protected uri => object( Laminas\Diactoros\Uri ) id: 4 {
protected allowedSchemes => [
'' => [maximum depth reached] ,
]
private scheme => 'https'
private userInfo => ''
private host => 'belovedbeyond.com'
private port => null
private path => '/id/vietnam/hcm/new-products/qua-tang-noi-that'
private query => 'page=52'
private fragment => ''
private uriString => null
}
protected session => object( Cake\Http\Session ) id: 5 {
protected _engine => object( App\Http\Session\BelovedSession ) id: 6 {
}
protected _started => true
protected _lifetime => (int) 155520000
protected _isCLI => false
protected headerSentInfo => null
}
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 => [
'route' => object( Cake\Routing\RouteBuilder ) id: 8 {
} ,
]
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) 5
protected queue => [
'' => [maximum depth reached] ,
]
protected container => object( Cake\Core\Container ) id: 2 {
}
}
protected fallbackHandler => object( App\Application ) id: 3 {
protected configDir => '/www_local/new.belovedbeyond.com/config/'
protected plugins => object( Cake\Core\PluginCollection ) id: 4 {
}
protected controllerFactory => object( Cake\Controller\ControllerFactory ) id: 5 {
}
protected container => object( Cake\Core\Container ) id: 2 {}
protected _eventManager => object( Cake\Event\EventManager ) id: 6 {
}
protected _eventClass => 'Cake\Event\Event'
}
}
public function process ( ServerRequestInterface $request , RequestHandlerInterface $handler ): ResponseInterface
{
$url = $request -> getUri ()-> getPath ();
if ( str_contains ( $url , '..' ) || ! str_contains ( $url , '.' )) {
return $handler -> handle ( $request );
}
if ( str_contains ( $url , '/.' )) {
return $handler -> handle ( $request );
Toggle 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' => '52' ,
]
protected cookies => [
'csrfToken' => '7rpOqcFa1EPrbfSaL7zB0GNlMjE5MTZlYmYwYTMwODQ2YjNiNTMzNzA4M2NiNzFmYmZkZjRjMDI=' ,
'bnbp' => 'qh7lb0vhjngbdcrl6tug8s6k1p' ,
]
protected _environment => [
'USER' => 'nginx' ,
'HOME' => '/var/lib/nginx' ,
'HTTP_COOKIE' => 'csrfToken=7rpOqcFa1EPrbfSaL7zB0GNlMjE5MTZlYmYwYTMwODQ2YjNiNTMzNzA4M2NiNzFmYmZkZjRjMDI%3D; bnbp=qh7lb0vhjngbdcrl6tug8s6k1p' ,
'HTTP_ACCEPT_ENCODING' => 'gzip, br, zstd, deflate' ,
'HTTP_USER_AGENT' => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)' ,
'HTTP_ACCEPT' => '*/*' ,
'HTTP_HOST' => 'belovedbeyond.com' ,
'REDIRECT_STATUS' => '200' ,
'SERVER_NAME' => 'belovedbeyond.com' ,
'SERVER_PORT' => '443' ,
'SERVER_ADDR' => '10.0.1.22' ,
'REMOTE_PORT' => '31844' ,
'REMOTE_ADDR' => '216.73.216.200' ,
'SERVER_SOFTWARE' => 'nginx/1.14.1' ,
'GATEWAY_INTERFACE' => 'CGI/1.1' ,
'HTTPS' => 'on' ,
'REQUEST_SCHEME' => 'https' ,
'SERVER_PROTOCOL' => 'HTTP/2.0' ,
'DOCUMENT_ROOT' => '/www_local/new.belovedbeyond.com/webroot' ,
'DOCUMENT_URI' => '/index.php' ,
'REQUEST_URI' => '/id/vietnam/hcm/new-products/qua-tang-noi-that?page=52' ,
'SCRIPT_NAME' => '/index.php' ,
'CONTENT_LENGTH' => '' ,
'CONTENT_TYPE' => '' ,
'REQUEST_METHOD' => 'GET' ,
'QUERY_STRING' => 'page=52' ,
'SCRIPT_FILENAME' => '/www_local/new.belovedbeyond.com/webroot/index.php' ,
'FCGI_ROLE' => 'RESPONDER' ,
'PHP_SELF' => '/index.php' ,
'REQUEST_TIME_FLOAT' => (float) 1781615400.128 ,
'REQUEST_TIME' => (int) 1781615400 ,
'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' ,
] ,
'https' => [
'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] ,
] ,
'exclude' => [
'' => [maximum depth reached] ,
] ,
'param' => '_ext' ,
'value' => 'xml' ,
] ,
'mobile' => object( Closure ) id: 1 {
} ,
'tablet' => object( Closure ) id: 2 {
} ,
]
protected _detectorCache => [
]
protected stream => object( Laminas\Diactoros\Stream ) id: 3 {
protected resource => (resource (stream)) Resource id #5
protected stream => 'php://input'
}
protected uri => object( Laminas\Diactoros\Uri ) id: 4 {
protected allowedSchemes => [
'' => [maximum depth reached] ,
]
private scheme => 'https'
private userInfo => ''
private host => 'belovedbeyond.com'
private port => null
private path => '/id/vietnam/hcm/new-products/qua-tang-noi-that'
private query => 'page=52'
private fragment => ''
private uriString => null
}
protected session => object( Cake\Http\Session ) id: 5 {
protected _engine => object( App\Http\Session\BelovedSession ) id: 6 {
}
protected _started => true
protected _lifetime => (int) 155520000
protected _isCLI => false
protected headerSentInfo => null
}
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 );
Toggle 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' => '52' ,
]
protected cookies => [
'csrfToken' => '7rpOqcFa1EPrbfSaL7zB0GNlMjE5MTZlYmYwYTMwODQ2YjNiNTMzNzA4M2NiNzFmYmZkZjRjMDI=' ,
'bnbp' => 'qh7lb0vhjngbdcrl6tug8s6k1p' ,
]
protected _environment => [
'USER' => 'nginx' ,
'HOME' => '/var/lib/nginx' ,
'HTTP_COOKIE' => 'csrfToken=7rpOqcFa1EPrbfSaL7zB0GNlMjE5MTZlYmYwYTMwODQ2YjNiNTMzNzA4M2NiNzFmYmZkZjRjMDI%3D; bnbp=qh7lb0vhjngbdcrl6tug8s6k1p' ,
'HTTP_ACCEPT_ENCODING' => 'gzip, br, zstd, deflate' ,
'HTTP_USER_AGENT' => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)' ,
'HTTP_ACCEPT' => '*/*' ,
'HTTP_HOST' => 'belovedbeyond.com' ,
'REDIRECT_STATUS' => '200' ,
'SERVER_NAME' => 'belovedbeyond.com' ,
'SERVER_PORT' => '443' ,
'SERVER_ADDR' => '10.0.1.22' ,
'REMOTE_PORT' => '31844' ,
'REMOTE_ADDR' => '216.73.216.200' ,
'SERVER_SOFTWARE' => 'nginx/1.14.1' ,
'GATEWAY_INTERFACE' => 'CGI/1.1' ,
'HTTPS' => 'on' ,
'REQUEST_SCHEME' => 'https' ,
'SERVER_PROTOCOL' => 'HTTP/2.0' ,
'DOCUMENT_ROOT' => '/www_local/new.belovedbeyond.com/webroot' ,
'DOCUMENT_URI' => '/index.php' ,
'REQUEST_URI' => '/id/vietnam/hcm/new-products/qua-tang-noi-that?page=52' ,
'SCRIPT_NAME' => '/index.php' ,
'CONTENT_LENGTH' => '' ,
'CONTENT_TYPE' => '' ,
'REQUEST_METHOD' => 'GET' ,
'QUERY_STRING' => 'page=52' ,
'SCRIPT_FILENAME' => '/www_local/new.belovedbeyond.com/webroot/index.php' ,
'FCGI_ROLE' => 'RESPONDER' ,
'PHP_SELF' => '/index.php' ,
'REQUEST_TIME_FLOAT' => (float) 1781615400.128 ,
'REQUEST_TIME' => (int) 1781615400 ,
'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' ,
] ,
'https' => [
'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] ,
] ,
'exclude' => [
'' => [maximum depth reached] ,
] ,
'param' => '_ext' ,
'value' => 'xml' ,
] ,
'mobile' => object( Closure ) id: 1 {
} ,
'tablet' => object( Closure ) id: 2 {
} ,
]
protected _detectorCache => [
]
protected stream => object( Laminas\Diactoros\Stream ) id: 3 {
protected resource => (resource (stream)) Resource id #5
protected stream => 'php://input'
}
protected uri => object( Laminas\Diactoros\Uri ) id: 4 {
protected allowedSchemes => [
'' => [maximum depth reached] ,
]
private scheme => 'https'
private userInfo => ''
private host => 'belovedbeyond.com'
private port => null
private path => '/id/vietnam/hcm/new-products/qua-tang-noi-that'
private query => 'page=52'
private fragment => ''
private uriString => null
}
protected session => object( Cake\Http\Session ) id: 5 {
protected _engine => object( App\Http\Session\BelovedSession ) id: 6 {
}
protected _started => true
protected _lifetime => (int) 155520000
protected _isCLI => false
protected headerSentInfo => null
}
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) 5
protected queue => [
'' => [maximum depth reached] ,
]
protected container => object( Cake\Core\Container ) id: 2 {
}
}
protected fallbackHandler => object( App\Application ) id: 3 {
protected configDir => '/www_local/new.belovedbeyond.com/config/'
protected plugins => object( Cake\Core\PluginCollection ) id: 4 {
}
protected controllerFactory => object( Cake\Controller\ControllerFactory ) id: 5 {
}
protected container => object( Cake\Core\Container ) id: 2 {}
protected _eventManager => object( Cake\Event\EventManager ) id: 6 {
}
protected _eventClass => 'Cake\Event\Event'
}
}
*/
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 , Router :: getRequest () ?? $request );
Toggle 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' => '52' ,
]
protected cookies => [
'csrfToken' => '7rpOqcFa1EPrbfSaL7zB0GNlMjE5MTZlYmYwYTMwODQ2YjNiNTMzNzA4M2NiNzFmYmZkZjRjMDI=' ,
'bnbp' => 'qh7lb0vhjngbdcrl6tug8s6k1p' ,
]
protected _environment => [
'USER' => 'nginx' ,
'HOME' => '/var/lib/nginx' ,
'HTTP_COOKIE' => 'csrfToken=7rpOqcFa1EPrbfSaL7zB0GNlMjE5MTZlYmYwYTMwODQ2YjNiNTMzNzA4M2NiNzFmYmZkZjRjMDI%3D; bnbp=qh7lb0vhjngbdcrl6tug8s6k1p' ,
'HTTP_ACCEPT_ENCODING' => 'gzip, br, zstd, deflate' ,
'HTTP_USER_AGENT' => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)' ,
'HTTP_ACCEPT' => '*/*' ,
'HTTP_HOST' => 'belovedbeyond.com' ,
'REDIRECT_STATUS' => '200' ,
'SERVER_NAME' => 'belovedbeyond.com' ,
'SERVER_PORT' => '443' ,
'SERVER_ADDR' => '10.0.1.22' ,
'REMOTE_PORT' => '31844' ,
'REMOTE_ADDR' => '216.73.216.200' ,
'SERVER_SOFTWARE' => 'nginx/1.14.1' ,
'GATEWAY_INTERFACE' => 'CGI/1.1' ,
'HTTPS' => 'on' ,
'REQUEST_SCHEME' => 'https' ,
'SERVER_PROTOCOL' => 'HTTP/2.0' ,
'DOCUMENT_ROOT' => '/www_local/new.belovedbeyond.com/webroot' ,
'DOCUMENT_URI' => '/index.php' ,
'REQUEST_URI' => '/id/vietnam/hcm/new-products/qua-tang-noi-that?page=52' ,
'SCRIPT_NAME' => '/index.php' ,
'CONTENT_LENGTH' => '' ,
'CONTENT_TYPE' => '' ,
'REQUEST_METHOD' => 'GET' ,
'QUERY_STRING' => 'page=52' ,
'SCRIPT_FILENAME' => '/www_local/new.belovedbeyond.com/webroot/index.php' ,
'FCGI_ROLE' => 'RESPONDER' ,
'PHP_SELF' => '/index.php' ,
'REQUEST_TIME_FLOAT' => (float) 1781615400.128 ,
'REQUEST_TIME' => (int) 1781615400 ,
'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' ,
] ,
'https' => [
'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] ,
] ,
'exclude' => [
'' => [maximum depth reached] ,
] ,
'param' => '_ext' ,
'value' => 'xml' ,
] ,
'mobile' => object( Closure ) id: 1 {
} ,
'tablet' => object( Closure ) id: 2 {
} ,
]
protected _detectorCache => [
]
protected stream => object( Laminas\Diactoros\Stream ) id: 3 {
protected resource => (resource (stream)) Resource id #5
protected stream => 'php://input'
}
protected uri => object( Laminas\Diactoros\Uri ) id: 4 {
protected allowedSchemes => [
'' => [maximum depth reached] ,
]
private scheme => 'https'
private userInfo => ''
private host => 'belovedbeyond.com'
private port => null
private path => '/id/vietnam/hcm/new-products/qua-tang-noi-that'
private query => 'page=52'
private fragment => ''
private uriString => null
}
protected session => object( Cake\Http\Session ) id: 5 {
protected _engine => object( App\Http\Session\BelovedSession ) id: 6 {
}
protected _started => true
protected _lifetime => (int) 155520000
protected _isCLI => false
protected headerSentInfo => null
}
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 );
Toggle 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' => '52' ,
]
protected cookies => [
'csrfToken' => '7rpOqcFa1EPrbfSaL7zB0GNlMjE5MTZlYmYwYTMwODQ2YjNiNTMzNzA4M2NiNzFmYmZkZjRjMDI=' ,
'bnbp' => 'qh7lb0vhjngbdcrl6tug8s6k1p' ,
]
protected _environment => [
'USER' => 'nginx' ,
'HOME' => '/var/lib/nginx' ,
'HTTP_COOKIE' => 'csrfToken=7rpOqcFa1EPrbfSaL7zB0GNlMjE5MTZlYmYwYTMwODQ2YjNiNTMzNzA4M2NiNzFmYmZkZjRjMDI%3D; bnbp=qh7lb0vhjngbdcrl6tug8s6k1p' ,
'HTTP_ACCEPT_ENCODING' => 'gzip, br, zstd, deflate' ,
'HTTP_USER_AGENT' => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)' ,
'HTTP_ACCEPT' => '*/*' ,
'HTTP_HOST' => 'belovedbeyond.com' ,
'REDIRECT_STATUS' => '200' ,
'SERVER_NAME' => 'belovedbeyond.com' ,
'SERVER_PORT' => '443' ,
'SERVER_ADDR' => '10.0.1.22' ,
'REMOTE_PORT' => '31844' ,
'REMOTE_ADDR' => '216.73.216.200' ,
'SERVER_SOFTWARE' => 'nginx/1.14.1' ,
'GATEWAY_INTERFACE' => 'CGI/1.1' ,
'HTTPS' => 'on' ,
'REQUEST_SCHEME' => 'https' ,
'SERVER_PROTOCOL' => 'HTTP/2.0' ,
'DOCUMENT_ROOT' => '/www_local/new.belovedbeyond.com/webroot' ,
'DOCUMENT_URI' => '/index.php' ,
'REQUEST_URI' => '/id/vietnam/hcm/new-products/qua-tang-noi-that?page=52' ,
'SCRIPT_NAME' => '/index.php' ,
'CONTENT_LENGTH' => '' ,
'CONTENT_TYPE' => '' ,
'REQUEST_METHOD' => 'GET' ,
'QUERY_STRING' => 'page=52' ,
'SCRIPT_FILENAME' => '/www_local/new.belovedbeyond.com/webroot/index.php' ,
'FCGI_ROLE' => 'RESPONDER' ,
'PHP_SELF' => '/index.php' ,
'REQUEST_TIME_FLOAT' => (float) 1781615400.128 ,
'REQUEST_TIME' => (int) 1781615400 ,
'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' ,
] ,
'https' => [
'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] ,
] ,
'exclude' => [
'' => [maximum depth reached] ,
] ,
'param' => '_ext' ,
'value' => 'xml' ,
] ,
'mobile' => object( Closure ) id: 1 {
} ,
'tablet' => object( Closure ) id: 2 {
} ,
]
protected _detectorCache => [
]
protected stream => object( Laminas\Diactoros\Stream ) id: 3 {
protected resource => (resource (stream)) Resource id #5
protected stream => 'php://input'
}
protected uri => object( Laminas\Diactoros\Uri ) id: 4 {
protected allowedSchemes => [
'' => [maximum depth reached] ,
]
private scheme => 'https'
private userInfo => ''
private host => 'belovedbeyond.com'
private port => null
private path => '/id/vietnam/hcm/new-products/qua-tang-noi-that'
private query => 'page=52'
private fragment => ''
private uriString => null
}
protected session => object( Cake\Http\Session ) id: 5 {
protected _engine => object( App\Http\Session\BelovedSession ) id: 6 {
}
protected _started => true
protected _lifetime => (int) 155520000
protected _isCLI => false
protected headerSentInfo => null
}
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) 5
protected queue => [
'' => [maximum depth reached] ,
]
protected container => object( Cake\Core\Container ) id: 2 {
}
}
protected fallbackHandler => object( App\Application ) id: 3 {
protected configDir => '/www_local/new.belovedbeyond.com/config/'
protected plugins => object( Cake\Core\PluginCollection ) id: 4 {
}
protected controllerFactory => object( Cake\Controller\ControllerFactory ) id: 5 {
}
protected container => object( Cake\Core\Container ) id: 2 {}
protected _eventManager => object( Cake\Event\EventManager ) id: 6 {
}
protected _eventClass => 'Cake\Event\Event'
}
}
$this -> queue = $queue ;
$this -> queue -> rewind ();
$this -> fallbackHandler = $fallbackHandler ;
return $this -> handle ( $request );
}
/**
* Handle incoming server request and return a response .
Toggle 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' => '52' ,
]
protected cookies => [
'csrfToken' => '7rpOqcFa1EPrbfSaL7zB0GNlMjE5MTZlYmYwYTMwODQ2YjNiNTMzNzA4M2NiNzFmYmZkZjRjMDI=' ,
'bnbp' => 'qh7lb0vhjngbdcrl6tug8s6k1p' ,
]
protected _environment => [
'USER' => 'nginx' ,
'HOME' => '/var/lib/nginx' ,
'HTTP_COOKIE' => 'csrfToken=7rpOqcFa1EPrbfSaL7zB0GNlMjE5MTZlYmYwYTMwODQ2YjNiNTMzNzA4M2NiNzFmYmZkZjRjMDI%3D; bnbp=qh7lb0vhjngbdcrl6tug8s6k1p' ,
'HTTP_ACCEPT_ENCODING' => 'gzip, br, zstd, deflate' ,
'HTTP_USER_AGENT' => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)' ,
'HTTP_ACCEPT' => '*/*' ,
'HTTP_HOST' => 'belovedbeyond.com' ,
'REDIRECT_STATUS' => '200' ,
'SERVER_NAME' => 'belovedbeyond.com' ,
'SERVER_PORT' => '443' ,
'SERVER_ADDR' => '10.0.1.22' ,
'REMOTE_PORT' => '31844' ,
'REMOTE_ADDR' => '216.73.216.200' ,
'SERVER_SOFTWARE' => 'nginx/1.14.1' ,
'GATEWAY_INTERFACE' => 'CGI/1.1' ,
'HTTPS' => 'on' ,
'REQUEST_SCHEME' => 'https' ,
'SERVER_PROTOCOL' => 'HTTP/2.0' ,
'DOCUMENT_ROOT' => '/www_local/new.belovedbeyond.com/webroot' ,
'DOCUMENT_URI' => '/index.php' ,
'REQUEST_URI' => '/id/vietnam/hcm/new-products/qua-tang-noi-that?page=52' ,
'SCRIPT_NAME' => '/index.php' ,
'CONTENT_LENGTH' => '' ,
'CONTENT_TYPE' => '' ,
'REQUEST_METHOD' => 'GET' ,
'QUERY_STRING' => 'page=52' ,
'SCRIPT_FILENAME' => '/www_local/new.belovedbeyond.com/webroot/index.php' ,
'FCGI_ROLE' => 'RESPONDER' ,
'PHP_SELF' => '/index.php' ,
'REQUEST_TIME_FLOAT' => (float) 1781615400.128 ,
'REQUEST_TIME' => (int) 1781615400 ,
'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' ,
] ,
'https' => [
'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] ,
] ,
'exclude' => [
'' => [maximum depth reached] ,
] ,
'param' => '_ext' ,
'value' => 'xml' ,
] ,
'mobile' => object( Closure ) id: 1 {
} ,
'tablet' => object( Closure ) id: 2 {
} ,
]
protected _detectorCache => [
]
protected stream => object( Laminas\Diactoros\Stream ) id: 3 {
protected resource => (resource (stream)) Resource id #5
protected stream => 'php://input'
}
protected uri => object( Laminas\Diactoros\Uri ) id: 4 {
protected allowedSchemes => [
'' => [maximum depth reached] ,
]
private scheme => 'https'
private userInfo => ''
private host => 'belovedbeyond.com'
private port => null
private path => '/id/vietnam/hcm/new-products/qua-tang-noi-that'
private query => 'page=52'
private fragment => ''
private uriString => null
}
protected session => object( Cake\Http\Session ) id: 5 {
protected _engine => object( App\Http\Session\BelovedSession ) id: 6 {
}
protected _started => true
protected _lifetime => (int) 155520000
protected _isCLI => false
protected headerSentInfo => null
}
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 ();
}
Toggle Arguments
object( Cake\Http\MiddlewareQueue ) id: 0 {
protected position => (int) 5
protected queue => [
(int) 0 => object( Cake\Error\Middleware\ErrorHandlerMiddleware ) id: 1 {
} ,
(int) 1 => object( Cake\Routing\Middleware\AssetMiddleware ) id: 2 {
} ,
(int) 2 => object( Cake\Routing\Middleware\RoutingMiddleware ) id: 3 {
} ,
(int) 3 => object( Cake\Http\Middleware\BodyParserMiddleware ) id: 4 {
} ,
(int) 4 => object( Cake\Http\Middleware\CsrfProtectionMiddleware ) id: 5 {
} ,
]
protected container => object( Cake\Core\Container ) id: 6 {
protected defaultToShared => false
protected definitions => object( League\Container\Definition\DefinitionAggregate ) id: 7 {
}
protected providers => object( League\Container\ServiceProvider\ServiceProviderAggregate ) id: 8 {
}
protected inflectors => object( League\Container\Inflector\InflectorAggregate ) id: 9 {
}
protected delegates => [
'' => [maximum depth reached] ,
]
}
}
object( Cake\Http\ServerRequest ) id: 0 {
trustProxy => false
protected params => [
'plugin' => null ,
'controller' => null ,
'action' => null ,
'_ext' => null ,
'pass' => [
] ,
]
protected data => [
]
protected query => [
'page' => '52' ,
]
protected cookies => [
'csrfToken' => '7rpOqcFa1EPrbfSaL7zB0GNlMjE5MTZlYmYwYTMwODQ2YjNiNTMzNzA4M2NiNzFmYmZkZjRjMDI=' ,
'bnbp' => 'qh7lb0vhjngbdcrl6tug8s6k1p' ,
]
protected _environment => [
'USER' => 'nginx' ,
'HOME' => '/var/lib/nginx' ,
'HTTP_COOKIE' => 'csrfToken=7rpOqcFa1EPrbfSaL7zB0GNlMjE5MTZlYmYwYTMwODQ2YjNiNTMzNzA4M2NiNzFmYmZkZjRjMDI%3D; bnbp=qh7lb0vhjngbdcrl6tug8s6k1p' ,
'HTTP_ACCEPT_ENCODING' => 'gzip, br, zstd, deflate' ,
'HTTP_USER_AGENT' => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)' ,
'HTTP_ACCEPT' => '*/*' ,
'HTTP_HOST' => 'belovedbeyond.com' ,
'REDIRECT_STATUS' => '200' ,
'SERVER_NAME' => 'belovedbeyond.com' ,
'SERVER_PORT' => '443' ,
'SERVER_ADDR' => '10.0.1.22' ,
'REMOTE_PORT' => '31844' ,
'REMOTE_ADDR' => '216.73.216.200' ,
'SERVER_SOFTWARE' => 'nginx/1.14.1' ,
'GATEWAY_INTERFACE' => 'CGI/1.1' ,
'HTTPS' => 'on' ,
'REQUEST_SCHEME' => 'https' ,
'SERVER_PROTOCOL' => 'HTTP/2.0' ,
'DOCUMENT_ROOT' => '/www_local/new.belovedbeyond.com/webroot' ,
'DOCUMENT_URI' => '/index.php' ,
'REQUEST_URI' => '/id/vietnam/hcm/new-products/qua-tang-noi-that?page=52' ,
'SCRIPT_NAME' => '/index.php' ,
'CONTENT_LENGTH' => '' ,
'CONTENT_TYPE' => '' ,
'REQUEST_METHOD' => 'GET' ,
'QUERY_STRING' => 'page=52' ,
'SCRIPT_FILENAME' => '/www_local/new.belovedbeyond.com/webroot/index.php' ,
'FCGI_ROLE' => 'RESPONDER' ,
'PHP_SELF' => '/index.php' ,
'REQUEST_TIME_FLOAT' => (float) 1781615400.128 ,
'REQUEST_TIME' => (int) 1781615400 ,
'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' ,
] ,
'https' => [
'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] ,
] ,
'exclude' => [
'' => [maximum depth reached] ,
] ,
'param' => '_ext' ,
'value' => 'xml' ,
] ,
'mobile' => object( Closure ) id: 1 {
} ,
'tablet' => object( Closure ) id: 2 {
} ,
]
protected _detectorCache => [
]
protected stream => object( Laminas\Diactoros\Stream ) id: 3 {
protected resource => (resource (stream)) Resource id #5
protected stream => 'php://input'
}
protected uri => object( Laminas\Diactoros\Uri ) id: 4 {
protected allowedSchemes => [
'' => [maximum depth reached] ,
]
private scheme => 'https'
private userInfo => ''
private host => 'belovedbeyond.com'
private port => null
private path => '/id/vietnam/hcm/new-products/qua-tang-noi-that'
private query => 'page=52'
private fragment => ''
private uriString => null
}
protected session => object( Cake\Http\Session ) id: 5 {
protected _engine => object( App\Http\Session\BelovedSession ) id: 6 {
}
protected _started => true
protected _lifetime => (int) 155520000
protected _isCLI => false
protected headerSentInfo => null
}
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 => '/www_local/new.belovedbeyond.com/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 controller => object( App\Controller\ProductsController ) id: 4 {
}
}
protected container => object( Cake\Core\Container ) id: 3 {}
protected _eventManager => object( Cake\Event\EventManager ) id: 5 {
'_listeners' => [
]
'_isGlobal' => true
'_trackEvents' => false
'_generalManager' => '(object) EventManager'
'_dispatchedEvents' => null
}
protected _eventClass => 'Cake\Event\Event'
}
// 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 ());
Toggle Arguments
If you want to customize this error message, create
templates/Error/error500.php