Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

more php errors #184

Open
marclindemann opened this issue May 17, 2022 · 6 comments · May be fixed by #187
Open

more php errors #184

marclindemann opened this issue May 17, 2022 · 6 comments · May be fixed by #187

Comments

@marclindemann
Copy link
Contributor

marclindemann commented May 17, 2022

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

@FamousWolf
Copy link
Contributor

What PHP version and TYPO3 versions are you using?

@FamousWolf FamousWolf self-assigned this May 17, 2022
@marclindemann
Copy link
Contributor Author

8.0 and 11 LTS

@FamousWolf
Copy link
Contributor

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?

@marclindemann
Copy link
Contributor Author

Hey,
First error: TYPO3 "FIlelist" Module. When option "display thumbnails" is on.

Sorry, i mean not file_list but "falsecuredownload_filetree"

@FamousWolf
Copy link
Contributor

FamousWolf commented May 23, 2022

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

@FamousWolf FamousWolf linked a pull request May 23, 2022 that will close this issue
@FamousWolf
Copy link
Contributor

@marclindemann Can you check if the changes I made in pull request #187 fix the problems with the falsecuredownload_filetree plugin?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants