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
Hi, @pingpong-labs I have some problem with your package on Laravel version 5.8.
I can't discover your packages. I add in config/app.php your class MenusServiceProvider an alias for a package. But after call php artisan vendor:publish I get next error from composer:
Symfony\Component\Debug\Exception\FatalThrowableError : Call to undefined method Illuminate\Foundation\Application::share()
at C:\Users\vasil\pingpong-test\vendor\pingpong\menus\MenusServiceProvider.php:43
39| public function register()
40| {
41| $this->registerHtmlPackage();
42|
Symfony\Component\Debug\Exception\FatalThrowableError : Call to undefined method Illuminate\Foundation\Application::share()
at C:\Users\vasil\pingpong-test\vendor\pingpong\menus\MenusServiceProvider.php:43
39| public function register()
40| {
41| $this->registerHtmlPackage();
42|
Hi, @pingpong-labs I have some problem with your package on Laravel version 5.8.
I can't discover your packages. I add in
config/app.php
your classMenusServiceProvider
an alias for a package. But after callphp artisan vendor:publish
I get next error from composer:Symfony\Component\Debug\Exception\FatalThrowableError : Call to undefined method Illuminate\Foundation\Application::share()
at C:\Users\vasil\pingpong-test\vendor\pingpong\menus\MenusServiceProvider.php:43
39| public function register()
40| {
41| $this->registerHtmlPackage();
42|
Exception trace:
1 Pingpong\Menus\MenusServiceProvider::register()
C:\Users\vasil\pingpong-test\vendor\laravel\framework\src\Illuminate\Foundation\Application.php:607
2 Illuminate\Foundation\Application::register(Object(Pingpong\Menus\MenusServiceProvider))
C:\Users\vasil\pingpong-test\vendor\laravel\framework\src\Illuminate\Foundation\Application.php:741
Please use the argument -v to see more details.
C:\Users\vasil\pingpong-test>php artisan config:publish pingpong/menus --provider
Symfony\Component\Debug\Exception\FatalThrowableError : Call to undefined method Illuminate\Foundation\Application::share()
at C:\Users\vasil\pingpong-test\vendor\pingpong\menus\MenusServiceProvider.php:43
39| public function register()
40| {
41| $this->registerHtmlPackage();
42|
Exception trace:
1 Pingpong\Menus\MenusServiceProvider::register()
C:\Users\vasil\pingpong-test\vendor\laravel\framework\src\Illuminate\Foundation\Application.php:607
2 Illuminate\Foundation\Application::register(Object(Pingpong\Menus\MenusServiceProvider))
C:\Users\vasil\pingpong-test\vendor\laravel\framework\src\Illuminate\Foundation\Application.php:741
Please use the argument -v to see more details.
P.S:
composer dump-autoload
orcomposer update
not help me. Please fix for lasted versions Laravel.The text was updated successfully, but these errors were encountered: