modxcms / fred

The friendly front-end editor for visual, drag-and-drop content building in MODX CMS
https://fred.modx.com
MIT License
57 stars 25 forks source link

elFinder/autoload.php file missing #494

Closed lottaar closed 4 months ago

lottaar commented 5 months ago

When trying to upload an image to an image tv in Fred from Settings > Template Variables I get a dialog saying:

Error in `getFileCallback`.
undefined is not an object (evaluating 'e.fredEl.setElValue')

To close the file browser I have to reload the page.

And this in the error log:

[2024-03-18 13:38:14] (ERROR @ /Users/lotta/Sites/wib3-master/core/components/fred/src/Endpoint/ElFinder.php : 47) PHP warning: include_once(/Users/lotta/Sites/wib3-master/core/components/fred/elFinder/autoload.php): Failed to open stream: No such file or directory
[2024-03-18 13:38:14] (ERROR @ /Users/lotta/Sites/wib3-master/core/components/fred/src/Endpoint/ElFinder.php : 47) PHP warning: include_once(): Failed opening '/Users/lotta/Sites/wib3-master/core/components/fred/elFinder/autoload.php' for inclusion (include_path='.:/Applications/MAMP/bin/php/php8.2.0/lib/php')

Fred 2.1.6 MODX 3.0.4 PHP 8.2