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

Problem with DaveJamesMiller\Breadcrumbs\Manager #47

Closed
porcelanosa opened this issue Jan 10, 2019 · 3 comments
Closed

Problem with DaveJamesMiller\Breadcrumbs\Manager #47

porcelanosa opened this issue Jan 10, 2019 · 3 comments

Comments

@porcelanosa
Copy link

This error after install via composer

Illuminate\Foundation\ComposerScripts::postAutoloadDump
@php artisan package:discover --ansi
In Facade.php line 237:
Call to undefined method DaveJamesMiller\Breadcrumbs\Manager::for()

if we try to install new version DaveJamesMiller\Breadcrumbs\Manager we get this conflict

composer require davejamesmiller/laravel-breadcrumbs:5.x
./composer.json has been updated
Loading composer repositories with package information
Updating dependencies (including require-dev)
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - adminarchitect/core v1.6.4 requires davejamesmiller/laravel-breadcrumbs 3.0.* -> satisfiable by davejamesmiller/laravel-breadcrumbs[3.0.0, 3.0.1, 3.0.2, 3.0.3] bu
t these conflict with your requirements or minimum-stability.
    - adminarchitect/core v1.6.4 requires davejamesmiller/laravel-breadcrumbs 3.0.* -> satisfiable by davejamesmiller/laravel-breadcrumbs[3.0.0, 3.0.1, 3.0.2, 3.0.3] bu
t these conflict with your requirements or minimum-stability.
    - adminarchitect/core v1.6.4 requires davejamesmiller/laravel-breadcrumbs 3.0.* -> satisfiable by davejamesmiller/laravel-breadcrumbs[3.0.0, 3.0.1, 3.0.2, 3.0.3] bu
t these conflict with your requirements or minimum-stability.
    - Installation request for adminarchitect/core (locked at v1.6.4, required as ^1.6) -> satisfiable by adminarchitect/core[v1.6.4].
Installation failed, reverting ./composer.json to its original content.
@endihunter
Copy link
Contributor

@porcelanosa it seems that you try to use the latest version of laravel-breadcrumbs, which is not back compatible with version 3.x

@porcelanosa
Copy link
Author

porcelanosa commented Jan 12, 2019

I try the latest version after getting the error I showed in the first fragment of the console log.

Call to undefined method DaveJamesMiller\Breadcrumbs\Manager::for()

@endihunter
Copy link
Contributor

@porcelanosa according to davejamesmiller/laravel-breadcrumbs sources the method for is specific for versions > 3 and the error says this as well: Call to undefined method DaveJamesMiller\Breadcrumbs\Manager::for()

please make sure you use the right version of laravel-breadcrumbs or at least use the alias method register

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

2 participants