Illuminate\Support\Traits\ForwardsCalls not found #872
Description
- Laravel Version: 5.6
- Adldap2-Laravel Version: 6.1
- PHP Version: 7.4
- LDAP Type: ActiveDirectory
Description:
My local test environment upgraded Adldap2 from 6.0 => 6.1 and has since broken my authentication process. Laravel now hard faults with the error Symfony\Component\Debug\Exception\FatalErrorException: Trait 'Illuminate\Support\Traits\ForwardsCalls' not found in file /home/vagrant/Code/dras/vendor/adldap2/adldap2-laravel/src/Auth/DatabaseUserProvider.php on line 23
when trying to call the Adldap2 library.
Having a look at the source files, I notice that DatabaseUserProvider.php
now makes a call to Illuminate\Support\Traits\ForwardCalls
, however, this file does not exist. This seems to be a new piece of code in version 6.1, but I cannot find any release notes around this, nor can I find any reference to this in the upgrade documentation on the website.