Adldap2-Laravel icon indicating copy to clipboard operation
Adldap2-Laravel copied to clipboard

psr/log dependency error

Open mshamaseen opened this issue 4 years ago • 2 comments

  • Laravel Version: 8
  • Adldap2-Laravel Version: 6.15
  • PHP Version: 8.0
  • LDAP Type: OpenLDAP

Description:

On fresh Laravel 8 installation, running composer require adldap2/adldap2-laravel I receive - adldap2/adldap2[v10.1.0, ..., v10.3.3] require psr/log ~1.0 -> found psr/log[1.0.0, ..., 1.1.4] but the package is fixed to 2.0.0 (lock file version) by a partial update and that version does not match. Make sure you list it as an argument for the update command.

mshamaseen avatar Oct 28 '21 00:10 mshamaseen

Did you ever find a solution for this? I have the exact same issue after upgrading from Laravel 7 to 8. It seems to be that the pse/log version is the reason.

bstorybinnys avatar Jan 19 '22 21:01 bstorybinnys

@bstorybinnys a workaround for this is to downgrade the PSR/log to version 1.

mshamaseen avatar Jan 25 '22 13:01 mshamaseen