On install I've got followed error:

Fatal error: Call to undefined function activity_install_activity_defaults() in /sites/all/modules/contributions/activity/contrib/commentactivity/commentactivity.install on line 8

But after refresh, it seems to be back to normal.

Comments

jaydub’s picture

When you installed the module, did you enable the activity module AND the comment activity module at the same time? Meaning you were trying to install them both at once?

jaydub’s picture

It's possible that this is something that this patch attempts to address:

#320781: Problem installing modules with dependencies

I'll likely just have to rework the code to install the default activity settings so as to check if the other modules needed are already installed.

kenorb’s picture

Yes, I've enabled them in the same time.

jaydub’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

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

kenorb’s picture

Status: Closed (fixed) » Active


Sorry, but it's not fixed. Problem still exists.
It happen me second time on other website with latest dev version.

kenorb’s picture

Status: Active » Closed (fixed)

Ok, I haven't deleted the old contrib dir with latest version, I've replaced all files.

deltab’s picture

Status: Closed (fixed) » Active

After reading this, I removed all Activity related config using PhpMyAdmin, and reinstall - the issue is still there, even if I go one module at a time

deltab’s picture

This is probably unrelated, but I also get "PHP Fatal error: Cannot use object of type stdClass as array in .../sites/all/modules/activity/activity.module on line 303" while trying to browse to admin/settings/activity/user_relationships_api

I have Activity 6.x-1.2, the Latest User Relationships and Appbar (not sure if Activity 2.x works with UR)

pixelsweatshop’s picture

Getting something similar when going to view /admin/settings/activity/og and admin/settings/activity/user_relationships_api. getting error "Fatal error: Cannot use object of type stdClass as array in [my-site]/sites/all/modules/activity/activity.module on line 303"

sirkitree’s picture

Status: Active » Closed (won't fix)

closing. 1.x no longer supported.