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

Error while installing this package #2

Open
Het-Parmar-21 opened this issue Jun 7, 2023 · 0 comments
Open

Error while installing this package #2

Het-Parmar-21 opened this issue Jun 7, 2023 · 0 comments

Comments

@Het-Parmar-21
Copy link

BadMethodCallException

Method Hyperf\Collection\Collection::whenNotEmpty does not exist.

at vendor\hyperf\macroable\src\Macroable.php:69
65▕ */
66▕ public function __call($method, $parameters)
67▕ {
68▕ if (! static::hasMacro($method)) {
➜ 69▕ throw new BadMethodCallException(sprintf(
70▕ 'Method %s::%s does not exist.',
71▕ static::class,
72▕ $method
73▕ ));

i Bad Method Call: Did you mean Hyperf\Collection\Collection::isNotEmpty() ?

1 vendor\laravel\framework\src\Illuminate\Foundation\Console\PackageDiscoverCommand.php:41
Hyperf\Collection\Collection::__call("whenNotEmpty")

2 vendor\laravel\framework\src\Illuminate\Container\BoundMethod.php:36
Illuminate\Foundation\Console\PackageDiscoverCommand::handle(Object(Illuminate\Foundation\PackageManifest))

Script @php artisan package:discover --ansi handling the post-autoload-dump event returned with error code 1

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

No branches or pull requests

1 participant