Hi,

When trying to open a view that I imported from another system with context+features, I get:

Fatal error: Call to undefined function context_set_by_condition() in ..sites/all/modules/contrib/context/context_contrib/context_contrib.module on line 139

Where is this function supposed to be defined?

thanks in advance,
Sean

Comments

bribiz’s picture

I'm also getting the same error related to a view. However, I didn't import anything or use features.

bribiz’s picture

Okay -- similar error says context contrib is no longer used in 3.0 branch. See: http://drupal.org/node/717068

My problem was that the context contrib package wasn't removed when I uninstalled context 2.0 using drush. I disabled context contrib and the error went away.

boran’s picture

Yes, disabling contrib, which is still marked as v2, does remove the issue

Sean

hedac’s picture

same error after upgrade from context 2 to context 3.0 beta5
I should have deleted contrib2 files first
yes. it is solved disabling contrib v2
so I deleted it also later

yhahn’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

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