In path_breadcrumbs.module (line 553-555), you have:

 if ($cache = cache_get(__FUNCTION__, PATH_BREADCRUMBS_CACHE_STORAGE)) {
      $data = $cache->data;
    }

The problem is that $cache is an empty object, so we need to check $cache->data first.

This patch fixes the problem. Without it, Path Breadcrumbs 7.x-3.x-dev doesn't work for me.

I should note, I had the caching options disabled for PB.

CommentFileSizeAuthor
#1 cache-check-1941968-1.patch528 byteskostajh

Comments

kostajh’s picture

Status: Active » Needs review
StatusFileSize
new528 bytes
spleshka’s picture

Status: Needs review » Closed (fixed)

Thanks for your patch, commited to 7.x-3.x.

kostajh’s picture

Thanks!