blockcache_alter.module (line 420, function _blockcache_alter_get_cache_id)
$block->cache = db_result(db_query("SELECT cache FROM {blocks} WHERE module = '%s' AND delta = %d AND theme = '%s'", $module, $delta, $theme));
changed to
$block->cache = db_result(db_query("SELECT cache FROM {blocks} WHERE module = '%s' AND delta = '%d' AND theme = '%s'", $module, $delta, $theme));

Views uses delta's of view-name-block_1, another-view-block_2, etc. Needed the single quotes for the SQL to work correctly.

Comments

puddyglum’s picture

And actually, probably should change %d to %s

swentel’s picture

Version: 6.x-1.4 » 6.x-1.x-dev
Status: Active » Fixed

This is fixed in dev for some time, I'll probably throw out a new release this week.

Status: Fixed » Closed (fixed)
Issue tags: -sql syntax block delta views

Automatically closed -- issue fixed for 2 weeks with no activity.