Closed (fixed)
Project:
ThemeKey
Version:
6.x-3.1
Component:
Modules
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
10 Jan 2011 at 23:19 UTC
Updated:
27 Jan 2011 at 20:00 UTC
Call to undefined function themekey_invoke_modules() in .../themekey/themekey_build.inc on line 69
Error occurred during update to 3.1. Originally had only Themekey installed with themekey and themekey_ui enabled. Attempted downloading and enabling themekey_properties but this made no difference.
Comments
Comment #1
mkalkbrennerFrom which version did you upgrade?
Comment #2
mkalkbrennerI tested again the update from 6.x-3.0 which works well. So I guess you're using an older version of ThemeKey.
I cleaned up some older update functions in themekey.install and committed it to CVS. Are you able to test that?
Alternatively you can download the 6.x-3.x-dev build as soon as it's available for 2011-Jan-11.
Comment #3
ITMonkey commentedI was using 2.5, but didn't see anything in the readme so went for a straight update (it's on a dev system)
I rolled back and tried a 2.5-3.0 update with the same errors.
I'll try the dev snapshot and let you know.
Comment #4
samalone commentedI just had the same problem upgrading from ThemeKey 6.x-2.5 to 6.x-3.1 using drush. Here's the log:
Executing themekey_update_6300 [success]
Drush command could not be completed. [error]
Output from failed command : [error]
Fatal error: Call to undefined function themekey_invoke_modules() in
/Users/samalone/Sites/edgewoodsailing.org/sites/all/modules/themekey/themekey_build.inc on line 69
Comment #5
mkalkbrennerITMonkey, samalone:
Please test the upgrade http://ftp.drupal.org/files/projects/themekey-6.x-3.x-dev.tar.gz
As soon as someone of you confirms that this version works for the upgrade from 2.5 to 3.1 I will immediately release it as 3.2.
Comment #6
greg.harveyI didn't use the attached module, but I added
module_load_include('inc', 'themekey', 'themekey_base');at line 364 of themekey.install, which is essentially the fix (except you also moved the rebuild to 6301). I can confirm adding that line definitely fixes the install error.Reluctant to mark R&TBC, since I didn't test the specific code attached, but rather did something very similar to my own install file and, looking at yours, I think it will be fine.
This was 2.3 -> 3.1, btw.
Comment #7
memcinto commentedSame error here, upgrading from 6.x-2.5 to 6.x-3.1. I ripped out 3.1 and dropped in themekey-6.x-3.x-dev.tar.gz. Update.php ran this time with no errors. Now I will try enabling it and see if the site is OK :-)
Comment #8
mkalkbrennerfix released with 6.x-3.2