Notice (8)
: Trying to get property 'id' of non-object [in
/home/yuasa/pusat/www.santiyoga.com/public/src/Controller/NewsController.php, line
191]
Code
'contain' => ['Users', 'ArticleCategories', 'ImageBig'],
))->innerJoinWith("ArticleCategories")->where(["ArticleCategories.id" => $category->id]),
[
App\Controller\NewsController->category() /home/yuasa/pusat/www.santiyoga.com/public/vendor/cakephp/cakephp/src/Controller/Controller.php, line 560
Cake\Controller\Controller->invokeAction() /home/yuasa/pusat/www.santiyoga.com/public/vendor/cakephp/cakephp/src/Controller/ControllerFactory.php, line 140
Cake\Controller\ControllerFactory->handle() /home/yuasa/pusat/www.santiyoga.com/public/vendor/cakephp/cakephp/src/Controller/ControllerFactory.php, line 115
Cake\Controller\ControllerFactory->invoke() /home/yuasa/pusat/www.santiyoga.com/public/vendor/cakephp/cakephp/src/Http/BaseApplication.php, line 325
Cake\Http\BaseApplication->handle() /home/yuasa/pusat/www.santiyoga.com/public/vendor/cakephp/cakephp/src/Http/Runner.php, line 86
Cake\Http\Runner->handle() /home/yuasa/pusat/www.santiyoga.com/public/vendor/cakephp/cakephp/src/Http/Middleware/CsrfProtectionMiddleware.php, line 166
Cake\Http\Middleware\CsrfProtectionMiddleware->process() /home/yuasa/pusat/www.santiyoga.com/public/vendor/cakephp/cakephp/src/Http/Runner.php, line 82
Cake\Http\Runner->handle() /home/yuasa/pusat/www.santiyoga.com/public/vendor/cakephp/cakephp/src/Http/Middleware/BodyParserMiddleware.php, line 157
Cake\Http\Middleware\BodyParserMiddleware->process() /home/yuasa/pusat/www.santiyoga.com/public/vendor/cakephp/cakephp/src/Http/Runner.php, line 82
Cake\Http\Runner->handle() /home/yuasa/pusat/www.santiyoga.com/public/vendor/cakephp/cakephp/src/Routing/Middleware/RoutingMiddleware.php, line 189
Cake\Routing\Middleware\RoutingMiddleware->process() /home/yuasa/pusat/www.santiyoga.com/public/vendor/cakephp/cakephp/src/Http/Runner.php, line 82
Cake\Http\Runner->handle() /home/yuasa/pusat/www.santiyoga.com/public/vendor/cakephp/cakephp/src/Routing/Middleware/AssetMiddleware.php, line 68
Cake\Routing\Middleware\AssetMiddleware->process() /home/yuasa/pusat/www.santiyoga.com/public/vendor/cakephp/cakephp/src/Http/Runner.php, line 82
Cake\Http\Runner->handle() /home/yuasa/pusat/www.santiyoga.com/public/vendor/cakephp/cakephp/src/Error/Middleware/ErrorHandlerMiddleware.php, line 149
Cake\Error\Middleware\ErrorHandlerMiddleware->process() /home/yuasa/pusat/www.santiyoga.com/public/vendor/cakephp/cakephp/src/Http/Runner.php, line 82
Cake\Http\Runner->handle() /home/yuasa/pusat/www.santiyoga.com/public/vendor/cakephp/cakephp/src/Http/Runner.php, line 67
Cake\Http\Runner->run() /home/yuasa/pusat/www.santiyoga.com/public/vendor/cakephp/cakephp/src/Http/Server.php, line 99
Cake\Http\Server->run() /home/yuasa/pusat/www.santiyoga.com/public/webroot/index.php, line 40
[main]
Warning (512)
: Unable to emit headers. Headers sent in file=/home/yuasa/pusat/www.santiyoga.com/public/vendor/cakephp/cakephp/src/Error/Debugger.php line=1023 [in
/home/yuasa/pusat/www.santiyoga.com/public/vendor/cakephp/cakephp/src/Http/ResponseEmitter.php, line
71]
Code
$message = "Unable to emit headers. Headers sent in file=$file line=$line";
trigger_error($message, E_USER_WARNING);
}
/home/yuasa/pusat/www.santiyoga.com/public/vendor/cakephp/cakephp/src/Http/ResponseEmitter.php /home/yuasa/pusat/www.santiyoga.com/public/vendor/cakephp/cakephp/src/Http/ResponseEmitter.php, line 71
Cake\Http\ResponseEmitter->emit() /home/yuasa/pusat/www.santiyoga.com/public/vendor/cakephp/cakephp/src/Http/Server.php, line 137
Cake\Http\Server->emit() /home/yuasa/pusat/www.santiyoga.com/public/webroot/index.php, line 40
[main]
Warning (2)
: Cannot modify header information - headers already sent by (output started at /home/yuasa/pusat/www.santiyoga.com/public/vendor/cakephp/cakephp/src/Error/Debugger.php:1023) [in
/home/yuasa/pusat/www.santiyoga.com/public/vendor/cakephp/cakephp/src/Http/ResponseEmitter.php, line
168]
Code
$response->getStatusCode(),
($reasonPhrase ? ' ' . $reasonPhrase : '')
));
/home/yuasa/pusat/www.santiyoga.com/public/vendor/cakephp/cakephp/src/Http/ResponseEmitter.php /home/yuasa/pusat/www.santiyoga.com/public/vendor/cakephp/cakephp/src/Http/ResponseEmitter.php, line 168
Cake\Http\ResponseEmitter->emitStatusLine() /home/yuasa/pusat/www.santiyoga.com/public/vendor/cakephp/cakephp/src/Http/ResponseEmitter.php, line 74
Cake\Http\ResponseEmitter->emit() /home/yuasa/pusat/www.santiyoga.com/public/vendor/cakephp/cakephp/src/Http/Server.php, line 137
Cake\Http\Server->emit() /home/yuasa/pusat/www.santiyoga.com/public/webroot/index.php, line 40
[main]
Warning (2)
: Cannot modify header information - headers already sent by (output started at /home/yuasa/pusat/www.santiyoga.com/public/vendor/cakephp/cakephp/src/Error/Debugger.php:1023) [in
/home/yuasa/pusat/www.santiyoga.com/public/vendor/cakephp/cakephp/src/Http/ResponseEmitter.php, line
197]
Code
foreach ($values as $value) {
header(sprintf(
'%s: %s',
/home/yuasa/pusat/www.santiyoga.com/public/vendor/cakephp/cakephp/src/Http/ResponseEmitter.php /home/yuasa/pusat/www.santiyoga.com/public/vendor/cakephp/cakephp/src/Http/ResponseEmitter.php, line 197
Cake\Http\ResponseEmitter->emitHeaders() /home/yuasa/pusat/www.santiyoga.com/public/vendor/cakephp/cakephp/src/Http/ResponseEmitter.php, line 75
Cake\Http\ResponseEmitter->emit() /home/yuasa/pusat/www.santiyoga.com/public/vendor/cakephp/cakephp/src/Http/Server.php, line 137
Cake\Http\Server->emit() /home/yuasa/pusat/www.santiyoga.com/public/webroot/index.php, line 40
[main]
Could this be caused by using Auto-Tables?
Some of the Table objects in your application were created by instantiating "Cake\ORM\Table"
instead of any other specific subclass.
This could be the cause for this exception. Auto-Tables are created for you under the following circumstances:
- The class for the specified table does not exist.
- The Table was created with a typo: $this->getTableLocator()->get('Articles');
- The class file has a typo in the name or incorrect namespace: class Articles extends Table
- The file containing the class has a typo or incorrect casing: Articles.php
- The Table was used using associations but the association has a typo: $this->belongsTo('Articles')
- The table class resides in a Plugin but no plugin notation was used in the association definition.
Please try correcting the issue for the following table aliases:
- Thumb2
- Users
- ArticleCategoriesCategories
- ImageBig
CORE/src/Database/Expression/QueryExpression.php at line 839
(edit)
|
$operator = '!='; |
|
} |
|
|
|
if ($value === null && $this->_conjunction !== ',') { |
|
throw new InvalidArgumentException( |
|
sprintf('Expression `%s` is missing operator (IS, IS NOT) with `null` value.', $expression) |
|
); |
|
} |
|
|
-
|
continue; |
|
} |
|
|
|
if (!$numericKey) { |
|
$this->_conditions[] = $this->_parseCondition($k, $c); |
|
} |
|
} |
|
} |
|
|
Toggle Arguments
-
|
|
|
return $this; |
|
} |
|
|
|
$this->_addConditions($conditions, $types); |
|
|
|
return $this; |
|
} |
|
|
Toggle Arguments
[
'ArticleCategories.id' => null,
]
-
|
$append = $append($this->newExpr(), $this); |
|
} |
|
|
|
if ($expression->getConjunction() === $conjunction) { |
|
$expression->add($append, $types); |
|
} else { |
|
$expression = $this->newExpr() |
|
->setConjunction($conjunction) |
|
->add([$expression, $append], $types); |
Toggle Arguments
[
'ArticleCategories.id' => null,
]
-
|
{ |
|
if ($overwrite) { |
|
$this->_parts['where'] = $this->newExpr(); |
|
} |
|
$this->_conjugate('where', $conditions, 'AND', $types); |
|
|
|
return $this; |
|
} |
|
|
Toggle Arguments
[
'ArticleCategories.id' => null,
]
-
|
'conditions' => array( |
|
"Articles.company_id" => $this->company_id_default, |
|
), |
|
'contain' => ['Users', 'ArticleCategories', 'ImageBig'], |
|
))->innerJoinWith("ArticleCategories")->where(["ArticleCategories.id" => $category->id]), |
|
[ |
|
'limit' => 10, |
|
'order' => [ |
|
'Articles.published_date' => 'desc' |
Toggle Arguments
[
'ArticleCategories.id' => null,
]
-
|
* @throws \UnexpectedValueException If return value of action is not `null` or `ResponseInterface` instance. |
|
*/ |
|
public function invokeAction(Closure $action, array $args): void |
|
{ |
|
$result = $action(...$args); |
|
if ($result !== null && !$result instanceof ResponseInterface) { |
|
throw new UnexpectedValueException(sprintf( |
|
'Controller actions can only return ResponseInterface instance or null. ' |
|
. 'Got %s instead.', |
Toggle Arguments
-
|
$args = $this->getActionArgs( |
|
$action, |
|
array_values((array)$controller->getRequest()->getParam('pass')) |
|
); |
|
$controller->invokeAction($action, $args); |
|
|
|
$result = $controller->shutdownProcess(); |
|
if ($result instanceof ResponseInterface) { |
|
return $result; |
Toggle Arguments
[
(int) 0 => 'home',
(int) 1 => 'privacy',
]
-
|
|
|
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 => [
'controller' => 'News',
'action' => 'category',
'pass' => [
(int) 0 => 'home',
(int) 1 => 'privacy',
],
'plugin' => null,
'_matchedRoute' => '/{controller}/{action}/*',
'_ext' => null,
]
protected data => [
]
protected query => [
]
protected cookies => [
'cartid' => '72f1ef2efa20241123014850.461119',
'fikker-61vm-nk2N' => 'MgPGRI6oXLV7DSLWJk4y6wNi63F1ZE0E',
'PHPSESSID' => '7f3etvqs1mledm66p5rarkfap4',
]
protected _environment => [
'REDIRECT_HTTPS' => 'on',
'REDIRECT_SSL_TLS_SNI' => 'santiyoga.com',
'REDIRECT_STATUS' => '200',
'HTTPS' => 'on',
'SSL_TLS_SNI' => 'santiyoga.com',
'HTTP_ACCEPT' => '*/*',
'HTTP_USER_AGENT' => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)',
'HTTP_COOKIE' => 'cartid=72f1ef2efa20241123014850.461119; fikker-61vm-nk2N=MgPGRI6oXLV7DSLWJk4y6wNi63F1ZE0E; PHPSESSID=7f3etvqs1mledm66p5rarkfap4',
'HTTP_ACCEPT_ENCODING' => 'gzip, br, zstd, deflate',
'HTTP_HOST' => 'santiyoga.com',
'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin',
'SERVER_SIGNATURE' => '<address>Apache/2.4.41 (Ubuntu) Server at santiyoga.com Port 443</address>
',
'SERVER_SOFTWARE' => 'Apache/2.4.41 (Ubuntu)',
'SERVER_NAME' => 'santiyoga.com',
'SERVER_ADDR' => '103.163.226.164',
'SERVER_PORT' => '443',
'REMOTE_ADDR' => '13.59.73.248',
'DOCUMENT_ROOT' => '/home/yuasa/pusat/www.santiyoga.com/public/webroot',
'REQUEST_SCHEME' => 'https',
'CONTEXT_PREFIX' => '',
'CONTEXT_DOCUMENT_ROOT' => '/home/yuasa/pusat/www.santiyoga.com/public/webroot',
'SERVER_ADMIN' => 'eka.yahya@boleh.net.id',
'SCRIPT_FILENAME' => '/home/yuasa/pusat/www.santiyoga.com/public/webroot/index.php',
'REMOTE_PORT' => '49967',
'REDIRECT_URL' => '/news/category/home/privacy',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'REQUEST_METHOD' => 'GET',
'QUERY_STRING' => '',
'REQUEST_URI' => '/news/category//home/privacy',
'SCRIPT_NAME' => '/index.php',
'PHP_SELF' => '/index.php',
'REQUEST_TIME_FLOAT' => (float) 1732355347.151,
'REQUEST_TIME' => (int) 1732355347,
'ORIGINAL_REQUEST_METHOD' => 'GET',
'HTTP_X_REQUESTED_WITH' => null,
]
protected base => ''
protected webroot => '/'
protected trustedProxies => [
]
protected _detectors => [
'get' => [
'env' => 'REQUEST_METHOD',
'value' => 'GET',
],
'post' => [
'env' => 'REQUEST_METHOD',
'value' => 'POST',
],
'put' => [
'env' => 'REQUEST_METHOD',
'value' => 'PUT',
],
'patch' => [
'env' => 'REQUEST_METHOD',
'value' => 'PATCH',
],
'delete' => [
'env' => 'REQUEST_METHOD',
'value' => 'DELETE',
],
'head' => [
'env' => 'REQUEST_METHOD',
'value' => 'HEAD',
],
'options' => [
'env' => 'REQUEST_METHOD',
'value' => 'OPTIONS',
],
'ssl' => [
'env' => 'HTTPS',
'options' => [
'' => [maximum depth reached],
],
],
'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 => [
'ajax' => false,
]
protected stream => object(Laminas\Diactoros\PhpInputStream) id:3 {
protected resource => (resource) Resource id #5
protected stream => 'php://input'
private cache => ''
private reachedEof => false
}
protected uri => object(Cake\Http\Uri) id:4 {
private base => ''
private webroot => '/'
private uri => object(Laminas\Diactoros\Uri) id:5 {
}
}
protected session => object(Cake\Http\Session) id:6 {
protected _engine => null
protected _started => null
protected _lifetime => (int) 1440
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: 6 {}
protected _config => [
'' => [maximum depth reached],
]
protected _configInitialized => true
}
protected attributes => [
'route' => object(Cake\Routing\Route\DashedRoute) id:8 {
},
'csrfToken' => 'ApkN+ZnqILKVUsmIgpHFuiRcZtwddE9BQEXcat78zGGxyBWPiyFtn1v6xgOgowS99o5nhdBxOmhplK5Y5jWZV5ewO/n3ViO9F2pfuS1CLXh0d+VS7sj0A4b6LezpGA6pbpzxMJeSNNjCtwGx6BAICQ==',
]
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 is needed for auto-wiring. Should be removed in 5.x |
|
$container->add(ComponentRegistry::class, $controller->components()); |
|
|
|
return $this->controllerFactory->invoke($controller); |
|
} |
|
} |
|
|
Toggle Arguments
object(App\Controller\NewsController) id:0 {
name => 'News'
company_id_default => (int) 1
paginate => [
'Articles' => [
'order' => [
'' => [maximum depth reached],
],
],
]
settings => object(Cake\ORM\Entity) id:1 {
'id' => (int) 1
'cms_url' => 'https://cms.santiyoga.com/'
'cms_title' => 'Yuasa CMS'
'cms_description' => 'Yuasa CMS'
'cms_keywords' => 'Yuasa CMS'
'cms_author' => 'Yuasa'
'cms_app_name' => 'Yuasa'
'cms_logo_url' => null
'company_brand_name' => 'Santi Yoga'
'company_address' => ''
'customer_phone_number' => ''
'customer_email' => ''
'no_reply_email' => 'apps@santiyoga.com'
'admin_email' => 'e-commerce@santiyoga.com'
'copyright_text' => '@Yuasa 2019'
'email_logo_url' => 'http://cmsyuasa.ligasedotwc.web.id/img/logo-divertune-small.png'
'path_content' => '/home/yuasa/pusat/cms.santiyoga.com/public/webroot/contents/'
'path_webroot' => '/home/yuasa/pusat/cms.santiyoga.com/public/webroot/'
'map_api_key' => ''
'map_android_api_key' => ''
'map_browser_api_key' => 'AIzaSyA21Q3UJhCqxo92qv009rNSDU8R2CXDX_A'
'map_static_api_key' => 'AIzaSyArvm8fpamLZF86lha1xsxGrZ9RZRtcUec'
'firebase_api_key' => ''
'facebook_app_id' => ''
'google_client_id' => ''
'google_client_secret' => ''
'default_lat' => '-6.175414'
'default_lng' => '106.827122'
'ios_bundle_id' => null
'android_package_name' => null
'android_minimum_version' => null
'authorization_id' => 'wt1U5MACWJFTXGenFoZoiLwQGrLgdwooKDicKDJWooLiverpoolADFbHA'
'modified' => object(Cake\I18n\FrozenTime) id:2 {
}
'[new]' => false
'[accessible]' => [
'*' => true,
]
'[dirty]' => [
]
'[original]' => [
]
'[virtual]' => [
]
'[hasErrors]' => false
'[errors]' => [
]
'[invalid]' => [
]
'[repository]' => 'Settings'
}
RequestHandler => object(Cake\Controller\Component\RequestHandlerComponent) id:3 {
'components' => [
]
'implementedEvents' => [
'Controller.startup' => 'startup',
'Controller.beforeRender' => 'beforeRender',
]
'_config' => [
'checkHttpCache' => true,
'viewClassMap' => [
'' => [maximum depth reached],
],
]
}
Flash => object(Cake\Controller\Component\FlashComponent) id:4 {
'components' => [
]
'implementedEvents' => [
]
'_config' => [
'key' => 'flash',
'element' => 'default',
'plugin' => null,
'params' => [
'' => [maximum depth reached],
],
'clear' => false,
'duplicate' => true,
]
}
General => object(App\Controller\Component\GeneralComponent) id:5 {
'components' => [
]
'implementedEvents' => [
]
'_config' => [
]
}
Paginator => object(Cake\Controller\Component\PaginatorComponent) id:6 {
'components' => [
]
'implementedEvents' => [
]
'_config' => [
'page' => (int) 1,
'limit' => (int) 20,
'maxLimit' => (int) 100,
'allowedParameters' => [
'' => [maximum depth reached],
],
'sortableFields' => null,
'finder' => 'all',
]
}
Articles => object(App\Model\Table\ArticlesTable) id:7 {
'registryAlias' => 'Articles'
'table' => 'articles'
'alias' => 'Articles'
'entityClass' => 'App\Model\Entity\Article'
'associations' => [
(int) 0 => 'Tags',
(int) 1 => 'ArticleCategories',
(int) 2 => 'Users',
(int) 3 => 'Companies',
(int) 4 => 'Thumb',
(int) 5 => 'Thumb2',
(int) 6 => 'ImageBig',
(int) 7 => 'ArticleCategoriesCategories',
]
'behaviors' => [
(int) 0 => 'Timestamp',
]
'defaultConnection' => 'default'
'connectionName' => 'default'
}
protected request => object(Cake\Http\ServerRequest) id:8 {
trustProxy => false
protected params => [
'' => [maximum depth reached],
]
protected data => [
'' => [maximum depth reached],
]
protected query => [
'' => [maximum depth reached],
]
protected cookies => [
'' => [maximum depth reached],
]
protected _environment => [
'' => [maximum depth reached],
]
protected base => ''
protected webroot => '/'
protected trustedProxies => [
'' => [maximum depth reached],
]
protected _detectors => [
'' => [maximum depth reached],
]
protected _detectorCache => [
'' => [maximum depth reached],
]
protected stream => object(Laminas\Diactoros\PhpInputStream) id:9 {
}
protected uri => object(Cake\Http\Uri) id:10 {
}
protected session => object(Cake\Http\Session) id:11 {
}
protected flash => object(Cake\Http\FlashMessage) id:12 {
}
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:13 {
'status' => (int) 200
'contentType' => 'text/html'
'headers' => [
'Content-Type' => [
'' => [maximum depth reached],
],
]
'file' => null
'fileRange' => [
]
'cookies' => object(Cake\Http\Cookie\CookieCollection) id:14 {
}
'cacheDirectives' => [
]
'body' => ''
}
protected autoRender => true
protected _components => object(Cake\Controller\ComponentRegistry) id:15 {
'_Controller' => object(App\Controller\NewsController) id: 0 {}
'_loaded' => [
(int) 0 => 'RequestHandler',
(int) 1 => 'Flash',
(int) 2 => 'General',
(int) 3 => 'Paginator',
]
'_eventManager' => object(Cake\Event\EventManager) id:16 {
}
'_eventClass' => 'Cake\Event\Event'
}
protected plugin => null
protected middlewares => [
]
protected viewClasses => [
]
protected _eventManager => object(Cake\Event\EventManager) id: 16 {}
protected _eventClass => 'Cake\Event\Event'
protected defaultTable => 'News'
protected _tableLocator => object(Cake\ORM\Locator\TableLocator) id:17 {
protected locations => [
'' => [maximum depth reached],
]
protected _config => [
'' => [maximum depth reached],
]
protected instances => [
'' => [maximum depth reached],
]
protected _fallbacked => [
'' => [maximum depth reached],
]
protected fallbackClassName => 'Cake\ORM\Table'
protected allowFallbackClass => true
protected options => [
'' => [maximum depth reached],
]
}
protected modelClass => 'News'
protected _modelFactories => [
'Table' => [
(int) 0 => object(Cake\ORM\Locator\TableLocator) id: 17 {},
(int) 1 => 'get',
],
]
protected _modelType => 'Table'
protected _viewBuilder => object(Cake\View\ViewBuilder) id:18 {
protected _templatePath => null
protected _template => null
protected _plugin => null
protected _theme => null
protected _layout => 'corporate_main'
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 => [
'controller' => 'News',
'action' => 'category',
'pass' => [
(int) 0 => 'home',
(int) 1 => 'privacy',
],
'plugin' => null,
'_matchedRoute' => '/{controller}/{action}/*',
'_ext' => null,
]
protected data => [
]
protected query => [
]
protected cookies => [
'cartid' => '72f1ef2efa20241123014850.461119',
'fikker-61vm-nk2N' => 'MgPGRI6oXLV7DSLWJk4y6wNi63F1ZE0E',
'PHPSESSID' => '7f3etvqs1mledm66p5rarkfap4',
]
protected _environment => [
'REDIRECT_HTTPS' => 'on',
'REDIRECT_SSL_TLS_SNI' => 'santiyoga.com',
'REDIRECT_STATUS' => '200',
'HTTPS' => 'on',
'SSL_TLS_SNI' => 'santiyoga.com',
'HTTP_ACCEPT' => '*/*',
'HTTP_USER_AGENT' => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)',
'HTTP_COOKIE' => 'cartid=72f1ef2efa20241123014850.461119; fikker-61vm-nk2N=MgPGRI6oXLV7DSLWJk4y6wNi63F1ZE0E; PHPSESSID=7f3etvqs1mledm66p5rarkfap4',
'HTTP_ACCEPT_ENCODING' => 'gzip, br, zstd, deflate',
'HTTP_HOST' => 'santiyoga.com',
'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin',
'SERVER_SIGNATURE' => '<address>Apache/2.4.41 (Ubuntu) Server at santiyoga.com Port 443</address>
',
'SERVER_SOFTWARE' => 'Apache/2.4.41 (Ubuntu)',
'SERVER_NAME' => 'santiyoga.com',
'SERVER_ADDR' => '103.163.226.164',
'SERVER_PORT' => '443',
'REMOTE_ADDR' => '13.59.73.248',
'DOCUMENT_ROOT' => '/home/yuasa/pusat/www.santiyoga.com/public/webroot',
'REQUEST_SCHEME' => 'https',
'CONTEXT_PREFIX' => '',
'CONTEXT_DOCUMENT_ROOT' => '/home/yuasa/pusat/www.santiyoga.com/public/webroot',
'SERVER_ADMIN' => 'eka.yahya@boleh.net.id',
'SCRIPT_FILENAME' => '/home/yuasa/pusat/www.santiyoga.com/public/webroot/index.php',
'REMOTE_PORT' => '49967',
'REDIRECT_URL' => '/news/category/home/privacy',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'REQUEST_METHOD' => 'GET',
'QUERY_STRING' => '',
'REQUEST_URI' => '/news/category//home/privacy',
'SCRIPT_NAME' => '/index.php',
'PHP_SELF' => '/index.php',
'REQUEST_TIME_FLOAT' => (float) 1732355347.151,
'REQUEST_TIME' => (int) 1732355347,
'ORIGINAL_REQUEST_METHOD' => 'GET',
'HTTP_X_REQUESTED_WITH' => null,
]
protected base => ''
protected webroot => '/'
protected trustedProxies => [
]
protected _detectors => [
'get' => [
'env' => 'REQUEST_METHOD',
'value' => 'GET',
],
'post' => [
'env' => 'REQUEST_METHOD',
'value' => 'POST',
],
'put' => [
'env' => 'REQUEST_METHOD',
'value' => 'PUT',
],
'patch' => [
'env' => 'REQUEST_METHOD',
'value' => 'PATCH',
],
'delete' => [
'env' => 'REQUEST_METHOD',
'value' => 'DELETE',
],
'head' => [
'env' => 'REQUEST_METHOD',
'value' => 'HEAD',
],
'options' => [
'env' => 'REQUEST_METHOD',
'value' => 'OPTIONS',
],
'ssl' => [
'env' => 'HTTPS',
'options' => [
'' => [maximum depth reached],
],
],
'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 => [
'ajax' => false,
]
protected stream => object(Laminas\Diactoros\PhpInputStream) id:3 {
protected resource => (resource) Resource id #5
protected stream => 'php://input'
private cache => ''
private reachedEof => false
}
protected uri => object(Cake\Http\Uri) id:4 {
private base => ''
private webroot => '/'
private uri => object(Laminas\Diactoros\Uri) id:5 {
}
}
protected session => object(Cake\Http\Session) id:6 {
protected _engine => null
protected _started => null
protected _lifetime => (int) 1440
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: 6 {}
protected _config => [
'' => [maximum depth reached],
]
protected _configInitialized => true
}
protected attributes => [
'route' => object(Cake\Routing\Route\DashedRoute) id:8 {
},
'csrfToken' => 'ApkN+ZnqILKVUsmIgpHFuiRcZtwddE9BQEXcat78zGGxyBWPiyFtn1v6xgOgowS99o5nhdBxOmhplK5Y5jWZV5ewO/n3ViO9F2pfuS1CLXh0d+VS7sj0A4b6LezpGA6pbpzxMJeSNNjCtwGx6BAICQ==',
]
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 ($method === 'GET' && $cookieData === null) { |
|
$token = $this->createToken(); |
|
$request = $request->withAttribute('csrfToken', $this->saltToken($token)); |
|
/** @var mixed $response */ |
|
$response = $handler->handle($request); |
|
|
|
return $this->_addTokenCookie($token, $request, $response); |
|
} |
|
|
Toggle Arguments
object(Cake\Http\ServerRequest) id:0 {
trustProxy => false
protected params => [
'controller' => 'News',
'action' => 'category',
'pass' => [
(int) 0 => 'home',
(int) 1 => 'privacy',
],
'plugin' => null,
'_matchedRoute' => '/{controller}/{action}/*',
'_ext' => null,
]
protected data => [
]
protected query => [
]
protected cookies => [
'cartid' => '72f1ef2efa20241123014850.461119',
'fikker-61vm-nk2N' => 'MgPGRI6oXLV7DSLWJk4y6wNi63F1ZE0E',
'PHPSESSID' => '7f3etvqs1mledm66p5rarkfap4',
]
protected _environment => [
'REDIRECT_HTTPS' => 'on',
'REDIRECT_SSL_TLS_SNI' => 'santiyoga.com',
'REDIRECT_STATUS' => '200',
'HTTPS' => 'on',
'SSL_TLS_SNI' => 'santiyoga.com',
'HTTP_ACCEPT' => '*/*',
'HTTP_USER_AGENT' => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)',
'HTTP_COOKIE' => 'cartid=72f1ef2efa20241123014850.461119; fikker-61vm-nk2N=MgPGRI6oXLV7DSLWJk4y6wNi63F1ZE0E; PHPSESSID=7f3etvqs1mledm66p5rarkfap4',
'HTTP_ACCEPT_ENCODING' => 'gzip, br, zstd, deflate',
'HTTP_HOST' => 'santiyoga.com',
'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin',
'SERVER_SIGNATURE' => '<address>Apache/2.4.41 (Ubuntu) Server at santiyoga.com Port 443</address>
',
'SERVER_SOFTWARE' => 'Apache/2.4.41 (Ubuntu)',
'SERVER_NAME' => 'santiyoga.com',
'SERVER_ADDR' => '103.163.226.164',
'SERVER_PORT' => '443',
'REMOTE_ADDR' => '13.59.73.248',
'DOCUMENT_ROOT' => '/home/yuasa/pusat/www.santiyoga.com/public/webroot',
'REQUEST_SCHEME' => 'https',
'CONTEXT_PREFIX' => '',
'CONTEXT_DOCUMENT_ROOT' => '/home/yuasa/pusat/www.santiyoga.com/public/webroot',
'SERVER_ADMIN' => 'eka.yahya@boleh.net.id',
'SCRIPT_FILENAME' => '/home/yuasa/pusat/www.santiyoga.com/public/webroot/index.php',
'REMOTE_PORT' => '49967',
'REDIRECT_URL' => '/news/category/home/privacy',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'REQUEST_METHOD' => 'GET',
'QUERY_STRING' => '',
'REQUEST_URI' => '/news/category//home/privacy',
'SCRIPT_NAME' => '/index.php',
'PHP_SELF' => '/index.php',
'REQUEST_TIME_FLOAT' => (float) 1732355347.151,
'REQUEST_TIME' => (int) 1732355347,
'ORIGINAL_REQUEST_METHOD' => 'GET',
'HTTP_X_REQUESTED_WITH' => null,
]
protected base => ''
protected webroot => '/'
protected trustedProxies => [
]
protected _detectors => [
'get' => [
'env' => 'REQUEST_METHOD',
'value' => 'GET',
],
'post' => [
'env' => 'REQUEST_METHOD',
'value' => 'POST',
],
'put' => [
'env' => 'REQUEST_METHOD',
'value' => 'PUT',
],
'patch' => [
'env' => 'REQUEST_METHOD',
'value' => 'PATCH',
],
'delete' => [
'env' => 'REQUEST_METHOD',
'value' => 'DELETE',
],
'head' => [
'env' => 'REQUEST_METHOD',
'value' => 'HEAD',
],
'options' => [
'env' => 'REQUEST_METHOD',
'value' => 'OPTIONS',
],
'ssl' => [
'env' => 'HTTPS',
'options' => [
'' => [maximum depth reached],
],
],
'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 => [
'ajax' => false,
]
protected stream => object(Laminas\Diactoros\PhpInputStream) id:3 {
protected resource => (resource) Resource id #5
protected stream => 'php://input'
private cache => ''
private reachedEof => false
}
protected uri => object(Cake\Http\Uri) id:4 {
private base => ''
private webroot => '/'
private uri => object(Laminas\Diactoros\Uri) id:5 {
}
}
protected session => object(Cake\Http\Session) id:6 {
protected _engine => null
protected _started => null
protected _lifetime => (int) 1440
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: 6 {}
protected _config => [
'' => [maximum depth reached],
]
protected _configInitialized => true
}
protected attributes => [
'route' => object(Cake\Routing\Route\DashedRoute) id:8 {
},
'csrfToken' => 'ApkN+ZnqILKVUsmIgpHFuiRcZtwddE9BQEXcat78zGGxyBWPiyFtn1v6xgOgowS99o5nhdBxOmhplK5Y5jWZV5ewO/n3ViO9F2pfuS1CLXh0d+VS7sj0A4b6LezpGA6pbpzxMJeSNNjCtwGx6BAICQ==',
]
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 => [
'controller' => 'News',
'action' => 'category',
'pass' => [
(int) 0 => 'home',
(int) 1 => 'privacy',
],
'plugin' => null,
'_matchedRoute' => '/{controller}/{action}/*',
'_ext' => null,
]
protected data => [
]
protected query => [
]
protected cookies => [
'cartid' => '72f1ef2efa20241123014850.461119',
'fikker-61vm-nk2N' => 'MgPGRI6oXLV7DSLWJk4y6wNi63F1ZE0E',
'PHPSESSID' => '7f3etvqs1mledm66p5rarkfap4',
]
protected _environment => [
'REDIRECT_HTTPS' => 'on',
'REDIRECT_SSL_TLS_SNI' => 'santiyoga.com',
'REDIRECT_STATUS' => '200',
'HTTPS' => 'on',
'SSL_TLS_SNI' => 'santiyoga.com',
'HTTP_ACCEPT' => '*/*',
'HTTP_USER_AGENT' => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)',
'HTTP_COOKIE' => 'cartid=72f1ef2efa20241123014850.461119; fikker-61vm-nk2N=MgPGRI6oXLV7DSLWJk4y6wNi63F1ZE0E; PHPSESSID=7f3etvqs1mledm66p5rarkfap4',
'HTTP_ACCEPT_ENCODING' => 'gzip, br, zstd, deflate',
'HTTP_HOST' => 'santiyoga.com',
'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin',
'SERVER_SIGNATURE' => '<address>Apache/2.4.41 (Ubuntu) Server at santiyoga.com Port 443</address>
',
'SERVER_SOFTWARE' => 'Apache/2.4.41 (Ubuntu)',
'SERVER_NAME' => 'santiyoga.com',
'SERVER_ADDR' => '103.163.226.164',
'SERVER_PORT' => '443',
'REMOTE_ADDR' => '13.59.73.248',
'DOCUMENT_ROOT' => '/home/yuasa/pusat/www.santiyoga.com/public/webroot',
'REQUEST_SCHEME' => 'https',
'CONTEXT_PREFIX' => '',
'CONTEXT_DOCUMENT_ROOT' => '/home/yuasa/pusat/www.santiyoga.com/public/webroot',
'SERVER_ADMIN' => 'eka.yahya@boleh.net.id',
'SCRIPT_FILENAME' => '/home/yuasa/pusat/www.santiyoga.com/public/webroot/index.php',
'REMOTE_PORT' => '49967',
'REDIRECT_URL' => '/news/category/home/privacy',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'REQUEST_METHOD' => 'GET',
'QUERY_STRING' => '',
'REQUEST_URI' => '/news/category//home/privacy',
'SCRIPT_NAME' => '/index.php',
'PHP_SELF' => '/index.php',
'REQUEST_TIME_FLOAT' => (float) 1732355347.151,
'REQUEST_TIME' => (int) 1732355347,
'ORIGINAL_REQUEST_METHOD' => 'GET',
'HTTP_X_REQUESTED_WITH' => null,
]
protected base => ''
protected webroot => '/'
protected trustedProxies => [
]
protected _detectors => [
'get' => [
'env' => 'REQUEST_METHOD',
'value' => 'GET',
],
'post' => [
'env' => 'REQUEST_METHOD',
'value' => 'POST',
],
'put' => [
'env' => 'REQUEST_METHOD',
'value' => 'PUT',
],
'patch' => [
'env' => 'REQUEST_METHOD',
'value' => 'PATCH',
],
'delete' => [
'env' => 'REQUEST_METHOD',
'value' => 'DELETE',
],
'head' => [
'env' => 'REQUEST_METHOD',
'value' => 'HEAD',
],
'options' => [
'env' => 'REQUEST_METHOD',
'value' => 'OPTIONS',
],
'ssl' => [
'env' => 'HTTPS',
'options' => [
'' => [maximum depth reached],
],
],
'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 => [
'ajax' => false,
]
protected stream => object(Laminas\Diactoros\PhpInputStream) id:3 {
protected resource => (resource) Resource id #5
protected stream => 'php://input'
private cache => ''
private reachedEof => false
}
protected uri => object(Cake\Http\Uri) id:4 {
private base => ''
private webroot => '/'
private uri => object(Laminas\Diactoros\Uri) id:5 {
}
}
protected session => object(Cake\Http\Session) id:6 {
protected _engine => null
protected _started => null
protected _lifetime => (int) 1440
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: 6 {}
protected _config => [
'' => [maximum depth reached],
]
protected _configInitialized => true
}
protected attributes => [
'route' => object(Cake\Routing\Route\DashedRoute) id:8 {
},
'csrfToken' => 'ApkN+ZnqILKVUsmIgpHFuiRcZtwddE9BQEXcat78zGGxyBWPiyFtn1v6xgOgowS99o5nhdBxOmhplK5Y5jWZV5ewO/n3ViO9F2pfuS1CLXh0d+VS7sj0A4b6LezpGA6pbpzxMJeSNNjCtwGx6BAICQ==',
]
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 => '/home/yuasa/pusat/www.santiyoga.com/public/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 => [
'controller' => 'News',
'action' => 'category',
'pass' => [
(int) 0 => 'home',
(int) 1 => 'privacy',
],
'plugin' => null,
'_matchedRoute' => '/{controller}/{action}/*',
'_ext' => null,
]
protected data => [
]
protected query => [
]
protected cookies => [
'cartid' => '72f1ef2efa20241123014850.461119',
'fikker-61vm-nk2N' => 'MgPGRI6oXLV7DSLWJk4y6wNi63F1ZE0E',
'PHPSESSID' => '7f3etvqs1mledm66p5rarkfap4',
]
protected _environment => [
'REDIRECT_HTTPS' => 'on',
'REDIRECT_SSL_TLS_SNI' => 'santiyoga.com',
'REDIRECT_STATUS' => '200',
'HTTPS' => 'on',
'SSL_TLS_SNI' => 'santiyoga.com',
'HTTP_ACCEPT' => '*/*',
'HTTP_USER_AGENT' => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)',
'HTTP_COOKIE' => 'cartid=72f1ef2efa20241123014850.461119; fikker-61vm-nk2N=MgPGRI6oXLV7DSLWJk4y6wNi63F1ZE0E; PHPSESSID=7f3etvqs1mledm66p5rarkfap4',
'HTTP_ACCEPT_ENCODING' => 'gzip, br, zstd, deflate',
'HTTP_HOST' => 'santiyoga.com',
'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin',
'SERVER_SIGNATURE' => '<address>Apache/2.4.41 (Ubuntu) Server at santiyoga.com Port 443</address>
',
'SERVER_SOFTWARE' => 'Apache/2.4.41 (Ubuntu)',
'SERVER_NAME' => 'santiyoga.com',
'SERVER_ADDR' => '103.163.226.164',
'SERVER_PORT' => '443',
'REMOTE_ADDR' => '13.59.73.248',
'DOCUMENT_ROOT' => '/home/yuasa/pusat/www.santiyoga.com/public/webroot',
'REQUEST_SCHEME' => 'https',
'CONTEXT_PREFIX' => '',
'CONTEXT_DOCUMENT_ROOT' => '/home/yuasa/pusat/www.santiyoga.com/public/webroot',
'SERVER_ADMIN' => 'eka.yahya@boleh.net.id',
'SCRIPT_FILENAME' => '/home/yuasa/pusat/www.santiyoga.com/public/webroot/index.php',
'REMOTE_PORT' => '49967',
'REDIRECT_URL' => '/news/category/home/privacy',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'REQUEST_METHOD' => 'GET',
'QUERY_STRING' => '',
'REQUEST_URI' => '/news/category//home/privacy',
'SCRIPT_NAME' => '/index.php',
'PHP_SELF' => '/index.php',
'REQUEST_TIME_FLOAT' => (float) 1732355347.151,
'REQUEST_TIME' => (int) 1732355347,
'ORIGINAL_REQUEST_METHOD' => 'GET',
]
protected base => ''
protected webroot => '/'
protected trustedProxies => [
]
protected _detectors => [
'get' => [
'env' => 'REQUEST_METHOD',
'value' => 'GET',
],
'post' => [
'env' => 'REQUEST_METHOD',
'value' => 'POST',
],
'put' => [
'env' => 'REQUEST_METHOD',
'value' => 'PUT',
],
'patch' => [
'env' => 'REQUEST_METHOD',
'value' => 'PATCH',
],
'delete' => [
'env' => 'REQUEST_METHOD',
'value' => 'DELETE',
],
'head' => [
'env' => 'REQUEST_METHOD',
'value' => 'HEAD',
],
'options' => [
'env' => 'REQUEST_METHOD',
'value' => 'OPTIONS',
],
'ssl' => [
'env' => 'HTTPS',
'options' => [
'' => [maximum depth reached],
],
],
'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\PhpInputStream) id:3 {
protected resource => (resource) Resource id #5
protected stream => 'php://input'
private cache => ''
private reachedEof => false
}
protected uri => object(Cake\Http\Uri) id:4 {
private base => ''
private webroot => '/'
private uri => object(Laminas\Diactoros\Uri) id:5 {
}
}
protected session => object(Cake\Http\Session) id:6 {
protected _engine => null
protected _started => null
protected _lifetime => (int) 1440
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: 6 {}
protected _config => [
'' => [maximum depth reached],
]
protected _configInitialized => true
}
protected attributes => [
'route' => object(Cake\Routing\Route\DashedRoute) 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 => [
'controller' => 'News',
'action' => 'category',
'pass' => [
(int) 0 => 'home',
(int) 1 => 'privacy',
],
'plugin' => null,
'_matchedRoute' => '/{controller}/{action}/*',
'_ext' => null,
]
protected data => [
]
protected query => [
]
protected cookies => [
'cartid' => '72f1ef2efa20241123014850.461119',
'fikker-61vm-nk2N' => 'MgPGRI6oXLV7DSLWJk4y6wNi63F1ZE0E',
'PHPSESSID' => '7f3etvqs1mledm66p5rarkfap4',
]
protected _environment => [
'REDIRECT_HTTPS' => 'on',
'REDIRECT_SSL_TLS_SNI' => 'santiyoga.com',
'REDIRECT_STATUS' => '200',
'HTTPS' => 'on',
'SSL_TLS_SNI' => 'santiyoga.com',
'HTTP_ACCEPT' => '*/*',
'HTTP_USER_AGENT' => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)',
'HTTP_COOKIE' => 'cartid=72f1ef2efa20241123014850.461119; fikker-61vm-nk2N=MgPGRI6oXLV7DSLWJk4y6wNi63F1ZE0E; PHPSESSID=7f3etvqs1mledm66p5rarkfap4',
'HTTP_ACCEPT_ENCODING' => 'gzip, br, zstd, deflate',
'HTTP_HOST' => 'santiyoga.com',
'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin',
'SERVER_SIGNATURE' => '<address>Apache/2.4.41 (Ubuntu) Server at santiyoga.com Port 443</address>
',
'SERVER_SOFTWARE' => 'Apache/2.4.41 (Ubuntu)',
'SERVER_NAME' => 'santiyoga.com',
'SERVER_ADDR' => '103.163.226.164',
'SERVER_PORT' => '443',
'REMOTE_ADDR' => '13.59.73.248',
'DOCUMENT_ROOT' => '/home/yuasa/pusat/www.santiyoga.com/public/webroot',
'REQUEST_SCHEME' => 'https',
'CONTEXT_PREFIX' => '',
'CONTEXT_DOCUMENT_ROOT' => '/home/yuasa/pusat/www.santiyoga.com/public/webroot',
'SERVER_ADMIN' => 'eka.yahya@boleh.net.id',
'SCRIPT_FILENAME' => '/home/yuasa/pusat/www.santiyoga.com/public/webroot/index.php',
'REMOTE_PORT' => '49967',
'REDIRECT_URL' => '/news/category/home/privacy',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'REQUEST_METHOD' => 'GET',
'QUERY_STRING' => '',
'REQUEST_URI' => '/news/category//home/privacy',
'SCRIPT_NAME' => '/index.php',
'PHP_SELF' => '/index.php',
'REQUEST_TIME_FLOAT' => (float) 1732355347.151,
'REQUEST_TIME' => (int) 1732355347,
'ORIGINAL_REQUEST_METHOD' => 'GET',
]
protected base => ''
protected webroot => '/'
protected trustedProxies => [
]
protected _detectors => [
'get' => [
'env' => 'REQUEST_METHOD',
'value' => 'GET',
],
'post' => [
'env' => 'REQUEST_METHOD',
'value' => 'POST',
],
'put' => [
'env' => 'REQUEST_METHOD',
'value' => 'PUT',
],
'patch' => [
'env' => 'REQUEST_METHOD',
'value' => 'PATCH',
],
'delete' => [
'env' => 'REQUEST_METHOD',
'value' => 'DELETE',
],
'head' => [
'env' => 'REQUEST_METHOD',
'value' => 'HEAD',
],
'options' => [
'env' => 'REQUEST_METHOD',
'value' => 'OPTIONS',
],
'ssl' => [
'env' => 'HTTPS',
'options' => [
'' => [maximum depth reached],
],
],
'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\PhpInputStream) id:3 {
protected resource => (resource) Resource id #5
protected stream => 'php://input'
private cache => ''
private reachedEof => false
}
protected uri => object(Cake\Http\Uri) id:4 {
private base => ''
private webroot => '/'
private uri => object(Laminas\Diactoros\Uri) id:5 {
}
}
protected session => object(Cake\Http\Session) id:6 {
protected _engine => null
protected _started => null
protected _lifetime => (int) 1440
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: 6 {}
protected _config => [
'' => [maximum depth reached],
]
protected _configInitialized => true
}
protected attributes => [
'route' => object(Cake\Routing\Route\DashedRoute) 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 => '/home/yuasa/pusat/www.santiyoga.com/public/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 => [
'controller' => 'News',
'action' => 'category',
'pass' => [
(int) 0 => 'home',
(int) 1 => 'privacy',
],
'plugin' => null,
'_matchedRoute' => '/{controller}/{action}/*',
'_ext' => null,
]
protected data => [
]
protected query => [
]
protected cookies => [
'cartid' => '72f1ef2efa20241123014850.461119',
'fikker-61vm-nk2N' => 'MgPGRI6oXLV7DSLWJk4y6wNi63F1ZE0E',
'PHPSESSID' => '7f3etvqs1mledm66p5rarkfap4',
]
protected _environment => [
'REDIRECT_HTTPS' => 'on',
'REDIRECT_SSL_TLS_SNI' => 'santiyoga.com',
'REDIRECT_STATUS' => '200',
'HTTPS' => 'on',
'SSL_TLS_SNI' => 'santiyoga.com',
'HTTP_ACCEPT' => '*/*',
'HTTP_USER_AGENT' => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)',
'HTTP_COOKIE' => 'cartid=72f1ef2efa20241123014850.461119; fikker-61vm-nk2N=MgPGRI6oXLV7DSLWJk4y6wNi63F1ZE0E; PHPSESSID=7f3etvqs1mledm66p5rarkfap4',
'HTTP_ACCEPT_ENCODING' => 'gzip, br, zstd, deflate',
'HTTP_HOST' => 'santiyoga.com',
'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin',
'SERVER_SIGNATURE' => '<address>Apache/2.4.41 (Ubuntu) Server at santiyoga.com Port 443</address>
',
'SERVER_SOFTWARE' => 'Apache/2.4.41 (Ubuntu)',
'SERVER_NAME' => 'santiyoga.com',
'SERVER_ADDR' => '103.163.226.164',
'SERVER_PORT' => '443',
'REMOTE_ADDR' => '13.59.73.248',
'DOCUMENT_ROOT' => '/home/yuasa/pusat/www.santiyoga.com/public/webroot',
'REQUEST_SCHEME' => 'https',
'CONTEXT_PREFIX' => '',
'CONTEXT_DOCUMENT_ROOT' => '/home/yuasa/pusat/www.santiyoga.com/public/webroot',
'SERVER_ADMIN' => 'eka.yahya@boleh.net.id',
'SCRIPT_FILENAME' => '/home/yuasa/pusat/www.santiyoga.com/public/webroot/index.php',
'REMOTE_PORT' => '49967',
'REDIRECT_URL' => '/news/category/home/privacy',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'REQUEST_METHOD' => 'GET',
'QUERY_STRING' => '',
'REQUEST_URI' => '/news/category//home/privacy',
'SCRIPT_NAME' => '/index.php',
'PHP_SELF' => '/index.php',
'REQUEST_TIME_FLOAT' => (float) 1732355347.151,
'REQUEST_TIME' => (int) 1732355347,
'ORIGINAL_REQUEST_METHOD' => 'GET',
]
protected base => ''
protected webroot => '/'
protected trustedProxies => [
]
protected _detectors => [
'get' => [
'env' => 'REQUEST_METHOD',
'value' => 'GET',
],
'post' => [
'env' => 'REQUEST_METHOD',
'value' => 'POST',
],
'put' => [
'env' => 'REQUEST_METHOD',
'value' => 'PUT',
],
'patch' => [
'env' => 'REQUEST_METHOD',
'value' => 'PATCH',
],
'delete' => [
'env' => 'REQUEST_METHOD',
'value' => 'DELETE',
],
'head' => [
'env' => 'REQUEST_METHOD',
'value' => 'HEAD',
],
'options' => [
'env' => 'REQUEST_METHOD',
'value' => 'OPTIONS',
],
'ssl' => [
'env' => 'HTTPS',
'options' => [
'' => [maximum depth reached],
],
],
'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\PhpInputStream) id:3 {
protected resource => (resource) Resource id #5
protected stream => 'php://input'
private cache => ''
private reachedEof => false
}
protected uri => object(Cake\Http\Uri) id:4 {
private base => ''
private webroot => '/'
private uri => object(Laminas\Diactoros\Uri) id:5 {
}
}
protected session => object(Cake\Http\Session) id:6 {
protected _engine => null
protected _started => null
protected _lifetime => (int) 1440
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: 6 {}
protected _config => [
'' => [maximum depth reached],
]
protected _configInitialized => true
}
protected attributes => [
'route' => object(Cake\Routing\Route\DashedRoute) 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 => [
'controller' => 'News',
'action' => 'category',
'pass' => [
(int) 0 => 'home',
(int) 1 => 'privacy',
],
'plugin' => null,
'_matchedRoute' => '/{controller}/{action}/*',
'_ext' => null,
]
protected data => [
]
protected query => [
]
protected cookies => [
'cartid' => '72f1ef2efa20241123014850.461119',
'fikker-61vm-nk2N' => 'MgPGRI6oXLV7DSLWJk4y6wNi63F1ZE0E',
'PHPSESSID' => '7f3etvqs1mledm66p5rarkfap4',
]
protected _environment => [
'REDIRECT_HTTPS' => 'on',
'REDIRECT_SSL_TLS_SNI' => 'santiyoga.com',
'REDIRECT_STATUS' => '200',
'HTTPS' => 'on',
'SSL_TLS_SNI' => 'santiyoga.com',
'HTTP_ACCEPT' => '*/*',
'HTTP_USER_AGENT' => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)',
'HTTP_COOKIE' => 'cartid=72f1ef2efa20241123014850.461119; fikker-61vm-nk2N=MgPGRI6oXLV7DSLWJk4y6wNi63F1ZE0E; PHPSESSID=7f3etvqs1mledm66p5rarkfap4',
'HTTP_ACCEPT_ENCODING' => 'gzip, br, zstd, deflate',
'HTTP_HOST' => 'santiyoga.com',
'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin',
'SERVER_SIGNATURE' => '<address>Apache/2.4.41 (Ubuntu) Server at santiyoga.com Port 443</address>
',
'SERVER_SOFTWARE' => 'Apache/2.4.41 (Ubuntu)',
'SERVER_NAME' => 'santiyoga.com',
'SERVER_ADDR' => '103.163.226.164',
'SERVER_PORT' => '443',
'REMOTE_ADDR' => '13.59.73.248',
'DOCUMENT_ROOT' => '/home/yuasa/pusat/www.santiyoga.com/public/webroot',
'REQUEST_SCHEME' => 'https',
'CONTEXT_PREFIX' => '',
'CONTEXT_DOCUMENT_ROOT' => '/home/yuasa/pusat/www.santiyoga.com/public/webroot',
'SERVER_ADMIN' => 'eka.yahya@boleh.net.id',
'SCRIPT_FILENAME' => '/home/yuasa/pusat/www.santiyoga.com/public/webroot/index.php',
'REMOTE_PORT' => '49967',
'REDIRECT_URL' => '/news/category/home/privacy',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'REQUEST_METHOD' => 'GET',
'QUERY_STRING' => '',
'REQUEST_URI' => '/news/category//home/privacy',
'SCRIPT_NAME' => '/index.php',
'PHP_SELF' => '/index.php',
'REQUEST_TIME_FLOAT' => (float) 1732355347.151,
'REQUEST_TIME' => (int) 1732355347,
'ORIGINAL_REQUEST_METHOD' => 'GET',
]
protected base => ''
protected webroot => '/'
protected trustedProxies => [
]
protected _detectors => [
'get' => [
'env' => 'REQUEST_METHOD',
'value' => 'GET',
],
'post' => [
'env' => 'REQUEST_METHOD',
'value' => 'POST',
],
'put' => [
'env' => 'REQUEST_METHOD',
'value' => 'PUT',
],
'patch' => [
'env' => 'REQUEST_METHOD',
'value' => 'PATCH',
],
'delete' => [
'env' => 'REQUEST_METHOD',
'value' => 'DELETE',
],
'head' => [
'env' => 'REQUEST_METHOD',
'value' => 'HEAD',
],
'options' => [
'env' => 'REQUEST_METHOD',
'value' => 'OPTIONS',
],
'ssl' => [
'env' => 'HTTPS',
'options' => [
'' => [maximum depth reached],
],
],
'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\PhpInputStream) id:3 {
protected resource => (resource) Resource id #5
protected stream => 'php://input'
private cache => ''
private reachedEof => false
}
protected uri => object(Cake\Http\Uri) id:4 {
private base => ''
private webroot => '/'
private uri => object(Laminas\Diactoros\Uri) id:5 {
}
}
protected session => object(Cake\Http\Session) id:6 {
protected _engine => null
protected _started => null
protected _lifetime => (int) 1440
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: 6 {}
protected _config => [
'' => [maximum depth reached],
]
protected _configInitialized => true
}
protected attributes => [
'route' => object(Cake\Routing\Route\DashedRoute) 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 => '/home/yuasa/pusat/www.santiyoga.com/public/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 (strpos($url, '..') !== false || strpos($url, '.') === false) { |
|
return $handler->handle($request); |
|
} |
|
|
|
if (strpos($url, '/.') !== false) { |
|
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 => [
]
protected cookies => [
'cartid' => '72f1ef2efa20241123014850.461119',
'fikker-61vm-nk2N' => 'MgPGRI6oXLV7DSLWJk4y6wNi63F1ZE0E',
'PHPSESSID' => '7f3etvqs1mledm66p5rarkfap4',
]
protected _environment => [
'REDIRECT_HTTPS' => 'on',
'REDIRECT_SSL_TLS_SNI' => 'santiyoga.com',
'REDIRECT_STATUS' => '200',
'HTTPS' => 'on',
'SSL_TLS_SNI' => 'santiyoga.com',
'HTTP_ACCEPT' => '*/*',
'HTTP_USER_AGENT' => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)',
'HTTP_COOKIE' => 'cartid=72f1ef2efa20241123014850.461119; fikker-61vm-nk2N=MgPGRI6oXLV7DSLWJk4y6wNi63F1ZE0E; PHPSESSID=7f3etvqs1mledm66p5rarkfap4',
'HTTP_ACCEPT_ENCODING' => 'gzip, br, zstd, deflate',
'HTTP_HOST' => 'santiyoga.com',
'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin',
'SERVER_SIGNATURE' => '<address>Apache/2.4.41 (Ubuntu) Server at santiyoga.com Port 443</address>
',
'SERVER_SOFTWARE' => 'Apache/2.4.41 (Ubuntu)',
'SERVER_NAME' => 'santiyoga.com',
'SERVER_ADDR' => '103.163.226.164',
'SERVER_PORT' => '443',
'REMOTE_ADDR' => '13.59.73.248',
'DOCUMENT_ROOT' => '/home/yuasa/pusat/www.santiyoga.com/public/webroot',
'REQUEST_SCHEME' => 'https',
'CONTEXT_PREFIX' => '',
'CONTEXT_DOCUMENT_ROOT' => '/home/yuasa/pusat/www.santiyoga.com/public/webroot',
'SERVER_ADMIN' => 'eka.yahya@boleh.net.id',
'SCRIPT_FILENAME' => '/home/yuasa/pusat/www.santiyoga.com/public/webroot/index.php',
'REMOTE_PORT' => '49967',
'REDIRECT_URL' => '/news/category/home/privacy',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'REQUEST_METHOD' => 'GET',
'QUERY_STRING' => '',
'REQUEST_URI' => '/news/category//home/privacy',
'SCRIPT_NAME' => '/index.php',
'PHP_SELF' => '/index.php',
'REQUEST_TIME_FLOAT' => (float) 1732355347.151,
'REQUEST_TIME' => (int) 1732355347,
'ORIGINAL_REQUEST_METHOD' => 'GET',
]
protected base => ''
protected webroot => '/'
protected trustedProxies => [
]
protected _detectors => [
'get' => [
'env' => 'REQUEST_METHOD',
'value' => 'GET',
],
'post' => [
'env' => 'REQUEST_METHOD',
'value' => 'POST',
],
'put' => [
'env' => 'REQUEST_METHOD',
'value' => 'PUT',
],
'patch' => [
'env' => 'REQUEST_METHOD',
'value' => 'PATCH',
],
'delete' => [
'env' => 'REQUEST_METHOD',
'value' => 'DELETE',
],
'head' => [
'env' => 'REQUEST_METHOD',
'value' => 'HEAD',
],
'options' => [
'env' => 'REQUEST_METHOD',
'value' => 'OPTIONS',
],
'ssl' => [
'env' => 'HTTPS',
'options' => [
'' => [maximum depth reached],
],
],
'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\PhpInputStream) id:3 {
protected resource => (resource) Resource id #5
protected stream => 'php://input'
private cache => ''
private reachedEof => false
}
protected uri => object(Cake\Http\Uri) id:4 {
private base => ''
private webroot => '/'
private uri => object(Laminas\Diactoros\Uri) id:5 {
}
}
protected session => object(Cake\Http\Session) id:6 {
protected _engine => null
protected _started => null
protected _lifetime => (int) 1440
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: 6 {}
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 => [
]
protected cookies => [
'cartid' => '72f1ef2efa20241123014850.461119',
'fikker-61vm-nk2N' => 'MgPGRI6oXLV7DSLWJk4y6wNi63F1ZE0E',
'PHPSESSID' => '7f3etvqs1mledm66p5rarkfap4',
]
protected _environment => [
'REDIRECT_HTTPS' => 'on',
'REDIRECT_SSL_TLS_SNI' => 'santiyoga.com',
'REDIRECT_STATUS' => '200',
'HTTPS' => 'on',
'SSL_TLS_SNI' => 'santiyoga.com',
'HTTP_ACCEPT' => '*/*',
'HTTP_USER_AGENT' => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)',
'HTTP_COOKIE' => 'cartid=72f1ef2efa20241123014850.461119; fikker-61vm-nk2N=MgPGRI6oXLV7DSLWJk4y6wNi63F1ZE0E; PHPSESSID=7f3etvqs1mledm66p5rarkfap4',
'HTTP_ACCEPT_ENCODING' => 'gzip, br, zstd, deflate',
'HTTP_HOST' => 'santiyoga.com',
'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin',
'SERVER_SIGNATURE' => '<address>Apache/2.4.41 (Ubuntu) Server at santiyoga.com Port 443</address>
',
'SERVER_SOFTWARE' => 'Apache/2.4.41 (Ubuntu)',
'SERVER_NAME' => 'santiyoga.com',
'SERVER_ADDR' => '103.163.226.164',
'SERVER_PORT' => '443',
'REMOTE_ADDR' => '13.59.73.248',
'DOCUMENT_ROOT' => '/home/yuasa/pusat/www.santiyoga.com/public/webroot',
'REQUEST_SCHEME' => 'https',
'CONTEXT_PREFIX' => '',
'CONTEXT_DOCUMENT_ROOT' => '/home/yuasa/pusat/www.santiyoga.com/public/webroot',
'SERVER_ADMIN' => 'eka.yahya@boleh.net.id',
'SCRIPT_FILENAME' => '/home/yuasa/pusat/www.santiyoga.com/public/webroot/index.php',
'REMOTE_PORT' => '49967',
'REDIRECT_URL' => '/news/category/home/privacy',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'REQUEST_METHOD' => 'GET',
'QUERY_STRING' => '',
'REQUEST_URI' => '/news/category//home/privacy',
'SCRIPT_NAME' => '/index.php',
'PHP_SELF' => '/index.php',
'REQUEST_TIME_FLOAT' => (float) 1732355347.151,
'REQUEST_TIME' => (int) 1732355347,
'ORIGINAL_REQUEST_METHOD' => 'GET',
]
protected base => ''
protected webroot => '/'
protected trustedProxies => [
]
protected _detectors => [
'get' => [
'env' => 'REQUEST_METHOD',
'value' => 'GET',
],
'post' => [
'env' => 'REQUEST_METHOD',
'value' => 'POST',
],
'put' => [
'env' => 'REQUEST_METHOD',
'value' => 'PUT',
],
'patch' => [
'env' => 'REQUEST_METHOD',
'value' => 'PATCH',
],
'delete' => [
'env' => 'REQUEST_METHOD',
'value' => 'DELETE',
],
'head' => [
'env' => 'REQUEST_METHOD',
'value' => 'HEAD',
],
'options' => [
'env' => 'REQUEST_METHOD',
'value' => 'OPTIONS',
],
'ssl' => [
'env' => 'HTTPS',
'options' => [
'' => [maximum depth reached],
],
],
'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\PhpInputStream) id:3 {
protected resource => (resource) Resource id #5
protected stream => 'php://input'
private cache => ''
private reachedEof => false
}
protected uri => object(Cake\Http\Uri) id:4 {
private base => ''
private webroot => '/'
private uri => object(Laminas\Diactoros\Uri) id:5 {
}
}
protected session => object(Cake\Http\Session) id:6 {
protected _engine => null
protected _started => null
protected _lifetime => (int) 1440
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: 6 {}
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 => '/home/yuasa/pusat/www.santiyoga.com/public/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, $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 => [
]
protected cookies => [
'cartid' => '72f1ef2efa20241123014850.461119',
'fikker-61vm-nk2N' => 'MgPGRI6oXLV7DSLWJk4y6wNi63F1ZE0E',
'PHPSESSID' => '7f3etvqs1mledm66p5rarkfap4',
]
protected _environment => [
'REDIRECT_HTTPS' => 'on',
'REDIRECT_SSL_TLS_SNI' => 'santiyoga.com',
'REDIRECT_STATUS' => '200',
'HTTPS' => 'on',
'SSL_TLS_SNI' => 'santiyoga.com',
'HTTP_ACCEPT' => '*/*',
'HTTP_USER_AGENT' => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)',
'HTTP_COOKIE' => 'cartid=72f1ef2efa20241123014850.461119; fikker-61vm-nk2N=MgPGRI6oXLV7DSLWJk4y6wNi63F1ZE0E; PHPSESSID=7f3etvqs1mledm66p5rarkfap4',
'HTTP_ACCEPT_ENCODING' => 'gzip, br, zstd, deflate',
'HTTP_HOST' => 'santiyoga.com',
'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin',
'SERVER_SIGNATURE' => '<address>Apache/2.4.41 (Ubuntu) Server at santiyoga.com Port 443</address>
',
'SERVER_SOFTWARE' => 'Apache/2.4.41 (Ubuntu)',
'SERVER_NAME' => 'santiyoga.com',
'SERVER_ADDR' => '103.163.226.164',
'SERVER_PORT' => '443',
'REMOTE_ADDR' => '13.59.73.248',
'DOCUMENT_ROOT' => '/home/yuasa/pusat/www.santiyoga.com/public/webroot',
'REQUEST_SCHEME' => 'https',
'CONTEXT_PREFIX' => '',
'CONTEXT_DOCUMENT_ROOT' => '/home/yuasa/pusat/www.santiyoga.com/public/webroot',
'SERVER_ADMIN' => 'eka.yahya@boleh.net.id',
'SCRIPT_FILENAME' => '/home/yuasa/pusat/www.santiyoga.com/public/webroot/index.php',
'REMOTE_PORT' => '49967',
'REDIRECT_URL' => '/news/category/home/privacy',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'REQUEST_METHOD' => 'GET',
'QUERY_STRING' => '',
'REQUEST_URI' => '/news/category//home/privacy',
'SCRIPT_NAME' => '/index.php',
'PHP_SELF' => '/index.php',
'REQUEST_TIME_FLOAT' => (float) 1732355347.151,
'REQUEST_TIME' => (int) 1732355347,
'ORIGINAL_REQUEST_METHOD' => 'GET',
]
protected base => ''
protected webroot => '/'
protected trustedProxies => [
]
protected _detectors => [
'get' => [
'env' => 'REQUEST_METHOD',
'value' => 'GET',
],
'post' => [
'env' => 'REQUEST_METHOD',
'value' => 'POST',
],
'put' => [
'env' => 'REQUEST_METHOD',
'value' => 'PUT',
],
'patch' => [
'env' => 'REQUEST_METHOD',
'value' => 'PATCH',
],
'delete' => [
'env' => 'REQUEST_METHOD',
'value' => 'DELETE',
],
'head' => [
'env' => 'REQUEST_METHOD',
'value' => 'HEAD',
],
'options' => [
'env' => 'REQUEST_METHOD',
'value' => 'OPTIONS',
],
'ssl' => [
'env' => 'HTTPS',
'options' => [
'' => [maximum depth reached],
],
],
'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\PhpInputStream) id:3 {
protected resource => (resource) Resource id #5
protected stream => 'php://input'
private cache => ''
private reachedEof => false
}
protected uri => object(Cake\Http\Uri) id:4 {
private base => ''
private webroot => '/'
private uri => object(Laminas\Diactoros\Uri) id:5 {
}
}
protected session => object(Cake\Http\Session) id:6 {
protected _engine => null
protected _started => null
protected _lifetime => (int) 1440
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: 6 {}
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 => [
]
protected cookies => [
'cartid' => '72f1ef2efa20241123014850.461119',
'fikker-61vm-nk2N' => 'MgPGRI6oXLV7DSLWJk4y6wNi63F1ZE0E',
'PHPSESSID' => '7f3etvqs1mledm66p5rarkfap4',
]
protected _environment => [
'REDIRECT_HTTPS' => 'on',
'REDIRECT_SSL_TLS_SNI' => 'santiyoga.com',
'REDIRECT_STATUS' => '200',
'HTTPS' => 'on',
'SSL_TLS_SNI' => 'santiyoga.com',
'HTTP_ACCEPT' => '*/*',
'HTTP_USER_AGENT' => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)',
'HTTP_COOKIE' => 'cartid=72f1ef2efa20241123014850.461119; fikker-61vm-nk2N=MgPGRI6oXLV7DSLWJk4y6wNi63F1ZE0E; PHPSESSID=7f3etvqs1mledm66p5rarkfap4',
'HTTP_ACCEPT_ENCODING' => 'gzip, br, zstd, deflate',
'HTTP_HOST' => 'santiyoga.com',
'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin',
'SERVER_SIGNATURE' => '<address>Apache/2.4.41 (Ubuntu) Server at santiyoga.com Port 443</address>
',
'SERVER_SOFTWARE' => 'Apache/2.4.41 (Ubuntu)',
'SERVER_NAME' => 'santiyoga.com',
'SERVER_ADDR' => '103.163.226.164',
'SERVER_PORT' => '443',
'REMOTE_ADDR' => '13.59.73.248',
'DOCUMENT_ROOT' => '/home/yuasa/pusat/www.santiyoga.com/public/webroot',
'REQUEST_SCHEME' => 'https',
'CONTEXT_PREFIX' => '',
'CONTEXT_DOCUMENT_ROOT' => '/home/yuasa/pusat/www.santiyoga.com/public/webroot',
'SERVER_ADMIN' => 'eka.yahya@boleh.net.id',
'SCRIPT_FILENAME' => '/home/yuasa/pusat/www.santiyoga.com/public/webroot/index.php',
'REMOTE_PORT' => '49967',
'REDIRECT_URL' => '/news/category/home/privacy',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'REQUEST_METHOD' => 'GET',
'QUERY_STRING' => '',
'REQUEST_URI' => '/news/category//home/privacy',
'SCRIPT_NAME' => '/index.php',
'PHP_SELF' => '/index.php',
'REQUEST_TIME_FLOAT' => (float) 1732355347.151,
'REQUEST_TIME' => (int) 1732355347,
'ORIGINAL_REQUEST_METHOD' => 'GET',
]
protected base => ''
protected webroot => '/'
protected trustedProxies => [
]
protected _detectors => [
'get' => [
'env' => 'REQUEST_METHOD',
'value' => 'GET',
],
'post' => [
'env' => 'REQUEST_METHOD',
'value' => 'POST',
],
'put' => [
'env' => 'REQUEST_METHOD',
'value' => 'PUT',
],
'patch' => [
'env' => 'REQUEST_METHOD',
'value' => 'PATCH',
],
'delete' => [
'env' => 'REQUEST_METHOD',
'value' => 'DELETE',
],
'head' => [
'env' => 'REQUEST_METHOD',
'value' => 'HEAD',
],
'options' => [
'env' => 'REQUEST_METHOD',
'value' => 'OPTIONS',
],
'ssl' => [
'env' => 'HTTPS',
'options' => [
'' => [maximum depth reached],
],
],
'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\PhpInputStream) id:3 {
protected resource => (resource) Resource id #5
protected stream => 'php://input'
private cache => ''
private reachedEof => false
}
protected uri => object(Cake\Http\Uri) id:4 {
private base => ''
private webroot => '/'
private uri => object(Laminas\Diactoros\Uri) id:5 {
}
}
protected session => object(Cake\Http\Session) id:6 {
protected _engine => null
protected _started => null
protected _lifetime => (int) 1440
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: 6 {}
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 => '/home/yuasa/pusat/www.santiyoga.com/public/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'
}
}
-
|
) { |
|
Router::setRequest($request); |
|
} |
|
|
|
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 => [
]
protected cookies => [
'cartid' => '72f1ef2efa20241123014850.461119',
'fikker-61vm-nk2N' => 'MgPGRI6oXLV7DSLWJk4y6wNi63F1ZE0E',
'PHPSESSID' => '7f3etvqs1mledm66p5rarkfap4',
]
protected _environment => [
'REDIRECT_HTTPS' => 'on',
'REDIRECT_SSL_TLS_SNI' => 'santiyoga.com',
'REDIRECT_STATUS' => '200',
'HTTPS' => 'on',
'SSL_TLS_SNI' => 'santiyoga.com',
'HTTP_ACCEPT' => '*/*',
'HTTP_USER_AGENT' => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)',
'HTTP_COOKIE' => 'cartid=72f1ef2efa20241123014850.461119; fikker-61vm-nk2N=MgPGRI6oXLV7DSLWJk4y6wNi63F1ZE0E; PHPSESSID=7f3etvqs1mledm66p5rarkfap4',
'HTTP_ACCEPT_ENCODING' => 'gzip, br, zstd, deflate',
'HTTP_HOST' => 'santiyoga.com',
'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin',
'SERVER_SIGNATURE' => '<address>Apache/2.4.41 (Ubuntu) Server at santiyoga.com Port 443</address>
',
'SERVER_SOFTWARE' => 'Apache/2.4.41 (Ubuntu)',
'SERVER_NAME' => 'santiyoga.com',
'SERVER_ADDR' => '103.163.226.164',
'SERVER_PORT' => '443',
'REMOTE_ADDR' => '13.59.73.248',
'DOCUMENT_ROOT' => '/home/yuasa/pusat/www.santiyoga.com/public/webroot',
'REQUEST_SCHEME' => 'https',
'CONTEXT_PREFIX' => '',
'CONTEXT_DOCUMENT_ROOT' => '/home/yuasa/pusat/www.santiyoga.com/public/webroot',
'SERVER_ADMIN' => 'eka.yahya@boleh.net.id',
'SCRIPT_FILENAME' => '/home/yuasa/pusat/www.santiyoga.com/public/webroot/index.php',
'REMOTE_PORT' => '49967',
'REDIRECT_URL' => '/news/category/home/privacy',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'REQUEST_METHOD' => 'GET',
'QUERY_STRING' => '',
'REQUEST_URI' => '/news/category//home/privacy',
'SCRIPT_NAME' => '/index.php',
'PHP_SELF' => '/index.php',
'REQUEST_TIME_FLOAT' => (float) 1732355347.151,
'REQUEST_TIME' => (int) 1732355347,
'ORIGINAL_REQUEST_METHOD' => 'GET',
]
protected base => ''
protected webroot => '/'
protected trustedProxies => [
]
protected _detectors => [
'get' => [
'env' => 'REQUEST_METHOD',
'value' => 'GET',
],
'post' => [
'env' => 'REQUEST_METHOD',
'value' => 'POST',
],
'put' => [
'env' => 'REQUEST_METHOD',
'value' => 'PUT',
],
'patch' => [
'env' => 'REQUEST_METHOD',
'value' => 'PATCH',
],
'delete' => [
'env' => 'REQUEST_METHOD',
'value' => 'DELETE',
],
'head' => [
'env' => 'REQUEST_METHOD',
'value' => 'HEAD',
],
'options' => [
'env' => 'REQUEST_METHOD',
'value' => 'OPTIONS',
],
'ssl' => [
'env' => 'HTTPS',
'options' => [
'' => [maximum depth reached],
],
],
'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\PhpInputStream) id:3 {
protected resource => (resource) Resource id #5
protected stream => 'php://input'
private cache => ''
private reachedEof => false
}
protected uri => object(Cake\Http\Uri) id:4 {
private base => ''
private webroot => '/'
private uri => object(Laminas\Diactoros\Uri) id:5 {
}
}
protected session => object(Cake\Http\Session) id:6 {
protected _engine => null
protected _started => null
protected _lifetime => (int) 1440
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: 6 {}
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 => [
]
protected cookies => [
'cartid' => '72f1ef2efa20241123014850.461119',
'fikker-61vm-nk2N' => 'MgPGRI6oXLV7DSLWJk4y6wNi63F1ZE0E',
'PHPSESSID' => '7f3etvqs1mledm66p5rarkfap4',
]
protected _environment => [
'REDIRECT_HTTPS' => 'on',
'REDIRECT_SSL_TLS_SNI' => 'santiyoga.com',
'REDIRECT_STATUS' => '200',
'HTTPS' => 'on',
'SSL_TLS_SNI' => 'santiyoga.com',
'HTTP_ACCEPT' => '*/*',
'HTTP_USER_AGENT' => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)',
'HTTP_COOKIE' => 'cartid=72f1ef2efa20241123014850.461119; fikker-61vm-nk2N=MgPGRI6oXLV7DSLWJk4y6wNi63F1ZE0E; PHPSESSID=7f3etvqs1mledm66p5rarkfap4',
'HTTP_ACCEPT_ENCODING' => 'gzip, br, zstd, deflate',
'HTTP_HOST' => 'santiyoga.com',
'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin',
'SERVER_SIGNATURE' => '<address>Apache/2.4.41 (Ubuntu) Server at santiyoga.com Port 443</address>
',
'SERVER_SOFTWARE' => 'Apache/2.4.41 (Ubuntu)',
'SERVER_NAME' => 'santiyoga.com',
'SERVER_ADDR' => '103.163.226.164',
'SERVER_PORT' => '443',
'REMOTE_ADDR' => '13.59.73.248',
'DOCUMENT_ROOT' => '/home/yuasa/pusat/www.santiyoga.com/public/webroot',
'REQUEST_SCHEME' => 'https',
'CONTEXT_PREFIX' => '',
'CONTEXT_DOCUMENT_ROOT' => '/home/yuasa/pusat/www.santiyoga.com/public/webroot',
'SERVER_ADMIN' => 'eka.yahya@boleh.net.id',
'SCRIPT_FILENAME' => '/home/yuasa/pusat/www.santiyoga.com/public/webroot/index.php',
'REMOTE_PORT' => '49967',
'REDIRECT_URL' => '/news/category/home/privacy',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'REQUEST_METHOD' => 'GET',
'QUERY_STRING' => '',
'REQUEST_URI' => '/news/category//home/privacy',
'SCRIPT_NAME' => '/index.php',
'PHP_SELF' => '/index.php',
'REQUEST_TIME_FLOAT' => (float) 1732355347.151,
'REQUEST_TIME' => (int) 1732355347,
'ORIGINAL_REQUEST_METHOD' => 'GET',
]
protected base => ''
protected webroot => '/'
protected trustedProxies => [
]
protected _detectors => [
'get' => [
'env' => 'REQUEST_METHOD',
'value' => 'GET',
],
'post' => [
'env' => 'REQUEST_METHOD',
'value' => 'POST',
],
'put' => [
'env' => 'REQUEST_METHOD',
'value' => 'PUT',
],
'patch' => [
'env' => 'REQUEST_METHOD',
'value' => 'PATCH',
],
'delete' => [
'env' => 'REQUEST_METHOD',
'value' => 'DELETE',
],
'head' => [
'env' => 'REQUEST_METHOD',
'value' => 'HEAD',
],
'options' => [
'env' => 'REQUEST_METHOD',
'value' => 'OPTIONS',
],
'ssl' => [
'env' => 'HTTPS',
'options' => [
'' => [maximum depth reached],
],
],
'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\PhpInputStream) id:3 {
protected resource => (resource) Resource id #5
protected stream => 'php://input'
private cache => ''
private reachedEof => false
}
protected uri => object(Cake\Http\Uri) id:4 {
private base => ''
private webroot => '/'
private uri => object(Laminas\Diactoros\Uri) id:5 {
}
}
protected session => object(Cake\Http\Session) id:6 {
protected _engine => null
protected _started => null
protected _lifetime => (int) 1440
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: 6 {}
protected _config => [
'' => [maximum depth reached],
]
protected _configInitialized => true
}
protected attributes => [
]
protected emulatedAttributes => [
(int) 0 => 'session',
(int) 1 => 'flash',
(int) 2 => 'webroot',
(int) 3 => 'base',
(int) 4 => 'params',
(int) 5 => 'here',
]
protected uploadedFiles => [
]
protected protocol => null
protected requestTarget => null
}
object(App\Application) id:0 {
protected configDir => '/home/yuasa/pusat/www.santiyoga.com/public/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\NewsController) 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