Thanks miniluigi008 , change "zendframework/zend-stratigility": "1.3.*"
in composer.json
work for me.
output this:
➜ flarum composer update
Loading composer repositories with package information
Updating dependencies (including require-dev)
Package operations: 1 install, 13 updates, 0 removals
- Updating doctrine/cache (v1.6.2 => v1.7.0): Downloading (100%)
- Updating doctrine/common (v2.7.3 => v2.8.0): Downloading (100%)
- Updating doctrine/dbal (v2.5.12 => v2.6.0): Downloading (100%)
- Updating s9e/text-formatter (0.6.2 => 0.8.5): Downloading (100%)
- Installing http-interop/http-middleware (0.2.0): Downloading (100%)
- Updating zendframework/zend-stratigility (1.2.1 => 1.3.3): Downloading (100%)
- Updating flarum/core (v0.1.0-beta.6 => v0.1.0-beta.7): Downloading (100%)
- Updating flarum/flarum-ext-flags (v0.1.0-beta.6 => v0.1.0-beta.7): Downloading (100%)
- Updating flarum/flarum-ext-approval (v0.1.0-beta.6 => v0.1.0-beta.7): Downloading (100%)
- Updating flarum/flarum-ext-english (v0.1.0-beta.6 => v0.1.0-beta.7): Downloading (100%)
- Updating flarum/flarum-ext-lock (v0.1.0-beta.6 => v0.1.0-beta.7): Downloading (100%)
- Updating flarum/flarum-ext-sticky (v0.1.0-beta.6 => v0.1.0-beta.7): Downloading (100%)
- Updating flarum/flarum-ext-suspend (v0.1.0-beta.6 => v0.1.0-beta.7): Downloading (100%)
- Updating flarum/flarum-ext-tags (v0.1.0-beta.7 => v0.1.0-beta.8): Downloading (100%)
Writing lock file
Generating autoload files
but, get this error...
503 Service Unavailable
This forum is down for maintenance.
➜ flarum php flarum cache:clear
PHP Fatal error: Uncaught Illuminate\Contracts\Container\BindingResolutionException: Unresolvable dependency resolving [Parameter #1 [ <required> callable $userResolver ]] in class Flarum\Core\Access\Gate in /Library/WebServer/Documents/flarum/vendor/illuminate/container/Container.php:828
Stack trace:
#0 /Library/WebServer/Documents/flarum/vendor/illuminate/container/Container.php(803): Illuminate\Container\Container->resolveNonClass(Object(ReflectionParameter))
#1 /Library/WebServer/Documents/flarum/vendor/illuminate/container/Container.php(775): Illuminate\Container\Container->getDependencies(Array, Array)
#2 /Library/WebServer/Documents/flarum/vendor/illuminate/container/Container.php(631): Illuminate\Container\Container->build('Flarum\\Core\\Acc...', Array)
#3 /Library/WebServer/Documents/flarum/vendor/flarum/core/src/Foundation/Application.php(514): Illuminate\Container\Container->make('Flarum\\Core\\Acc...', Array)
#4 /Library/WebServer/Documents/flarum/vendor/illuminate/container/Container.php(842): Flarum\Foundation\A in /Library/WebServer/Documents/flarum/vendor/illuminate/container/Container.php on line 828
Fatal error: Uncaught Illuminate\Contracts\Container\BindingResolutionException: Unresolvable dependency resolving [Parameter #1 [ <required> callable $userResolver ]] in class Flarum\Core\Access\Gate in /Library/WebServer/Documents/flarum/vendor/illuminate/container/Container.php:828
Stack trace:
#0 /Library/WebServer/Documents/flarum/vendor/illuminate/container/Container.php(803): Illuminate\Container\Container->resolveNonClass(Object(ReflectionParameter))
#1 /Library/WebServer/Documents/flarum/vendor/illuminate/container/Container.php(775): Illuminate\Container\Container->getDependencies(Array, Array)
#2 /Library/WebServer/Documents/flarum/vendor/illuminate/container/Container.php(631): Illuminate\Container\Container->build('Flarum\\Core\\Acc...', Array)
#3 /Library/WebServer/Documents/flarum/vendor/flarum/core/src/Foundation/Application.php(514): Illuminate\Container\Container->make('Flarum\\Core\\Acc...', Array)
#4 /Library/WebServer/Documents/flarum/vendor/illuminate/container/Container.php(842): Flarum\Foundation\A in /Library/WebServer/Documents/flarum/vendor/illuminate/container/Container.php on line 828
My PHP version:
PHP 7.1.6 (cli) (built: Jun 23 2017 08:42:14) ( NTS )
Copyright (c) 1997-2017 The PHP Group
Zend Engine v3.1.0, Copyright (c) 1998-2017 Zend Technologies