This repository was archived by the owner on Jul 24, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 193
No handle method exists for the given handler class [mail] #560
Labels
Comments
I've no idea what i am doing, but as a workaround i changed Adldap2-Laravel/src/Auth/Importer.php Line 74 in 8c79a01
to to get it working. |
Hi @aleex1848, can you post your |
Hi @stevebauman. Sure:
` |
stevebauman
added a commit
that referenced
this issue
Sep 11, 2018
Fixed in v4.0.8. Thanks! |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Uh oh!
There was an error while loading. Please reload this page.
Description:
I'm trying to import LDAP users using the artisan command "adldap:import".
Doing it manually with command "php artisan adldap:import user1234 --no-interaction" is successfull.
But i want to import automatically inside my code so i do this:
\Artisan::call('adldap:import', ['user' => 'user1234' ,'--no-interaction'] );
which is not successful.
The logged error is:
local.ERROR: Unable to import user Wurst Hans. No handle method exists for the given handler class [mail]
When i put a dd(get_class($handler)) in here:
Adldap2-Laravel/src/Auth/Importer.php
Line 76 in 8c79a01
it shows "Illuminate\Support\Facades\Mail" when calling from code.
Wenn i run Artisan:.call manually from Tinker, the dd is not calling, so i guess my problem i related to this "If the AD Field is a class, we'll assume it's an attribute handler."
The "mail"-Attribute is recognised as having a handler, but it' not a handler. It's Illuminate\Support\Facades\Mail.
Any hints on this?
Thanks !
Steps To Reproduce:
The text was updated successfully, but these errors were encountered: