Exception
lithium\action\DispatchException
(code 404)
Controller `Wiki` not found.
Source
Stack Trace
-
[exception]
/var/www/senscritique/libraries/lithium/action/Dispatcher.php: 253
248 $controller = $params['params']['controller']; 249 250 try { 251 return Libraries::instance('controllers', $controller, $options); 252 } catch (ClassNotFoundException $e) { 253 throw new DispatchException("Controller `{$controller}` not found.", null, $e); 254 } 255 }); 256 } 257 258 /**
-
lithium\aop\Filters::run()
/var/www/senscritique/libraries/lithium/aop/Filters.php: 229
224 */ 225 public static function run($class, $method, array $params, $implementation) { 226 $implementation = static::_bcImplementation($class, $method, $params, $implementation); 227 228 if (!static::hasApplied($class, $method)) { 229 return $implementation($params); 230 } 231 return static::_chain($class, $method)->run($params, $implementation); 232 } 233 234 /**
-
lithium\action\Dispatcher::_callable()
/var/www/senscritique/libraries/lithium/action/Dispatcher.php: 255
250 try { 251 return Libraries::instance('controllers', $controller, $options); 252 } catch (ClassNotFoundException $e) { 253 throw new DispatchException("Controller `{$controller}` not found.", null, $e); 254 } 255 }); 256 } 257 258 /** 259 * Invokes the callable object returned by `_callable()`, and returns the results, usually a 260 * `Response` object instance.
-
lithium\action\Dispatcher::run()::{closure} @ 153
/var/www/senscritique/libraries/lithium/action/Dispatcher.php: 167
162 $params = static::applyRules($result->params); 163 164 if (!$params) { 165 throw new DispatchException('Could not route request.'); 166 } 167 $callable = static::_callable($result, $params, $options); 168 return static::_call($callable, $result, $params); 169 }); 170 } 171 172 /**
-
lithium\aop\Chain::__invoke()
/var/www/senscritique/libraries/lithium/aop/Chain.php: 155
150 if (($filter = next($this->_filters)) !== false) { 151 return $filter($params, $this); 152 } 153 154 $implementation = $this->_implementation; 155 return $implementation($params); 156 } 157 158 /* Deprecated / BC */ 159 160 /**
-
/var/www/senscritique/app_admin/config/bootstrap/action.php::{closure} @ 41
/var/www/senscritique/app_admin/config/bootstrap/action.php: 51
46 continue; 47 } 48 $file = "{$config['path']}/config/routes.php"; 49 file_exists($file) ? include $file : null; 50 } 51 return $chain($params); 52 }); 53 54
-
lithium\aop\Chain::__invoke()
/var/www/senscritique/libraries/lithium/aop/Chain.php: 151
146 * @return mixed The return value of the next filter. If there is no 147 * next filter, the return value of the implementation. 148 */ 149 public function __invoke(array $params) { 150 if (($filter = next($this->_filters)) !== false) { 151 return $filter($params, $this); 152 } 153 154 $implementation = $this->_implementation; 155 return $implementation($params); 156 }
-
/var/www/senscritique/app_admin/config/bootstrap/cache.php::{closure} @ 146
/var/www/senscritique/app_admin/config/bootstrap/cache.php: 154
149 if ($cache = Cache::read('read_only', $key)) { 150 $cache = (array) $cache + Libraries::cache(); 151 Libraries::cache($cache); 152 } 153 154 $result = $chain($params); 155 156 if ($cache != Libraries::cache()) { 157 Cache::write('default', $key, Libraries::cache(), '+1 day'); 158 } 159
-
lithium\aop\Chain::__invoke()
/var/www/senscritique/libraries/lithium/aop/Chain.php: 151
146 * @return mixed The return value of the next filter. If there is no 147 * next filter, the return value of the implementation. 148 */ 149 public function __invoke(array $params) { 150 if (($filter = next($this->_filters)) !== false) { 151 return $filter($params, $this); 152 } 153 154 $implementation = $this->_implementation; 155 return $implementation($params); 156 }
-
lithium\core\ErrorHandler::apply()::{closure} @ 241
/var/www/senscritique/libraries/lithium/core/ErrorHandler.php: 245
240 241 Filters::apply($class, $method, function($params, $next) use ($conditions, $handler) { 242 $wrap = static::$_exceptionHandler; 243 244 try { 245 return $next($params); 246 } catch (Exception $e) { 247 if (!static::matches($e, $conditions)) { 248 throw $e; 249 } 250 return $handler($wrap($e, true), $params);
-
lithium\aop\Chain::__invoke()
/var/www/senscritique/libraries/lithium/aop/Chain.php: 151
146 * @return mixed The return value of the next filter. If there is no 147 * next filter, the return value of the implementation. 148 */ 149 public function __invoke(array $params) { 150 if (($filter = next($this->_filters)) !== false) { 151 return $filter($params, $this); 152 } 153 154 $implementation = $this->_implementation; 155 return $implementation($params); 156 }
-
/var/www/senscritique/libraries/sc_common/config/bootstrap.php::{closure} @ 26
/var/www/senscritique/libraries/sc_common/config/bootstrap.php: 29
24 25 // Apis configuration file must always be include 26 Filters::apply('lithium\action\Dispatcher', 'run', function($params, $chain) { 27 require __DIR__ . '/bootstrap/api.php'; 28 // Return the controller. 29 return $chain($params); 30 }); 31 32 Filters::apply('lithium\console\Dispatcher', 'run', function($params, $chain) { 33 require __DIR__ . '/bootstrap/api.php'; 34 // Return the controller.
-
lithium\aop\Chain::__invoke()
/var/www/senscritique/libraries/lithium/aop/Chain.php: 151
146 * @return mixed The return value of the next filter. If there is no 147 * next filter, the return value of the implementation. 148 */ 149 public function __invoke(array $params) { 150 if (($filter = next($this->_filters)) !== false) { 151 return $filter($params, $this); 152 } 153 154 $implementation = $this->_implementation; 155 return $implementation($params); 156 }
-
sc_common\analysis\Debugger::initOnDispatcher()
/var/www/senscritique/libraries/sc_common/analysis/Debugger.php: 227
222 }); 223 } 224 } 225 226 // Return the controller. 227 $result = $chain($params); 228 229 return $result; 230 } 231 232 public static function hashQuery($query, array $options = array())
-
sc_common\analysis\Debugger::init()::{closure} @ 113
/var/www/senscritique/libraries/sc_common/analysis/Debugger.php: 106
101 return $adapter; 102 }); 103 104 // Attach to the `Connections` and `Cache` adapters after dispatch. 105 Filters::apply('lithium\action\Dispatcher', 'run', function ($params, $chain) use ($options) { 106 return Debugger::initOnDispatcher($params, $chain, $options); 107 }); 108 109 Filters::apply('lithium\console\Dispatcher', 'run', function ($params, $chain) use ($options) { 110 return Debugger::initOnDispatcher($params, $chain, $options); 111 });
-
lithium\aop\Chain::run()
/var/www/senscritique/libraries/lithium/aop/Chain.php: 122
117 */ 118 public function run(array $params, $implementation) { 119 $this->_implementation = $implementation; 120 121 $filter = reset($this->_filters); 122 $result = $filter($params, $this); 123 124 $this->_implementation = null; 125 return $result; 126 } 127
-
lithium\aop\Filters::run()
/var/www/senscritique/libraries/lithium/aop/Filters.php: 231
226 $implementation = static::_bcImplementation($class, $method, $params, $implementation); 227 228 if (!static::hasApplied($class, $method)) { 229 return $implementation($params); 230 } 231 return static::_chain($class, $method)->run($params, $implementation); 232 } 233 234 /** 235 * Clears filters optionally constrained by class or class and method combination. 236 *
-
lithium\action\Dispatcher::run()
/var/www/senscritique/libraries/lithium/action/Dispatcher.php: 169
164 if (!$params) { 165 throw new DispatchException('Could not route request.'); 166 } 167 $callable = static::_callable($result, $params, $options); 168 return static::_call($callable, $result, $params); 169 }); 170 } 171 172 /** 173 * Attempts to apply a set of formatting rules from `$_rules` to a `$params` array, where each 174 * formatting rule is applied if the key of the rule in `$_rules` is present and not empty in
-
[main]
/var/www/senscritique/app_admin/webroot/index.php: 46
41 * @see lithium\action\Response 42 * @see lithium\action\Dispatcher 43 * @see lithium\net\http\Router 44 * @see lithium\action\Controller 45 */ 46 echo lithium\action\Dispatcher::run(new lithium\action\Request()); 47 48 49