Open marclindemann opened 2 years ago
What PHP version and TYPO3 versions are you using?
8.0 and 11 LTS
I can't reproduce these errors. Can you give some more information. What are the exact PHP and TYPO3 versions? What are your setting for error reporting in TYPO3? The latest release of file_list isn't compatible with TYPO3 11/PHP 8 yet. Are you using the master branch? Are you doing anything else to get these errors?
Hey, First error: TYPO3 "FIlelist" Module. When option "display thumbnails" is on.
Sorry, i mean not file_list but "falsecuredownload_filetree"
To keep each issue about one thing, I've created a separate issue for the problem with thumbnails in the backend (#186).
This issue will be only about the error when creating a falsecuredownload_filetree plugin
@marclindemann Can you check if the changes I made in pull request #187 fix the problems with the falsecuredownload_filetree plugin?
Core: Exception handler (WEB): Uncaught TYPO3 Exception: #1476107295: PHP Warning: Undefined array key "download_name" in /var/www/html/vendor/typo3/cms-core/Classes/Resource/ProcessedFile.php line 491 | TYPO3\CMS\Core\Error\Exception thrown in file /var/www/html/vendor/typo3/cms-core/Classes/Error/ErrorHandler.php in line 137. Requested URL: https://xxx.localhost/index.php?eID=dumpFile&t=p&p=553&token=--AnonymizedToken--
-> filelist /vendor/beechit/fal-securedownload/Classes/Hooks/FileDumpHook.php:217 calls
Classes/Resource/ProcessedFile.php
public function getProperty($key) { // The uid always (!) has to come from this file and never the original file (see getOriginalFile() to get this) if ($this->isUnchanged() && $key !== 'uid') { return $this->originalFile->getProperty($key); } return $this->properties[$key]; }
adding plugin file_list to backend brings:
An error occurred trying to process items for field "Folder" (PHP Warning: Undefined array key 0 in /var/www/html/vendor/beechit/fal-securedownload/Classes/Service/UserFileMountService.php line 48).
After selecting a folder error is gone