File browser: wrong argument type passed to ElementBrowser::fileIsSelectableInFileList()
While creating a new content element with images, I was browsing the files to select in the file browser. It suddenly crashed with the error message
#1: PHP Catchable Fatal Error: Argument 2 passed to TYPO3\CMS\Recordlist\Browser\ElementBrowser::fileIsSelectableInFileList() must be of the type array, boolean given, called in /home/httpd/vhosts/vsao-bern.ch/httpdocs/typo3_src-6.2.0beta6/typo3/sysext/recordlist/Classes/Browser/ElementBrowser.php on line 1834 and defined in /home/httpd/vhosts/vsao-bern.ch/httpdocs/typo3_src-6.2.0beta6/typo3/sysext/recordlist/Classes/Browser/ElementBrowser.php line 1911 (More information)
See attached image for whole stack.
Browser: Google Chrome
[BUGFIX] Element browser doesn't use FAL info to for file dimensions
The dimensions of a file are fetch during indexing. These values
should be used as for remote files or certain filetype getimagesize()
will not work or give unwanted overhead.
Reviewed-by: Markus Klein
Reviewed-by: Tomita Militaru
Reviewed-by: Wouter Wolters
Reviewed-by: Dmitry Dulepov
Tested-by: Dmitry Dulepov
Tested-by: Markus Klein
#1 Updated by Florian Baumann over 5 years ago
It only seems to occur in a specific folder. The folder only contains PDF documents. The largest one is 1.7MB. There are 19 files and the thumbnails are switched on. IM is configured to render thumbs from PDF files. The filenames do not contain any special characters as German Umlaute or similar special chars.