Class think\http\middleware\Dispatcher

浏览:567 发布日期:2018/05/22 分类:ThinkPHP5专区 关键字: middleware Dispatcher
执行composer update后
composer update
PHP Warning: Module 'mbstring' already loaded in Unknown on line 0
Do not run Composer as root/super user! See https://getcomposer.org/root for details
Loading composer repositories with package information
Updating dependencies (including require-dev)
Package operations: 0 installs, 5 updates, 0 removals
- Updating topthink/think-installer (v1.0.12 => v2.0.0): Downloading (100%)
- Updating topthink/framework (v5.1.8 => v5.1.14): Downloading (100%)
- Updating topthink/think-queue (v2.0.1 => v2.0.4): Downloading (100%)
File application/extra/queue.php exist!
- Updating workerman/workerman (v3.5.5 => v3.5.6): Loading from cache
- Updating guzzlehttp/guzzle (6.3.2 => 6.3.3): Loading from cache
Writing lock file
Generating autoload files
所有页面,报错
[-1] ReflectionException in Container.php line 244
Class think\http\middleware\Dispatcher does not exist
Call Stack
in Container.php line 244
at ReflectionClass->__construct('think\http\middlewar...') in Container.php line 244
at Container->invokeClass('think\http\middlewar...', []) in Container.php line 169
at Container->make('think\http\middlewar...', [], false) in Container.php line 166
at Container->make('middlewareDispatcher') in App.php line 843
at App->__get('middlewareDispatcher') in App.php line 368
at App->run() in index.php line 21
咋回事,原来是可以的
最佳答案
评论( 相关
后面还有条评论,点击查看>>