Issue Bug Closed

#39235Warning: ArrayIterator::seek() expects parameter 1 to be long, string given

Arno Dudek 07/25/12, 11:31 updated 10/23/17, 22:12

Description

Hi!

Get this error when using the new image storage on open the Element Browser.

Core: Error handler (BE): PHP Warning: ArrayIterator::seek() expects parameter 1 to be long, string given in /t3lib/file/Driver/LocalDriver.php line 349 

I throw an exception at this line to find more (attached).

And found in typo3/class.browse_links.php line 2130

$folder->getFiles($extensionList);

will pass the parameter $extensionList (string: “gif,jpg,jpeg,…”) but t3lib_file_Folder::getFiles requires $start (integer: usually 0).

This happens after update from 4.7 to 6.0.0alpha2. With a clean install there is no error.

Thanks!

Reviews 1