Hi!

Have upgraded my whole site to D7 mostly because of fabulous 'Heartbeat'.

I seem to have a few errors please ..

In admin/reports/status report:

The following token types are not defined but have tokens:
$info['types']['heartbeat_activity']

When the siteactivity block is enabled with all permissions set correctly:

'you are not allowed to see this activity'

I rebuilt permissions, cleared cache and then got:

You cannot serialize or unserialize PDO instances in cache_set() (line 137

Most appreciate any suggestions :)

CommentFileSizeAuthor
#3 Screenshot at 2012-02-10 15:31:16.png6.31 KBrogical
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Stalski’s picture

Hmm, this won't have much to do with heartbeat I hope. i am afraid I can't help you much on that.
There is no upgrade path currently for heartbeat.
I would suggest to start over with heartbeat since it's data is totally different. The activity you would lose anyway.

Concrete suggestion:
- disable heartbeat
- uninstall heartbeat completely
- install it again, all modules I guess (with display suite, tokens, rules already enabled)
- configure the streams you want to use
- configure built-in templates and create new ones. (As of D7, these are fully exportable and depending on CTools)
- Go to permissions and configure the permissions for heartbeat (maybe user profile, view content, things like that)

As activity is all about "new" or "changed" data, it is "less bad" not having an upgrade path. But I do feel your pain. I hope you can live with the solution.

Stalski’s picture

Status: Active » Closed (cannot reproduce)

I nver had this porblem and I really can't reproduce it. Don't know where it's coming from, sorry

rogical’s picture

Status: Closed (cannot reproduce) » Active
FileSize
6.31 KB

Same issue:
dd

For the suggestion:
- disable heartbeat
- uninstall heartbeat completely

Then all activities would be deleted, this is quite not operational in a production site.

Stalski’s picture

i'll check it

Stalski’s picture

Status: Active » Postponed (maintainer needs more info)

I did what described and nothing happened, no message, no error in the watchdog ...
Can you specify where I should see this message and how?

rogical’s picture

This is a bit strange, I've used heartbeat several times, and just happened to get this error, don't know how to get rid of it.

I think we can keep this postponed as there may be same error in other users.

sw3b’s picture

I got the same on all my setup... it's not a big deal but it should not be there...

Anonymous’s picture

Getting same error message:

The following token types do not have any tokens defined:

$info['tokens']['heartbeat']

bigsyke’s picture

Same issue here. I've reinstalled using the latest 7.x dev.

PedroMiguel’s picture

got the same error as OP, I'm using the latest dev.

I Truncate (empty) every cache on DB (even urelated caches just to be sure) and the problem is not on caches.

fraweg’s picture

I have the same error..

Best regards
Frank

fraweg’s picture

Hi,
has anyone solved this problem?

Best regards
Frank

Stalski’s picture

Status: Postponed (maintainer needs more info) » Fixed

Fixed and pushed to git. The heartbeat token belongs to to its data type.

rogical’s picture

Thanks, it works.

sw3b’s picture

Nice work thanks !

Stalski’s picture

Status: Fixed » Closed (fixed)
hallsy’s picture

i am getting this error as well now. how do i get rid of it?

I am on drupal 7.20.

thanks