Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I am getting this error:
Fatal error: Call to undefined function themekey_node_nid2vid() in /home/xxxxxxxx/public_html/sites/all/modules/themekey/themekey_base.inc on line 438
Can't seem to fix it :(
Comments
Comment #1
mkalkbrennerProvide some more details. Fresh installation? Upgrade from version x?
Comment #2
newswatch CreditAttribution: newswatch commentedUpgrade. But I manage to salvage after switching over to Dev version.
Comment #3
mkalkbrennerTo fix the issue for others I need to know which version was installed before you upgraded to 3.6.
Comment #4
newswatch CreditAttribution: newswatch commentedMarkus: It was 6.3-3.5
Comment #5
smyleeface CreditAttribution: smyleeface commentedNot sure if you still have this problem, but this is what happened to me... Maybe it will help someone else in the future...
I upgraded ThemeKey from 6.x-3.6 to 6.x-4.0 in early February 2012 with no problems or issues.
This morning (March 9) I did some module updates and afterwards received the same fatal error mentioned above on all pages except admin pages. Unfortunately, the backup I did right before the update had the same error as well. I didn't notice the error before the backup because admin pages worked fine and I didn't have a need to visit the "normal" pages at that moment.
After rolling back the working/live site, I moved onto my development site and was able to recreate the error by restoring my backup.
I visited /admin/settings/themekey and BAM! All the pages worked again; you don't even have to press 'Save configuration'.
I'm not sure why it happened, but I've tried this 'fix' 3 times and it worked every time on the development site.
The live site is working ATM so if it happens the next attempt to update and this 'fix' doesn't work, I'll follow up.
Comment #6
mkalkbrennerThanks for sharing these details.
Comment #7
mkalkbrennermaybe a similar issue:
#1600844: Themekey fatals on External Pages with Bootstrap
Comment #8
mkalkbrenner