Project

General

Profile

Actions

Bug #19607

closed

PHP Warning: Invalid argument supplied for foreach() in t3lib_cache_backend_db.php

Added by Martin Holtz over 15 years ago. Updated almost 14 years ago.

Status:
Closed
Priority:
Should have
Category:
-
Target version:
-
Start date:
2008-11-13
Due date:
% Done:

0%

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

Description

if the cache is empty i get an php warning.

Afaik that would be even with an disabled warning output an performance issue.

And i think, even with enabled php warning, that should not happen in the core?

Warning: Invalid argument supplied for foreach() in /typo3_trunk/t3lib/cache/backend/class.t3lib_cache_backend_db.php on line 156

Warning: Invalid argument supplied for foreach() in /typo3_trunk/t3lib/cache/backend/class.t3lib_cache_backend_db.php on line 156

(issue imported from #M9787)


Files

9787.diff (550 Bytes) 9787.diff Administrator Admin, 2008-11-13 11:56
Actions

Also available in: Atom PDF