You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
this my error
[user@serv laravel-app]$ composer require akaunting/laravel-firewall
Using version ^1.3 for akaunting/laravel-firewall
./composer.json has been updated
Running composer update akaunting/laravel-firewall
Loading composer repositories with package information
Updating dependencies
Lock file operations: 1 install, 0 updates, 0 removals
Argument 2 passed to Illuminate\Routing\Router::middlewareGroup() must be of the type array, null given, called in /home/user/laravel-app/vendor/akaunting/laravel-firewall/src/Provider.php on line 60
Hello,
this my error
[user@serv laravel-app]$ composer require akaunting/laravel-firewall
Using version ^1.3 for akaunting/laravel-firewall
./composer.json has been updated
Running composer update akaunting/laravel-firewall
Loading composer repositories with package information
Updating dependencies
Lock file operations: 1 install, 0 updates, 0 removals
Writing lock file
Installing dependencies from lock file (including require-dev)
Package operations: 1 install, 0 updates, 0 removals
Generating optimized autoload files
TypeError
Argument 2 passed to Illuminate\Routing\Router::middlewareGroup() must be of the type array, null given, called in /home/user/laravel-app/vendor/akaunting/laravel-firewall/src/Provider.php on line 60
at vendor/laravel/framework/src/Illuminate/Routing/Router.php:913
909▕ * @param string $name
910▕ * @param array $middleware
911▕ * @return $this
912▕ */
➜ 913▕ public function middlewareGroup($name, array $middleware)
914▕ {
915▕ $this->middlewareGroups[$name] = $middleware;
916▕
917▕ return $this;
10 [internal]:0
Illuminate\Foundation\Application::Illuminate\Foundation{closure}()
16 artisan:37
Illuminate\Foundation\Console\Kernel::handle()
Script @php artisan package:discover --ansi handling the post-autoload-dump event returned with error code 1
Installation failed, reverting ./composer.json and ./composer.lock to their original content.
The text was updated successfully, but these errors were encountered: