media-bundle icon indicating copy to clipboard operation
media-bundle copied to clipboard

Attempted to load class "ElFinderVolumeDriver" from namespace "FM\ElFinderPHP\Driver"

Open wuestkamp opened this issue 7 years ago • 4 comments

Getting this error:

ClassNotFoundException in PhpcrDriver.php line 35:
Attempted to load class "ElFinderVolumeDriver" from namespace "FM\ElFinderPHP\Driver".
Did you forget a "use" statement for another namespace?

when upgrading helios-ag/fm-elfinder-bundle from version 1 to 8.

Any ideas?

wuestkamp avatar Apr 19 '18 16:04 wuestkamp

Are you sure you posted on the right Project ?

binhle410 avatar Apr 21 '18 08:04 binhle410

I think so? :) Its about that file: https://github.com/symfony-cmf/media-bundle/blob/master/src/Adapter/ElFinder/PhpcrDriver.php

The adapter doesn't work any longer since version 8 of helios-ag/fm-elfinder-bundle.

wuestkamp avatar Apr 22 '18 17:04 wuestkamp

note that this bundle is currently unmaintained due to lack of resources from the cmf maintainers. its quite possible that something went out of sync. it sounds like the newest elfinder changed something so that this ElFinderVolumeDriver no longer exists at that namespace. you could try using an older version of elfinder or try to fix the phpcr driver.

dbu avatar Apr 23 '18 06:04 dbu

Thanks, I created a pull requests to make the media-bundle work with version 8 of the elfinder bundle.

wuestkamp avatar Apr 24 '18 10:04 wuestkamp