Project

General

Profile

Actions

Bug #39235

closed

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

Added by Arno Dudek over 12 years ago. Updated about 7 years ago.

Status:
Closed
Priority:
Must have
Assignee:
Category:
File Abstraction Layer (FAL)
Target version:
Start date:
2012-07-25
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
6.0
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

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!


Files

browse_links.html (7.73 KB) browse_links.html Arno Dudek, 2012-07-25 11:31

Related issues 2 (0 open2 closed)

Related to TYPO3 Core - Bug #51752: FAL ArrayIterator::seek() warning in ElementBrowserClosed2013-09-04

Actions
Related to TYPO3 Core - Bug #47649: LocalDriver.php line 312 - PHP Warning: ArrayIterator::seek() expects parameter 1 to be long, stringClosed2013-04-27

Actions
Actions

Also available in: Atom PDF