after installing the new activity module im getting an error when going to a users page

Fatal error: Call to undefined function activity_user_privacy_optout() in /home2/pulsepos/public_html/sites/all/modules/activity/contrib/useractivity/useractivity.module on line 127

Comments

glitz’s picture

IS IT POSSIBLY BECAUSE I HAVE ACTIVITY 6.X-2.X-DEV INSTALLED BUT PREVIOUS VERSIONS OF THE OTHER ACTIVITY SUB MODULES ENABLED (6.X-1.2) ?

Activity [1] of [11]
Enabled Name Version Description

Activity 6.x-2.x-dev Allow users to see their friends' activity on the site.
Depends on: Token (enabled), Trigger (enabled)
Required by: Activity comments (disabled), Activity history (disabled), Comment activity (disabled), Favorite Nodes activity (disabled), Flag activity (disabled), Node activity (disabled), OG activity (disabled), User relationships activity (disabled), User activity (disabled), Voting activity (disabled)

Activity comments 6.x-2.x-dev Allow users to comment on activities
Depends on: Activity (enabled), Token (enabled), Trigger (enabled)

Activity history 6.x-1.2 Tracks whether a user has been shown a particular activity message.
Depends on: Activity (enabled), Token (enabled), Trigger (enabled)

Comment activity 6.x-1.2 Enable activity notifications for comments.
Depends on: Activity (enabled), Comment (enabled), Token (enabled), Trigger (enabled)

Favorite Nodes activity 6.x-1.2 Enable activity notifications for Favorite Nodes.
Depends on: Activity (enabled), Favorite_nodes (missing), Token (enabled), Trigger (enabled)

Flag activity 6.x-1.2 Enable activity notifications for flag.
Depends on: Activity (enabled), Flag (enabled), Token (enabled), Trigger (enabled)

Node activity 6.x-1.2 Enable activity notifications for content creation.
Depends on: Activity (enabled), Token (enabled), Trigger (enabled)

OG activity 6.x-1.2 Enable activity notifications for organic groups.
Depends on: Activity (enabled), Organic groups (enabled), Token (enabled), Trigger (enabled)

User activity 6.x-1.2 Enable activity notifications for user actions.
Depends on: Activity (enabled), Token (enabled), Trigger (enabled)

User relationships activity 6.x-1.2 Enable activity notifications for user relationships.
Depends on: Activity (enabled), UR-API (enabled), Token (enabled), Trigger (enabled)

Voting activity 6.x-1.2 Enable activity notifications for voting.
Depends on: Activity (enabled), Voting API (enabled), Token (enabled), Trigger (enabled)

glitz’s picture

SO I DISABLED

User activity 6.x-1.2 Enable activity notifications for user actions.
Depends on: Activity (enabled), Token (enabled), Trigger (enabled)

AND NOW I CAN SEE USER PROFILES AGAIN, BUT SOME OF THE ACTIVITY I WANT TO DISPLAY DEPENDS ON USER ACTIVITY.

HOW CAN i FIX THIS?

glitz’s picture

the fatal error is also occuring when any user tries to save a new group.

it appears this is not working on my system for some reason

Scott Reynolds’s picture

Status: Active » Fixed

IS IT POSSIBLY BECAUSE I HAVE ACTIVITY 6.X-2.X-DEV INSTALLED BUT PREVIOUS VERSIONS OF THE OTHER ACTIVITY SUB MODULES ENABLED (6.X-1.2)

Yes. Uninstall og activity and your error will go away. You will want to remove the other ones as well.

Activity2 is a whole new system and is not backwards compatible.

glitz’s picture

AWESOME!! THANKS!!

so really all i need is activity2 and thats it, no other submodules. (Im not sure why they appear when I install the module then unless its by default) I will disable all other activity sub-modules and try again tonight.

I appreciate the help!!

glitz’s picture

got it! thanks!
all is working well except the facebook status tokens. I submitted a seperate ticket for that,

Thanks again !!

Status: Fixed » Closed (fixed)

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