Every time cron runs, I get an error in my watchdog:

Notice: Undefined variable: _SESSION in fb_flush_caches() (line 1505 of /home/vhosts/dev.scf/community-crowdfunding/docroot/sites/all/modules/contrib/fb/fb.module).

Comments

nicrodgers’s picture

Looking at the code, I see this piece of code is temporary anyway as it will be replaced with a database table devoted to caches. However, in the mean time, the attached patch stops the error from cluttering your watchdog.

nicrodgers’s picture

Status: Active » Needs review
ladybug_3777’s picture

This patch is working well for me!