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
[BUG] Unable to resolve NULL driver for [Maatwebsite\Excel\Transactions\TransactionManager] #2384
Comments
Have you tried my answer in #1998 (comment) ? Sounds like your are using the wrong config value. |
I tried both. Also tried the default configs. Shouldn't the default configs work, since I'm using MySQL, anyways? |
BTW, @patrickbrouwers , I get the same exact message 'Unable to resolve NULL driver' whether I have 'db' or 'null' as a value for 'handler' |
Ok, I did some investigation and it's not a bug. Laravel cache was on the way of the package reading the new published vendor config. A simple php artisan config:clear did it. |
I faced this issue, my problem was that I'm using the library without adding the config file so I traced it by clearing the cache (and it worked), then i added the config file then cached my config again. I hope this helps. |
Just run php artisan config:clear or php artisan config:cache. |
Thank you for saving my day! |
Prerequisites
Versions
Description
When trying to import a XLS I get the following error
Unable to resolve NULL driver for [Maatwebsite\Excel\Transactions\TransactionManager].
Steps to Reproduce
The code to import is:
Excel::import(new ProdutosImport, $file)
And the actual import is
Expected behavior:
Import the file.
Actual behavior:
Errors out with
Unable to resolve NULL driver for [Maatwebsite\Excel\Transactions\TransactionManager].
Additional Information
Even though I'm not using Mongo I tried disabling transactions as suggested at #1998, but it changed nothing.
The text was updated successfully, but these errors were encountered: