if($entity->main_variation_product_id){
return $this->view($entity->main_variation_product_id);
Webshop\Controller\WebshopProductsController::view() /home/totalstu/dev23.totalstudio.dev/plugins/Webshop/src/Controller/WebshopProductsController.php, line 301 Cake\Controller\Controller::invokeAction() /home/totalstu/dev23.totalstudio.dev/vendor/cakephp/cakephp/src/Controller/Controller.php, line 547 Cake\Controller\ControllerFactory::handle() /home/totalstu/dev23.totalstudio.dev/vendor/cakephp/cakephp/src/Controller/ControllerFactory.php, line 139 Cake\Controller\ControllerFactory::invoke() /home/totalstu/dev23.totalstudio.dev/vendor/cakephp/cakephp/src/Controller/ControllerFactory.php, line 114 Cake\Http\BaseApplication::handle() /home/totalstu/dev23.totalstudio.dev/vendor/cakephp/cakephp/src/Http/BaseApplication.php, line 320 Cake\Http\Runner::handle() /home/totalstu/dev23.totalstudio.dev/vendor/cakephp/cakephp/src/Http/Runner.php, line 77 App\Middleware\TSConversionMiddleware::process() /home/totalstu/dev23.totalstudio.dev/src/Middleware/TSConversionMiddleware.php, line 88 Cake\Http\Runner::handle() /home/totalstu/dev23.totalstudio.dev/vendor/cakephp/cakephp/src/Http/Runner.php, line 73 Webshop\Middleware\WebshopMiddleware::process() /home/totalstu/dev23.totalstudio.dev/plugins/Webshop/src/Middleware/WebshopMiddleware.php, line 458 Cake\Http\Runner::handle() /home/totalstu/dev23.totalstudio.dev/vendor/cakephp/cakephp/src/Http/Runner.php, line 73 ThemeBorhalo\Middleware\BorhaloMiddleware::process() /home/totalstu/dev23.totalstudio.dev/plugins/ThemeBorhalo/src/Middleware/BorhaloMiddleware.php, line 109 Cake\Http\Runner::handle() /home/totalstu/dev23.totalstudio.dev/vendor/cakephp/cakephp/src/Http/Runner.php, line 73 Loc\Middleware\LocMiddleware::process() /home/totalstu/dev23.totalstudio.dev/plugins/Loc/src/Middleware/LocMiddleware.php, line 27 Cake\Http\Runner::handle() /home/totalstu/dev23.totalstudio.dev/vendor/cakephp/cakephp/src/Http/Runner.php, line 73 Cache\Routing\Middleware\CacheMiddleware::process() /home/totalstu/dev23.totalstudio.dev/vendor/dereuromark/cakephp-cache/src/Routing/Middleware/CacheMiddleware.php, line 80 Cake\Http\Runner::handle() /home/totalstu/dev23.totalstudio.dev/vendor/cakephp/cakephp/src/Http/Runner.php, line 73 Cake\Http\Middleware\BodyParserMiddleware::process() /home/totalstu/dev23.totalstudio.dev/vendor/cakephp/cakephp/src/Http/Middleware/BodyParserMiddleware.php, line 157 Cake\Http\Runner::handle() /home/totalstu/dev23.totalstudio.dev/vendor/cakephp/cakephp/src/Http/Runner.php, line 73 App\Middleware\TSAuthMiddleware::process() /home/totalstu/dev23.totalstudio.dev/src/Middleware/TSAuthMiddleware.php, line 184 Cake\Http\Runner::handle() /home/totalstu/dev23.totalstudio.dev/vendor/cakephp/cakephp/src/Http/Runner.php, line 73 Authorization\Middleware\AuthorizationMiddleware::process() /home/totalstu/dev23.totalstudio.dev/vendor/cakephp/authorization/src/Middleware/AuthorizationMiddleware.php, line 129 Cake\Http\Runner::handle() /home/totalstu/dev23.totalstudio.dev/vendor/cakephp/cakephp/src/Http/Runner.php, line 73 Authentication\Middleware\AuthenticationMiddleware::process() /home/totalstu/dev23.totalstudio.dev/vendor/cakephp/authentication/src/Middleware/AuthenticationMiddleware.php, line 124 Cake\Http\Runner::handle() /home/totalstu/dev23.totalstudio.dev/vendor/cakephp/cakephp/src/Http/Runner.php, line 73 ADmad\SocialAuth\Middleware\SocialAuthMiddleware::process() /home/totalstu/dev23.totalstudio.dev/vendor/admad/cakephp-social-auth/src/Middleware/SocialAuthMiddleware.php, line 221 Cake\Http\Runner::handle() /home/totalstu/dev23.totalstudio.dev/vendor/cakephp/cakephp/src/Http/Runner.php, line 73 Cake\Http\Middleware\CsrfProtectionMiddleware::process() /home/totalstu/dev23.totalstudio.dev/vendor/cakephp/cakephp/src/Http/Middleware/CsrfProtectionMiddleware.php, line 164 Cake\Http\Runner::handle() /home/totalstu/dev23.totalstudio.dev/vendor/cakephp/cakephp/src/Http/Runner.php, line 73 App\Middleware\TSSecurityMiddleware::process() /home/totalstu/dev23.totalstudio.dev/src/Middleware/TSSecurityMiddleware.php, line 43 Cake\Http\Runner::handle() /home/totalstu/dev23.totalstudio.dev/vendor/cakephp/cakephp/src/Http/Runner.php, line 73 App\Middleware\TSApiMiddleware::process() /home/totalstu/dev23.totalstudio.dev/src/Middleware/TSApiMiddleware.php, line 28 Cake\Http\Runner::handle() /home/totalstu/dev23.totalstudio.dev/vendor/cakephp/cakephp/src/Http/Runner.php, line 73 App\Middleware\TSLanguageMiddleware::process() /home/totalstu/dev23.totalstudio.dev/src/Middleware/TSLanguageMiddleware.php, line 159 Cake\Http\Runner::handle() /home/totalstu/dev23.totalstudio.dev/vendor/cakephp/cakephp/src/Http/Runner.php, line 73 Cake\Routing\Middleware\RoutingMiddleware::process() /home/totalstu/dev23.totalstudio.dev/vendor/cakephp/cakephp/src/Routing/Middleware/RoutingMiddleware.php, line 186 Cake\Http\Runner::handle() /home/totalstu/dev23.totalstudio.dev/vendor/cakephp/cakephp/src/Http/Runner.php, line 73 Cake\Routing\Middleware\AssetMiddleware::process() /home/totalstu/dev23.totalstudio.dev/vendor/cakephp/cakephp/src/Routing/Middleware/AssetMiddleware.php, line 68 Cake\Http\Runner::handle() /home/totalstu/dev23.totalstudio.dev/vendor/cakephp/cakephp/src/Http/Runner.php, line 73 App\Middleware\RedirectUrlMiddleware::process() /home/totalstu/dev23.totalstudio.dev/src/Middleware/RedirectUrlMiddleware.php, line 98 Cake\Http\Runner::handle() /home/totalstu/dev23.totalstudio.dev/vendor/cakephp/cakephp/src/Http/Runner.php, line 73 Cake\Error\Middleware\ErrorHandlerMiddleware::process() /home/totalstu/dev23.totalstudio.dev/vendor/cakephp/cakephp/src/Error/Middleware/ErrorHandlerMiddleware.php, line 131 Cake\Http\Runner::handle() /home/totalstu/dev23.totalstudio.dev/vendor/cakephp/cakephp/src/Http/Runner.php, line 73 DebugKit\Middleware\DebugKitMiddleware::process() /home/totalstu/dev23.totalstudio.dev/vendor/cakephp/debug_kit/src/Middleware/DebugKitMiddleware.php, line 60 Cake\Http\Runner::handle() /home/totalstu/dev23.totalstudio.dev/vendor/cakephp/cakephp/src/Http/Runner.php, line 73 Cake\Http\Runner::run() /home/totalstu/dev23.totalstudio.dev/vendor/cakephp/cakephp/src/Http/Runner.php, line 58 Cake\Http\Server::run() /home/totalstu/dev23.totalstudio.dev/vendor/cakephp/cakephp/src/Http/Server.php, line 90 [main] /home/totalstu/dev23.totalstudio.dev/webroot/index.php, line 40
$message = "Unable to emit headers. Headers sent in file=$file line=$line";
trigger_error($message, E_USER_WARNING);
}
Cake\Http\ResponseEmitter::emit() /home/totalstu/dev23.totalstudio.dev/vendor/cakephp/cakephp/src/Http/ResponseEmitter.php, line 71 Cake\Http\Server::emit() /home/totalstu/dev23.totalstudio.dev/vendor/cakephp/cakephp/src/Http/Server.php, line 128 [main] /home/totalstu/dev23.totalstudio.dev/webroot/index.php, line 40
$reasonPhrase = $response->getReasonPhrase();
header(sprintf(
'HTTP/%s %d%s',
header [internal], line ?? Cake\Http\ResponseEmitter::emitStatusLine() /home/totalstu/dev23.totalstudio.dev/vendor/cakephp/cakephp/src/Http/ResponseEmitter.php, line 164 Cake\Http\ResponseEmitter::emit() /home/totalstu/dev23.totalstudio.dev/vendor/cakephp/cakephp/src/Http/ResponseEmitter.php, line 74 Cake\Http\Server::emit() /home/totalstu/dev23.totalstudio.dev/vendor/cakephp/cakephp/src/Http/Server.php, line 128 [main] /home/totalstu/dev23.totalstudio.dev/webroot/index.php, line 40
foreach ($values as $value) {
header(sprintf(
'%s: %s',
header [internal], line ?? Cake\Http\ResponseEmitter::emitHeaders() /home/totalstu/dev23.totalstudio.dev/vendor/cakephp/cakephp/src/Http/ResponseEmitter.php, line 197 Cake\Http\ResponseEmitter::emit() /home/totalstu/dev23.totalstudio.dev/vendor/cakephp/cakephp/src/Http/ResponseEmitter.php, line 75 Cake\Http\Server::emit() /home/totalstu/dev23.totalstudio.dev/vendor/cakephp/cakephp/src/Http/Server.php, line 128 [main] /home/totalstu/dev23.totalstudio.dev/webroot/index.php, line 40
foreach ($values as $value) {
header(sprintf(
'%s: %s',
header [internal], line ?? Cake\Http\ResponseEmitter::emitHeaders() /home/totalstu/dev23.totalstudio.dev/vendor/cakephp/cakephp/src/Http/ResponseEmitter.php, line 197 Cake\Http\ResponseEmitter::emit() /home/totalstu/dev23.totalstudio.dev/vendor/cakephp/cakephp/src/Http/ResponseEmitter.php, line 75 Cake\Http\Server::emit() /home/totalstu/dev23.totalstudio.dev/vendor/cakephp/cakephp/src/Http/Server.php, line 128 [main] /home/totalstu/dev23.totalstudio.dev/webroot/index.php, line 40
/** @psalm-suppress InvalidArgument */
return setcookie($cookie->getName(), $cookie->getScalarValue(), $cookie->getOptions());
}
setcookie [internal], line ?? Cake\Http\ResponseEmitter::setCookie() /home/totalstu/dev23.totalstudio.dev/vendor/cakephp/cakephp/src/Http/ResponseEmitter.php, line 236 Cake\Http\ResponseEmitter::emitCookies() /home/totalstu/dev23.totalstudio.dev/vendor/cakephp/cakephp/src/Http/ResponseEmitter.php, line 218 Cake\Http\ResponseEmitter::emitHeaders() /home/totalstu/dev23.totalstudio.dev/vendor/cakephp/cakephp/src/Http/ResponseEmitter.php, line 206 Cake\Http\ResponseEmitter::emit() /home/totalstu/dev23.totalstudio.dev/vendor/cakephp/cakephp/src/Http/ResponseEmitter.php, line 75 Cake\Http\Server::emit() /home/totalstu/dev23.totalstudio.dev/vendor/cakephp/cakephp/src/Http/Server.php, line 128 [main] /home/totalstu/dev23.totalstudio.dev/webroot/index.php, line 40
return $this->view($entity->main_variation_product_id); |
|
} |
|
|
|
if (empty($entity)) { |
|
throw new NotFoundException(__d('webshop', 'A termék nem található!')); |
|
} |
|
|
|
if ($this->request->getSession()->read('Auth.access') && in_array('/Webshop/Admin/WebshopProducts/edit', $this->request->getSession()->read('Auth.access'))) { |
|
$adminEdit = true; |
* @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.', |
$args = $this->getActionArgs( |
|
$action, |
|
array_values((array)$controller->getRequest()->getParam('pass')) |
|
); |
|
$controller->invokeAction($action, $args); |
|
|
|
$result = $controller->shutdownProcess(); |
|
if ($result instanceof ResponseInterface) { |
|
return $result; |
|
|
return $runner->run($middlewareQueue, $controller->getRequest(), $this); |
|
} |
|
|
|
return $this->handle($controller->getRequest()); |
|
} |
|
|
|
/** |
|
* Invoke the action. |
} |
|
|
|
$controller = $this->controllerFactory->create($request); |
|
|
|
return $this->controllerFactory->invoke($controller); |
|
} |
|
} |
|
|
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 ' |
'data' => $ret |
|
])); |
|
} |
|
|
|
return $handler->handle($request); |
|
|
|
} |
|
|
|
|
if ($this->queue->valid()) { |
|
$middleware = $this->queue->current(); |
|
$this->queue->next(); |
|
|
|
return $middleware->process($request, $this); |
|
} |
|
|
|
if ($this->fallbackHandler) { |
|
return $this->fallbackHandler->handle($request); |
'data' => $ret |
|
])); |
|
} |
|
|
|
return $handler->handle($request); |
|
} |
|
} |
if ($this->queue->valid()) { |
|
$middleware = $this->queue->current(); |
|
$this->queue->next(); |
|
|
|
return $middleware->process($request, $this); |
|
} |
|
|
|
if ($this->fallbackHandler) { |
|
return $this->fallbackHandler->handle($request); |
->withLocation('/termekeink?key_custom='.$request->getQuery('searchVal').'&key_custom_ac='.$request->getQuery('searchVal')) |
|
->withStatus(301); |
|
|
|
} |
|
return $handler->handle($request); |
|
} |
|
|
|
} |
if ($this->queue->valid()) { |
|
$middleware = $this->queue->current(); |
|
$this->queue->next(); |
|
|
|
return $middleware->process($request, $this); |
|
} |
|
|
|
if ($this->fallbackHandler) { |
|
return $this->fallbackHandler->handle($request); |
use ModelAwareTrait; |
|
|
|
public function process(ServerRequestInterface $request, RequestHandlerInterface $handler): ResponseInterface { |
|
if($request->getParam('plugin') != 'Loc' || $request->getParam('controller') != 'LocZips' || $request->getParam('action') != 'select'){ |
|
return $handler->handle($request); |
|
} |
|
$this->loadModel('Loc.LocZips'); |
|
|
|
$data = $this->LocZips->find('search',[ |
if ($this->queue->valid()) { |
|
$middleware = $this->queue->current(); |
|
$this->queue->next(); |
|
|
|
return $middleware->process($request, $this); |
|
} |
|
|
|
if ($this->fallbackHandler) { |
|
return $this->fallbackHandler->handle($request); |
$cacheKey = CacheKey::generate($url, $this->getConfig('prefix'), $this->getConfig('keyGenerator')); |
|
$fileContent = $this->getContent($url, $cacheKey); |
|
|
|
if ($fileContent === null) { |
|
return $handler->handle($request); |
|
} |
|
|
|
$cacheContent = $this->extractCacheContent($fileContent); |
|
$cacheInfo = $this->extractCacheInfo($cacheContent); |
if ($this->queue->valid()) { |
|
$middleware = $this->queue->current(); |
|
$this->queue->next(); |
|
|
|
return $middleware->process($request, $this); |
|
} |
|
|
|
if ($this->fallbackHandler) { |
|
return $this->fallbackHandler->handle($request); |
*/ |
|
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])) { |
if ($this->queue->valid()) { |
|
$middleware = $this->queue->current(); |
|
$this->queue->next(); |
|
|
|
return $middleware->process($request, $this); |
|
} |
|
|
|
if ($this->fallbackHandler) { |
|
return $this->fallbackHandler->handle($request); |
case Result::SUCCESS: |
|
return $this->identifySuccess($request, $handler, $service); |
|
//if the failure something like we are not in the login route pass trough. |
|
case Result::FAILURE_OTHER: |
|
return $handler->handle($request); |
|
} |
|
return $handler->handle($request); |
|
} |
|
|
if ($this->queue->valid()) { |
|
$middleware = $this->queue->current(); |
|
$this->queue->next(); |
|
|
|
return $middleware->process($request, $this); |
|
} |
|
|
|
if ($this->fallbackHandler) { |
|
return $this->fallbackHandler->handle($request); |
$request = $request->withAttribute($attribute, $identity); |
|
} |
|
|
|
try { |
|
$response = $handler->handle($request); |
|
|
|
if ($this->getConfig('requireAuthorizationCheck') && !$service->authorizationChecked()) { |
|
throw new AuthorizationRequiredException(['url' => $request->getRequestTarget()]); |
|
} |
if ($this->queue->valid()) { |
|
$middleware = $this->queue->current(); |
|
$this->queue->next(); |
|
|
|
return $middleware->process($request, $this); |
|
} |
|
|
|
if ($this->fallbackHandler) { |
|
return $this->fallbackHandler->handle($request); |
$request = $request->withAttribute('authentication', $service); |
|
$request = $request->withAttribute('authenticationResult', $result); |
|
|
|
try { |
|
$response = $handler->handle($request); |
|
$authenticator = $service->getAuthenticationProvider(); |
|
|
|
if ($authenticator !== null && !$authenticator instanceof StatelessInterface) { |
|
$return = $service->persistIdentity($request, $response, $result->getData()); |
if ($this->queue->valid()) { |
|
$middleware = $this->queue->current(); |
|
$this->queue->next(); |
|
|
|
return $middleware->process($request, $this); |
|
} |
|
|
|
if ($this->fallbackHandler) { |
|
return $this->fallbackHandler->handle($request); |
Hash::get($params, 'plugin') !== 'ADmad/SocialAuth' |
|
|| Hash::get($params, 'controller') !== 'Auth' |
|
|| !in_array($action, ['login', 'callback'], true) |
|
) { |
|
return $handler->handle($request); |
|
} |
|
|
|
$method = '_handle' . ucfirst($action) . 'Action'; |
|
|
if ($this->queue->valid()) { |
|
$middleware = $this->queue->current(); |
|
$this->queue->next(); |
|
|
|
return $middleware->process($request, $this); |
|
} |
|
|
|
if ($this->fallbackHandler) { |
|
return $this->fallbackHandler->handle($request); |
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); |
|
} |
|
|
if ($this->queue->valid()) { |
|
$middleware = $this->queue->current(); |
|
$this->queue->next(); |
|
|
|
return $middleware->process($request, $this); |
|
} |
|
|
|
if ($this->fallbackHandler) { |
|
return $this->fallbackHandler->handle($request); |
}else{ |
|
$request = $request->withAttribute('allowEntity', $forceAllow || $request->is('api') || !$request->is('json')); |
|
} |
|
} |
|
return $handler->handle($request); |
|
} |
|
|
|
} |
if ($this->queue->valid()) { |
|
$middleware = $this->queue->current(); |
|
$this->queue->next(); |
|
|
|
return $middleware->process($request, $this); |
|
} |
|
|
|
if ($this->fallbackHandler) { |
|
return $this->fallbackHandler->handle($request); |
{ |
|
public function process(ServerRequestInterface $request, RequestHandlerInterface $handler): ResponseInterface{ |
|
//If not api skip |
|
if(strpos($request->getPath(),'/api') !== 0){ |
|
return $handler->handle($request); |
|
} |
|
$request->addDetector('api', function(){return true;}); |
|
$apiKey = $request->getHeaderLine('TSApiKey'); |
|
|
if ($this->queue->valid()) { |
|
$middleware = $this->queue->current(); |
|
$this->queue->next(); |
|
|
|
return $middleware->process($request, $this); |
|
} |
|
|
|
if ($this->fallbackHandler) { |
|
return $this->fallbackHandler->handle($request); |
} |
|
if (env('PLUGIN')) { |
|
Configure::load(env('PLUGIN') . '.studio_admin_menu', 'default'); |
|
} |
|
return $handler->handle($request); |
|
} |
|
} |
|
|
if ($this->queue->valid()) { |
|
$middleware = $this->queue->current(); |
|
$this->queue->next(); |
|
|
|
return $middleware->process($request, $this); |
|
} |
|
|
|
if ($this->fallbackHandler) { |
|
return $this->fallbackHandler->handle($request); |
); |
|
} |
|
$matching = Router::getRouteCollection()->getMiddleware($middleware); |
|
if (!$matching) { |
|
return $handler->handle($request); |
|
} |
|
|
|
$middleware = new MiddlewareQueue($matching); |
|
$runner = new Runner(); |
if ($this->queue->valid()) { |
|
$middleware = $this->queue->current(); |
|
$this->queue->next(); |
|
|
|
return $middleware->process($request, $this); |
|
} |
|
|
|
if ($this->fallbackHandler) { |
|
return $this->fallbackHandler->handle($request); |
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); |
if ($this->queue->valid()) { |
|
$middleware = $this->queue->current(); |
|
$this->queue->next(); |
|
|
|
return $middleware->process($request, $this); |
|
} |
|
|
|
if ($this->fallbackHandler) { |
|
return $this->fallbackHandler->handle($request); |
->withStatus($redirectNow->redirect_type); |
|
} |
|
} |
|
} |
|
return $handler->handle($request); |
|
} |
|
} |
if ($this->queue->valid()) { |
|
$middleware = $this->queue->current(); |
|
$this->queue->next(); |
|
|
|
return $middleware->process($request, $this); |
|
} |
|
|
|
if ($this->fallbackHandler) { |
|
return $this->fallbackHandler->handle($request); |
*/ |
|
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); |
if ($this->queue->valid()) { |
|
$middleware = $this->queue->current(); |
|
$this->queue->next(); |
|
|
|
return $middleware->process($request, $this); |
|
} |
|
|
|
if ($this->fallbackHandler) { |
|
return $this->fallbackHandler->handle($request); |
if ($this->service->isEnabled()) { |
|
$this->service->loadPanels(); |
|
$this->service->initializePanels(); |
|
} |
|
$response = $handler->handle($request); |
|
|
|
if (!$this->service->isEnabled()) { |
|
return $response; |
|
} |
if ($this->queue->valid()) { |
|
$middleware = $this->queue->current(); |
|
$this->queue->next(); |
|
|
|
return $middleware->process($request, $this); |
|
} |
|
|
|
if ($this->fallbackHandler) { |
|
return $this->fallbackHandler->handle($request); |
$this->queue = $queue; |
|
$this->queue->rewind(); |
|
$this->fallbackHandler = $fallbackHandler; |
|
|
|
return $this->handle($request); |
|
} |
|
|
|
/** |
|
* Handle incoming server request and return a response. |
} |
|
|
|
$this->dispatchEvent('Server.buildMiddleware', ['middleware' => $middleware]); |
|
|
|
$response = $this->runner->run($middleware, $request, $this->app); |
|
|
|
if ($request instanceof ServerRequest) { |
|
$request->getSession()->close(); |
|
} |
// 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()); |
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:
Please try correcting the issue for the following table aliases:
If you want to customize this error message, create templates/Error/error400.ctp