Open ackerchez opened 2 years ago
Hi,
could you please check if the provider is auto-discovered? This seems like the service provider was not loaded.
I've tried Laravel 8 + PHP 8.0 (real upload) in example repo an it works :(
Thanks I will try. However, even when I try and manually get the provider to copy over the console prints out that there was nothing to copy in.
On Tue, Mar 22, 2022 at 8:03 PM Martin Kluska @.***> wrote:
Hi,
could you please check if the provider is auto-discovered? This seems like the service provider was not loaded.
I've tried Laravel 8 + PHP 8.0 (real upload) in example https://github.com/pionl/laravel-chunk-upload-example repo an it works :(
— Reply to this email directly, view it on GitHub https://github.com/pionl/laravel-chunk-upload/issues/130#issuecomment-1075456995, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAHBIKCUU4NFQT6B64USWMDVBIDQPANCNFSM5RKQTXZQ . You are receiving this because you authored the thread.Message ID: @.***>
It should not copy anything, It seems that the Laravel has not auto-discovered the package for some reason - maybe you have disabled this functionality?
Have you found out the problem? Otherwise im gona close the issue
Hi I have same issue? any idea how to solved it?
ok on my case you need to put the services provider on config/app then run php artisan cache:clear it solved it...
Did do you disable auto discover feature in Laravel?
hmm no...i am on laravel 8 and just using composer to install your script, anyway thank you so much
ok on my case you need to put the services provider on config/app then run php artisan cache:clear it solved it...
It works. Thanks!
Hello.
I tried to use the controllers here to create a chucked upload. I am getting the following error
"Unresolvable dependency resolving [Parameter #0 [ $disk ]] in class Pion\Laravel\ChunkUpload\Storage\ChunkStorage"
It seems that when the FileReceiver is trying to initialize it calls the following method in
ChunkStorage.php
public static function storage() { return app(self::class); }
That method is returning an instance of self but the constructor for that class requires two params:
public function __construct($disk, $config) { .... }
As a result, it seems there is an instance loading problem.