Download Manager

Securely share files on the frontend with different method of protection

Back to Download Manager Support

Alien
Alien

I have such error

 Error

We're sorry, but an unhandled error occurred. Please see the details below.
Call to undefined method League\Flysystem\Filesystem::getMetadata()

~/plugins/inetis/downloadmanager/routes.php line 25

    Type

    Undefined
    Exception

    Error
    @set_time_limit(0);

    /** @var \League\Flysystem\Filesystem $filesystem */
    $filesystem = Storage::disk('local')->getDriver();

    $path = $file->getDiskPath();
    $metaData = $filesystem->getMetadata($path);
    $stream = $filesystem->readStream($path);

    if (ob_get_level()) {
        ob_end_clean();
    }
inetis
inetis

Hi, I guess you are using October 3 ? We just released version 1.0.8 that should solve this problem.

Give it a try and let us know if you have other issues.

Alien
Alien

I removed the plugin and trying to reinstall it and i get such error


1 Loading composer repositories with package information

2 Updating dependencies

3 Your requirements could not be resolved to an installable set of packages.

4 Problem 1

5 - Root composer.json requires inetis/downloadmanager-plugin ^1.0, found inetis/downloadmanager-plugin[dev-master] but it does not match the constraint.```
inetis
inetis

It seems there was an issue with the release. I've re-created it, should be fixed now. Can you try again ?

Alien
Alien

Everything seems to work now!

1-5 of 5