Bug #6620
./flow3 cache flush throws Exception in "..../Cache/Backend/FileBackend.php line 197"
Status:
Resolved
Priority:
Should have
Assignee:
Category:
Cache
Target version:
Start date:
2010-02-26
Due date:
% Done:
100%
Estimated time:
PHP Version:
Has patch:
Complexity:
Description
developer@wda ~ $ ./flow3 cache flush
Uncaught Exception in FLOW3 #1: Warning: Invalid argument supplied for foreach() in /home/developer/vhosts/flow3/www/Packages/Framework/FLOW3/Classes/Cache/Backend/FileBackend.php line 197
thrown in file Packages/Framework/FLOW3/Classes/Error/ErrorHandler.php
in line 82
Files
Updated by Karsten Dambekalns almost 11 years ago
- Status changed from New to Accepted
- Assignee set to Karsten Dambekalns
- Priority changed from Must have to Should have
- Target version set to 1.0 alpha 8
Well, glob()
usually returns an array, so it seems something with your cache's file structure went wrong. Anyway, I'd rather fix this so that findTagFilesByEntry()
always returns an array, even if glob()
fails.
Updated by Karsten Dambekalns almost 11 years ago
- Status changed from Accepted to Resolved
- % Done changed from 0 to 100
Applied in changeset r3906.