DirectoryTree / LdapRecord-Laravel

Multi-domain LDAP Authentication & Management for Laravel.
https://ldaprecord.com/docs/laravel/v3
MIT License
512 stars 54 forks source link

[Bug] Target [LdapRecord\LdapInterface] is not instantiable while building [LdapRecord\Laravel\LdapServiceProvider, LdapRecord\Connection] #676

Closed sanchric-forvia closed 2 weeks ago

sanchric-forvia commented 2 weeks ago

Environment:

On standard installation of LdapRecord on every request I'm getting the error

Target [LdapRecord\LdapInterface] is not instantiable while building [LdapRecord\Laravel\LdapServiceProvider, LdapRecord\Connection]

image

I follow the instruction of documentation:

  1. Install pacakge composer require directorytree/ldaprecord-laravel
  2. Configure php artisan vendor:publish --provider="LdapRecord\Laravel\LdapServiceProvider" and add to my env file,

But not sure what is cuasing the issue locking the tracking of stack looks like occurs here

image

Not sure how to fix or what do but that exception cause delays on the responses of my application

stevebauman commented 2 weeks ago

Hi @sanchric-forvia,

I'm not able to reproduce this on a fresh install of Laravel 11. Following the installation steps does not result in any exceptions.

Please post the stack trace or reproduction steps with a fresh Laravel install and I'll re-open 👍