Problem/Motivation

Warning: Invalid argument supplied for foreach() in fastcache_clear_entity_caches() (line 292 of ./fastcache/fastcache.module).

Proposed resolution

Remaining tasks

User interface changes

API changes

CommentFileSizeAuthor
#1 warning_invalid-2454011-1.patch445 bytesjoelpittet

Comments

joelpittet’s picture

Status: Active » Needs review
StatusFileSize
new445 bytes

Love your module btw;) No need for a UI to complicate things:) Here is a patch!

lex0r’s picture

Hi @joelpittet, thanks for the feedback!

I think you have an issue in the code. If fastcache_get_cached_views() return NULL it means you either haven't defined hook_fastcache_views or you don't return the cached views/panels from it. Anyways, I will init the default return value in fastcache_get_cached_views().

  • lex0r authored 13cf7fa on 7.x-1.x
    Issue #2454011 by joelpittet, lex0r: Warning: Invalid argument supplied...
lex0r’s picture

Status: Needs review » Fixed
lex0r’s picture

Status: Fixed » Closed (fixed)