/var/www/sites/webcsb/htdocs/vendor/cakephp/cakephp/src/ORM/Table.php
toggle arguments
|
<?php }
|
|
<?php $query->cache($cacheKey, $cacheConfig);
|
|
<?php }
|
|
<?php
|
|
<?php return $query->firstOrFail();
|
|
<?php }
|
|
<?php
|
|
<?php /**
|
|
<?php * Handles the logic executing of a worker inside a transaction.
|
/var/www/sites/webcsb/htdocs/src/Controller/ModulesController.php
toggle arguments
|
<?php }
|
|
<?php
|
|
<?php public function view($id = null) {
|
|
<?php
|
|
<?php $module = $this->Modules->get($id, [
|
|
<?php 'contain' => [
|
|
<?php 'Users'=>['Labs'],
|
|
<?php 'Timeslots'=>['sort'=>['Timeslots.start_date']],
|
|
<?php 'Openings', 'Audiences', 'Partners', 'Speakers', 'Types', 'Topics', 'Zones', 'Durations', 'Pjs', 'Languages'
|
/var/www/sites/webcsb/htdocs/vendor/cakephp/cakephp/src/Controller/Controller.php
toggle arguments
|
<?php }
|
|
<?php /* @var callable $callable */
|
|
<?php $callable = [$this, $request->getParam('action')];
|
|
<?php
|
|
<?php $result = $callable(...array_values($request->getParam('pass')));
|
|
<?php if ($result instanceof Response) {
|
|
<?php $this->response = $result;
|
|
<?php }
|
|
<?php
|
/var/www/sites/webcsb/htdocs/vendor/cakephp/cakephp/src/Http/ActionDispatcher.php
toggle arguments
|
<?php if ($result instanceof Response) {
|
|
<?php return $result;
|
|
<?php }
|
|
<?php
|
|
<?php $response = $controller->invokeAction();
|
|
<?php if ($response !== null && !($response instanceof Response)) {
|
|
<?php throw new LogicException('Controller actions can only return Cake\Http\Response or null.');
|
|
<?php }
|
|
<?php
|
/var/www/sites/webcsb/htdocs/vendor/cakephp/cakephp/src/Http/ActionDispatcher.php
toggle arguments
|
<?php } else {
|
|
<?php $controller = $this->factory->create($request, $response);
|
|
<?php }
|
|
<?php
|
|
<?php $response = $this->_invoke($controller);
|
|
<?php if ($request->getParam('return')) {
|
|
<?php return $response;
|
|
<?php }
|
|
<?php
|
/var/www/sites/webcsb/htdocs/vendor/cakephp/cakephp/src/Http/BaseApplication.php
toggle arguments
|
<?php * @return \Psr\Http\Message\ResponseInterface
|
|
<?php */
|
|
<?php public function __invoke(ServerRequestInterface $request, ResponseInterface $response, $next)
|
|
<?php {
|
|
<?php return $this->getDispatcher()->dispatch($request, $response);
|
|
<?php }
|
|
<?php
|
|
<?php /**
|
|
<?php * Get the ActionDispatcher.
|
/var/www/sites/webcsb/htdocs/vendor/cakephp/cakephp/src/Http/Runner.php
toggle arguments
|
<?php $next = $this->middleware->get($this->index);
|
|
<?php if ($next) {
|
|
<?php $this->index++;
|
|
<?php
|
|
<?php return $next($request, $response, $this);
|
|
<?php }
|
|
<?php
|
|
<?php // End of the queue
|
|
<?php return $response;
|
/var/www/sites/webcsb/htdocs/vendor/cakephp/cakephp/src/Routing/Middleware/RoutingMiddleware.php
toggle arguments
|
<?php );
|
|
<?php }
|
|
<?php $matching = Router::getRouteCollection()->getMiddleware($middleware);
|
|
<?php if (!$matching) {
|
|
<?php return $next($request, $response);
|
|
<?php }
|
|
<?php $matching[] = $next;
|
|
<?php $middleware = new MiddlewareQueue($matching);
|
|
<?php $runner = new Runner();
|
/var/www/sites/webcsb/htdocs/vendor/cakephp/cakephp/src/Http/Runner.php
toggle arguments
|
<?php $next = $this->middleware->get($this->index);
|
|
<?php if ($next) {
|
|
<?php $this->index++;
|
|
<?php
|
|
<?php return $next($request, $response, $this);
|
|
<?php }
|
|
<?php
|
|
<?php // End of the queue
|
|
<?php return $response;
|
/var/www/sites/webcsb/htdocs/vendor/cakephp/cakephp/src/Routing/Middleware/AssetMiddleware.php
toggle arguments
|
<?php public function __invoke($request, $response, $next)
|
|
<?php {
|
|
<?php $url = $request->getUri()->getPath();
|
|
<?php if (strpos($url, '..') !== false || strpos($url, '.') === false) {
|
|
<?php return $next($request, $response);
|
|
<?php }
|
|
<?php
|
|
<?php if (strpos($url, '/.') !== false) {
|
|
<?php return $next($request, $response);
|
/var/www/sites/webcsb/htdocs/vendor/cakephp/cakephp/src/Http/Runner.php
toggle arguments
|
<?php $next = $this->middleware->get($this->index);
|
|
<?php if ($next) {
|
|
<?php $this->index++;
|
|
<?php
|
|
<?php return $next($request, $response, $this);
|
|
<?php }
|
|
<?php
|
|
<?php // End of the queue
|
|
<?php return $response;
|
/var/www/sites/webcsb/htdocs/vendor/cakephp/cakephp/src/Error/Middleware/ErrorHandlerMiddleware.php
toggle arguments
|
<?php */
|
|
<?php public function __invoke($request, $response, $next)
|
|
<?php {
|
|
<?php try {
|
|
<?php return $next($request, $response);
|
|
<?php } catch (Throwable $exception) {
|
|
<?php return $this->handleException($exception, $request, $response);
|
|
<?php } catch (Exception $exception) {
|
|
<?php return $this->handleException($exception, $request, $response);
|
/var/www/sites/webcsb/htdocs/vendor/cakephp/cakephp/src/Http/Runner.php
toggle arguments
|
<?php $next = $this->middleware->get($this->index);
|
|
<?php if ($next) {
|
|
<?php $this->index++;
|
|
<?php
|
|
<?php return $next($request, $response, $this);
|
|
<?php }
|
|
<?php
|
|
<?php // End of the queue
|
|
<?php return $response;
|
/var/www/sites/webcsb/htdocs/vendor/cakephp/cakephp/src/Http/Runner.php
toggle arguments
|
<?php {
|
|
<?php $this->middleware = $middleware;
|
|
<?php $this->index = 0;
|
|
<?php
|
|
<?php return $this->__invoke($request, $response);
|
|
<?php }
|
|
<?php
|
|
<?php /**
|
|
<?php * @param \Psr\Http\Message\ServerRequestInterface $request The server request
|
/var/www/sites/webcsb/htdocs/vendor/cakephp/cakephp/src/Http/Server.php
toggle arguments
|
<?php }
|
|
<?php $this->dispatchEvent('Server.buildMiddleware', ['middleware' => $middleware]);
|
|
<?php $middleware->add($this->app);
|
|
<?php
|
|
<?php $response = $this->runner->run($middleware, $request, $response);
|
|
<?php
|
|
<?php if (!($response instanceof ResponseInterface)) {
|
|
<?php throw new RuntimeException(sprintf(
|
|
<?php 'Application did not create a response. Got "%s" instead.',
|
/var/www/sites/webcsb/htdocs/webroot/index.php
toggle arguments
|
<?php // Bind your application to the server.
|
|
<?php $server = new Server(new Application(dirname(__DIR__) . '/config'));
|
|
<?php
|
|
<?php // Run the request/response through the application and emit the response.
|
|
<?php $server->emit($server->run());
|
|
<?php
|
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('Atricles');
- The class file has a typo in the name or incorrect namespace: class Atricles extends Table
- The file containing the class has a typo or incorrect casing: Atricles.php
- The Table was used using associations but the association has a typo: $this->belongsTo('Atricles')
- 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:
- Types
- Topics
- Zones
- Durations
- Languages
If you want to customize this error message, create
src/Template/Error/error500.ctp