Closed (fixed)
Project:
Context
Version:
6.x-3.0-beta1
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
17 Feb 2010 at 15:56 UTC
Updated:
3 Mar 2010 at 20:30 UTC
I did run "drush updatedb" & "drush cc all" but in the frontend of the site i'm getting this error:
Fatal error: Call to undefined function context_set_by_condition() in [...] modules/context/context_contrib/context_contrib.module on line 86
ctools is up to date...
Help...?
Comments
Comment #1
yhahn commentedPlease upgrade as you would for a major branch upgrade - remove the old context codebase and replace it with the new one. Context contrib no longer exists in 3.x (it's been merged in to context proper), so you're getting an error because the 2.x version is still around and kicking.
Comment #2
muschpusch commentedThank you but could you be a little more specific? I disabled the module, deleted the "context" and enabled "context" again but the table isn't made... I can import the table from a clean install but isn't there an easier way? Another question would be how can i migrate my contexts to the new version?
ps: the documentation on updating looked a little bit easier than it actually is :p
Comment #3
yhahn commented"remove the old context codebase" means actually delete the old module before unpacking context 3. e.g.
As for upgrading I don't have much to add to what's been written in README.txt. Don't disable context before updating, it needs to remain enabled when drush updatedb runs.
Comment #4
electblake commentedThanks, my issue was also replacing files in place. I -rf'd the dir and expanded latest release and without any update.php action it works just fine.