Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: Method Illuminate\Foundation\Application::share does not exist. #4280

Open
1 task done
tranvantruongktech opened this issue Mar 7, 2025 · 0 comments
Open
1 task done
Labels

Comments

@tranvantruongktech
Copy link

Is the bug applicable and reproducable to the latest version of the package and hasn't it been reported before?

  • Yes, it's still reproducable

What version of Laravel Excel are you using?

1.1.5

What version of Laravel are you using?

11

What version of PHP are you using?

8.2

Describe your issue

Method Illuminate\Foundation\Application::share does not exist.

at vendor\laravel\framework\src\Illuminate\Macroable\Traits\Macroable.php:115
111▕ */
112▕ public function __call($method, $parameters)
113▕ {
114▕ if (! static::hasMacro($method)) {
➜ 115▕ throw new BadMethodCallException(sprintf(
116▕ 'Method %s::%s does not exist.', static::class, $method
117▕ ));
118▕ }
119▕

1 vendor\maatwebsite\excel\src\Maatwebsite\Excel\ExcelServiceProvider.php:154
Illuminate\Foundation\Application::__call("share")

2 vendor\maatwebsite\excel\src\Maatwebsite\Excel\ExcelServiceProvider.php:58
Maatwebsite\Excel\ExcelServiceProvider::bindClasses()

How can the issue be reproduced?

method share unavailable in laravel 11.

What should be the expected behaviour?

can i help you?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant