I've been using an older version for a while and haven't had any problems and after updating to 6.x-2.x-dev I get this error on my user pages:

Fatal error: Call to undefined function activity_user_privacy_optout() in /home1/db/public_html/modules/activity/contrib/useractivity/useractivity.module on line 127

What's up with this?

Comments

james marks’s picture

I'd look through the files in the useractivity module and see if there is a function called activity_user_privacy_optout(). The useractivity.module is calling it on line 127 but it apparently doesn't exist as named.

If you have terminal access to the site, try the following:

cd /path/to/useractivity/module
grep -r activity_user_privacy_optout .

That should tell you if the function exists within the useractivity module. That will give you a place to start. You're using a dev version which, by definition, is not a stable release.

James

james marks’s picture

Reading the project page for Activity, I found the following:

  • Please DO NOT try to upgrade from 6.x-1 to 6.x-2 as we have not written the upgrade path yet. ... If you want to test out the 2.x-dev, make sure that you uninstall any previous versions when you check out a new -dev.

Did you follow this?

Scott Reynolds’s picture

Status: Active » Needs review

Right so the issue is that all the modules under the contrib directory no longer work. I would suggest uninstalling them and only having the following modules turned on.

After that you can delete the contrib directory.

http://skitch.com/supermanscott/d1y35/modules-contrib-d6

You are also going to have to nuke your activity tables as well and then reinstall the Activity module with the new tables. There isn't an upgrade path, and that is mentioned on the front page.

sirkitree’s picture

Status: Needs review » Closed (fixed)