Radioactivity_node-plugin is incompatible with page caching. You'll see error like 'Call to undefined function radioactivity_add_energy()' rendered to the bottom of the page, when page cache is turned on and the page is retrieved from the page cache.

Comments

skiminki’s picture

This is because the following. When the page is retrieved from the cache, we don't do full drupal bootstrap. In fact, only modules with 'bootstrap' set to 1 are loaded. In essence, radioactivity_node has bootstrap 1, but radioactivity (which provides radioactivity_add_energy) has bootstrap 0. In addition, the core node module does not have bootstrap set to 1, so node_get_types() won't be available either.

skiminki’s picture

Status: Active » Fixed
Anonymous’s picture

Status: Fixed » Closed (fixed)

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