Issue Bug Closed

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

Martin Holtz 11/13/08, 11:51 updated 08/06/10, 13:23

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)

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.